Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Intro 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I am a newbie to Flash. May I know how to add a Flash introduction to a website? Do I have to name the Flash introduction as the index.html? Or do I link the index to the flash introduction? If it is, may I know what is the code?
 
Most, if not all, Flash movies are embedded in an html. You should try the Publish feature in the Flash application that will output this .html for you. You would then upload that .html and the .swf file to your site and give out that link, something like:
Code:
[URL unfurl="true"]http://www.yourserver.com/myintro.html[/URL]

You can also add a getURL action on the last frame of your Flash intro, that will link directly to your index.html.
Thus when your intro is over, the user will be re-directed to your normal homepage.

Regards,
wink4.gif
ldnewbie
 
thanks a lot!
However, there is one more thing I like to ask. May I know how to add teh getURL action at the very last frame?

:)

 
thanks a lot!
However, there is one more thing I like to ask. May I know how to add the getURL action at the very last frame?


 
It's best to allways have an actions only layer. If you don't have one already, add one. It should extend to match the longest layer of your timeline. Select the last frame in that layer and press F6 to insert a keyframe. Double-click that keyframe and the Frame Actions window will open up. In the actions list on the left, double-click the getURL action. It should appear on the right. Then simply type in the URL in the URL box. Type in the full address as:
Code:
[URL unfurl="true"]http://www.yourserver.com/index.html[/URL]

You might want to select _self in the window box, if you want your index page to open up in the same browser window as your intro movie, or _blank if you want to keep your intro movie window opened and open your index page in a new browser window.

Close that Frame Actions window and test your movie. If your connected at the time, it should link to your index page.

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top