all groups > flash actionscript > february 2007 >
You're in the

flash actionscript

group:

get url to open on a particular flash frame


get url to open on a particular flash frame Carl Newton
2/9/2007 8:42:50 PM
flash actionscript:
Sorry about this, it is my first time posting.
I have a web site were I embed swf movies on individual html pages. I have a
button to open a html page ref code but I need the page to open on a particular
frame in the movie. I would be most grateful for any help.
Carl

on (release) {
getURL("introduction.html", "_self");

}
Re: Get url to open with a particular flash frame showing kglad
2/10/2007 3:07:11 AM
Re: Get url to open with a particular flash frame showing Carl Newton
2/10/2007 1:54:44 PM
Hi Kglad thanks for the reply, yes the introduction swf is in a introduction
html page, how do i use the shared-object to store the frame label or could I
add some code to the button/buttons as I have several links to the intro page
all needing to open at different points in the intro swf movie
Re: Get url to open with a particular flash frame showing kglad
2/10/2007 5:11:26 PM
you'll store the frame label (or number) in the shared object with code in the
swf that contains your getURL() code. in introduction.swf you'll use code to
retrieve the sharedobject and execute a goto statement directed at the frame
label (or number).

if you need to specify which movieclip you want to target with your goto
statement that too can be stored in your sharedobject (as a string) that you'll
need to convert to an object in introduction.swf (using array notation). if
you store a number in your sharedobjec you'll probably need to convert it to a
number (using the Number() function) in introduction.swf
AddThis Social Bookmark Button