Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-14-2003, 10:10 AM   #1
danny
Registered User
 
Join Date: Jun 2003
Posts: 40
Default Making Flash link to various HTML pages

I'd like to make my Flash file link to a series of HTML pages in a presentation-type thing. However, I can't just use the getURL action because I want to just use one .swf file rather than a separate file with unique URLs for each page. Is there a way to tell Flash to link to the "next" and "previous" pages in a series of pages? Here's the Flash navigation file:
http://home.earthlink.net/~dmiller76...tour2_nav.html

Thanks for any help.
danny is offline   Reply With Quote
Old 07-15-2003, 04:24 AM   #2
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

u can use loadMovie() to load them all in a holder
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 07-15-2003, 08:51 AM   #3
danny
Registered User
 
Join Date: Jun 2003
Posts: 40
Default

Well, all the pages in the presentation are HTML and use nice little DHTML rollover, pop-up type layers that I want to keep. I just want to make the Flash nav file "know" what page it's on and display the appropriate links to the next and previous HTML pages in the presentation.
danny is offline   Reply With Quote
Old 07-15-2003, 09:06 AM   #4
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

if u r gonna use direct links from the flash menu to load the HTML pages, u can make a variable
var currPage
and give it a different value each time u click on a different link

but if u r gonna use it also from the HTML pages, I think u need some flashVars in the HTML pages
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 07-15-2003, 09:22 AM   #5
danny
Registered User
 
Join Date: Jun 2003
Posts: 40
Default

I'm not sure how to answer that, but I think the answer is "yes" and "yes".

Do you know how to help me do that? The button symbols that need variable getURL values are the "back" and "next" arrows in the file linked in my first post.
danny is offline   Reply With Quote
Old 07-15-2003, 09:46 AM   #6
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

can u show me a template or something for what u want??
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 07-15-2003, 10:27 AM   #7
danny
Registered User
 
Join Date: Jun 2003
Posts: 40
Default

There isn't a sample site I know of off the top of my head that does exactly what I'm wanting, no. If it would help you to see my Flash file in its HTML page context, I can set that up.
danny is offline   Reply With Quote
Old 07-15-2003, 10:29 AM   #8
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

so, how can I help u then??
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 07-15-2003, 03:15 PM   #9
danny
Registered User
 
Join Date: Jun 2003
Posts: 40
Default

Can you tell me how to pass a variable from an HTML page to a Flash file embedded in it? Is it:
embed src="../nameofflashfile.swf?variable=pagename.html" ?
Do I then have to add a script in the Flash file saying to load the variable, or will the Flash file "automatically" read the variable from the HTML?
danny is offline   Reply With Quote
Old 07-16-2003, 03:14 AM   #10
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

http://www.actionscript.org/forums/s...=variable+html
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:11 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.