RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?
Thanks Charles! However I didn't wanted to put a MovieClip into a BitmapData, I wanted to do the opposite. But I think I have just found out how to do that ... by putting the BitmapData into a new Bitmap object ... img = new Bitmap(imageBitmapData); mc.addChild(img); Thanks for the help! -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Charles Parcell Sent: Monday, 31. July, 2006 15:37 To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - From BitmapAsset to BitmapData? You don't attach BitmapData, you draw it. Look at the draw function in the BitmapData class. Charles P. On 7/30/06, Sascha Balkau [EMAIL PROTECTED] wrote: Thanks a lot Jim! That was the link I was looking for! Maybe you can give me a hint on another BitmapData problem: How do I attach a BitmapData to a MovieClip in AS3? attachBitmap is no more and if I use addChild I get a Coercion failed again. Sascha When embedding the images like this I use a normal Bitmap class not a BitmapAsset. Then you can access the bitmapData property of the bitmap class. [Embed(source=image.png)] private var imageClass:Class; private var image:Bitmap = new imageClass(); private var bitmapData:BitmapData = image.bitmapData; hth Jim ___ 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 - From BitmapAsset to BitmapData?
Hi, Can somebody tell me how I get an embedded image (BitmapAsset) to a useable BitmapData? I'm a bit confused about this. I want to embed an image and then use it as a BitmapData object. I got ... [Embed(source=image.png)] private var imageClass:Class; private var image:BitmapAsset; ... image = BitmapAsset(new imageClass()); ... but how do I get the BitmapAsset to BitmapData to use the bitmap API on it? If I try a simple casting I get a Coercion failed. I would appreciate any help about it! Haven't really delved into this yet! Thanks, Sascha ___ 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 - From BitmapAsset to BitmapData?
Thanks a lot Jim! That was the link I was looking for! Maybe you can give me a hint on another BitmapData problem: How do I attach a BitmapData to a MovieClip in AS3? attachBitmap is no more and if I use addChild I get a Coercion failed again. Sascha When embedding the images like this I use a normal Bitmap class not a BitmapAsset. Then you can access the bitmapData property of the bitmap class. [Embed(source=image.png)] private var imageClass:Class; private var image:Bitmap = new imageClass(); private var bitmapData:BitmapData = image.bitmapData; hth Jim ___ 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] private constructors in AS3.0?
Hi, This might be old stuff but I missed it completely ... I was wondering if somebody can tell me the rationale about that constructors in AS3.0 must be public and what happens to Singletons in AS3.0? Thanks, Sascha ___ 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 - why no properties in interfaces?
I've been writing interfaces several times now where I had wished ActionScript would support not only methods but also properties for them. So I'm wondering what's the reason that Adobe still hasn't added interface support for properties. After all Java has them and even haXe supports them too. I know there is some workaround by using inheritance but that is rather sub-optimal in my opinion. Does somebody know an answer for this and maybe has a good solution? Thanks a lot, Sascha ___ 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] Alpha-blending two MC's with bitmaps?
Weldon, thanks for trying to help! Yes the images are all definately available when the blend happens. Maybe it has something to do with the fact that the images are loaded dynamically from external files into movieclips. Either way I will see if I can locate the source of the problem! Sascha - Original Message - From: Weldon MacDonald [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, March 19, 2006 10:12 PM Subject: Re: [Flashcoders] Alpha-blending two MC's with bitmaps? I experimented and with the images as mc's, attached from library, and your function on frame one, not as a class, the function works as you wanted it too. Are you sure the images are really where you expect them to be? ie. is the image loaded when the call is made? Maybe something about your class setup? On 3/19/06, Sascha Balkau [EMAIL PROTECTED] wrote: Weldon, here's the method I've wrote to handle the blending. It's very simple and I cannot detect any bug in there ... The blending works but strangely the fromImage is not shown, instead the toImage fades in from the white background of my Flash movie. As I mentioned before there are other image mc's in the holder movieclip but they are on depths 0 to 20 and are invisible so I doubt they have any influence on this. Sascha Weldon Mac Donald ___ 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] Alpha-blending two MC's with bitmaps?
Hi list, I got a number of movieclips created with createEmptyMovieClip, into every MC I load a JPG image dynamically and then it's set it invisible. Then I change the depth of two of these mc's, say one to depth 2000, the other to 2001, make them visible and then I try to blend over these two images with an alpha transparency by setting the _alpha of the upper image to 0 and increase it up to 100 in an onEnterFrame. However it doesn't work, the upper image always fades in from 100% white and not the underlying image. Did I missed something? Is that not possible with _alpha in Flash? Thanks for any hints! Sascha ___ 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] Alpha-blending two MC's with bitmaps?
Hi Michael, there are several mc's in one container mc but all are set to invisible except for two at a time. And I want to fade between these two but I haven't managed to do so. The top most mc always fades in from the white background as if the bottom mc would be invisible. But it isn't. Flash 8 is no choice as my client wants it in Flash 7. Thanks, Sascha - Original Message - From: Michael Bedar [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, March 19, 2006 12:32 AM Subject: Re: [Flashcoders] Alpha-blending two MC's with bitmaps? There is a limit to how many alpha'd movieclips you can have overlapping before Flash runs into display errors. If a movieclip is supposed to be completely invisible, set _visible=false instead of _alpha=0, so that Flash does not need to display it. If for some reason you really need to display many images overlapped with 0 alpha, look into drawing them into the same bitmap in Flash 8. On Mar 18, 2006, at 7:05 AM, Sascha Balkau wrote: Hi list, I got a number of movieclips created with createEmptyMovieClip, into every MC I load a JPG image dynamically and then it's set it invisible. Then I change the depth of two of these mc's, say one to depth 2000, the other to 2001, make them visible and then I try to blend over these two images with an alpha transparency by setting the _alpha of the upper image to 0 and increase it up to 100 in an onEnterFrame. However it doesn't work, the upper image always fades in from 100% white and not the underlying image. Did I missed something? Is that not possible with _alpha in Flash? Thanks for any hints! Sascha ___ 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
Re: [Flashcoders] Alpha-blending two MC's with bitmaps?
Weldon, here's the method I've wrote to handle the blending. It's very simple and I cannot detect any bug in there ... public static function alphaBlend(fromImage:MovieClip, toImage:MovieClip):Void { fromImage.swapDepths(100); fromImage._alpha = 100; fromImage._visible = true; toImage.swapDepths(101); toImage._alpha = 0; toImage._visible = true; toImage.onEnterFrame = function():Void { if (toImage._alpha 100) { toImage._alpha += 5; } else { toImage._alpha = 100; delete toImage.onEnterFrame; } }; } The blending works but strangely the fromImage is not shown, instead the toImage fades in from the white background of my Flash movie. As I mentioned before there are other image mc's in the holder movieclip but they are on depths 0 to 20 and are invisible so I doubt they have any influence on this. Sascha - Original Message - From: Weldon MacDonald [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, March 19, 2006 4:55 AM Subject: Re: [Flashcoders] Alpha-blending two MC's with bitmaps? I've done what you seem to be discribing and it works. You probably have a small bug in your code. Without seeing the code it's hard to say what it is, but you could look for a depth duplication problem. Have you made certain the lower one is loading at all or has been made visible...etc... Your idea will work, you just need to do some debugging On 3/18/06, Sascha Balkau [EMAIL PROTECTED] wrote: Hi Michael, there are several mc's in one container mc but all are set to invisible except for two at a time. And I want to fade between these two but I haven't managed to do so. The top most mc always fades in from the white background as if the bottom mc would be invisible. But it isn't. Flash 8 is no choice as my client wants it in Flash 7. ___ 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 several images with one progressbar?
Hi Adrian, thanks for the idea but this approach will not work in my case because the images are loaded sequencially. If one image is finished loading, my class starts loading the next and so on, one after one. And the amount of images varies (the image filenames are fetched from a XML file). I'm now defining a segmentWidth by dividing the full progressbar width by the amount of images that are going to be loaded. That gives me the 100% for one image on the whol bar. I just haven't figured out yet how to make it work so that the bar doesn't start from 0 at every image. Any other idea? Sascha - Original Message - From: Adrian Park [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loading several images with one progressbar? Say you have 3 images loading, use something like this: var bytesLoaded:Number = 0; var bytesTotal:Number = 0; bytesLoaded += image1.getBytesLoaded(); bytesTotal += image1.getBytesTotal(); bytesLoaded += image2.getBytesLoaded(); bytesTotal += image2.getBytesTotal(); bytesLoaded += image3.getBytesLoaded(); bytesTotal += image3.getBytesTotal(); var percentageLoaded:Number = (bytesLoaded/bytesTotal) * 100; There may be ways to optimise this code depending on your circumstances (e.g. just calculate bytesTotal once and reuse it) but this shows the basic idea. Adrian P. On 3/11/06, Sascha Balkau [EMAIL PROTECTED] wrote: Hi, this is probably an old hat but I can't get it right. I want to display the load progress of several images with one progress bar. How do I calculate the percentage of the bar? Thanks alot, Sascha ___ 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] Loading several images with one progressbar?
Hi, this is probably an old hat but I can't get it right. I want to display the load progress of several images with one progress bar. How do I calculate the percentage of the bar? Thanks alot, Sascha ___ 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] Zinc 2.5 making Components slow
Is somebody using mdm Zinc v2.5 with v2 or similar components? I'm working on a standalone application for a client where I need to use Zinc to save data to harddisk and the application uses the Bit Components set because the tabpane is needed. I have a screen that has a tabpane with 6 tabs and on every tab are 12 comboboxes. To build this up takes long already in a normal SWF but it even gets slower in a Zinc published EXE. Plus the tabpanes and comboboxes are getting very sluggish after published with Zinc. Does somebody know why this is happening? I would be interested in making it run faster or like to hear somebodies experience with using SWF Studio/mProjector for a similar situation. Thanks, Sascha -- Flash Game Programming Wiki http://fgpwiki.corewatch.net/ H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ___ 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] scrollRect
JesterXL, I'd be interested in see this engine running but the demos on your site seem not to work anymore with the latest Flash 8.5 alpha player. If I import the project into Flex Builder and try to run it , it tells me that some errors exist but it doesn't show me where the errors are. Would be cool to get a hint on this to compile it with the latest Flex beta to make it run. Thanks, Sascha I oringally wrote this in Flash 8, and ported to Flash 8.5. There is no reason it couldn't go back. http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html - Original Message - From: Dimitrios Bendilas [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 14, 2006 4:55 PM Subject: [FlashCoders] scrollRect Hi all, I'm trying to make a very basic prototype to test parallax movement with Flash 8. Is movieclip.scrollRect what I should be using? I tried this: var bg:MovieClip = _root.attachMovie(bg, bg, 2); var y:Number = 0; _root.onEnterFrame = function():Void { bg.scrollRect = {x:0, y:y--, width:635, height:540}; } The movieclip bg contains only a jpg 635x540. The movement is pretty jumpy. Should I be using BitmapData instead? I'm a bit lost! I've been searching for code samples online for the past 2 hours and I haven't found anything useful. Does anyone have a useful link for parallax or tile-based games using Flash 8 features? Performance is the key issue here, since this is going for a very big and complex game and I want to optimize it as much as possible. Thanks a lot! Dimitrios ___ 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] getting the name of an object
hi, this might be obvious but how do I get the name of an object? If I got an object named fooObj how can I get Flash to for example trace out the name of the object, so that it traces fooObj? I know this works with movieclips but how about objects or arrays? Sascha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] getting the name of an object
Ok but it there a way to get the name of the variable that is reffering to the object? First I thought eval() could be used for that but it seems not. -Sascha - Original Message - From: Danny Kodicek [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, January 23, 2006 10:43 PM Subject: Re: [Flashcoders] getting the name of an object hi, this might be obvious but how do I get the name of an object? If I got an object named fooObj how can I get Flash to for example trace out the name of the object, so that it traces fooObj? I know this works with movieclips but how about objects or arrays? Objects or arrays don't have a name. That is: you could have a variable fooObj referring to some object O, and you could set another variable barObj to refer to the same object. The object O is completely independent of the variables referring to it. For that matter, an object held in an array doesn't even have a variable name referring to it. So unless you set up some kind of convention of your own, the request doesn't really make much sense. Danny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] getting the name of an object
Looks useful! Thanks Julius I will try out this code later today! -Sascha - Original Message - From: Julius - XK [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 24, 2006 5:07 AM Subject: Re: [Flashcoders] getting the name of an object Is this what your looking for? It has it's limitations, would be nice if there was a myObj.toString() == myObj.. Or something along those lines :) var myObj:Object = new Object; var s:String = ; s = getMyObjectName(myObj); trace(s); this[s].anyName = text; trace(myObj.anyName); function getMyObjectName(obj):String { for (i in this) { if (this[i] == obj) return i;// Should it be ===? } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Converting amp; in a URL?
Hi list, does ActionScript have any facilities to convert special characters like amp; into just ? I have one Flash movie that reads URLs from an RDF file where all URLs are written with amp; inside the adress. My client would like these special chars to be converted to ''. Does Flash has anything to do that automatically (haven't found anything so far) or do I have to write my own convert method? Thanks for help, Sascha -- Flash Game Programming Wiki http://fgpwiki.corewatch.net/ H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Converting amp; in a URL?
It's used in getURL. Thanks Adrian! Your small function solved it and helped me a ton! Sascha Are you outputting these URLs or using them in getURL()? That should work in getURL(). But if you're outputting them, one way to convert them is to use HTML text fields. Or, if you can't change the text fields, try this: str = Sometext with an amp; in.; function convert(str, from, to) { return str.split(from).join(to); } trace(convert(str, amp;, )); Adrian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Maintaining HTML special char codes in a HTML textfield?
Hi, does somebody know if it's somehow possible to get HTML special characters like amp;, quot;, lt; and gt; to be outputted in a Flash HTML enabled textfield without turning them into their conversions? I've tried various ways like using escape sequences with unicode etc. but the textfield still converts them. There is no way to turn this behavior off for a HTML textfield but I'm wondering if there is some magical method to preprocess the string so that the textfield wouldn't recognize the special char sequences. Otherwise can somebody confirm that there is absolutely no way to do that? In that case a textfield property to turn the conversion off would be a welcome feature in 8.5. Thanks for any hint! Sascha -- Flash Game Programming Wiki http://fgpwiki.corewatch.net/ H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Maintaining HTML special char codes inaHTMLtextfield?
Thanks alot Robert for pointing into the right direction! Haven't thought that it's actually so easy. Using just str1.split().join(amp;) would however also replace the of all other special chars but the way how you described in the first answer works well. Finally to replace all special chars and HTML braces while keeping other chars untouched I came up with this method which seems to work well so far: private function convertTags(txt:String):String { return (txt.split(amp;).join(amp;amp;)).split(quot;).join(amp;quot;)).split(lt;).join(amp;lt;)).split(gt;).join(amp;gt;)).split().join(lt;)).split().join(gt;); } -Sascha - Original Message - From: Robert Chyko [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, January 21, 2006 4:39 AM Subject: RE: [Flashcoders] Maintaining HTML special char codes inaHTMLtextfield? Yeah, just tried it real quick... This looks like it gives you the output you want (I think): function convertAmp(str1){ newStr = str1.split().join(amp;) return newStr; } var strOriginal = This - amp; - represents an ampersand.; var strConverted = convertAmp(strOriginal); ta1.text = strConverted; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Friday, January 20, 2006 2:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Maintaining HTML special char codes in aHTMLtextfield? If you wanted it to actually output amp; I'm assuming you could capture the amp; in the string and replace it with amp;amp; - which would theoretically output amp; - haven't actually tried this though. Which I guess more generically would boil down to you replacing all your with amp; - that would take care of it for all the cases (amp;, quot;, lt; etc). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: Friday, January 20, 2006 1:22 PM To: flashcoders Subject: [Flashcoders] Maintaining HTML special char codes in a HTMLtextfield? Hi, does somebody know if it's somehow possible to get HTML special characters like amp;, quot;, lt; and gt; to be outputted in a Flash HTML enabled textfield without turning them into their conversions? I've tried various ways like using escape sequences with unicode etc. but the textfield still converts them. There is no way to turn this behavior off for a HTML textfield but I'm wondering if there is some magical method to preprocess the string so that the textfield wouldn't recognize the special char sequences. Otherwise can somebody confirm that there is absolutely no way to do that? In that case a textfield property to turn the conversion off would be a welcome feature in 8.5. Thanks for any hint! Sascha -- Flash Game Programming Wiki http://fgpwiki.corewatch.net/ H1DD3N.R350URC3 http://hiddenresource.corewatch.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/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] Flash buttons in Firefox don't work?
Hi list, are there any known issues with buttons inside a flash movie doesn't work in the newest Firefox and Netscape versions? I've developed a Flash RSS ticker for a client where I have a dynamic textfield (which uses CSS) and over the textfield mc I have a movieclip which acts as a mask for the textfield mc and as a button. When the user clicks, the URL from the newsfeed opens. It all works flawless in IE/Win and Safari/Mac but the button doesn't work in the latest Firefox 1.5 and Netscape 7 and up. Any ideas why this could be? Thanks, Sascha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 and duplicateMovieClip
Thanks for pointing me to the migration section! I see now theres all kinds of methods replaced by OOP structuring. And I guess that means that movieclips can be duplicated to anywhere beyond it's own container in AS3! Correct me if I'm wrong! Sascha - Original Message - From: Troy Rollins [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, December 08, 2005 1:03 PM Subject: Re: [Flashcoders] AS3 and duplicateMovieClip On Dec 7, 2005, at 10:53 PM, Sascha Balkau wrote: I'm not very familiar with AS3 yet but is there no duplicateMovieClip anymore? At least I couldn't find anything about it on the AS3 reference (http://livedocs.macromedia.com/labs/1/flex/langref/index.html). Or does some of these methods completely have been replaced by something else? With Flash 8 AS2 nothing has been changed about duplicateMovieClip, so it's still not possible to duplicate a clip from one container into another. I was hoping it will be possible with AS3. Anyone knows more about it? duplicateMovieClip() - flash.display.MovieClip.MovieClip() (Replaced by new MovieClip class constructor function.) Found under the AS2 to AS3 migration section. -- Troy RPSystems, Ltd. http://www.rpsystems.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/listinfo/flashcoders
[Flashcoders] AS3 and duplicateMovieClip
Hi list, I'm not very familiar with AS3 yet but is there no duplicateMovieClip anymore? At least I couldn't find anything about it on the AS3 reference (http://livedocs.macromedia.com/labs/1/flex/langref/index.html). Or does some of these methods completely have been replaced by something else? With Flash 8 AS2 nothing has been changed about duplicateMovieClip, so it's still not possible to duplicate a clip from one container into another. I was hoping it will be possible with AS3. Anyone knows more about it? Thanks, Sascha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders