1 person found this helpful
You would create named anchor points on your timeline on the frames you want to externally link to. Then go to publish settings HTML tab and select template "Flash with named anchors".
Then add #nameofanchor to the end of the html's url, for example:
If you wanted to browse to frame 29 of your swf, you would anchor and name frame 29, lets call that anchor point "about". If your HTML page is named index.html and it is hosted at your domain, the URL to that specific frame would be:
yes i read about it, but what i need it the Flash App to execute an event, a function, 'cause i will design it all with ActionScript 3 so i would have to make that especific frame execute the function, plus i have found some flash web sites where they have an URL like www.mysite.com/aboutme, that way it would be search-engine friendly
In a server file structure, what you want is not accessing a flash page, it will access a folder called "aboutme" and then your server will load the default file of that server/host with the address you prefer.
If there is no other info, the server will likely load a file called index.html, default.html, or welcome.html if it exists, that resides in a folder named "aboutme" in the root. If the "home" page or default page of the url is named index, default etc. and the swf are in the root of the server then you could use a relative path to the swf anchor point, such as, http://yoursite.com/#about me because you are loading the swf by default anyway. Otherwise it will error, or you'll need to use an absolute path to the file such as http://yoursite.com/aboutme/thefile.html#anchorpoint
If you want to actually use an absolute url as you described http://yoursite.com/aboutme, then you would need to create a folder, inside that folder use a default name like index.htm within that folder, that has a redirect script to the html page that contains the swf with the path http://yoursite.com/theswfhtml.html#aboutme.
You must use the operator # to access the anchor point of the swf. So in essence you're just making a simple link complicated for the purpose of having a simple url address.
Yesi have been looking and i cant find that way to do it, but now i still have a question, how do i use anchor points to execute functions
Well there are a few ways, the easiest way I think (but what do I know) is simple, add another layer along with your anchor layer, add a keyframe on the same frame as the anchor frame, add your script to that keyframe, when the playhead reaches the anchor frame from either running the movie, or from an external link the play head will "play" all layers in that frame, including your script.
my advice: totally disregard the anchor stuff.
the solution you need is readily available. it is called swfaddress
watch this video: http://www.gotoandlearn.com/play?id=107
basically your urls will trigger events in flash and you can respond accordingly. likewise whenever you navigate to a new section of flash movie the url will update as well.
Thank you soo much, thats exactly what i was looking for