Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 23rd, 2003, 11:35 AM
mauriciofuentes mauriciofuentes is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: San Salvador
Posts: 2 mauriciofuentes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to mauriciofuentes
Smile flash redirect

Hi,

I have a page with a flash movie inside, then I need that when de flash movie ends, another page loads automatically,

Thanks in advance,
Mauricio

Reply With Quote
  #2  
Old November 23rd, 2003, 01:54 PM
meandmymachine meandmymachine is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: London, England
Posts: 16 meandmymachine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 30 sec
Reputation Power: 0
Hi Mauricio

Try this:

1) Select the last frame in the longest running layer of the Flash movie.

2) Right click the frame and select Actions.

3) Type the following code in the Actions panel:

gotoAndPlay("newMovie");

4) Create a new layer.

5) In the new layer select the first frame after the last frame in the longest layer.

6) Go to the Windows menu, select Panels and then select Frame.

7) In the Frame panel, type newMovie in the label text box.

(Make sure the capitalization in the label is identical to the newMovie parameter in the gotoAndPlay function of the last frame in the longest layer).

8) build your new page in this layer with the newMovie frame selected. This should start the new page/sequence from that frame.

If you need to add other elements to the page using other symbols, create new layers for each symbol (remember you can't have more than one symbol in a layer).

Just make sure that each symbols starting frame is at the same point as the newMovie frame.

What should happen is that the Flash movie will run everything before the new page.

Because of the ActionScript in the last frame of the longest layer, it will then start the new page automatically.

You could put a Stop action in the last frame of the new layer to prevent looping. I hope this helps. Let me know how you get on.

meandmymachine

Reply With Quote
  #3  
Old November 23rd, 2003, 02:14 PM
mauriciofuentes mauriciofuentes is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: San Salvador
Posts: 2 mauriciofuentes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to mauriciofuentes
Ah Thank you BUT...

Thank you, but my new page is not a new movie if not a simple html page... could you help me in this case....

Thanks in advance,
Mauricio

Reply With Quote
  #4  
Old November 23rd, 2003, 02:55 PM
meandmymachine meandmymachine is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: London, England
Posts: 16 meandmymachine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 30 sec
Reputation Power: 0
Hi Mauricio

Am I correct in my understanding that you wish to load a html page from a Flash movie? If so, then try this:

1) Select the last frame of the longest layer in your Flash movie.

2) Right click and select Actions.

3) Type the following code in the Actions panel:
(You can substitute your web page name for the one I've typed)

getURL ("yournewpage.html");

4) Close the panel.

5) Select the next frame on this layer.

6) Right click and select Actions.

7) Type the following code in the Actions panel:

stop();

8) Close the panel.

You can test the movie straight away but I think you'll see the best results if you first publish your movie as a web page.

(Go to to File and select Publish).

What should happen is that after the sequence in your Flash movie ends, the browser should automatically go to the new web page you've designated as a parameter in
the getURL function of the Action in the second to last frame of the longest layer. I hope this helps.

meandmymachine

Reply With Quote
  #5  
Old November 26th, 2003, 08:31 AM
musher5 musher5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Barcelona / Spain
Posts: 103 musher5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 38 sec
Reputation Power: 5
Hi guys, I've been watching your problems and I have the same but a bit more complicated:
what if the html page I wanna load is in another window (not in the one the swf is located)?

In other words, I have a simple html page that automatically launches a pop-up window that runs a swf., at the end of that movie I want to launch an html page in the window back and to close the pop-up window as well???????

Can u help me???

Reply With Quote
  #6  
Old December 1st, 2003, 01:43 PM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > flash redirect


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway