LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-21-2004, 08:58 PM
david_ste david_ste is offline
Registered User
 
Join Date: Mar 2004
Posts: 7
Rep Power: 0
david_ste is on a distinguished road
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.
Attached Images
File Type: gif anim.gif (8.2 KB, 11 views)
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

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




All times are GMT. The time now is 07:32 AM.