[Flashcoders] BitmapData security (rendering problems)
Hi All, i have a strange problem with the BitmapData draw()-method. I have an application that loads swfs from another domain and draws them on Stage. I have set all security relevant things like System.allowDomain(). The images loads fine and the draw method works most of the time. The strange thing is that sometimes i will get some strange rendering artefacts. And sometimes the Bitmaps do not get drawn. For example i load a 360 degree view of a car and if i rotate the car the images disapear (draw() does not work). Another thing is that i alpha blend two images drawn as BitmapData and attached to two movieclips. This works smooth locally or if everything is on the same server but it flickers if ist on two different domains. Everything works fine when on the same server. Save my weekend please ;-) Any ideas? Cheers Benz ___ 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
AW: [Flashcoders] BitmapData security (rendering problems)
Yeah it has a allowDomain=*. The swf are loaded and BitmapData works but with the problems described so it should not be a security problem. But anyway thanks Benz -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] Im Auftrag von slangeberg Gesendet: Freitag, 6. Oktober 2006 21:43 An: Flashcoders mailing list Betreff: Re: [Flashcoders] BitmapData security (rendering problems) Not sure if it's related, but does the foreign server have your file's domain in their crossdomain.xml file? http://www.crossdomainxml.org/ Scott On 10/6/06, Benjamin Dobler [EMAIL PROTECTED] wrote: Hi All, i have a strange problem with the BitmapData draw()-method. I have an application that loads swfs from another domain and draws them on Stage. I have set all security relevant things like System.allowDomain(). The images loads fine and the draw method works most of the time. The strange thing is that sometimes i will get some strange rendering artefacts. And sometimes the Bitmaps do not get drawn. For example i load a 360 degree view of a car and if i rotate the car the images disapear (draw() does not work). Another thing is that i alpha blend two images drawn as BitmapData and attached to two movieclips. This works smooth locally or if everything is on the same server but it flickers if ist on two different domains. Everything works fine when on the same server. Save my weekend please ;-) Any ideas? Cheers Benz ___ 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 -- : : ) Scott ___ 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] ribbon effect
Hey, can someone hook me up with some math, ideas or code on how to create the famous natzke/yugop ribbon effect? Something like: http://yugop.com/ver3/index.asp?id=32 (I know it`s director but natzke did the same in flash). Any input welcome Thanx benz RichApps.de RIA Development Benjamin Dobler web: | http://www.richapps.de http://www.richapps.de mail: | mailto:[EMAIL PROTECTED] [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
AW: [Flashcoders] 3d transforms in flash 8
Check out this tut by senocolor (? Or so). http://www.kirupa.com/developer/actionscript/3dindex.htm It`s great and covers everything to get you started. Cheers benz Benjamin Dobler RIA Development web: http://www.richapps.de mail: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] Im Auftrag von Andreas Rønning Gesendet: Sonntag, 15. Januar 2006 19:16 An: Flashcoders mailing list Betreff: [Flashcoders] 3d transforms in flash 8 I've been trying to get into this for a long time, but i've had a hard time finding good entry level documentation for it. I'd like to figure out how to display a simple 4-vertice rectangular plane and rotate it in 3d with user input. Something as basic as that would probably help me a fantastic amount. Anyone got links or general advice? I'm a fairly competent flash developer, intermediate-to-advanced. It's more the math theory that stumps me. - Andreas ___ 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] flash.geom.* and drawing API
Hi all, i`m just thinking about rewriting the drawing api classes to work with the flash.geom package. I want something like: var p=new point(20,30); moveTo(p); . So my question is anything like that out there already? What would bet he best way to do it (e.g. moveTo2(p:Point)). Do i have to expect performance decrease? Any input would be nice. Thanx Benz RichApps.de RIA Development Benjamin Dobler web: | http://www.richapps.de http://www.richapps.de mail: | mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] cancel loading process
Hi All, i have the following problem. I want to load a sequence of Images. I have my own SequenceLoader so that is fine. Now i need to now the size (totalBytes) of all clips in advance to show a progress bar that counts all clips. So my first guess is to load one clip wait fort he first progress - get the bytesTotal - and than cancel the loading. With this i would get the Sizes of all clips without loading them. Now i always thought it`s not possible to cancel a loading progress but to my surprise the following seems to work: this.createEmptyMovieClip(image_mc, this.getNextHighestDepth()); var mclListener:Object = new Object(); mclListener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number){ var progress:Object = mcLoader.getProgress(image_mc); trace( bytesTotal: + bytesTotal); size_tx.text=bytesTotal; image_mcl.unloadClip(target); }; var image_mcl:MovieClipLoader = new MovieClipLoader(); image_mcl.addListener(mclListener); image_mcl.loadClip(img1.jpg, image_mc); I believe that the loading is really canceled. I don`t have the image in my cache after calling this. Can someone verify that this works? Any better solutions? Thanx Benjamin RichApps.de RIA Development Benjamin Dobler web: | http://www.richapps.de http://www.richapps.de mail: | mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
AW: [Flashcoders] AS3.0 only projects + flex framework
Keep in mind AS only projects don't use the Flex framework, so mx.controls.Button won't work; you'd have to utilize the Flex framework. Thanks Jesse that`s what i wanted to get sure of. Is there not even a workaround to use the framework in as only projects? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders