Re: [Flashcoders] Rcommendation for server side Java remoting libs - AS3 Flash compatible
Thanks for the response. So you can use BlazeDS from flash. Im just wondering how you would do that taking into account security tokens etc. As far as I can tell its only meant for Flex unless you compile the flex libs to use from flash. Can you point me in the right direction please? cheers, MATT On Fri, Feb 12, 2010 at 3:21 PM, Dave Watts wrote: > > Can anyone recommend a server side remoting lib which is compatible with > > JAVA 1.4 and also an AS3 client side remoting library which would be nice > > too :) > > BlazeDS for the server - it's free and open-source, and it includes > remoting and additional functionality. Remoting is baked into AS3, so > I don't know what you're looking for on the client. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Rcommendation for server side Java remoting libs - AS3 Flash compatible
Hi, Im building a FB app. Server side is JAVA 1.4. Can anyone recommend a server side remoting lib which is compatible with JAVA 1.4 and also an AS3 client side remoting library which would be nice too :) cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] regex issue when validating unicode range
thanks for the insight there Juan :) Chat Skype: mattmuller MSN: matt_b_mul...@hotmail.com Contact Me [image: Linkedin] <http://www.linkedin.com/in/mattmuller>[image: Facebook] <http://www.facebook.com/matthewmuller>[image: Twitter]<http://twitter.com/mattmuller> On Tue, Oct 20, 2009 at 3:57 AM, Juan Pablo Califano < califa010.flashcod...@gmail.com> wrote: > Hi > I don't think the regex is wrong. In fact, if you change u for a > smaller > number, it works fine. > > I have not tested each code point, mind you, but with a few tries, the > highest max range that works that I could find is 0xFEFF. > > The range 0xFF00 - 0x apparently is reserved for control stuff. So > 0xFEFF is the last value before that range. Not sure if the way the regex > behaves is a bug or a feature, really, but you can probably get by with > something like this: > > var testIsArabic:Boolean = /[\u0627-\ufeff]/.test(str.charAt(0)); > > Cheers > Juan Pablo Califano > > 2009/10/19 Matt Muller > > > Hi there, > > > > issue with regex when trying to test if a char is within a unicode range > > > > var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works > > testing for arabic chars of unicode 0627 > > > > var testIsArabic:Boolean = /[\u0627-\u]/.test(str.charAt(0)); > this > > range does not work, returns false > > > > NOTE: the str.charAt(0) is 0627 > > > > any ideas? > > > > cheers, > > > > MaTT > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] regex issue when validating unicode range
Hi there, issue with regex when trying to test if a char is within a unicode range var testIsArabic:Boolean = /\u0627/.test(str.charAt(0)); // this works testing for arabic chars of unicode 0627 var testIsArabic:Boolean = /[\u0627-\u]/.test(str.charAt(0)); this range does not work, returns false NOTE: the str.charAt(0) is 0627 any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] remove inline ads from youtube player
hi, i need to embed some videos from a clients youtube channel on their site. does anyone know if inline ads will show and if they do, can they be removed? wouldnt want any of the competition advertising on there ;-) any help appreciated. thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] mxmlc compiling errors with swc created with flash cs4
Hi, I am building up an ANT task which is giving me some grief when the compilation occurs. I have 3 SWC's. One of them contains a few movieclips I converted to a SWC to use as animated graphics in my UI. FlexBuilder compiles the file with no problems. When I run ANT task and it hits the mxmlc action it throws an error and says "Error: Type was not found or was not a compile-time constant" this is the compiler part of the ANT task. // I have tried removing the .swc but still no luck Am I missing something from the args? thanks MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] > How to loop an ANT task(s)? >
thanks, I did try that but with no luck. So, im having another issue which seems to be with the mxmlc compiler. I have imported my swc's as a compiler args as such problem im having is inside the userInterfaceSwc I have 3 graphics which I created in flash that I am using in my UI. the mxmlc compiler wont compile even though I can compile and run the file perfectly using FlexBuilder. Any ideas? thanks, MaTT On Thu, Aug 13, 2009 at 11:51 AM, Ian Thomas wrote: > Hi Matt, > If Eclipse doesn't pick it up, you ought to be able to specify the > link to the Jar file directly: > > > > location="some/path/to/ant-contrib-1.0b3.jar"/> > > > > HTH, >Ian > > On Thu, Aug 13, 2009 at 11:39 AM, Matt Muller > wrote: > > Hi Ian, thanks for the info. > > > > I can get this working from the command line but it doesnt seem to run > from > > eclipse. > > > > I put the .jar in the ant lib dir. > > > > I have this line in my build.xml > > > > > > > > but get this error > > > > [taskdef] Could not load definitions from resource > > net/sf/antcontrib/antlib.xml. It could not be found. > > > > Any ideas? > > > > I'm running 1.7.x > > > > cheers, > > > > MaTT > > > > On Wed, Aug 12, 2009 at 10:45 PM, Ian Thomas wrote: > > > >> Hi Matt, > >> I use the Ant-contrib tasks for all that sort of thing. > >> > >> Includes foreach, if, all sorts of handy extensions. > >> > >> http://ant-contrib.sourceforge.net/ > >> > >> HTH, > >> Ian > >> > >> On Wed, Aug 12, 2009 at 9:04 PM, Matt Muller > >> wrote: > >> > Hi, does anyone know how to loop an ANT task(s)? > >> > > >> > I want the create 10 dirs on my web server all with the same app but > each > >> > with a unique flashvar. > >> > > >> > Ideally I could do this without creating 10 individual nodes for each > >> task. > >> > > >> > thanks, > >> > > >> > MaTT > >> > ___ > >> > Flashcoders mailing list > >> > Flashcoders@chattyfig.figleaf.com > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] > How to loop an ANT task(s)? >
Hi Ian, thanks for the info. I can get this working from the command line but it doesnt seem to run from eclipse. I put the .jar in the ant lib dir. I have this line in my build.xml but get this error [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. Any ideas? I'm running 1.7.x cheers, MaTT On Wed, Aug 12, 2009 at 10:45 PM, Ian Thomas wrote: > Hi Matt, > I use the Ant-contrib tasks for all that sort of thing. > > Includes foreach, if, all sorts of handy extensions. > > http://ant-contrib.sourceforge.net/ > > HTH, > Ian > > On Wed, Aug 12, 2009 at 9:04 PM, Matt Muller > wrote: > > Hi, does anyone know how to loop an ANT task(s)? > > > > I want the create 10 dirs on my web server all with the same app but each > > with a unique flashvar. > > > > Ideally I could do this without creating 10 individual nodes for each > task. > > > > thanks, > > > > MaTT > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] > How to loop an ANT task(s)? >
Hi, does anyone know how to loop an ANT task(s)? I want the create 10 dirs on my web server all with the same app but each with a unique flashvar. Ideally I could do this without creating 10 individual nodes for each task. thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Free UML tool for AS3?
Hi Jason, StarUML is pretty good.and free. http://www.senocular.com/flash/tutorials/starumltoas3/ doesnt do code to UML as fas as I can tell though. MaTT On Wed, Aug 5, 2009 at 10:44 PM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > Grant Skinner's gModeler was never updated for AS3 (and the last news on > his project page was in April 2004), are there any other good free UML > modeling tools out there for AS3? I googled a lot, but couldn't find > any - a lot of discussion about building one, but nothing I could > actually download. Thanks. > > > Jason Merrill > > Bank of America Global Learning > Shared Services Solutions Development > > Monthly meetings on the Adobe Flash platform for rich media experiences > - join the Bank of America Flash Platform Community > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
ok, if you add the FlexComponentBase to the library manually, you can publish to FP9 no problem. If its not in the lib and you try and convert, this is where it warns you. I am using skinning for buttons etc. But for bringing in ad-hoc graphics, im using swc instead of swf lib. cheers, MaTT On Thu, Jul 30, 2009 at 3:28 AM, Muzak wrote: > FlexComponentBase is added automatically here, is that not the case for > you? > Just watched the screencast.. :) it's being added. > > Odd though, I don't get that warning.. maybe it's a Mac thing? > > > And just wondering, why are you using a Flex component just for skins? > There's no need for that, but maybe I'm missing something. > > For instance, if your skinning buttons, use a Flex Button and style it > through CSS, using png's or movieclip symbols from swf's. > > // png images, using 9-grid scaling for some > .menuButton { > upSkin: Embed(source="/skins/LinkButton_upSkin.png"); > overSkin: Embed(source="/skins/LinkButton_overSkin.png"); > downSkin: Embed(source="/skins/LinkButton_downSkin.png"); > disabledSkin: Embed(source="/skins/LinkButton_selectedSkin.png", > scaleGridLeft="10", scaleGridRight="56", scaleGridTop="1", > scaleGridBottom="15"); > } > > // symbols from swf > Tab { > upSkin: Embed(source="/assets/PMSGraphical.swf", symbol="Tab_upSkin"); > overSkin: Embed(source="/assets/PMSGraphical.swf", symbol="Tab_overSkin"); > downSkin: Embed(source="/assets/PMSGraphical.swf", symbol="Tab_downSkin"); > } > > If they're not "skins", but graphical elements, you can do the same by > using png's or symbols as container "backgrounds". > > // CSS > .bgCanvas { > backgroundImage: Embed(source="/assets/Graphical.swf", > symbol="CanvasBackground"); > } > > // MXML > > //other stuff here > > > regards, > Muzak > > - Original Message - From: "Matt Muller" > To: "Flash Coders List" > Sent: Wednesday, July 29, 2009 11:30 AM > Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC > > > figured it out. you need to have FlexComponentBase in the lib for FP9 >> export. >> >> >> >> On Wed, Jul 29, 2009 at 10:13 AM, Matt Muller > >wrote: >> >> i made a video of whats happening... >>> >>> http://screencast.com/t/cvTKLGch >>> >>> go figure. unless im meant to make a class that ecenteds something other >>> than mc before creating the component? >>> >>> >>> On Wed, Jul 29, 2009 at 8:16 AM, Matt Muller >> >wrote: >>> >>> there is no class attached. its just to get ui graphics from flash into >>>> flex. add to mx:Box and using layout props. >>>> >>>> >>>> >>>> >>>> On Wed, Jul 29, 2009 at 3:06 AM, Muzak wrote: >>>> >>>> Yup, using CS4. >>>>> >>>>> Doing the same thing as you described: >>>>> >>>>> - select File -> Publish Settings >>>>> - in Formats tab: >>>>> - deselect "HTML" >>>>> in Flash tab >>>>> - select "Flash Player 9" - select ActionScript 3 >>>>> - select "Export SWC" >>>>> >>>>> - create Movieclip symbol, fill in a class name (export for >>>>> ActionScript) >>>>> - select the Movieclip in Library, select Commands -> Convert Symbol to >>>>> Flex Component >>>>> - File -> Publish >>>>> >>>>> >>>>> I'm only asked to change the framerate to 24 when converting the >>>>> MovieClip to Flex Component. >>>>> Other than that it just works.. >>>>> >>>>> What does the class look like (the one attached to the MovieClip >>>>> symbol)? >>>>> >>>>> regards, >>>>> Muzak >>>>> >>>>> - Original Message - From: "Matt Muller" < >>>>> matthewmul...@gmail.com> >>>>> To: "Flash Coders List" >>>>> Sent: Wednesday, July 29, 2009 12:09 AM >>>>> Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC >>>>> >>>>> >>>>> yep. are you using cs4? >>>>> >>>>>> >>>>>> i was just exporting swc and add to flex but then had to use >>>>>> rawchildren >>>>>> and >>>>>> couldnt use positioning. >>>>>> >>>>>> when i select the clip in the lib and then go to commands>make flex >>>>>> component the warning pops up. >>>>>> >>>>>> MaTT >>>>>> >>>>>> >>>>>> ___ >>>>> Flashcoders mailing list >>>>> Flashcoders@chattyfig.figleaf.com >>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>> >>>>> >>>> >>>> >>> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
figured it out. you need to have FlexComponentBase in the lib for FP9 export. On Wed, Jul 29, 2009 at 10:13 AM, Matt Muller wrote: > i made a video of whats happening... > > http://screencast.com/t/cvTKLGch > > go figure. unless im meant to make a class that ecenteds something other > than mc before creating the component? > > > On Wed, Jul 29, 2009 at 8:16 AM, Matt Muller wrote: > >> there is no class attached. its just to get ui graphics from flash into >> flex. add to mx:Box and using layout props. >> >> >> >> >> On Wed, Jul 29, 2009 at 3:06 AM, Muzak wrote: >> >>> Yup, using CS4. >>> >>> Doing the same thing as you described: >>> >>> - select File -> Publish Settings >>> - in Formats tab: >>> - deselect "HTML" >>> in Flash tab >>> - select "Flash Player 9" - select ActionScript 3 >>> - select "Export SWC" >>> >>> - create Movieclip symbol, fill in a class name (export for ActionScript) >>> - select the Movieclip in Library, select Commands -> Convert Symbol to >>> Flex Component >>> - File -> Publish >>> >>> >>> I'm only asked to change the framerate to 24 when converting the >>> MovieClip to Flex Component. >>> Other than that it just works.. >>> >>> What does the class look like (the one attached to the MovieClip symbol)? >>> >>> regards, >>> Muzak >>> >>> - Original Message - From: "Matt Muller" < >>> matthewmul...@gmail.com> >>> To: "Flash Coders List" >>> Sent: Wednesday, July 29, 2009 12:09 AM >>> Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC >>> >>> >>> yep. are you using cs4? >>>> >>>> i was just exporting swc and add to flex but then had to use rawchildren >>>> and >>>> couldnt use positioning. >>>> >>>> when i select the clip in the lib and then go to commands>make flex >>>> component the warning pops up. >>>> >>>> MaTT >>>> >>>> >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >> >> > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
i made a video of whats happening... http://screencast.com/t/cvTKLGch go figure. unless im meant to make a class that ecenteds something other than mc before creating the component? On Wed, Jul 29, 2009 at 8:16 AM, Matt Muller wrote: > there is no class attached. its just to get ui graphics from flash into > flex. add to mx:Box and using layout props. > > > > > On Wed, Jul 29, 2009 at 3:06 AM, Muzak wrote: > >> Yup, using CS4. >> >> Doing the same thing as you described: >> >> - select File -> Publish Settings >> - in Formats tab: >> - deselect "HTML" >> in Flash tab >> - select "Flash Player 9" - select ActionScript 3 >> - select "Export SWC" >> >> - create Movieclip symbol, fill in a class name (export for ActionScript) >> - select the Movieclip in Library, select Commands -> Convert Symbol to >> Flex Component >> - File -> Publish >> >> >> I'm only asked to change the framerate to 24 when converting the MovieClip >> to Flex Component. >> Other than that it just works.. >> >> What does the class look like (the one attached to the MovieClip symbol)? >> >> regards, >> Muzak >> >> - Original Message - From: "Matt Muller" > > >> To: "Flash Coders List" >> Sent: Wednesday, July 29, 2009 12:09 AM >> Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC >> >> >> yep. are you using cs4? >>> >>> i was just exporting swc and add to flex but then had to use rawchildren >>> and >>> couldnt use positioning. >>> >>> when i select the clip in the lib and then go to commands>make flex >>> component the warning pops up. >>> >>> MaTT >>> >>> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
there is no class attached. its just to get ui graphics from flash into flex. add to mx:Box and using layout props. On Wed, Jul 29, 2009 at 3:06 AM, Muzak wrote: > Yup, using CS4. > > Doing the same thing as you described: > > - select File -> Publish Settings > - in Formats tab: > - deselect "HTML" > in Flash tab > - select "Flash Player 9" - select ActionScript 3 > - select "Export SWC" > > - create Movieclip symbol, fill in a class name (export for ActionScript) > - select the Movieclip in Library, select Commands -> Convert Symbol to > Flex Component > - File -> Publish > > > I'm only asked to change the framerate to 24 when converting the MovieClip > to Flex Component. > Other than that it just works.. > > What does the class look like (the one attached to the MovieClip symbol)? > > regards, > Muzak > > - Original Message - From: "Matt Muller" > To: "Flash Coders List" > Sent: Wednesday, July 29, 2009 12:09 AM > Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC > > > yep. are you using cs4? >> >> i was just exporting swc and add to flex but then had to use rawchildren >> and >> couldnt use positioning. >> >> when i select the clip in the lib and then go to commands>make flex >> component the warning pops up. >> >> MaTT >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
yep. are you using cs4? i was just exporting swc and add to flex but then had to use rawchildren and couldnt use positioning. when i select the clip in the lib and then go to commands>make flex component the warning pops up. MaTT On Tue, Jul 28, 2009 at 10:56 PM, Muzak wrote: > Mine publishes to fp9 just fine. > > Have you set fp9 in the publish settings and enabled "Export swc" ? > http://muzakdeezign.com/flashcoders/publish_swc.jpg > > regards, > Muzak > > - Original Message - From: "Matt Muller" > To: "Flash Coders List" > Sent: Tuesday, July 28, 2009 8:43 PM > Subject: Re: [Flashcoders] Extending Flex UIComponent in flash SWC > > > thanks. I only have cs4 and it wont publish to flash 9. only fp 10 :/ >> >> On Tue, Jul 28, 2009 at 6:18 PM, Muzak wrote: >> >> Get the "Flex Component Kit for Flash CS3". >>> http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 >>> >>> I think Flash CS4 already has the component kit installed. >>> >>> regards, >>> Muzak >>> >>> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Extending Flex UIComponent in flash SWC
thanks. I only have cs4 and it wont publish to flash 9. only fp 10 :/ On Tue, Jul 28, 2009 at 6:18 PM, Muzak wrote: > Get the "Flex Component Kit for Flash CS3". > http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3 > > I think Flash CS4 already has the component kit installed. > > regards, > Muzak > > ----- Original Message - From: "Matt Muller" > To: "Flash Coders List" > Sent: Tuesday, July 28, 2009 6:39 PM > Subject: [Flashcoders] Extending Flex UIComponent in flash SWC > > > > Hi, Im creating a SWC with some UI movieclips exported in the lib to use >> with FLEX. >> >> Right now they extend MovieClip and when I create a new instance in FLEX >> and >> add to mx:Box I need to add to rawChildren. >> >> This means I cant use the alignment properties of mx:Box to align the >> graphics. >> >> apart from adding them to a new UIComponent as a child and then adding the >> UIComponent to the Box, is there another way to do this? >> >> thanks, >> >> MaTT >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Extending Flex UIComponent in flash SWC
Hi, Im creating a SWC with some UI movieclips exported in the lib to use with FLEX. Right now they extend MovieClip and when I create a new instance in FLEX and add to mx:Box I need to add to rawChildren. This means I cant use the alignment properties of mx:Box to align the graphics. apart from adding them to a new UIComponent as a child and then adding the UIComponent to the Box, is there another way to do this? thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] rendering 3d model of a car for use in flash as an image sequence (360)
Hi, I am about to get some rendered frames of a car for a 360 as a targa sequence for use in flash as an image (JPG's) sequence. Does anyone know what the optimum target polygon count is for the vehicle exterior? Does anyone know roughly how many JPGs will be needed to create a smooth sequence? Any other tips or tricks or URL' s greatly appreciated. thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] does anyone use MonsterDebugger
sure. I use it a lot great tool. tutorial here http://theflashblog.com/?p=980 On Mon, Jun 8, 2009 at 5:13 PM, Anthony Pace wrote: > I have used it and it seems okay; yet, would this ever be used in a > professional development environment? > > I have been using the basic debugger in the flex 3 sdk for quite a while > now, and I am looking for alternatives. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Web page performance profiling
Hi, a client of mine has an issue whereby they have multiple flash ads on a webpage. Over time these ads can cause the browser to crash, probably due to memory leaks. They have asked me if I know a tool which can preflight the page with the ads on and warn of any issues (apart from the performace profiler in the task manager). Any ideas if such a tool exists? thanks, MaTT. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 examples of amoeba or microbes
click on source at the tom right. choose category. click on an experiment which is one of the little blocks that fly in, on the bottom right there is a button which says download. does that answer your question?? On Mon, Mar 23, 2009 at 7:50 PM, Cor wrote: > Source??? Where exactly?? > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt > Muller > Sent: maandag 23 maart 2009 18:10 > To: Flash Coders List > Subject: Re: [Flashcoders] AS3 examples of amoeba or microbes > > you might find something useful here > > http://www.liquidjourney.com/ > > there is source. > > MaTT > > On Mon, Mar 23, 2009 at 3:19 PM, Alan Shaw wrote: > > > Check this out: > > > > > > http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-act > ionscript-flash<http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-act%0Aionscript-flash> > > > > On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace > > > wrote: > > > I am looking for some really good examples of amoeba or microbe > > simulations > > > done in as3 > > > > > > I know that it is probably just done using beziers; yet, I am also > > wondering > > > what the best way would be to connect hair "feelers" to the edges, so > if > > the > > > microbe changes shape the hairs move accordingly. > > > > > > Do I break down the curve along a larger bezier to find the distance it > > > covers and then based on averaging the distance of the hairs place > them? > > or > > > would it be better to just make a curve that has more control points; > > thus, > > > making it easier to track the position of the "feelers" along the curve > > but > > > having to process a "kappas"(? not sure if the term really applies > here, > > > just guessing) value for each added control point? > > > > > > What do you think? > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.278 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 > 06:52:00 > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 examples of amoeba or microbes
you might find something useful here http://www.liquidjourney.com/ there is source. MaTT On Mon, Mar 23, 2009 at 3:19 PM, Alan Shaw wrote: > Check this out: > > http://www.nicoptere.net/blog/index.php/2008/10/13/51-bacteria-generator-actionscript-flash > > On Sun, Mar 22, 2009 at 11:11 PM, Anthony Pace > wrote: > > I am looking for some really good examples of amoeba or microbe > simulations > > done in as3 > > > > I know that it is probably just done using beziers; yet, I am also > wondering > > what the best way would be to connect hair "feelers" to the edges, so if > the > > microbe changes shape the hairs move accordingly. > > > > Do I break down the curve along a larger bezier to find the distance it > > covers and then based on averaging the distance of the hairs place them? > or > > would it be better to just make a curve that has more control points; > thus, > > making it easier to track the position of the "feelers" along the curve > but > > having to process a "kappas"(? not sure if the term really applies here, > > just guessing) value for each added control point? > > > > What do you think? > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] bandwidth detection
hi, anyone know any reliable and consistent bandwidth detection methods. I am doing the download multiple images and average out the kbps but its vastly inconsistent against speedtest.net and even against itself. cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Broadband speed test app
Hi, does anyone know what a good approach is to measuring broadband speed like they do here http://www.speedtest.net/ Thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flvplayback vs. netstream
dont use the component. you have no access to the core classes to change the netstream or connection like you need to do with akamai etc. actually you can do it, but its a total nightmare. its also really slow and unresponsive. you can however use the VideoPlayer classes which is what component is built on. cheers, MaTT On Tue, Jan 13, 2009 at 7:09 PM, Matus Laco wrote: > I am new to flash components and the components' classes. I have built a > videoplayer before considering the flvplayback component. My videoplayer > works fine, but what if the flvplayback component (instead of my own code) > would make my code more stable? > So the question is: what is your preference when developing a flv player: > using the flvplayback component or rely on the video and netstream class? > > Thanks for your answers! > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] change the origin of rotation for a movieclip?
http://www.oscartrelles.com/archives/dynamic_movieclip_registration_with_as3// change reg point and a new super fast free tween engine http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/ cheers, MaTT On Tue, Jan 13, 2009 at 6:02 PM, Anthony Pace wrote: > Telling someone to purchase a membership is not a real answer. His second > post was. > > > Hans Wichman wrote: > >> What I don't understand is that someone takes the time to write an >> elaborate >> answer and you have the nerve to reply with "how about a real answer", >> some >> attitude dude. Although noone seems to take offense, it's a one way trip >> to >> my ignore list. >> >> >> On Mon, Jan 12, 2009 at 9:24 PM, Anthony Pace > >wrote: >> >> >> >>> How about a real answer? >>> >>> >>> Jack Doyle wrote: >>> >>> >>> There's a new plugin for TweenLite/Max that'll cause transformation (rotation/scale) tweens to occur around any point, so it'll be as easy as: TweenLite.to(mc, 2, {transformAroundPoint:{point:new Point(100, 100), rotation:85}}); Or if you want to use the center of the object as its origin, you could simply do: TweenLite.to(mc, 2, {transformAroundCenter:{rotation:80}}); It works for the scale too, like: TweenLite.to(mc, 2, {transformAroundCenter:{scaleX:1.5, scaleY:2, rotation:-70}}); NOTE: The plugin is a membership benefit of Club GreenSock. You can see an interactive demo at http://blog.greensock.com/sneak-peek/ (scroll all the way down in the list of plugins - they're at the bottom - click "example"). For those of you who are wondering "what's this 'plugin' talk with TweenLite - I didn't know there were any plugins!", it's a new feature that's part of a big update I'm rolling out soon. It adds lots of flexibility. Read more at the site. Jack PS There's also TransformMatrixProxy which has been around for a while and it'll do something similar and also let you skew things. http://blog.greensock.com/transformmatrixproxy/ It's not quite as convenient as a plugin for TweenLite/Max, though. -Original Message- From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent: Saturday, January 10, 2009 6:12 PM To: Flash Coders List Subject: [Flashcoders] change the origin of rotation for a movieclip? How do you change the origin of rotation dynamically? can it be done? or will it always be 0,0 I was hoping that with the new features of as3 that this I would be able to indicate where I wanted the origin; yet, I am starting to think that I was hoping for too much. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >>> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Height and Width of a loaded SWF before it visually renders?
http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/utils/SWFReader.as On Sat, Jan 10, 2009 at 5:03 PM, Andrew Murphy wrote: > Hi all. > > > > I'm loading several .swf files into another .swf, to produce a horizontal > bar of clickable "icons". The loaded .swf files animate, changing their > size, when they are clicked on. > > > > I've written a script in the loading .swf that positions the loaded .swfs > in > the scrollbar, but by the time it can access the height and width > properties > of the loaded .swf files they have already visually rendered. (I'm > currently using an Event.ENTER_FRAME to trigger the script that positions > the loaded .swf files.) This is causing a juddering in the scrollbar as > the > loaded swf files are rendering visually before the positioning script > accesses their height and width and then position them, turning it into a > two step process: 1) icon movie clip changes size and renders, 2) > scrollbar > script repositions the icon movie clips > > > > What I'd like to do is access the height and width of the loaded swf files > before they visually render so that I can get them into the correct > positions before the visual render occours. Turn it into a one step > process: icon movie clip changes size and then they are all repositioned > by > the scrollbar script. > > > > I've tried creating an Event.RENDER within the loaded .swf files to trigger > the script in the loading swf to position the icons, but the loaded swf > files never seem to fire a render event while it's animating. > > > > I'm not even sure what I want to do is possible as the loaded swfs may not > have their new height/width before they have visually rendered. > > > > Thoughts..? > > > > Thank you. ^_^ > > > > -[a]- > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ActionScript syntax enhancements?
you can already do trailing comma's cant you? I know you can in arrays. On Tue, Jan 6, 2009 at 10:29 PM, Matthias Kramm wrote: > Hi All, > > I'm currently in the process of writing a compiler for > ActionScript 3.0. > (In case you're interested, the "development snapshot" at > http://www.swftools.org/download.html already contains > a pre-alpha command-line tool, called as3compile(.exe)) > > Now, I'm thinking about adding an "extended mode" to this > compiler, which will support some additional convenience > features which are not currently part of the ECMA spec. > > Right now, ideas on my list are things like [a,b,c,] or > {a:b, c:d, e:f, } array/object declarations (allowing the > trailing comma makes it easier to shift elements around > especially for multi-line structures), try/catch/else, > for/else, and keyword arguments (functioncall(x=3,y=4)). > > I'd be interested to know what other syntax extensions you > can think of that would make life easier for you when > you're writing ActionScript? > > Greetings > > Matthias > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bitmap distorting during pan
What do you mean copy the bitmapdata to another movieclip? do you mean create a new bitmap using the bitmapdata, set smoothing to true and add that to a displayobject? cheers, MaTT On Wed, Oct 29, 2008 at 1:40 PM, Fabio Pinatti <[EMAIL PROTECTED]> wrote: > copy the loaded image content with bitmapdata and smoothing = true to > another movieclip. Or if it's in timeline, check "allow bitmap smoothing" > in > properties, from library. > > Best, > Pinatti > > On Wed, Oct 29, 2008 at 11:24 AM, Matt Muller <[EMAIL PROTECTED] > >wrote: > > > Hi, I am panning a bitmap around on mouse position. It is distorting a > bit > > when this happens. i.e there are some lines which run through it. > > > > Does anyone know how to stop this from happening? > > > > cheers, > > > > MaTT > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Fábio Pinatti > :: web.developer > www.pinatti.com.br > :: 19. 9184.3745 / 3342.1130 > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bitmap distorting during pan
Thanks, I have already tried allow bitmaps smoothing as it is on the stage already and this doesnt work. Any other ideas? cheers, MaTT On Wed, Oct 29, 2008 at 1:40 PM, Fabio Pinatti <[EMAIL PROTECTED]> wrote: > copy the loaded image content with bitmapdata and smoothing = true to > another movieclip. Or if it's in timeline, check "allow bitmap smoothing" > in > properties, from library. > > Best, > Pinatti > > On Wed, Oct 29, 2008 at 11:24 AM, Matt Muller <[EMAIL PROTECTED] > >wrote: > > > Hi, I am panning a bitmap around on mouse position. It is distorting a > bit > > when this happens. i.e there are some lines which run through it. > > > > Does anyone know how to stop this from happening? > > > > cheers, > > > > MaTT > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Fábio Pinatti > :: web.developer > www.pinatti.com.br > :: 19. 9184.3745 / 3342.1130 > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Bitmap distorting during pan
Hi, I am panning a bitmap around on mouse position. It is distorting a bit when this happens. i.e there are some lines which run through it. Does anyone know how to stop this from happening? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash / Flex Wiki Framework / API
Hi, I am looking for a actionscript framework or api which will help build a wiki for a Flex application. Typical Wiki functionality (integration with Wiki application or support for Wiki within Flex) (Freedom to construct pages and mini-sites of content) Rich Text Editor functionality including ability to support inline images, external links, etc. Ability to manage/organise content created within Flex (or Wiki within Flex) by creating hierarchical folders and/or tags to organise pages Ability to freely manage page layout, preferably with a minimum of technical knowledge (such as WML) Support for external feeds within Wiki Support for threaded discussions as part of or adjacent to Wiki Any suggestions appreciated. thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV ending prematurely in FLVPlayback component
The video is stopping about a minute in. I've tried re encoding, stripping sound, injecting metadata, you name it. FLVPlayback component is buggy as hell if you ask me. It so heavy on overhead and inaccurate when seeking and buffering etc. Has anyone got any last input around this before I endeavor a huge undertaking of stripping out the component from 5000 lines of code. MaTT On Wed, Jun 25, 2008 at 3:39 PM, Manuel Ponce de Leon < [EMAIL PROTECTED]> wrote: > Try using the FLV Metadata Injector into your FLVs > http://www.buraks.com/flvmdi/ > > The problem may be caused by incorrect (ie, rounded down duration value) or > corrupted metadata on the FLV. > > Matt Muller wrote: > >> Hi, I am using the FLVPlayback component to serve videos. Users with a >> slow >> connection are getting the FLV stopping midway through. >> >> I've done some testing and it seems the player thinks the FLV has >> finished, >> which it hasn't. This is happening across multiple FLV's. I've tried >> encoding with no audio. >> >> Any ideas? >> >> cheers, >> >> MaTT >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FLV ending prematurely in FLVPlayback component
Hi, I am using the FLVPlayback component to serve videos. Users with a slow connection are getting the FLV stopping midway through. I've done some testing and it seems the player thinks the FLV has finished, which it hasn't. This is happening across multiple FLV's. I've tried encoding with no audio. Any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FLVPlayback component stops video for no reason
Hi I have an issue where when I throttle bandwidth to 500 kbps to simulate a slow connection on a progressive stream the video will completely download but stops playing after a couple minutes. It wont restart playing. When I am not throttling, there is no issue. Could this be some sort of component bug. AS3 FP9 Any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Authenticating a REST service from a flash swf
Hi, has anyone got any advice on approaching this subject? Thanks MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS3] Memory leaks & unloading
I think you can use a localconnection hack to force gc. http://blog.infidea.ws/category/as3/ On Wed, Mar 12, 2008 at 4:29 PM, Allandt Bik-Elliott (Receptacle) < [EMAIL PROTECTED]> wrote: > as far as i know, there is no way of dumping the garbage manually - > you have to wait for the flash plugin to dump it once it has been marked > > you can check chapter 14 of essential actionscript 3.0 (moock) for > more info about that > > > On 12 Mar 2008, at 15:54, Henry Cooke wrote: > > > Hey all, > > > > I'm currently working on a Flash module to sit inside a larger Flash > > site being developed by another agency. This module needs to be loaded > > and unloaded as needed, and has a fair few library assets, quite > > substantial codebase and will be running PV3D or Away3D, so I need to > > be very careful about destroying everything when my module is finished > > with; the container site is pretty resource-hungry too. > > > > So, my current problem: I've built initialisation and destruction > > routines that run on Event.ADDED_TO_STAGE and > > Event.REMOVED_FROM_STAGE, and a test loader which loads and removes my > > module. However, watching the test loader unload my module in the > > Flash Player shows no noticeable drop in memory after my destructors > > have been called in the module and $loader.unload() has been called in > > the test loader, so it seems like a lot o stuff is gettign stuck in > > memory. > > > > Basically, my destructors set any class variables which reference > > objects to null, which I believe should mark them for garbage > > collection, if nothing else points to them? I also do things like > > removeChild() and bitmapData.dispose() where relevant. > > > > I've compiled in XRay, which shows what you'd expect: various bits > > present on stage while my module is loaded, all gone when it's not. > > > > So I guess my questions are: does anyone know any secret voodoo > > techniques to track down memory use in the Flash player? Is there > > anything better I can be doing than just setting pointers to null? > > Back in the AS2 day, I'd suspect the _global namespace of becoming > > cluttered and just try and nuke _global[ package_name ], but dirty > > hacks like that don't exist in our shiny new AS3 world, do they? > > > > I'd be grateful if anyone can offer any advice about how to properly > > clear up memory after unloading my module. This is my first AS3 > > project, and none of my old tricks work :( > > > > Cheers, > > Henry > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Unload AVM1 Movie from AS3 Movie Loader and GC
Hi, does anyone know if unloading an AVM1 movie from an AS3 Loader will mean the memory will be GC'ed on the next sweep. I assume logically as there is no real connection (listeners) between the AS3 Movie and the AVM1 movie it should. Basically I want to load ads into an as3 app. This would pretty much be the only safe way to do this. Thoughts / comments ... cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] [AS3] Memory leaks & unloading
You should read this. http://gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html GC doesnt happen on unloading immediately. Leave your app open for 20 mins and see what happens... MaTT On Wed, Mar 12, 2008 at 4:14 PM, Matthew James Poole < [EMAIL PROTECTED]> wrote: > You can start by using weak references for you events listeners... > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Henry > Cooke > Sent: 12 March 2008 15:55 > To: Flashcoders mailing list > Subject: [Flashcoders] [AS3] Memory leaks & unloading > > Hey all, > > I'm currently working on a Flash module to sit inside a larger Flash > site being developed by another agency. This module needs to be loaded > and unloaded as needed, and has a fair few library assets, quite > substantial codebase and will be running PV3D or Away3D, so I need to be > very careful about destroying everything when my module is finished > with; the container site is pretty resource-hungry too. > > So, my current problem: I've built initialisation and destruction > routines that run on Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE, > and a test loader which loads and removes my module. However, watching > the test loader unload my module in the Flash Player shows no noticeable > drop in memory after my destructors have been called in the module and > $loader.unload() has been called in the test loader, so it seems like a > lot o stuff is gettign stuck in memory. > > Basically, my destructors set any class variables which reference > objects to null, which I believe should mark them for garbage > collection, if nothing else points to them? I also do things like > removeChild() and bitmapData.dispose() where relevant. > > I've compiled in XRay, which shows what you'd expect: various bits > present on stage while my module is loaded, all gone when it's not. > > So I guess my questions are: does anyone know any secret voodoo > techniques to track down memory use in the Flash player? Is there > anything better I can be doing than just setting pointers to null? > Back in the AS2 day, I'd suspect the _global namespace of becoming > cluttered and just try and nuke _global[ package_name ], but dirty hacks > like that don't exist in our shiny new AS3 world, do they? > > I'd be grateful if anyone can offer any advice about how to properly > clear up memory after unloading my module. This is my first AS3 project, > and none of my old tricks work :( > > Cheers, > Henry > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > __ > This e-mail has been scanned for viruses by the Virtual Universe e-mail > security system - powered by MessageLabs. > http://www.virtual-universe.net > > __ > > The contents of this email (which include its attachments) are > confidential and may be subject to legal privilege and protected by > copyright. If you are not the intended recipient any use, copying or > disclosure of this e-mail to any third party is strictly forbidden by the > sender and we reserve all rights and remedies against any person or entity > making any such unauthorised use. If you have received this email in error, > please contact the sender immediately by telephone or return the email to > the sender and then delete this email and any copies of it on your system. > Virtual Universe Limited may monitor the contents of emails sent and > received via its network for viruses and to ensure the lawful and authorised > use of its systems. Virtual Universe Limited will not be held responsible > for any damage caused by viruses which may be transmitted upon receipt of > this email or the opening of any attachment thereto. Any views or opinions > presented in this email are solely those of th! > e author and do not necessarily represent those of Virtual Universe > Limited. > > Virtual Universe Limited is a company established under the laws of > England and Wales with registered number 03064568 and has its registered > office at 1 Regent Street, London, SW1Y 4NW and principal place of business > at 28-39 The Quadrant, 135 Salusbury Road, London NW6 6RJ, United Kingdom. > It is registered for VAT in the United Kingdom with number GB877113217. > > > __ > This e-mail has been scanned for viruses by the Virtual Universe e-mail > security system - powered by MessageLabs. http://www.virtual-universe.net > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/
[Flashcoders] Loading Flash 8 swfs into Flash 9 and GC
Hi, Im building an AS3 Flash 9 app. One requirement is to allow loading of swf ads into the application. I am a little concerned about GC. If the ad has any event listeners attached to the stage, my understanding is that I will not be able to clean up after the ad has finished and will leave myself open to memory leaks. Can anyone validate this? And if this is true, is this also true of loading in Flash 8 and less content. Any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] ERROR : Adobe AIR update beta 3 for Flash CS3 Professional – Updated 12/14/07
Hi I have installed the beta 3 update and run the cleanup script. It creates the air file successfully but the air file gives the following error. The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author. Any ideas? cheers, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Making a mac projector go fullscree n AS£
Hi, I have a presentation I have built on my PC which needs to run on a mac. I save the macintosh projector file out and tun the file on a mac. It opens in a window, i.e. not fullscreen. So the bottom of the presentation gets cut off. I am using... stage.displayState = StageDisplayState.FULL_SCREEN; to go fullscreen. This works fine on a PC. Any ideas appreciated! Thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] as3 creating sprite instances in a loop
Hi, does anyone know how to create individual sprite instances in a loop for (var j:uint = 0; j < _columns; j++) { var sprite:Sprite = new Sprite(); } this just over writes the sprite. thanks MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] stage.stageheight bug in as3
you shouldnt have to do that :) On 9/7/07, Muzak <[EMAIL PROTECTED]> wrote: > > trace("- stageHeight = " + stage.stageHeight); > > function stageResizeHandler(evt:Event):void { > trace("Application ::: stageResizeHandler"); > trace("- stageHeight = " + stage.stageHeight); > } > stage.addEventListener(Event.RESIZE, stageResizeHandler); > > regards, > Muzak > > - Original Message - > From: "Matt Muller" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Friday, September 07, 2007 4:25 PM > Subject: [Flashcoders] stage.stageheight bug in as3 > > > > put this in an empty doc on the first frame > > > > trace('stage.stageHeight = ' + stage.stageHeight); > > > > if you publish with the bandwidth explorer open it shows the stageheight > as > > 100 px less than it is. > > > > - MaTT > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] stage.stageheight bug in as3
put this in an empty doc on the first frame trace('stage.stageHeight = ' + stage.stageHeight); if you publish with the bandwidth explorer open it shows the stageheight as 100 px less than it is. - MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Mac issue with flickerling FLVPlayback component
Hi I have an FLVPlayback component on a html page. When its paused and its scrolled off the screen and scrolled back on it doesnt redraw the video frame correctly. This is a mac issue. Has anyone else experienced this? Cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Using a .SWC in flash cs3
Hi does anyone know how to use a .SWC in flash CS3? I have included it in my classpath but flash says it cant be found when i try to instantiate a class obj. Thanks, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: as3 instantiation of a new FLVPlaybackCaptioning component
Sorry , please ignore, I was typing the instance as a CaptionManager in the parent class and not a FLVPlaybackCaptioning component. MaTT On 8/13/07, Matt Muller <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to instantiate a new FLVPlaybackCaptioning component with > actionscript. > This is being called from another class like so... > > captionMngr = CaptionManager.getInstance (); > > I get this error when compiling... > > 1046: Type was not found or was not a compile-time constant: > FLVPlaybackCaptioning. > > package com.foo.utils { > > import fl.video.CaptionChangeEvent ; > import fl.video.FLVPlaybackCaptioning; > import fl.video.FLVPlayback; > import flash.display.Sprite; > > public class CaptionManager extends Sprite{ > > public static var capCom:FLVPlaybackCaptioning; > > public function CaptionManager(enforcer:SingletonEnforcer) > { > > } > > public static function getInstance():FLVPlaybackCaptioning > { > if (CaptionManager.capCom == null) > { > CaptionManager.capCom = new FLVPlaybackCaptioning(); > } > return CaptionManager.capCom; > } > } > } > > class SingletonEnforcer{} > > Thanks, > > MaTT > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] as3 instantiation of a new FLVPlaybackCaptioning component
Hi, I'm trying to instantiate a new FLVPlaybackCaptioning component with actionscript. This is being called from another class like so... captionMngr = CaptionManager.getInstance(); I get this error when compiling... 1046: Type was not found or was not a compile-time constant: FLVPlaybackCaptioning. package com.foo.utils { import fl.video.CaptionChangeEvent; import fl.video.FLVPlaybackCaptioning; import fl.video.FLVPlayback; import flash.display.Sprite; public class CaptionManager extends Sprite{ public static var capCom:FLVPlaybackCaptioning; public function CaptionManager(enforcer:SingletonEnforcer) { } public static function getInstance():FLVPlaybackCaptioning { if (CaptionManager.capCom == null) { CaptionManager.capCom = new FLVPlaybackCaptioning(); } return CaptionManager.capCom; } } } class SingletonEnforcer{} Thanks, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 loader applicationDomain question
try... var ClassReference:Class = event.target.applicationDomain. getDefinitionByName(className) as Class; MaTT On 8/7/07, Muzak <[EMAIL PROTECTED]> wrote: > > ClassReference is a reserved word, at least it is in Flex 2. > > regards, > Muzak > > - Original Message - > From: "Patrick Matte|BLITZ" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, August 07, 2007 10:05 PM > Subject: [Flashcoders] AS3 loader applicationDomain question > > > Is this supposed to work? > Right now flash IDE crashes everytime when it reaches the line: var > instance = new ClassReference(); > I just want to add the loader.content to the stage instead of the whole > loader instance and I thought that would work.. > > function load():void{ > var loader:Loader = new Loader(); > loader.contentLoaderInfo.addEventListener(Event.COMPLETE, > completeEvent); > var request:URLRequest = new URLRequest(source); > loader.load(request); > } > > function completeEvent(event:Event):void { > var className:String = getQualifiedClassName( > event.target.content); > var ClassReference:Class = > event.target.applicationDomain.getDefinition(className) as Class; > var instance = new ClassReference(); > addChild (instance); > } > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Getting Hand Cursor to show up in AS3 on new MovieClip()
Hi, I have a class(Class A) which extends a superclass which extends mc. 'Class A' is instantiated by using new ClassA() and is on the stage. Its basically a button which works perfectly, except doesnt have the hand cursor. I have pasted in the class below, does anyone know how I can get this to functionality back. In AS2 you would just need to say mc.onPress = function(){}; Cheers, MaTT package com.foo.view.playerSkins { dynamic public class PlayPauseButton extends FlvPlayerSkinSuper { import flash.display.MovieClip; import flash.events.MouseEvent; import com.foo.control.FlvPlayerEvents; public function PlayPauseButton() { this.useHandCursor = true; this.addEventListener(MouseEvent.MOUSE_DOWN, clickHandler); } private function clickHandler(event:MouseEvent):void { _playerWrapper.dispatchEvent(new FlvPlayerEvents( FlvPlayerEvents.PLAYVIDEO, null)); } } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
Thanks, I ended up doing this though... var ClassReference:Class = getDefinitionByName("com.foo.view.playerSkins." + aTopNavItems[i].classType) as Class; this[aTopNavItems[i].class_id] = new ClassReference(); cheers, MaTT On 7/26/07, Jake Prime <[EMAIL PROTECTED]> wrote: I'm not sure about the actual code to instantiate, however make sure that the class you are creating is actually compiled in the first place. If it is not explicitly mentioned in your code somewhere it will not be compiled and will not be able to be created at run-time. jake On 26/07/07, Matt Muller <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to instantiate a new class object from a xml attribute which > is a string, but its not having any of it. > I've tried casting the string to an object and also using this['class_id'] > etc but no luck. > > Does someone have a solution? > > Thanks, > > MaTT > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 instantiating a new class object from a string value
Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Cross domain policy's and loading child SWF's
Hi, I am building a video player which loads its player skin from domainA.com. The player can be embedded on an external domain, domainB.com. Is there a way of not using a cross domain policy file to load the child swf in? You will never know which domain the parent is in and it just seems a security risk to use a wildcard in the cross domain policy file. Thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Updating playerglobal.swc for ActionScript 3.0 for Fullscreen
I forgot to mention, you need to add the FLVPlayback component into the library to get this. On 7/19/07, Matt Muller <[EMAIL PROTECTED]> wrote: Hi, I've just updated my swc as instructed to do so here for Flash CS3 http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW Im getting this error 1046: Type was not found or was not a compile-time constant: FullScreenEvent. with the new swc, has anyone seen this? Cheers, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Updating playerglobal.swc for ActionScript 3.0 for Fullscreen
Hi, I've just updated my swc as instructed to do so here for Flash CS3 http://labs.adobe.com/wiki/index.php/Flash_Player:9:Update:Full-Screen_Mode_HW Im getting this error 1046: Type was not found or was not a compile-time constant: FullScreenEvent. with the new swc, has anyone seen this? Cheers, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 package and class access
yes. On 7/17/07, Rob Romanek <[EMAIL PROTECTED]> wrote: What is your import statement for the singleton like? import com.foo.view.MySingletonClass; Rob On Tue, 17 Jul 2007 14:10:56 -0400, Matt Muller <[EMAIL PROTECTED]> wrote: > Hi, I have a question about class instantiation. > > I have a class in this package com.foo.view.playerSkins > > I am trying to instantiate a singleton in com.foo.view (1 dir up) > > The compiler is throwing the following error... > > 1120: Access of undefined property TestInstance. > > However when its in the same package com.foo.view.playerSkins I can > import > and instantiate it. > > Has anyone got any ideas? > > Cheers, > > MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 package and class access
Hi, I have a question about class instantiation. I have a class in this package com.foo.view.playerSkins I am trying to instantiate a singleton in com.foo.view (1 dir up) The compiler is throwing the following error... 1120: Access of undefined property TestInstance. However when its in the same package com.foo.view.playerSkins I can import and instantiate it. Has anyone got any ideas? Cheers, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class
Thanks all, I ended up with something like this... package com.foo.view.playerSkins { import flash.display.MovieClip; import com.sky.view.playerSkins.*; public class SkinInventory extends MovieClip{ private var fullscreen:MovieClip; public function SkinInventory() { _init(); } private function _init():void { fullscreen = getChild(this, "fullScreen"); fullscreen = (fullscreen as FullScreen); } public function getChild(stage, _name:String):MovieClip { return stage.getChildByName(_name); } } } On 7/12/07, Sunil Jolly <[EMAIL PROTECTED]> wrote: Hi Matt, AS3 is slightly different. You need to say: private var fullScreen_mc:MovieClip = getChildByName("fullscreen"); Note that the reference (fullscreen_mc) can't be the same as the name on the stage ("fullscreen"). Also in AS3 you can actually set instance variables outside of functions. I'm quite new to AS3 so I'd be interested if there's another way to do this. I haven't really worked out a good naming convention for this yet either - anyone have any ideas? Sunil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 12 July 2007 15:34 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class Hi, reserver keyword maybe? greetz JC On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote: > > I feel like a bit of an idiot asking this, but I keep getting errors. I'm > creating some custom player skin templates and have some ui elements which > are MovieClips on the stage. > Bearing in mind, this will be a swf loaded into another swf all I'm trying > to do is create class definitions and its throwing errors. > > in as2, it would normally be something like name your instance on stage > 'btn_fullScreen' and then in the class just type it to have access to it. > private var btn_fullScreen:MovieClip; > > So in the document class I have something like this (as3) with a MovieClip > with a matching instance name "fullScreen" thats on the stage/timeleine > but > its clashing when I try and access it from the class. > > and I get this error when I try to trace it. > > 1151: A conflict exists with definition fullScreen in namespace internal. > > package com.foo.view.playerSkins { > >import flash.display.MovieClip; > >public class SkinInventory extends MovieClip{ > >private var fullScreen:MovieClip; > >public function SkinInventory() >{ >trace(fullScreen) >} >} > } > > Any ideas?? > > thanks > > matt > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Accessing MovieClips on a timeline from an AS3 class
I feel like a bit of an idiot asking this, but I keep getting errors. I'm creating some custom player skin templates and have some ui elements which are MovieClips on the stage. Bearing in mind, this will be a swf loaded into another swf all I'm trying to do is create class definitions and its throwing errors. in as2, it would normally be something like name your instance on stage 'btn_fullScreen' and then in the class just type it to have access to it. private var btn_fullScreen:MovieClip; So in the document class I have something like this (as3) with a MovieClip with a matching instance name "fullScreen" thats on the stage/timeleine but its clashing when I try and access it from the class. and I get this error when I try to trace it. 1151: A conflict exists with definition fullScreen in namespace internal. package com.foo.view.playerSkins { import flash.display.MovieClip; public class SkinInventory extends MovieClip{ private var fullScreen:MovieClip; public function SkinInventory() { trace(fullScreen) } } } Any ideas?? thanks matt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] open an .exe from swf across http
Anyone know any hacks?? No it cant be a projector. cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] - Integrating instant messaging with Flash / Flex
Hi all, I'm scoping a project out which is a media based application to be done in as3. I'm looking for information on messaging api's or 3rd party applications for integration with i.e. yahoo/msn messenger etc. into flash/flex. Can anyone point me in the right direction? cheers, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Flash 9 Express Install
Branding the interface and serving ads with custom rss took the cake for me. But yes those ads and iterabuive bits in the middle me the video were very cool. Matt On 5/3/07, Asai <[EMAIL PROTECTED]> wrote: Why don't you check out Geoff Stearn's SWFObject site? SWFObject supports express install for any version of the Flash Player. asai Matt Muller wrote: > Anyone know if the 'Express Install' is available for a Flash Player 9 > upgrade yet? > > thanks, > > - MaTT > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash 9 Express Install
Anyone know if the 'Express Install' is available for a Flash Player 9 upgrade yet? thanks, - MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Metadata references
Thanks dude! On 5/2/07, Muzak <[EMAIL PROTECTED]> wrote: Try the Flex docs http://livedocs.adobe.com/flex/201/html/metadata_141_04.html [SWF] and [Frame] are not in the docs though, but there's some info in the comments here: http://livedocs.adobe.com/flex/2/docs/1651.html Some stuff here on [Frame] http://www.bit-101.com/blog/?p=946 http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html So right now I guess you're best bet is to just google, which is how I found all of the above. regards, Muzak - Original Message ----- From: "Matt Muller" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, May 02, 2007 7:24 PM Subject: [Flashcoders] AS3 Metadata references > Hi > > Does anyone know a resource which lists and explains the AS3 metadata api? > > ie > > [SWF(width="800" height="600", backgroundColor="#FF")] > [Frame(Class="com.package.ClassName")] > > Thanks, > > MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 Metadata references
Hi Does anyone know a resource which lists and explains the AS3 metadata api? ie [SWF(width="800" height="600", backgroundColor="#FF")] [Frame(Class="com.package.ClassName")] Thanks, MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] dynamically attaching a movie clip to a class/object
Either through library linkage or... import com.package.view.Main; yourMovieClip.__proto__ = Main.prototype; Main['apply'](yourMovieClip, null); - MaTT On 4/26/07, sebastian chedal <[EMAIL PROTECTED]> wrote: hello flash coders! ive just joined and there are some nice discussions here, i hope to contribute positivly to the level of knowledge in the group. :) i'm currently learning how to work in an OOP manner in flash, and thus meeting some basic hurdles. it would be very kind of you if you could assist me in my [probably very simple] problems. :-) I'm using external *.as files, and at the moment i am trying to figure out how to attach a movie to it [should be simple, right?] my as file: class Post extends CoreClass { private var myPost:MovieClip; public function setCord(px,py,pz):Void { //set coordinates public var px:Number = px; public var py:Number = py; public var pz:Number = pz; //original point locations private var ox:Number = px; private var oy:Number = py; private var oz:Number = pz; } public function attachMe ():Void { attachMovie("signPost", "myPost", this.getNextHighestDepth()); myPost._x = 0; myPost._y = 0; trace ("myPost = " + myPost._x); } } In frame 1 of the movie i write: Post0 = new Post (); //Post0.setCord(100,100,0.9); Post0.attachMe(); The trace comes up 'undefined' if i use the 'attachmovie' from the root in the main time line, it works just fine. any clues? thanks! sebastian / amsterdam ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Gaps in between bitmapdata clips copied to a grid
yes, same issue! MaTT Here is the constructor - private var pixFx:ReformPixel var clip1:MovieClip = showcase.createEmptyMovieClip('tempClip', showcase.getNextHighestDepth()); var clip2:MovieClip = showcase.createEmptyMovieClip('holdClip', showcase.getNextHighestDepth()); pixFx = new ReformPixel(); pixFx._init(30, 30, 'W660', clip1, clip2); On 3/30/07, Lars Schwarz <[EMAIL PROTECTED]> wrote: haven't testet the code, but did you try it without setting the smoothing property (on the bitmapdata object)? Am 30.03.2007 um 16:12 schrieb Matt Muller: > Hi, Im breaking an image into a grid of separate clips with > corresponding > pixels using copyPixels but I'm getting gaps in between the clips. > Also sometimes the image wont finish if the ratio between horz and > vert > clips is too high. Has anyone had this issue. > > code below > > cheers, MaTT > > > import flash.display.BitmapData; > import flash.geom.Rectangle; > import flash.geom.Point; > > class com.client.effects.ReformPixel extends MovieClip { > > > private var horzDiv, vertDiv, clip_w, clip_h, cut_w, cut_h:Number; > private var srcImg, srcBmd:BitmapData; > private var clip, clip_2:MovieClip; > private var aClips:Array; > > function ReformPixel() > { > // > } > > public function _init(_horzDiv:Number, _vertDiv:Number, _img:String, > _clip:MovieClip, _clip_2:MovieClip):Void > { > var _break:Boolean = false; > aClips = []; > horzDiv = _horzDiv; > vertDiv = _vertDiv; > clip = _clip; > clip_2 = _clip_2; > > srcImg = BitmapData.loadBitmap(_img); > clip.attachBitmap(srcImg, 1); > > clip_w = clip._width; > clip_h = clip._height; > > cut_w = clip_w/horzDiv; > cut_h = clip_h/vertDiv; > > srcBmd = new BitmapData(clip_w, clip_h, true, 0x); > srcBmd.draw(clip); > > clip._visible = false; > > for (var j:Number = 0; j <= _horzDiv; j++) > { > for (var i:Number = 0; i <= _vertDiv; i++) > { >var num:Number = (j * _horzDiv + i); > >if (num >= (_horzDiv*_vertDiv)) >{ > _break = true; > break; >} >var xPos:Number = i * (cut_w); >var yPos:Number = j * (cut_h); >var rect = new Rectangle(xPos, yPos, cut_w, cut_h); >var point = new Point(0,0); >var bmd:BitmapData = new BitmapData(cut_w, cut_h, true, 0x00); >bmd.copyPixels(srcBmd, rect, point); >var destClip:MovieClip = aClips[i] = > clip_2.createEmptyMovieClip('destClip_' + i, > clip_2.getNextHighestDepth()); >destClip.attachBitmap(bmd, destClip.getNextHighestDepth(), 'auto', > true); >destClip._x = xPos; >destClip._y = yPos; >//trace('destClip._x = ' + destClip._x + ' destClip._y = ' + > destClip._y) >destClip.tX = destClip._x; >destClip.tY = destClip._y; >destClip.tZ = 100; > } > } > } > } > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com bitrocker & typographique Lars Schwarz Gottorpstrasse 20 26122 Oldenburg T +49(0)441 2171 354 0 F +49(0)441 2171 354 2 M [EMAIL PROTECTED] W www.bitrocker.com W www.typographique.de ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Gaps in between bitmapdata clips copied to a grid
Hi, Im breaking an image into a grid of separate clips with corresponding pixels using copyPixels but I'm getting gaps in between the clips. Also sometimes the image wont finish if the ratio between horz and vert clips is too high. Has anyone had this issue. code below cheers, MaTT import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; class com.client.effects.ReformPixel extends MovieClip { private var horzDiv, vertDiv, clip_w, clip_h, cut_w, cut_h:Number; private var srcImg, srcBmd:BitmapData; private var clip, clip_2:MovieClip; private var aClips:Array; function ReformPixel() { // } public function _init(_horzDiv:Number, _vertDiv:Number, _img:String, _clip:MovieClip, _clip_2:MovieClip):Void { var _break:Boolean = false; aClips = []; horzDiv = _horzDiv; vertDiv = _vertDiv; clip = _clip; clip_2 = _clip_2; srcImg = BitmapData.loadBitmap(_img); clip.attachBitmap(srcImg, 1); clip_w = clip._width; clip_h = clip._height; cut_w = clip_w/horzDiv; cut_h = clip_h/vertDiv; srcBmd = new BitmapData(clip_w, clip_h, true, 0x); srcBmd.draw(clip); clip._visible = false; for (var j:Number = 0; j <= _horzDiv; j++) { for (var i:Number = 0; i <= _vertDiv; i++) { var num:Number = (j * _horzDiv + i); if (num >= (_horzDiv*_vertDiv)) { _break = true; break; } var xPos:Number = i * (cut_w); var yPos:Number = j * (cut_h); var rect = new Rectangle(xPos, yPos, cut_w, cut_h); var point = new Point(0,0); var bmd:BitmapData = new BitmapData(cut_w, cut_h, true, 0x00); bmd.copyPixels(srcBmd, rect, point); var destClip:MovieClip = aClips[i] = clip_2.createEmptyMovieClip('destClip_' + i, clip_2.getNextHighestDepth()); destClip.attachBitmap(bmd, destClip.getNextHighestDepth(), 'auto', true); destClip._x = xPos; destClip._y = yPos; //trace('destClip._x = ' + destClip._x + ' destClip._y = ' + destClip._y) destClip.tX = destClip._x; destClip.tY = destClip._y; destClip.tZ = 100; } } } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] BitmapData 3D texture mapping to ball/organic shapes
http://labs.blitzagency.com/?p=93 On 2/14/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote: Hello, does anyone know, if it is possible to map a 2D image as texture to a organic shape like a 3D ball or ellipsoid using BitmapData? Of course, this is possible. I know. But are there any solutions that make this more easy? Does Sandy offer this already? Thanks, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Loading images directly to BitmapData in AS2?
http://www.martijndevisser.com/blog/article/imageloader-class-for-flash-8 On 2/13/07, Henry Cooke <[EMAIL PROTECTED]> wrote: Hey all, It it possible to load an image (PNG/JPG) directly into memory or (even better) a BitmapData object without having to faff about loading it into a MovieClip first, in AS2? I've been poking about a bit, but nothing seems immediately obvious (disclaimer: I am recovering from a nasty bout of flu, so brain may not be working properly). Cheers, h. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Document Class stopped working
Has anyone else had this, my document class has stopped working in the flash 9 as3 preview. Linkage instantiation still works but specifying the document class doesnt compile the document class. Ive tried re installing flash. It happend after I set a as3 classpath in the prefs. Any ideas anyone? Ive obviously tried deleting ASO. cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Pathfinding with dynamic objects
Hi can anyone point me in the right direction. Im trying to build a 2d scene where poeple are crossing over a road from each opposite side, they are circular in shape and the scene is from above, but they need to pause when they collide and then move around eachother to get to their target position. The only pathfinding scripts I can find are dealing with static objects Thanks for any pointers. Cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flashout not working in eclipse 3.2
Hi has anyone else encountered this? It doest seem to register as a plug in, ie in the prefs in Eclipse 3.2 for me. Its in the plug ins folder. MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] LONDON: SENIOR FLASH ROLE
Hi, were looking to hire 2 flash people. If you think you fit the profile below, the contact email is [EMAIL PROTECTED] Euro RSCG 4D London seeks a highly talented Flash Developer who wants to help rock the digital boat by developing innovative, high profile web sites and online advertising campaigns. The successful applicant will work as a core member of a highly motivated team, and report to our Head of Multimedia and Technical Director. You will need to be able to design and develop rich front-end flash interfaces, websites, rich media advertising and back end-interfacing flash systems that meet the needs of all of our clients regardless of size. The role will also involve scoping, planning and documenting all projects as well as working on project structures and acting as a technical lead on designated builds. The position requires someone with excellent coding and technical knowledge who has at least 4 years experience in interactive media. A fine environment and a great team make this opportunity a really attractive one. You should have an in-depth knowledge of Flash and Actionscript, with strong animation skills in terms of both code driven and timeline-based motion animation. You should be familiar with microsite architecture and loading systems and it would be nice, though not essential if you were to have another string to your bow, such as motion graphics and video or sound design. *Requirements* Successful candidates should have, and or demonstrate, most of the following skills: Excellent knowledge of the AS1 and AS2 programming api. Excellent knowledge of the Flash IDE and timeline. Fast, clean, object oriented Flash programming methodologies. Excellent knowledge of XML data structure. Creative programming using physics a plus. High level information and interface architecture. Preferably have a creative/multimedia background. Experience in dealing with video and video compression. Experience in audio integration into Flash. Version control. Flashlite/mobile development a plus. Strong work ethic, be technologically proactive and enthusiastic and a team player. Well developed communication skills. Ability to work independently to tight deadlines. Demonstrated creativity and creative problem solving. Experience with internet community development and the advertising industry a big plus. *Applications* Adobe Flash 8 Adobe Photoshop Adobe Dreamweaver Adobe After Effects Adobe Illustrator Send URL's with details on project roles. Successful applicants will be expected to show examples of code or projects they have worked on. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] TEXTAREA COMPONENT PROBLEM - has a green keyline whenselected :/
it works, thanks so much :) On 9/27/06, Ryan Potter <[EMAIL PROTECTED]> wrote: Try this: this.myTextArea.drawFocus = null; this.myTextArea.focusTextField = null; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Muller Sent: Wednesday, September 27, 2006 9:22 AM To: Flashcoders mailing list Subject: [Flashcoders] TEXTAREA COMPONENT PROBLEM - has a green keyline whenselected :/ Im loading some leagcy swfs - flash 7, into flash 8, there is a textarea component that only has this behaviour when its loaded through a movieclip. It has a green keyline when selected, When it loses focus it loses the keyline, Im trying stuff like import mx.styles.CSSStyleDeclaration; _global.styles.TextArea = new CSSStyleDeclaration(); _global.styles.TextArea.setStyle("focusColor", null); _global.styles.TextArea.setStyle("borderColor", "none"); but none of this is working, can anyone shed some light on a solution? Thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] TEXTAREA COMPONENT PROBLEM - has a green keyline when selected :/
Im loading some leagcy swfs - flash 7, into flash 8, there is a textarea component that only has this behaviour when its loaded through a movieclip. It has a green keyline when selected, When it loses focus it loses the keyline, Im trying stuff like import mx.styles.CSSStyleDeclaration; _global.styles.TextArea = new CSSStyleDeclaration(); _global.styles.TextArea.setStyle("focusColor", null); _global.styles.TextArea.setStyle("borderColor", "none"); but none of this is working, can anyone shed some light on a solution? Thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Updating text in a swf at compile time using MTASC and xml
Hi, can anyone point me in the right direction. Is this possible, can it be done with injection? I have swfs that already have text in, but I dont want the load the text in dynamically, i want to update the text in them at compile time maybe with an ant task or something. Thanks MaT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Is Object scope lost when using Delegate?
can you not add your children in a loop? then pass in "i", set "i" as an index prop of your clip, push all clips into an array and use the index to reference the clip in the array On 6/9/06, Morten Barklund <[EMAIL PROTECTED]> wrote: Hi Jeff > So, when I get to the onRelease event handler, is there a way to > reference the scope of the MC that the event hander is attached to? > Or, because I used Delegate has the mc scope been lost and I need to > somehow keep track of that by, perhaps setting a focus variable or > something... If you are to use an extended version of the Delegate class (like http://dynamicflash.com/2005/02/delegate-class-refined/), then you can send the reference to the button-clip as an extra argument: myNewMc.onRelease = Delegate( this, onMenuRelease, myNewMc ); And receive it like: function onMenuRelease( pressedMc:MovieClip ):Void That would be a clean solution :) -- Morten Barklund ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Anyone know a good Flash CMS Portfolio App
A friend who is a designer is looking for a good, easy to use Flash based CMS/XML driven to show off work, can anyone recommend anything? thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] writing a xml file directly from flash 8
Thanks, its for a desktop app, so i've been looking at zinc which seems to do the job. On 3/22/06, Eskil Janson <[EMAIL PROTECTED]> wrote: > > Sorry, to fast on the button, no, as stated earlier, but if you want to > write to a server, you can use XML.send, and use > e.g php on the serverside, to write the XML > > /Eskil > > Matt Muller skrev: > > Is this possible, or can someone suggest a solution here? > > > > Thanks > > > > MaTT > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > > > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] writing a xml file directly from flash 8
Is this possible, or can someone suggest a solution here? Thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Issue with Masks in externally loaded SWFs?
yeah there are issues with this, bit of a nightmare, i ha some animations running under and i could see masks etc sticking out the mask, weird. Also this totally screwed my align class, so i had to recode a new one that used reference points. MaTT On 3/17/06, Jeff Fox <[EMAIL PROTECTED]> wrote: > > Is there any known issue with loading external SWFs that have animations > that require masks? We just tried loading an external SWF that has it's > main > area blocked out by a mask, but when the movie loads and plays, there is > no > mask apparent and all the pieces of images that animate are clearly > visible. > Is there any known issue with this? > > -Jeff > > -- > Jeff Fox > [EMAIL PROTECTED] > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Using setMask to Mask a loaded swf
Hi, Im attaching a swf to a movieClip and then using setMask to mask the swf once the animation has loaded. So whats happening is most of it is masked but there seem to be these little lines and stuff running outside the mask. Anyone had this, or have a solution/suggestion? Cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Any Sorenson users with on2 codec who can get alpha channel to work?
Hi, I thought checking off compress alpha channel is supposed to work, I have an uncompressed QT with millions+ on. It works fine inside of Flash Video Encoder, but when I use Sorenson it doesnt knock out the channel, if someone could export and email me a working profile I'd be most grateful. send to [EMAIL PROTECTED] or if there is something im missing... cheers MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mask not defining mc width && height in, imported swf.
solved... private function centerThreeSixty():Void { var midX:Number = Stage.width/2; var midY:Number = Stage.height/2; if (originX == null && origMidX == null) { origMidX = midX; origMidY = midY; originX = targetThreeSixty._x; originY = targetThreeSixty._y; } var diffX:Number = (midX - origMidX); var diffY:Number = (midY - origMidY); targetThreeSixty._x = originX + diffX; targetThreeSixty._y = originY + diffY; } only works if the stage is bigger than the clip tho :| MaTT On 2/10/06, w03 <[EMAIL PROTECTED]> wrote: > > This can be more complicated than it seems... if, like I was, you are > using the imported MC height and width to find center position. These > values change as the offstage mcs move around or march onto stage. > > If set the center position once, and import the mc there, it'll stay put. > If call centering routine a lot, (say on a resize function), the mc will > jump around depending on the current width,height. > > If you use origional centering data (i.e. save the position) and then use > that in your resize function (calculate new mc position based on old mc > position, not on mc width/height) then you may be able to stop the behavior. > > If you wrote the Q you may understand this answer, otherwise, don't > bother! > > Wendy > > > //Assign a mask from the main SWF on the receiving movieclip > > //mc_clip_loader.setMask(mc_Mask);//Everything outside the stage's > //demensions of an external SWF is visible inside the receiver SWF... > > > //Matt Muller wrote: > > > >>Im building a microsite, that is aligned to the center of the stage. I > am > >>loading in animations that are swfs that are meant to run in the > viewable > >>area in the microsite. > >>The animation fla's are exported as swfs with a mask, and I am also > trying > >>to setMask in the shell, the animators tweens and shapes that are > outside of > >>the mask > >>are affecting the size of my shell and when onResize() is called the > site > >>jumps all over the show. > >> > >>Does anyone have any ideas, bar going into the animations and cleaning > up > >>everything that is outside the mask to get a perfect rectangle bounding > box, > >>surely > >>there must be a way to do this, I have draw regions on and can see > >>everything going on outide the mask. > >> > >>Quick fixes? > >> > >>Thanks > >> > >>MaTT > >>___ > >> > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mask not defining mc width && height in imported swf.
I doubt it, I am just changin references, if the animation doesnt stick out the mask, its perfect! On 2/10/06, Cedric Muller <[EMAIL PROTECTED]> wrote: > > this is strange: > > animationMask = controlClip.createEmptyMovieClip("... > animationMask = animationMask.attachMovie("mask", "animationMask"...) > > try naming your variables a different way ... > like > animationMask0 = controlClip.createEmptyMovieClip(". > animationMask1 = animationMask0.attachMovie("mask", > "animationMask", ...) > > I don't know if this will change something, but try ... as it could > explain the messing up when onResize is called > hth, > Cedric > > > > > I am, in fact Im tracing it to be say 900px, then im pushing all > > the clips > > into an array which loops and traces on resize, and the width > > somehow jumps > > to 1300px. > > > > var animClipTop :MovieClip; > > var animClip :MovieClip; > > var animationMask:MovieClip; > > > > animClip = controlClip.animHoldClip.createEmptyMovieClip > > ("anim_"+counter, > > depth++); > > animationMask = controlClip.createEmptyMovieClip > > ("animationMaskClip"+counter, > > depth++); > > animationMask = animationMask.attachMovie("mask", "animationMask", > > depth++, > > {_x:-15.5, _y:-19}); > > > > then once its loaded... > > > > animClip.setMask(animationMask); > > > > it also has a mask in the swf masking everything. I smell a bug. > > This only > > happens onResize. > > > > MaTT > > > > > > On 2/10/06, Éric Thibault <[EMAIL PROTECTED]> wrote: > >> > >> Assign a mask from the main SWF on the receiving movieclip > >> > >> mc_clip_loader.setMask(mc_Mask);//Everything outside the stage's > >> demensions of an external SWF is visible inside the receiver SWF... > >> > >> > >> Matt Muller wrote: > >> > >>> Im building a microsite, that is aligned to the center of the > >>> stage. I am > >>> loading in animations that are swfs that are meant to run in the > >>> viewable > >>> area in the microsite. > >>> The animation fla's are exported as swfs with a mask, and I am also > >> trying > >>> to setMask in the shell, the animators tweens and shapes that are > >>> outside > >> of > >>> the mask > >>> are affecting the size of my shell and when onResize() is called > >>> the site > >>> jumps all over the show. > >>> > >>> Does anyone have any ideas, bar going into the animations and > >>> cleaning up > >>> everything that is outside the mask to get a perfect rectangle > >>> bounding > >> box, > >>> surely > >>> there must be a way to do this, I have draw regions on and can see > >>> everything going on outide the mask. > >>> > >>> Quick fixes? > >>> > >>> Thanks > >>> > >>> MaTT > >>> ___ > >>> Flashcoders@chattyfig.figleaf.com > >>> To change your subscription options or search the archive: > >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>> > >>> Brought to you by Fig Leaf Software > >>> Premier Authorized Adobe Consulting and Training > >>> http://www.figleaf.com > >>> http://training.figleaf.com > >>> > >>> > >>> > >> > >> > >> -- > >> === > >> > >> Éric Thibault > >> Programmeur analyste > >> Réseau de valorisation de l'enseignement > >> Université Laval, pavillon Félix-Antoine Savard > >> Québec, Canada > >> Tel.: 656-2131 poste 18015 > >> Courriel : [EMAIL PROTECTED] > >> > >> === > >> > >> Avis relatif à la confidentialité / Notice of Confidentiality / > >> Advertencia de confidencialidad < > >> http://www.rec.ulaval.ca/lce/securite/confidentialite.htm> > >> > >> ___ > >> Flashcoders@chattyfig.figleaf.com > >> To change your subscription options or search the archive: > >> http://chattyfig.figleaf.com/m
Re: [Flashcoders] Mask not defining mc width && height in imported swf.
I am, in fact Im tracing it to be say 900px, then im pushing all the clips into an array which loops and traces on resize, and the width somehow jumps to 1300px. var animClipTop :MovieClip; var animClip :MovieClip; var animationMask:MovieClip; animClip = controlClip.animHoldClip.createEmptyMovieClip("anim_"+counter, depth++); animationMask = controlClip.createEmptyMovieClip("animationMaskClip"+counter, depth++); animationMask = animationMask.attachMovie("mask", "animationMask", depth++, {_x:-15.5, _y:-19}); then once its loaded... animClip.setMask(animationMask); it also has a mask in the swf masking everything. I smell a bug. This only happens onResize. MaTT On 2/10/06, Éric Thibault <[EMAIL PROTECTED]> wrote: > > Assign a mask from the main SWF on the receiving movieclip > > mc_clip_loader.setMask(mc_Mask);//Everything outside the stage's > demensions of an external SWF is visible inside the receiver SWF... > > > Matt Muller wrote: > > >Im building a microsite, that is aligned to the center of the stage. I am > >loading in animations that are swfs that are meant to run in the viewable > >area in the microsite. > >The animation fla's are exported as swfs with a mask, and I am also > trying > >to setMask in the shell, the animators tweens and shapes that are outside > of > >the mask > >are affecting the size of my shell and when onResize() is called the site > >jumps all over the show. > > > >Does anyone have any ideas, bar going into the animations and cleaning up > >everything that is outside the mask to get a perfect rectangle bounding > box, > >surely > >there must be a way to do this, I have draw regions on and can see > >everything going on outide the mask. > > > >Quick fixes? > > > >Thanks > > > >MaTT > >___ > >Flashcoders@chattyfig.figleaf.com > >To change your subscription options or search the archive: > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > >Brought to you by Fig Leaf Software > >Premier Authorized Adobe Consulting and Training > >http://www.figleaf.com > >http://training.figleaf.com > > > > > > > > > -- > === > > Éric Thibault > Programmeur analyste > Réseau de valorisation de l'enseignement > Université Laval, pavillon Félix-Antoine Savard > Québec, Canada > Tel.: 656-2131 poste 18015 > Courriel : [EMAIL PROTECTED] > > === > > Avis relatif à la confidentialité / Notice of Confidentiality / > Advertencia de confidencialidad < > http://www.rec.ulaval.ca/lce/securite/confidentialite.htm> > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Mask not defining mc width && height in imported swf.
Im building a microsite, that is aligned to the center of the stage. I am loading in animations that are swfs that are meant to run in the viewable area in the microsite. The animation fla's are exported as swfs with a mask, and I am also trying to setMask in the shell, the animators tweens and shapes that are outside of the mask are affecting the size of my shell and when onResize() is called the site jumps all over the show. Does anyone have any ideas, bar going into the animations and cleaning up everything that is outside the mask to get a perfect rectangle bounding box, surely there must be a way to do this, I have draw regions on and can see everything going on outide the mask. Quick fixes? Thanks MaTT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] changing reference of sounds to _parent clip
if I had some sounds loaded in a swf, but i wanted to move their reference from the swf to the parent, is that possible? cheers MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] BitmapData question
Hi, does anyone know if its possible to use getPixel or something like that to take a snapshot of a movieclip that contains some vectors and dynamic text fields and return that as a bitmap image to use elsewhere in the site, say as a reflection? Thanks MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] REPOST Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
hmm, ive never experienced that martin, you have obviously tried it with different swfs and are sure VB is crashing your browser? It sounds to me like its the FP crashing ad ot the script, have you edited the standard output code at all? Have you tried it on different machines? What player are you upgrading from? MaTT On 1/6/06, Martin Baltzer <[EMAIL PROTECTED]> wrote: > > I would really appreciate that this tread is not taken over by another > problem;-) > > Anyone knows of a solution to the first question? > > Thanks alot > Martin > > > > > > Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes > Sendt: fr 06-01-2006 16:17 > Til: Flashcoders mailing list > Emne: Re: [Flashcoders] Bug in Macromedia's flash > detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? > > > > yup, their browser was set to not execute js/vb. > > and yes i'd set up a bit of text along the lines of, "sorry, your settings > are such that we cannot find out if you have the latest flash player, if > you > know you have 8 click here to view, if not click here to get it" kind of > thing... > > but the client just didn't like the idea of closing browsers, going to > other > sites etc. etc. all the stuff you've heard a million times. i hadn't heard > it for a while though! > > shame, because, the express install thing is sweet in ie, with the > redirection and everything it's very painless. not much you can do when > they > have their browser set up by a corporate IT security nazi ;) > > i suggested doing something server side to see if they had flash, but the > express install requires r65 to work and AFAIK you can't get the player > version with PHP. please someone tell me i'm wrong > > > - Original Message - > From: "Matt Muller" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Friday, January 06, 2006 3:57 PM > Subject: Re: [Flashcoders] Bug in Macromedia's flash detection > codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? > > > Tom, could you elaborate a bit more on what security scenario would cause > the no script? > Do they have js / vb script disabled in their browsers? Wouldnt the no > script just open a page with a link to upgrade? > > MaTT > > > On 1/6/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: > > > > i just had a client refuse content in 8, because of their security > > settings > > rendering the nice smooth express install i had set up useless. > > > > they got the noscript instead. > > > > so now i'm redoing everything for player 6 (pain the the you know > > what) > > > > :( > > > > - Original Message - > > From: "Martin Baltzer" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" > > Sent: Friday, January 06, 2006 3:36 PM > > Subject: [Flashcoders] Bug in Macromedia's flash detection code > > wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? > > > > > > Hi, > > > > I'm having a serious detection issue with macromedias own flash > > detection code which you all probably know can be auto generated along > > with the html file under publish settings in the Flash8 editor or can be > > found in their detection kit which contains it as well. > > > > The problem is related to the activeX plugin detection more precisely > > inside the VBScript function below. When the shockwave object is created > > it asks for the version string: > > > > swVersion = swControl.GetVariable("$version") > > > > and if any of the plugins above is installed it crashes with an error > > message saying an error happened in Flash player 6.0.xx.ocx. and the > > browser window shuts down. No errors with plugins lower or higher than > > that. > > > > Has anyone seen this before and knows what to do? Since I'm not the > > great VBScript shark I'm pretty stuck here and just detecting the clean > > version number is not enough when you need 6.0.65 to use the new auto > > install procesdure. > > > >
Re: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: > > i just had a client refuse content in 8, because of their security > settings > rendering the nice smooth express install i had set up useless. > > they got the noscript instead. > > so now i'm redoing everything for player 6 (pain the the you know > what) > > :( > > - Original Message - > From: "Martin Baltzer" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Friday, January 06, 2006 3:36 PM > Subject: [Flashcoders] Bug in Macromedia's flash detection code > wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? > > > Hi, > > I'm having a serious detection issue with macromedias own flash > detection code which you all probably know can be auto generated along > with the html file under publish settings in the Flash8 editor or can be > found in their detection kit which contains it as well. > > The problem is related to the activeX plugin detection more precisely > inside the VBScript function below. When the shockwave object is created > it asks for the version string: > > swVersion = swControl.GetVariable("$version") > > and if any of the plugins above is installed it crashes with an error > message saying an error happened in Flash player 6.0.xx.ocx. and the > browser window shuts down. No errors with plugins lower or higher than > that. > > Has anyone seen this before and knows what to do? Since I'm not the > great VBScript shark I'm pretty stuck here and just detecting the clean > version number is not enough when you need 6.0.65 to use the new auto > install procesdure. > >
Re: [Flashcoders] reverse play FLV?
Yeah I just did this, on the timeline using laco tween and timeline tweens, you need to use sorenson squeeze for on2, its the only one that gives you proper 1:1 keyframe placement for a smooth playback. its pretty good and easy to do. Im going to try and get the flv playback ccomponent to play in reverse next as playing videos on the timeline is ok, but not great. MaTT On 12/21/05, Dechesne, Elvin <[EMAIL PROTECTED]> wrote: > > > That's something I havent tried yet, sounds like a good idea, thanks! > Cheers > elvin > > >did you try rendering the flv with more keyframes ? works fine for me... > > >cheers, > >kerem > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Play an FLV in recerse using FLVPlayback components
Anyone figured out how? cheers MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Writing data to object crashing browser
Hi I have built a game that seems to be crashing in Flash 8 intermittently just as it writes a boolean property to a scene based object? Has anyone else experienced this, its not happening in fp7 at all. Like I say its intermittent and has taken me ages to track down. I create an object which has scene based properties and a generic scene state object in which to store the scene logic booleans, so now and then when writing a boolean like sceneState.extraData.seenVideo = true; this is the class that creates the objects class com.intel.logic.SceneState { var name:String; var swf_path:String; // default fields var done:Boolean = false; var visits:Number = 0; var displayName:String; var xArrowPos:Number; var yArrowPos:Number; var extraData :Object; function SceneState () { extraData = {}; } } cheers MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] EVENT DISPATCHER BUG IN FLASH 8 - MACROMEDIA SHOULD FIX THIS
I thought I better post this incase someone else is having similar issues, awhile ago I made a post that flash 8 was crashing on FLV events in Flash 8. Finally I tracked it down, its not the media crashing it, its event dispatcher, I'm listening for the same event in my super class, like this... Im just putting the methods in here... addEventListener("onVideoComplete", this); public function onVideoComplete (e:Object) :Void { } pretty standard stuff, but then Im also doing this... private function addVideoHandler (label:String, method:Function) :Function { var handler:Function = Delegate.create(this, method); eventHandlers[label] = handler; addEventListener("onVideoComplete", handler); return handler; } private function removeVideoHandler (label:String) :Boolean { if (eventHandlers[label] == undefined) { return false; } else { var handler:Function = eventHandlers[label]; delete eventHandlers[label]; removeEventListener("onVideoComplete", handler); return true; } } this is done so I can just add and remove handlers, actually later I found an even better way of doing this, but i wont go into that now. these methods get called from the child class, it seems in flash 8, because its a lot faster these can both be called concurrently, causing intermittent crashing. I'd just like to thank macromedia for the hell ive been through, and for absolutly no technical support. You should really look into asynchronous locking. goodnight :) MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV's crashing the browser on Cuepoints
well i the entrance flv is fine, when i get into the md's office mostly i get through all 4 flv's in there, then i move to the server room, just do the intro, then go to reception where it normally crashes, but the journey is non linear so if i go to reception first it will crash in server room, btw its for a interactive "who dunnit". Id love to post it but its not due for release for another 2 weeks, its for a blue chip client so im sure they wouldnt be happy, we are talking 120mb's here of video and swfs :| just about to test with flashcom, ill let ya know. MaTT On 11/11/05, Guy McLoughlin <[EMAIL PROTECTED]> wrote: > > > Can you post a sample SWF / FLA that demo's the crashing behavior ? > > - Guy > > At 12:50 PM 11/11/2005, Matt Muller wrote: > >mate, ive been working on this for 4 months, its a 250k project, did it > all > >in flash 7, all comped video with 3d, awesome project, until flash 8 > player > >comes out, then I discovered it crashes, after a few vids have played, so > I > >created a flash 8 version, using flvplayback and cuepoints right, but it > >still crashes always on events, doesnt trace the event out, so its the > media > >crashing the browser, pulled the whole project apart, used all sorts of > FLV > >creaters, captionate, and flash video encoder to embed cuepoints, > nothing, > >ive got flashcom here, so im just configuring and im going to try > streaming > >as a last resort, literally, ive spent a week debugging so... > >anyone, anyone... > > > -- > Guy McLoughlin > New Media Developer > Toronto Ontario Canada > E: [EMAIL PROTECTED] > --- > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV's crashing the browser on Cuepoints
mate, ive been working on this for 4 months, its a 250k project, did it all in flash 7, all comped video with 3d, awesome project, until flash 8 player comes out, then I discovered it crashes, after a few vids have played, so I created a flash 8 version, using flvplayback and cuepoints right, but it still crashes always on events, doesnt trace the event out, so its the media crashing the browser, pulled the whole project apart, used all sorts of FLV creaters, captionate, and flash video encoder to embed cuepoints, nothing, ive got flashcom here, so im just configuring and im going to try streaming as a last resort, literally, ive spent a week debugging so... anyone, anyone... On 11/11/05, Hauwert, Ralph <[EMAIL PROTECTED]> wrote: > > No, but very interested, since I am about to start one myself. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: vrijdag 11 november 2005 15:25 > To: Flashcoders mailing list > Subject: [Flashcoders] FLV's crashing the browser on Cuepoints > > Hi, Im building a largescale video project, after a certain amounts of > cuePoints, the browser crashes hard, says a problem with the following > plug > in has occured. > Ive tried absolutley everything, has anyone else experienced this? > MaTT > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: 网易邮箱自动回复: [Flashcoders] FLV's crashing the browser on Cuepoints
its all in japanese matey On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 您发给我的信件已经收到。 > > > > > > 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。 > 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders