
Welcome Guest
|
#1
|
|||
|
|||
|
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) |
«
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 |
| 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 |





