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 December 3rd, 2003, 06:29 AM
Kat3na Kat3na is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 Kat3na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Using getURL to open a HTML page

Please Help !!!

I am developing an online tutorial.

The tutorial itself is a Flash movie embedded into a HTML page.

At the end of the movie I ask if the user would like to continue to take a test.
There are two buttons - yes and no.
When a button is clicked I want to load an asp page into the page the movie was embedded in.

I've tried getURL but it doesn't work - nothing happens, the buttons just flash nicely as I click on them.

Any suggestions? - I'll try anything !

Reply With Quote
  #2  
Old December 3rd, 2003, 07:37 AM
Eye_movement's Avatar
Eye_movement Eye_movement is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: England
Posts: 32 Eye_movement User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 8 sec
Reputation Power: 5
Send a message via MSN to Eye_movement
Thumbs up

the code should just read:

on (release) {
getURL("mysite.asp", "_self");
}

and it should work.

If for some crazy reason it doesnt work... Why not link the button to a frame which has the code getURL?

That will defo work
__________________
<NO DONT LOOK AT ME!>

Reply With Quote
  #3  
Old December 3rd, 2003, 07:49 AM
Kat3na Kat3na is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 Kat3na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks but no luck I'm afraid

I used go to and play on the button,

the code it goes to is:

getURL ("ProgModelTutorial.asp", "_self");

But its not picking it up at all I'm afraid.
I've even tried it with an ordinary site url (http://www.google.ie) and no luck ..... it still does nothing

Reply With Quote
  #4  
Old December 3rd, 2003, 07:59 AM
Eye_movement's Avatar
Eye_movement Eye_movement is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: England
Posts: 32 Eye_movement User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 8 sec
Reputation Power: 5
Send a message via MSN to Eye_movement
Have you tryed linking the button to a frame in your _root and adding the geturl code to the frame?

Reply With Quote
  #5  
Old December 3rd, 2003, 08:05 AM
Kat3na Kat3na is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 Kat3na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm not sure what you mean?

Reply With Quote
  #6  
Old December 3rd, 2003, 08:13 AM
Eye_movement's Avatar
Eye_movement Eye_movement is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: England
Posts: 32 Eye_movement User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 8 sec
Reputation Power: 5
Send a message via MSN to Eye_movement
Insert a blank keyframe in your scene 1. Then in the frame add the getURL code.

Then remove the geturl from your button and add a gotoandplay command to it.

on (release) {
gotoand Play("2");
}

it will work.

If your avin trouble do you want me to attach a file?

Last edited by Eye_movement : December 3rd, 2003 at 08:16 AM.

Reply With Quote
  #7  
Old December 3rd, 2003, 09:00 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,584 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 7835 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 5 h 57 m 29 sec
Reputation Power: 534
Facebook MySpace
Hi try:

getURL ("ProgModelTutorial.asp", _self);
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #8  
Old December 3rd, 2003, 09:03 AM
Kat3na Kat3na is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 Kat3na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok it works now if I open the html page its embedded in but when that page is opened in my frameset it wont ????

Its really not my day !!!!

Reply With Quote
  #9  
Old December 3rd, 2003, 09:16 AM
Kat3na Kat3na is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 Kat3na User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay I take it all back - its suddenly decided to work !!!
I did nothing so I dont know how - but I'm not complaining!!!

Thanks for all your help

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Using getURL to open a HTML page


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 6 hosted by Hostway