|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 ! ![]() |
|
#2
|
||||
|
||||
|
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!> |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Have you tryed linking the button to a frame in your _root and adding the geturl code to the frame?
|
|
#5
|
|||
|
|||
|
I'm not sure what you mean?
|
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
Hi try:
getURL ("ProgModelTutorial.asp", _self); |
|
#8
|
|||
|
|||
|
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 !!!! |
|
#9
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Using getURL to open a HTML page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|