
Welcome Guest
|
#1
|
|||
|
|||
|
Flash ASP goto and stop Driving Me Mad
I have a Flash movie that pulls in variables from a access database and also a cookie value.
My problem is that before I display the records from the DB an animation is run that I only want the user to see once. I have done this by checking a cookie value pulling the value in to flash and then trying to use gotoandStop to by pass the anim if the cookie value = "beenSeen". I.E. if this is the second time the user has viewed the page bypass the animation and go straight to the info from the DB. I have verified that the cookie is passed to Flash by using a dynamic txt Box so there is no problem with the asp. Only problem is that the movie refuses to gotoandstop at the correct frame when the cookie is set it just keeps playing the animation at the start. I have placed everything inside a movie clip which has the following code on the movie: onClipEvent(data) { strDate = myDate; strNotes = Notes; strFlashCookie = cookieFlash; } onClipEvent(load) { CurrentRecord = 0; loadVariables ("get_details.asp?Record=0", this); } This basically pulls in the information from the db and cookie then sets up vars equal to the values. On the first frame of the movie I have: if (strFlashCookie == "beenSeen") { gotoAndStop(form); } To bypass the anim, i have checked the value of strFlashCookie and it is definately being displayed in a txt Box on a layer in the movie clip correctly. On frame 73 (the end) I have a stop action. I have attached a .gif image of the layout of the movie. any help would be greatly appreciated before I go mad. Thank You in advance. |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed with displaying XML data within Flash please | jpmad4it | Newbies |
2 | 11-15-2006 06:54 PM |
| Problems with Goto and stop function | mojo_DXIX | Flash MX |
1 | 08-14-2006 06:07 PM |
| movie control (driving me mad) | malecon | General Flash | 6 | 03-13-2003 01:54 PM |

Other Programming



