ActionScript 2.0 :: Specify A Frame Name In A HTML Hyperlink?
Dec 31, 2003can you specify a frame name in a HTML hyperlink to go to that frame in the swf file when clicked.
View 5 Repliescan you specify a frame name in a HTML hyperlink to go to that frame in the swf file when clicked.
View 5 Repliesow to do a hyperlink in xml This is what I do know, you can add the <a href="http://www.google.com">click here</a> but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have I have alsoseen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml??
View 5 RepliesI have been given an .swf file that needs to be added to an HTML page - no problem. That file then needs to link to another site. Is this something that needs to be added to the file before it is loaded onto a website?
I've seen the following code provided in other threads, but either it is meant to be used when creating the file, or I'm not using it correctly when I try adding it to my .asp page.
on (release) {
getURL ("<URL here>", "_blank");
}
If I'm not trying to do something impossible, edit the code below to make this file link:
<html>
<BODY BGCOLOR="#ffffff" TEXT="#000000" marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 rightmargin=0 id=all>
[Code].....
I have a completed Flash (AS2) project that's pretty involved. Now, I need to launch it from a hyperlink on an html page. I want the hyperlink to launch the ".app" or ".exe" file - not the html that Flash publishes. I don't want the user to view the project in an html/browser window but rather as its standalone projector/exe.
I tried a regular hyperlink like this[url]...but that doesn't launch the .app. Instead I got a browser screen showing the path to the app inside the "FLASH" folder. The app is viewed as a folder named "GUIDE.app". (weird) So I surmise that a regular hyperlink isn't going to do the job.
How do I launch a Flash projector or executable file from a hyperlink on a separate HTML page?
I have a dynamic text box. I need to set up a hyperlink in my text file that will take the user to a specific frame on a page. I know how to set the hyperlink up to go to a specific page :
Code:
<a href="http://www.lasamigasseatpleasant.org/index.html">
Visit Our Site</a>
[code].....
I am using JSON to parse HTML data with customized html tags in Flex. Flex's support for HTML is pretty minimal, so I am wondering if it's possible to do a simple font color change rollover effect on these links. Currently I have found that Flex only supports a few HTML tags, but also supports CSS through Flex's whack CSS methods. Can I manipulate HTML that is written in my JSON files through an external CSS file? Or better still using a simple tag with the JSON file?
View 2 RepliesI have a flash movie with a dynamic loading textfield formatted in html. What I'm looking to do is format (using a tag?) the loaded html code to have a hyperlink (<a href?>) gotoAndPlay(2) or perform other functions.
View 3 RepliesThe basic idea is that I have a string that contains a user's comment, which could potentially contain URLs, so I wanted to take a string like:"Gee, the folks in the Url...And using pattern replace, replace the URL with an HTML hyperlink, so the string would end up being:[code]So my question is how can I alter the pattern replace code so that it accommodates a string containing random text, as well as a URL.
View 1 RepliesI have a html main.html as given
----- main.html----------------
<title>FlexTrail</title>
<script src="main.js"></script>
<frameset rows='200,200'>
[Code]....
I want the other file to open in same window bellow the first one.But the problem here is when i run this in IE8 the other frame opens in a different window but in Firefox im not getting any respose.
Note:- Javascript is enabled in both browsers and popup are not blocked
I want to do is add a simple hyperlink in my xmlhtml hyperlink in my xml.how to do a hyperlink in xml.This is what I do know,you can add the <a href="http:[url]...but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have.I have also seen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml?
View 38 RepliesHow can I make a normal html link when click to tell a swf to go to say frame 4?
View 1 RepliesI am creating a website in Dreamweaver with embedded swfs. The first page ("index" page) opens with nothing but a swf that runs immediately and then goes to the next DW page "main". The code (AS3) that I have used on the last frame of the flash is
Code: Select allstop();
var urlString:String = "main.html";
navigateToURL(new Request(urlString), "_self");
var url:URLRequest = new URLRequest("http://www.gsculco.com/main");
[Code]....
I made a navigation movie clip with buttons, whom I want to be set in one frame- so the navigation MC will stand still while the contents body will change in another frame. In AS 2 it's easy- just add the frame name in the getURL command. But I couldn't mange it in AS 3. This is the code I used on my button:
[Code]...
i have a site with 3 frames, the top one have a flash MC in it to navigate the site. the middle frame is where i want to load or call normal HTML pages into using the Flash MX bar in the top frame, the bottom frame isnt really important.
i have tried using the "getURL" statment in flash Mx but i cant target the frame, in flash 5 i could but in MX there's no target option when using "GetUrl".....
[URL]
I can't for the life of me get this to work. I have my flash publish settings in CS3 set to AS2.I am simply just trying to get buttons on a menu to load html pages into a specified frame.I am using this AS on the button
on (release) {
getURL("bottom2.html", mainframe);
}
My HTML is correct.. but the button loads the html page into a new page instead of the frame 'mainframe'. This must be a simple setting or code that I am missing..it half works
Is it possible to create a link on an html page that when clicked will load a new page, which has a flash movie on it, but make the flash file jump to, say frame 50, or a frame label?
View 2 RepliesI am using a flash template with a _urls.txt file. I would like to change the code so I can display a target html page in an inline frame. My goal is to change the page content when a nav item is choosen without reloading the swf.Here is the original code in the template.
on (rollOver) {
gotoAndPlay("s1");
}
on (rollOut, releaseOutside) {
[code]...
I have a FLVplayer that has multiple films linking to it. There are also categories of films that can change, without disturbing the previous video from playing. This will be on the 'portfolio' page of my website. I then want to have links on the homepage to play certain videos.How can I set up an HTML link to a SWF on a different HTML page, linking to a certain frame (category) and loading the correct video in the FLVplayer?I have read about flashvars but im not sure if they can load bits inside the swf (ie the video).
View 1 RepliesI have a flash file . In last frame i want to redirect it to a website.My problem is that I am not able to find the last frame.
View 1 RepliesIs it possible to configure a flash SWF so that it not only is transparent, but also let's users click through to the HTML below?
The scenario: Imagine a horizontal drop down menu. That menu is a transparent SWF. For it to have a drop down I need to set the movie dimensions for something like width: 1000px; height: 250px; Those 250px will overlap an html slider. Users won't be able to click the slider because the flash movie has a higher z-index.
I have a website where my Home, About, Work and Contact pages are on four different frames on the time line. Once you click on the Work link from the opening Home page, your brought to the second frame where a little tween brings a bunch of thumbnails into view. When you click on the thumbnails, it brings you out of the .swf and into a new HTML page. The problem is getting back to the Work page in the .swf with out being brought to the opening Home page. I have used an anchor on the time line and changing my publish settings to HTML with anchors, and they do work! But, its opening my .swf in the Work frame and running through the movie back to the Home. Iv tried putting a stop(); on the Work frame, which does stop it but its a dead page, my tweens, buttons, everything is frozen.
View 1 RepliesI am able to pass a variable from an html link that loads a separate html file and instructs the swf embedded file to go to a specific frame. But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
[Code]...
I know this sounds confusing but it's really a simple question. You can follow my site to better understand. [URL]
If you click on "Films" a submenu appears. I want all of these submenu buttons to link to (u-stu.com/films.html) but each go to a specific frame label in the .swf located within [URL]
[URL]
I have an html form page with a .swf navigation bar. I'd like to be able to click over to a second html page which contains a .swf file, and go directly to a named frame of that swf file.
Can I specify a named frame from the first html page like that?
Beginner question here to which I haven't found an answer to: I have an external XML document loading within flash and was wondering if it it's possible to change a frame/label from withing HTML rendered content using getURL?
This is probably not possible, but is there a suitable method for doing so when it comes to loading external content and controlling the timeline?
Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3.Here's my dilemma. Converting an existing html/css site to flash. Flash is main site now but a few html pages are still linked, a buy page and a form page, a few others. I can get the all the external html pages to link to a frame in the flash movie, and I can get the flash to link with all external urls.My problem comes when I move to a frame outside the main timeline. The movie is lets say 393 frames. All symbols/content are on seperate layers, and so is the action. Once the full movie ends, I have several frames past that where I have basically created frames for additional "pages" and created anchors for those frames, new layes for content, new layers for anchor (labeled) and new layers for a stop(); on each frame, I extended the pertinant graphic frames out to 410 from the original movie.
Now when the movies runs the buttons appear at about frame 115, so in the action layer I coded a keyframe and then added frames of it out to frame 410 or so: I have attached the .fla (not able to attach at this forum .fla here:s say to an external link (button) like members, the html member page opens, and if you click home button, back to flash frame, and all works, all buttons, on the home frame 393. But if you go to any of the external htmls, and then go back to any other frame like frame 401 the about page, and all the rest 402 403, etc, the page appears properly, but then none of the links function.
i will send newsletter to client via emailclient clicks on image or link and it will open a specific frame in swfi know we can jump specific frame in html if swf is embed in same htmlbut i am looking for external swf in html to be played on specific frame.
View 1 RepliesI have reviewed and applied this wonderfull explanation contained in the post thread response from Mr. Catbert303 "linking to specific frame number or label from an html page" about the javascript and actionscript code combination wich allows the swf movie to force-jump into specific framelabel or framenumber and it also works perfectly whenever i go from the link "back to swf" on my plain html page to the movie content page (also html). But i need my swf movie content page to start playing from cero whenever it is played from start and not begining always at the specifyed frame in the actionscript code:
if (frame != "") {
gotoAndPlay(frame);
}
I have tried everything within the "if" & "else" conditionals and i can't get the swf movie content page to start playing from frame 1 everytime it is called up, but instead it looks like it reads the actionscript code described above and always takes you to the specifyed framelabel, not playing it from the start. I have a hunch i'm missing something extra on my actionscript code wich must determine if the swf file is to jump to the specified frame or start playing from cero, because if i remove the above AS2 code from frame 1, it then starts playing from cero normally like it should but won't jump to the specifyed frame when also needed from the HTML page.
i made swf which contain 7 button to control 7 pages i put this swf in dreamweaver to control ths file, i tried to give every single button Avalue to tell the root which frame in which movie clip(for the button to be highlight) but it deosn't work
here is the code
////////////// the code for Buttons
on (release) { if (_root.link != 1) {
// if there anther selected button _root.menu["item"+_root.link].gotoAndPlay("s2"); _root.link = 1;
[Code].....
I need to have a frame action launch a .html file (call it "time-crunched.html"), and then the flash window should close. That's it. It seems like it should be easy (and it WAS easy in previous versions).
I have already tried using the gotourl feature from AS2, but I keep being told that the functionality has been disabled in the current version.
I am on Windows XP, but I need the Windows projector file to work on XP, Vista, and 7, and the Mac projector file to work on 10.0 forward.