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




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-26-2007, 07:59 PM
lorax lorax is offline
Registered User
 
Join Date: Jan 2007
Posts: 3
Rep Power: 0
lorax is on a distinguished road
ActionScript differences between main timeline and movie timeline?

Hello,

This is my first post so first up, Hi.

I have a problem that has been driving me mad for weeks. I hope someone here can solve it. I'm sure it's something simple.

Could someone explain the difference if Action Script is on the main timeline or in a movie clips time line which is on the main timeline?

I guess I mean is with regards to referring to other items or movie clips or external scripts etc.

To try and clarify what i'm going on about....

I have a form that uses a php script. The form.swf is brought into my main movie with 'loadmovie' action script.

When the form.swf is run on its own it works. When someone enters the info and hits 'send' the form gets what it needs from the php script and then goes to a 'sucsess' frame. Great.

But..

When the form.swf is run from within my main movie and someone hits 'send' the form goes to my 'fail' frame (even though it is sending the email), the php script is returning a 'fail - invalid email entered' message to the flash form (the email was valid though!!).

Because the form.swf works on its own I'm guessing that, when loaded into the main movie, i need to add something to make it talk to the php properly.

The odd thing is that it must be talking to the php as it is sending the email!!! So why is the php sending back a 'fail' and not a 'success'.

It could be that the form.swf is just not getting a response from the php and so it going to the fail frame. In which case, if my form movie is within my main movie what do i add to the php (or action script) to receive the info to the nested movie.

I cant work it out.

Thanks soooo much for your help.

Lorax
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Movie Clip timeline to exact spot in main timeline? tallscot General Flash 2 11-02-2006 05:46 AM
Having a movie clip control the main timeline DrMontigo Newbies 3 10-22-2005 11:13 AM
Movie clip problem xl_hybrid Flash MX 2004 11 03-16-2004 06:22 PM
PLEASE HELP!!Controllong main timeline from button in movie clip Tonya Flash 5 Actionscript 4 05-01-2001 07:55 PM
preloading plankd Newbies 4 08-25-2000 11:15 AM




All times are GMT. The time now is 04:39 AM.