[flexcoders] Re: TypeError: Error #1006: getShape is not a function. (Sometimes...)

2007-12-30 Thread Rich Germuska
Harui [EMAIL PROTECTED] wrote: Does it matter which one you load first? Is it the second that always fails? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Germuska Sent: Sunday, December 23, 2007 1:19 PM To: flexcoders

[flexcoders] Re: TypeError: Error #1006: getShape is not a function. (Sometimes...)

2007-12-24 Thread Rich Germuska
I can reproduce the same runtime error in Flex 2.01 --- In flexcoders@yahoogroups.com, Rich Germuska [EMAIL PROTECTED] wrote: Hi, I'm getting a #1006 runtime error, that's puzzling me. I load a CS3 SWF into Flex using a custom SWFLoader called SWFWrapper. In SWFWrapper I cast the SWF

[flexcoders] TypeError: Error #1006: getShape is not a function. (Sometimes...)

2007-12-23 Thread Rich Germuska
Hi, I'm getting a #1006 runtime error, that's puzzling me. I load a CS3 SWF into Flex using a custom SWFLoader called SWFWrapper. In SWFWrapper I cast the SWF timeline as a MovieClip and access an AS3 instance method in the SWF called called getShape (shapeNumber:String) as follows:

[flexcoders] Re: Click event in Flex 3 TileList no longer sets selectedItem when...

2007-12-18 Thread Rich Germuska
the selectedIndex on the TileList. No idea why. Anyone? Cheers, Rich --- In flexcoders@yahoogroups.com, Rich Germuska [EMAIL PROTECTED] wrote: Hi all, Am in process of migrating app to Flex 3, as bug in 2.01 prevents applying Fade to Flash CS3 MovieClips, which is essential for app (see

[flexcoders] Click event in Flex 3 TileList no longer sets selectedItem when...

2007-12-17 Thread Rich Germuska
Hi all, Am in process of migrating app to Flex 3, as bug in 2.01 prevents applying Fade to Flash CS3 MovieClips, which is essential for app (see another flexcoders thread). Anyway, the first issue I have encountered is that TileLists are behaving differently. The TileList click event no

[flexcoders] Re: How to use DragManager.acceptDragDrop() when target is a MovieClip?

2007-12-16 Thread Rich Germuska
Thanks Alex, but I've got things working how I want now. I just converted to UIMovieClip in FlashCS3 using the jsfl, then used untyped ref var and didn't cast the target object in Flex. e.g. var dropTarget = event.currentTarget; instead of var dropTarget:UIMovieClip =

[flexcoders] Re: How to use DragManager.acceptDragDrop() when target is a MovieClip?

2007-12-14 Thread Rich Germuska
Hi Alex, I'm getting the MovieClips into Flex using a custom subclass of SWFloader. And then reaching inside the SWF using helper functions embedded in the SWF. I actually need every MovieClip to respond to DragEvents - because together the MovieClips form a complex piece of artwork