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




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-17-2007, 07:55 AM
MrOctagon MrOctagon is offline
Registered User
 
Join Date: Jun 2007
Posts: 2
Rep Power: 0
MrOctagon is on a distinguished road
Problem with onKillFocus in a loaded external swf

Hi,
I was wondering if anyone on this forum might be able to help me out with a problem I had today that I'm not sure how to fix (well, I think I might know a workaround but its a little messy).
Ok so this is my situation. I'm trying to make this game in flash that involves having an external flash movie playing inside the main/larger one. The method I'm using to do this is creating an empty movieClip and then using movieClipName.loadMovie("external_file.swf") to load the external flash movie into the empty movieClip in my main file.
The external file loads fine and can be used, but there is an annoying problem with it. You see, the external movie uses some .onKillFocus events, which work fine when I play the movie by itself (seperate from the main file into which it is loaded). However, when I try to use the external movie inside the main file, it won't let me move focus away from the textfields (which, by the way, use the onKillFocus event handlers).
I can switch focus between the textfields (from one to another) and the onKillFocus event works in this case, but as I said I can't move focus away from the textfields themselves (onto say other parts of the movie).
This is frustrating because for the external movie to work properly I need focus to be away from the textfields.
I hope I articulated that OK, and you understand what my problem is. If anyone can help me it would be greatly appreciated.

Thanks in advance,

MrOctagon

P.S if you need to see the code I used, just ask
P.S.S Sorry if this problem has been answered in another thread (I had a hunt around and couldn't see anything too similar, but I could easily have missed something)
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
external swf will not load!! MiaAlanna Flash 8 5 12-19-2006 06:21 PM
display playhead position of external swf BennyHaHa Newbies 0 11-27-2006 09:30 PM
XML and SWF - EXTERNAL ebw XML & Sockets 5 07-24-2006 04:56 PM
Loader Lamo - External Swf not Sizing Correcting stace20 Actionscript 2.0 Components 0 06-08-2005 01:47 AM
flash site loaded to server, but external SWF is not loading. Please help. ryatsuix88 Flash MX 2004 6 04-12-2005 06:55 AM




All times are GMT. The time now is 03:58 AM.