Re: [Flashcoders] how to decode base64 data and display in flash

2006-06-12 Thread Matthias Dittgen
Hi Santhakumar, If your image data is not too big in size/resolution (pixel * pixel), you could repaint it after decoding, for example: * Have a class painting a 1*1 pixel sized square and put it to specific coordinates x/y. * Decode your base64 encoded image. * paint your image line by line.

Re: [Flashcoders] growing animation

2006-06-21 Thread Matthias Dittgen
there was an article Making of www.interone.de in a german journal called PAGE. http://www.page-online.de/archiv/download.php?id=200602 But I can't remember about the flash approaches they did. I only remember that they used Cinema4D for rendering, Photoshop and the Flash IDE (not FAMES or the

Re: [Flashcoders] the height of a dynamic textfield

2006-07-17 Thread Matthias Dittgen
Hi Enrico, the best working solution I know, is to encapsulate the textfield into a MovieClip. Then you insert your text into the textfield and afterwards you determine the height of the MovieClip. Have fun, Matthias remark: I think, this is one of the questions that is asked all the time and

[Flashcoders] attachMovie with MovieClipLoader loaded symbols

2006-07-21 Thread Matthias Dittgen
Hello flashcoders, I load a childSwf into my mainSwf using a MovieClipLoader. -- THIS WORKS In my childSWF I do export for actionscript and export to first frame for a movieclipSymbol. After onLoadComplete, I can attach this movieclipSymbol of the childSwf to the loaded childSWF or a child of

Re: [Flashcoders] Accessing a Flash frame label

2006-08-09 Thread Matthias Dittgen
frame labels become numeric when published to SWF I don't think so. I use this method for my preloading mechanism. I export symbols to frames between frame 2 and a frame labeled loaded. In frame 1 I inject my code, which includes the preloader. After preloading, I gotoAndStop(loaded) to have

[Flashcoders] how to not overwrite methods, but append functionality

2006-08-11 Thread Matthias Dittgen
Hello list, my tooltip class uses code like this mc.onRollOver = function() {} to add its tooltip functionality to a movieclip mc. But this way it overwrites the onRollOver method of mc and disables the functionality like highlighting. So now my question (probably a really simple one): How is

Re: [Flashcoders] how to not overwrite methods, but append functionality

2006-08-11 Thread Matthias Dittgen
onRollOver. But I just want to add something to the existing onRollOver. Someone? 2006/8/11, Martin Wood [EMAIL PROTECTED]: Matthias Dittgen wrote: Hello list, my tooltip class uses code like this mc.onRollOver = function() {} to add its tooltip functionality to a movieclip mc. But this way

Re: [Flashcoders] how to not overwrite methods, but append functionality

2006-08-11 Thread Matthias Dittgen
whoooaaa! Thank to all who answered!!! I have to read through your answers and some testing before I can make further comments. Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] TextField._height reported incorrectly with wordWrap = true

2006-08-11 Thread Matthias Dittgen
this happens to me only sometimes and when I use negative leadings. Try to encapsulate your textfield with a movieclip and grab the height of the movieclip instead of the textfield height. That's the common workaround, I think. Have fun, Matthias 2006/8/11, Kjel Anderson [EMAIL PROTECTED]: No

[Flashcoders] quality best question

2006-08-22 Thread Matthias Dittgen
Hi, I've got some best practice questions about the quality settings of MovieClips. Correct or not - this._quality = best in some loaded MovieClip will effect the whole Application in its quality and because of that in its performance? Usually we use quality=best in our HTML code to embed our

Re: [Flashcoders] quality best question

2006-08-22 Thread Matthias Dittgen
just checking the AS dictionary and I can see a _highquality var that can be set on mc's... you checked this? T -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: 22 August 2006 07:58 To: Flashcoders mailing list

Re: [Flashcoders] Strange problem loading multiple transparent swfs

2006-08-22 Thread Matthias Dittgen
i have or had a similar problem. I checked this with FlashPlayer Plugin 7, 8 and 9 on different browsers and the problem occured only with FlashPlayer 7 Plugin. Can you approve this for your problem, too? The project went further and we added more and more layers and we switched from PNG to GIF

[Flashcoders] flip pages in as2 or the like

2006-08-23 Thread Matthias Dittgen
Personally I dislike those questions asking for ready-to-use code, but this time I have such a question by myself: Does someone know of a page flipping/ turn page AS2 solution? I only know Pageflip (http://www.iparigrafika.hu/pageflip/), which is a grown compley flash5/flashMX solution, that I

Re: [Flashcoders] flip pages in as2 or the like

2006-08-25 Thread Matthias Dittgen
PROTECTED]: The new flashloaded pageflip component works great: http:// flashloaded.com/flashcomponents/pageflipper On 8/23/06, Matthias Dittgen [EMAIL PROTECTED] wrote: Personally I dislike those questions asking for ready-to-use code, but this time I have such a question by myself: Does

Re: [Flashcoders] help

2006-08-25 Thread Matthias Dittgen
if (wrapping) { use(screenweaver, http://screenweaver.org/;); // it's open source } :-) Have fun! Matthias 2006/8/25, Mendizabal [EMAIL PROTECTED]: Use SWF Studio 3 to wrap it up: http://www.northcode.com They have a trial version to give it a go! On 8/24/06, [EMAIL PROTECTED] [EMAIL

Re: [Flashcoders] flip pages in as2 or the like

2006-09-06 Thread Matthias Dittgen
it at the moment, which is really sad for me, too. :-( I am going to discuss this topic further in my company in future, I promise. Matthias 2006/8/25, Bbt Lists [EMAIL PROTECTED]: Matthias Dittgen wrote: Thank you, Jordan! I am coding an AS2 pageflip class right now, which works as needed for our

Re: [Flashcoders] flip pages in as2 or the like

2006-09-06 Thread Matthias Dittgen
is the blog: http://76design.com/shiftcontrol/index.php/ 2006/08/22/dynamic-page-flip-v2 On Aug 25, 2006, at 1:53 AM, Matthias Dittgen wrote: Thank you, Jordan! I am coding an AS2 pageflip class right now, which works as needed for our current project and I am follwing the O'Reilly article

[Flashcoders] isPlaying in Actionscript 2.0

2006-09-18 Thread Matthias Dittgen
Hello, Does anybody know a solution for the someMovieClip.isPlaying() Solution in Actionscript 2.0 to use with MTASC? I can't get the AS1 solution to work: MovieClip.prototype.isPlaying = function(){ if (this._previousframe == undefined) this._previousframe = this._currentframe; if

[Flashcoders] Re: isPlaying in Actionscript 2.0

2006-09-18 Thread Matthias Dittgen
here's mine: ;) private function stopAllMovies(instance) { instance.onEnterFrame = function () { if (this.counter == undefined) { this.counter = 1; this.frameBefore = this._currentframe; } if

Re: [Flashcoders] Embed fonts problem

2006-09-21 Thread Matthias Dittgen
Hello Leonardo, please try the following: in your publishing settings dialog, enable the size report option. This will show you your exported fonts and their names in the output window (F2). There you should see your Arial exported. If you see there for example an Arial 11px or the like, you

Re: [Flashcoders] Ridiculous problem

2006-10-02 Thread Matthias Dittgen
Hello Andreas, try with casting: var textForwarder:ClassName = ClassName(userInterface.attachMovie(textForwarderMC,textForwarderClip,TEXTFORWARDERDEPTH)); attachMovie has MovieClip as return type. You would like to cast to your class which you call (TextForwarder is a )MovieClip extension. I

[Flashcoders] geometry // oval around text

2006-10-05 Thread Matthias Dittgen
Hello, I need a tipp for drawing an oval around a dynamic textfield with variable line numbers and variable width? Perhaps, someone can point me to a good tutorial dealing with such geometry questions. The drawOval methods I am using have width and height as parameters, but of course I can't use

Re: [Flashcoders] geometry // oval around text

2006-10-05 Thread Matthias Dittgen
Hello Danny, thank you, that sounds great. I'll take a closer look at your formulas. I also thought of a nearing solution that uses the ratio of textfieldWidth and textfieldHeight. I was drawing different rectangles on a paper in front of me and surrounding them with ovals. :-) I don't want a

Re: [Flashcoders] geometry // oval around text

2006-10-05 Thread Matthias Dittgen
Hello Andreas, thank you a lot for your open sources! Your work with splines is impressive. I asked my question here on the list, BECAUSE I don't want to re-invent the wheel. So I am happy now to find the solution. Hello Ivan, thank you for the link. Matthias

Re: [Flashcoders] Google code search

2006-10-05 Thread Matthias Dittgen
and it just works! example search term to finde out, if Actionscript is searchable: file:\.as$ aral balkan http://google.com/codesearch?hl=enlr=q=file%3A%5C.as%24+aral+balkanbtnG=Search :-) Matthias 2006/10/5, Mike Mountain [EMAIL PROTECTED]: Already loving http://krugle.com/ M

Re: [Flashcoders] Hough transform

2006-10-06 Thread Matthias Dittgen
What are you trying to do, dan? 2006/10/6, Martin Wood [EMAIL PROTECTED]: I dont have a simple way to do it but I can point you to some teaching materials so you can learn how to do it. http://www.cogs.susx.ac.uk/users/davidy/teachvision/vision0.html There are some good descriptions of

Re: [Flashcoders] geometry // oval around text

2006-10-06 Thread Matthias Dittgen
] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Donnerstag, 5. Oktober 2006 09:41 To: Flashcoders mailing list Subject: [Flashcoders] geometry // oval around text Hello, I need a tipp for drawing an oval around a dynamic textfield with variable line numbers and variable width? Perhaps

Re: [Flashcoders] geometry // oval around text

2006-10-06 Thread Matthias Dittgen
-- Andreas Weber -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Freitag, 6. Oktober 2006 13:10 To: Flashcoders mailing list Subject: Re: [Flashcoders] geometry // oval around text Hello Andreas, your CatmullRomSpline is really impressive

[Flashcoders] private member accessible with init object of attachMovie

2006-10-11 Thread Matthias Dittgen
Hello, the answer to my question would probably not change my workflow, but I want to know this: When using the attachMovie method, it is possible to set values of member variables. These values are set before the constructor is executed. Why that? And furthermore: Even private member

Re: [Flashcoders] Easy to learn and use 3d program

2006-10-27 Thread Matthias Dittgen
I do prefer something like: modelling: Blender or the like for modelling, and export to 3ds file format or the like rendering: Swift3D (IMHO: good for rendering, only) Have fun, Matthias 2006/10/27, Mike Mountain [EMAIL PROTECTED]: Cinema 4D by Maxon is both simple to use and very powerful

Re: [Flashcoders] am i stupid?

2006-11-09 Thread Matthias Dittgen
You probably just need some content in your _root! onPress, onRelease etc. do only work if the mouse is over some content of the MovieClip, even of _root. For better understanding: If you have a filled circle as movieClip, onPress events work only within the circle, not in the corners of its

[Flashcoders] runtime shared symbols and path problem

2006-11-18 Thread Matthias Dittgen
Hello, I use runtime sharing to export some symbols, for example: chapter1.swf with symbol chapter1 chapter2.swf with symbol chapter2 I import those like this into my main.swf: chapter1 from chapter1.swf chapter2 from chapter2.swf when I run main.swf it works fine. Now I need to load

[Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread Matthias Dittgen
Hello, I often need to recognize for some of my gui elemets when the embedded gui elements (childs) have changed or vice-versa the parent elements has changed in a property, like _x, _width, etc. to repaint the necessary elements of the GUI. So what is the best way to do this? I stumbled over

Re: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread Matthias Dittgen
Hello EKA, thanks for your reply. to your 1: yes, i really don't wanted to use watch. the watch method is less performant, I have read on this list sometime before. That's, why I asked my question. It admit, it has been more than only one question. :-) to your 2: I usually give my constructor

Re: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread Matthias Dittgen
code : var ui:MyUIObject = new MyUIObject(); ui.onX = function ( who , x ) { trace(onX : + who + with the value : + x) ; } ui.addListener(this) ; ui.x = 25 ; EKA+ :) 2006/11/30, Matthias Dittgen [EMAIL PROTECTED]: Hello EKA, thanks for your reply. to your 1: yes, i

Re: Re[4]: [Flashcoders] onChange or onResize or onX event - howto?

2006-11-30 Thread Matthias Dittgen
You guys are right, I have mixed two questions into one: 1: properties in AS1/AS2 2: watching properties, EventModel Hello Rákos, thank you for the link to the documentation of the set/get keywords. On that page, you can read: NOTE Implicit getter and setter methods are syntactic shorthand for

Re: Re[4]: [Flashcoders] onChange or onResize or onX event - howto?

2006-12-01 Thread Matthias Dittgen
Hello, I learned a lot now about broadcasting events, but still haven't achieve my initial intention, which was as follows: I want to have a class (kind of black-box), I call MyUIObject. Then I want to create instances of MyUIObject: var uio:MyUIObject = new MyUIObject(); I want to have a

Re: Re[4]: [Flashcoders] onChange or onResize or onX event - howto?

2006-12-01 Thread Matthias Dittgen
The set/get (former addProperty) methodology seemed to offer the solution, but now I see, that I can implicit (not writing uio.setSomething, but uio._something) set a value, but _something is private and thus code completion etc. will not work. Matthias

[Flashcoders] hints for arabic (rtl) text

2006-12-04 Thread Matthias Dittgen
Hello, has anyone a working solution to display arabic text that comes out of a xml correctly with flash? I've found http://www.flashrtl.com/;, but it seems not to work for me. I can't read any arabic. I have a correct formatted word document as draft only, which I want to convert into flash.

Re: [Flashcoders] hints for arabic (rtl) text

2006-12-05 Thread Matthias Dittgen
Thank you Danny, thank you Yehia! I am really looking forward to your Demo, Danny. Flaraby needs the serverside python script, which is not my favourite attempt to solve the arabic Problem. :-) Matthias ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Boids algorithm in as2 or as3?

2006-12-07 Thread Matthias Dittgen
you could start probably start here: http://www.vergenet.net/~conrad/boids/ http://www.vergenet.net/~conrad/boids/pseudocode.html Have fun, Matthias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] AS2 best practice question - attachMovie or static create method

2007-01-17 Thread Matthias Dittgen
Hello, beside the many AS3 questions, IMHO most of the current real-world projects are still based on FlashPlayer 7 and 8 and thus on AS2, because of the player penetration. This was probably asked before, but I want to know which workflow works best for you guys: Do you prefer a) the

Re: [Flashcoders] how to know that thae video is finished?

2007-01-17 Thread Matthias Dittgen
use this: myNetStream.onStatus = function(infoObject:Object):Void { if (debug==true) { status_txt.text += status ( + this.time + seconds)\n; status_txt.text += \t Level: + infoObject.level + \n; status_txt.text += \t Code: + infoObject.code + \n\n;

[Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC

2007-01-18 Thread Matthias Dittgen
Hello, does someone know of a systemlayer api for the Flashplayer7 that exists for PocketPC (Windows mobile 2003 and WindowsCE 5)? I am looking for something like what Screenweaver is for Actionscript/FlashPlayer on Windows, that makes it possible to a) run applications standalone (not in

Re: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC

2007-01-18 Thread Matthias Dittgen
] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: 18 January 2007 10:37 To: Flashcoders mailing list; Open Source Flash Mailing List Subject: [Flashcoders] OpenSource System layer for FlashPlayer7 for PocketPC Hello, does someone know of a systemlayer api for the Flashplayer7 that exists

Re: [Flashcoders] AS2 best practice question - attachMovie or static create method

2007-01-19 Thread Matthias Dittgen
PROTECTED] wrote: On 1/17/07, Matthias Dittgen [EMAIL PROTECTED] wrote: And is there a way to automate the writing of SymbolName,SymbolLinked and create for all my classes which extend MovieClip? Personally, I use b) (for clips which aren't in the library). There's no way to automate

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread Matthias Dittgen
Nicolas is developer and promotions team for haXe all in one. ;-) But haXe alone can't compete with Laszlo and Flex in some aspects. For example, just because these frameworks offer a XUL like attempt for fast developing GUIs. What I mean is, that both are using a declarative, xml-based

Re: [Flashcoders] Flash 8 Pro - new interface (for me)

2007-02-01 Thread Matthias Dittgen
in the german version it is called Film Explorer (Alt+F3), where you can look through your scripts and such. If you speak of class file (.as-Files), I suggest using some external tool. hth, Matthias 2007/2/1, BOYD SPEER [EMAIL PROTECTED]: just a quick question.. I just upgraded to Flash 8 and

Re: [Flashcoders] SVG format

2007-02-04 Thread Matthias Dittgen
Hello. you might try export as AI (Adobe Illustrator) and convert it with an appropiate software, like Adobe Illustrator to svg, can't you? Regards, Matthias 2007/2/5, Amandeep Singh [EMAIL PROTECTED]: Thank you sir, I knew it, if no one answer, then you will be the one to answer. Thanks a

Re: [Flashcoders] SVG format

2007-02-05 Thread Matthias Dittgen
at runtime. How can I convert the flash output into AI at runtime and then convert the same to SVG? Thanks anyways for replying. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Monday, February 05, 2007 1:26 PM To: Flashcoders mailing

Re: [Flashcoders] tabbing in flash

2007-02-12 Thread Matthias Dittgen
I think you can't change the yellow rectangle - you can only change the color on FlashLite (Flash for mobiles). So if you want to use your own solution, you need to turn that feature off (as mentioned before), and implement something similar on your own. hth, Matthias 2007/2/12, Jah [EMAIL

Re: [Flashcoders] Anyone hate flash 9 already?

2007-02-13 Thread Matthias Dittgen
We love Flash! And we hate Flash! That's why we read [Flashcoders]. :-) 2007/2/13, Arseniy Shklyaev [EMAIL PROTECTED]: Anyone hate flash 9 already? -- -Arseniy Shklyaev ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Coding Standards: Use of Get/Set

2007-02-13 Thread Matthias Dittgen
You always compare implicit getter/settter with explicit getter/setter. Just a thought of mine is to compare implicit getter/setter with public variables. When you use someClass, that was written by someone else, you do not know if the following code uses implicit getter/setter or is just a

[Flashcoders] BitmapData 3D texture mapping to ball/organic shapes

2007-02-14 Thread Matthias Dittgen
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] test

2007-02-27 Thread Matthias Dittgen
___ 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

[Flashcoders] AS2 Code Refactoring, Eclipse Plugin

2007-03-11 Thread Matthias Dittgen
Hello, I know, that there have been a few threads about Actionscript Editors, whether open-source or not. But I would really appreciate, if there is an editor that can do refactoring task, as renaming variables in a bigger project over more than one pakage or file and that btw. would ideally fit

[Flashcoders] Component and attachMovie

2007-03-16 Thread Matthias Dittgen
Hello, sorry, but I can't find the solution. I want to create a component (or some other kind of precompiled movieclip) to hide some logic and MovieClip Symbols used by that logic. :-) I have a MovieClip Symbol Framework in the library which is linked to a Class Framework.as in the same

[Flashcoders] Re: Component and attachMovie

2007-03-16 Thread Matthias Dittgen
using attachMovie. So I am happy now, and it might become a nice Friday today. :-) Thanks for listening ;) Matthias 2007/3/16, Matthias Dittgen [EMAIL PROTECTED]: Hello, sorry, but I can't find the solution. I want to create a component (or some other kind of precompiled movieclip) to hide some

[Flashcoders] is there a export to first frame size limit

2007-03-16 Thread Matthias Dittgen
Hello, my earlier mentioned Component works in an empty FLA, but not in a FLA File that exports huge symbol to first frame itself. Especially the embedded font of the Component does not work then. That's why I think, there might be a limit for exporting to the first frame. Is there? When I

Re: [Flashcoders] Re: Component and attachMovie

2007-03-16 Thread Matthias Dittgen
Now I understand... Thanks, Muzak and Attila!!! 2007/3/16, Muzak [EMAIL PROTECTED]: http://livedocs.macromedia.com/flash/8/main/3024.html Read the Editing the movie clip part. regards, Muzak - Original Message - From: Matthias Dittgen [EMAIL PROTECTED] To: Flashcoders mailing

Re: [Flashcoders] Got milk? (the game)

2007-03-23 Thread Matthias Dittgen
And there's too much preloading which lasts too long, even with fast DSL. That's annoying. The big plus for this game is the idea. 2007/3/22, Kerem İşeri [EMAIL PROTECTED]: Really amazing game but i dont think there is hard programming behind it. Maximum 2 developer can handle the coding. I

[Flashcoders] empty textfield of type input and embedded font

2007-03-26 Thread Matthias Dittgen
Hello list, I have a dynamic textfield like this in the constructor of a class extending MovieClip: createTextField(tf, getNextHighestDepth(),0,0,__width,__height); __textField = this[tf]; __textField.type = input; __textField.selectable = true;

[Flashcoders] Re: empty textfield of type input and embedded font

2007-03-26 Thread Matthias Dittgen
when not using html = true and htmlText, the solution is the setNewTextFormat method, which seems not to work in combination with htmlText. :-( There must be a pendant to.. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] empty textfield of type input and embedded font

2007-03-26 Thread Matthias Dittgen
Thanks to you all, even Steven! ;-) I now use setNewTextFormat again, which worked and works best for me. It works not in combination with htmlText, so I still use plain text for my input fields. I make a note to myself to not trying to change again. :-))) @Bianca: Yes this workaround with react

Re: [Flashcoders] setNewTextFormat

2007-04-17 Thread Matthias Dittgen
What do you want to achieve, Danny? AFAIK setNewTextFormat is meant for user entered text, like mentioned in the LiveDocs, which works well for me. public setNewTextFormat(tf:TextFormat) : Void Sets the default new text format of a text field. The default new text format is the new text

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Matthias Dittgen
So they are probably separating technology from IDE's! Technology becomes open-source. Therr IDE's (Flash CS3, Flex Builder) remain products to be sold. This way, they are still market leader to a market, which becomes more open and thus stronger than before, right? 2007/4/26, Muzak [EMAIL

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-02 Thread Matthias Dittgen
You can assign values to private and/or public variables of the class using the 4th argument of attachMovie. Just read the API documentation: public attachMovie(id:String, name:String, depth:Number, [initObject:Object]) : MovieClip initObject can be predefined or used on the fly, which looks

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-03 Thread Matthias Dittgen
This discussion is very interesting, so I would like to offer my approach of attaching/construction of visual classes. I am open for optimization hints. I am using something like this: 1) THE CLASS EXTENDING MOVIECLIP class com.path.MyVisual extends MovieClip { public static

Re: [Flashcoders] getting XML response body when HTTP status is not 200

2007-05-07 Thread Matthias Dittgen
Where do you actually get your XML? I noticed some time ago, that it makes a difference, if I use the onLoad in my listener object and then use the XML object itself. Instead you could use onData(src:String) whenever you have a response of type 400 and parse your XML manually in this case. See

Re: [Flashcoders] ASDT code hinting / auto completion

2007-05-09 Thread Matthias Dittgen
Hi Johan, which version of ASDT are you using? If 0.0.8, Have you set everything within the Window Preferences.. menu? I would like to encourage you to post this question again on the ASDT Developer Mailinglist, if you can't find a solution, which is: [EMAIL PROTECTED] hth, Matthias 2007/5/9,

Re: [Flashcoders] Mortgage calculator in Flash or other technology?

2007-05-15 Thread Matthias Dittgen
Two things, that quickly came into my mind: 1) Try the new OpenLaszlo Version, which can render to Flash as well as to DHTML(upps, needs Javascript, :-)) 2) Use Flash and offer a projector (exe or the like) for those, who can't install the FlashPlayer plugin - which I can only imagine within a

Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-16 Thread Matthias Dittgen
Hi, we did something similar some time ago, but for a small sequence only. We wore black clothes and were filmed in front of a white wall. We did post-production in Photoshop and Illustrator. We used actions (batch processing) in Photoshop and converted Selections into Pathes which could be

Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-17 Thread Matthias Dittgen
like that. Regards Gustavo On May 16, 2007, at 2:59 AM, Matthias Dittgen wrote: Hi, we did something similar some time ago, but for a small sequence only. We wore black clothes and were filmed in front of a white wall. We did post-production in Photoshop and Illustrator. We used actions

Re: [Flashcoders] jFlash and other web-based, non-browser options

2007-05-21 Thread Matthias Dittgen
Hi, The 'old' Version 3 of Screenweaver would fit to your needs, I think. But I don't know, where and if that version is still available. That was a really cool solution, because you have a Actionscript 2.0 API to Windows System functions. So you could give HaXe and ScreenweaverHX a try, which

Re: [Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Matthias Dittgen
link seems broken here. 2007/5/23, Ash Warren [EMAIL PROTECTED]: A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg

Re: [Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Matthias Dittgen
yes, Trigonometry! :-) would this one help you: http://lizu.net/circle.swf Mail to me offlist for the source! hth, Matthias 2007/5/23, Ash Warren [EMAIL PROTECTED]: A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a

Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Matthias Dittgen
Mark is true. Respect! :-) I used Math.atan(), too and if/else to know, in which quadrant of the circle the drag element is moved. I uploaded my quickdirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu.net/circleSrc.zip it consists of the circle drag mechanism, but I

Re: [Flashcoders] splitting the list?

2007-05-24 Thread Matthias Dittgen
Gmail is that good in searching your mails, that it pops up advertising related to the words within your (private) mails! Look at the right side! Yeah! Each of us, who is using Gmail for flashcoders is storing the same information - which is the definition of redundance, isn't it? So, don't get

Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

2007-06-22 Thread Matthias Dittgen
Hi Chris, I can't follow your code snippets too well, but I try to guess your mistake: You can only attach MovieClips/Symbols with attachMovie, that are available (exported for AS) within the container SWF. Example: MovieClip A.swf contains a MovieClip Symbol S in the library (exported for AS)

Re: [Flashcoders] how to get controls and anchors of curve, gradients, etc.

2007-06-25 Thread Matthias Dittgen
Hi, if your artist produced vector graphics using Flash, you could use the commercial version of ASV (http://www.buraks.com/asv/). ASV can export these graphics and produces an intermediate format for them based on Array. You can use this Array directly in your AS Code and draw the graphics via

Re: [Flashcoders] how to get controls and anchors of curve, gradients, etc.

2007-06-26 Thread Matthias Dittgen
somewhere on buraks.com. It's worth asking Burak for them. Peter On 6/25/07, Matthias Dittgen [EMAIL PROTECTED] wrote: If you can't find all necessary files and classes, I can probably help you out. But I have not bought ASV yet myself - but I like the ASVDrawing format. It is also used

Re: AW: [Flashcoders] Turn image around effect?

2007-06-29 Thread Matthias Dittgen
have you tried to contact their developer directly? ;-) 2007/6/29, Peter Oliver Geller [EMAIL PROTECTED]: But when you use the image distortion effect (Bitmap Data) with a two image flip, it´s tricky to program your mask on the point of intersection where the image turns around, because on that

Re: [Flashcoders] Fullscreen problem

2007-07-06 Thread Matthias Dittgen
but why? ___ 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

Re: [Flashcoders] Searching within XML

2007-07-25 Thread Matthias Dittgen
I think, it is not available at the moment. I'll send you the AS2 sources offlist. hth, Matthias 2007/7/25, Omar Fouad [EMAIL PROTECTED]: com.xfactorstudio.xml.xpath??? where can i get it??? On 7/25/07, Alan MacDougall [EMAIL PROTECTED] wrote: Omar Fouad wrote: I am doing some application

Re: [Flashcoders] Q:Papervision 3D for 'simple' rotating cube effect

2007-08-03 Thread Matthias Dittgen
This was crossposted by J.Bach to the osflash mailinglist, where Glen Pike answered with interesting links! Don't know, why the answer was posted only there. So here are the links, he mentioned: http://www.dgrigg.com/post.cfm/04/18/2007/Flex-form-with-a-3d-twist

Re: [Flashcoders] Loading xml in AS 2

2007-08-03 Thread Matthias Dittgen
Your code should trace your XML, when calling new LoadXML(). Have you checked against another XML, Omar? Are you sure your xml-file is in the same folder as your swf? You might also try the onHTTPStatus and onData events the XML class offers. hth, Matthias 2007/7/30, Omar Fouad [EMAIL

[Flashcoders] onKeyDown/Up fires twice in dynamic TextField

2007-08-14 Thread Matthias Dittgen
Hello, in my current project the onKeyDown event is fired twice, when the key is hit in Textfields. I googled already this problem and always found only a description of the same problem as my one but no solution. Anyone solved this already? Here's some example code (nothing special):

Re: [Flashcoders] onKeyDown/Up fires twice in dynamic TextField

2007-08-14 Thread Matthias Dittgen
But there is probably no guaranty that the event is fired twice on all FlashPlayers/OSes. So I would have to reset the state variable manually. 2007/8/14, Ricky Bacon [EMAIL PROTECTED]: Matthias Dittgen wrote: Hello, in my current project the onKeyDown event is fired twice, when the key

Re: [Flashcoders] onKeyDown/Up fires twice in dynamic TextField

2007-08-14 Thread Matthias Dittgen
; trace(enter up); } }; Key.addListener(keyListener); Thank you all, Matthias 2007/8/14, Dennis - I Sioux [EMAIL PROTECTED]: Guess you could check the focus? And count the doubles out. - Original Message - From: Matthias Dittgen [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] onKeyDown/Up fires twice in dynamic TextField

2007-08-14 Thread Matthias Dittgen
trace(Key.getCode()); returns 13 my workaround is sufficient for my needs. But I think, it is not a problem of Enter, only. I have to check if Muzak is right and this is a kind of a scope issue. 2007/8/14, Danny Kodicek [EMAIL PROTECTED]: Don't rant me for using _root, cause this was only

Re: [Flashcoders] AS 2.0 constructor inheritance

2007-08-14 Thread Matthias Dittgen
Interesting thread, Alan! What is ECMA Specification saying to that situation? Matthias slightly OT, but I have noticed some time ago, that Flash IDE claims the super() call to be the first line in the constructor of the extending class. But I noticed to the same time, that when compiling with

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-08-25 Thread Matthias Dittgen
Hi Dimitrios, I stumbled over the same questions only some hours ago, and after spending a lot of time searching the web, mailinglists and forums I finally found the new Delegate class from Ian Thomas here: http://wildwinter.blogspot.com/2007/04/come-back-delegate-all-is-forgiven.html @Ian, when

[Flashcoders] Re: AVM1Movie unload and static variables

2008-01-09 Thread Matthias Dittgen
In fact this problem applies not only for AS2/AS3 interop. How can I unload MovieClips and thus unload static variables to have a fresh startover, when loading the same MovieClip later again? Matthias On Jan 9, 2008 3:32 PM, Matthias Dittgen [EMAIL PROTECTED] wrote: Hello Flashcodes, I

Re: [Flashcoders] Re: AVM1Movie unload and static variables

2008-01-10 Thread Matthias Dittgen
to the associated subclass of MovieClip hth - and might be barking up the wrong tree rob From: [EMAIL PROTECTED] on behalf of Matthias Dittgen Sent: Thu 1/10/2008 2:20 AM To: Flash Coders List Subject: [Flashcoders] Re: AVM1Movie unload and static

Re: [Flashcoders] Re: AVM1Movie unload and static variables

2008-01-10 Thread Matthias Dittgen
Hi again, out of interest: Is it possible to delete classes this way in AS3, too? I am aware of ApplicationDomains, but if I would e.g. only want to delete a single class and reload this class, can this be done? Matthias On Jan 10, 2008 9:59 AM, Matthias Dittgen [EMAIL PROTECTED] wrote: Hello

[Flashcoders] load flv and its metadata without start to play

2008-01-21 Thread Matthias Dittgen
Hello, I want to use video for character animations and so I want to preload several videos without to play them while preloading. How can I do this in AS3? I found only the play(something.flv) method. Are there any other possibilities? Also, I am currently waiting for my metadata handler to be

Re: [Flashcoders] load flv and its metadata without start to play

2008-01-21 Thread Matthias Dittgen
if browser cache was turned off. At best, you might get a few milliseconds faster start-up loading from a ByteArray vs from cache. Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com Matthias Dittgen wrote: Hi Glen

Re: [Flashcoders] AS3 addChild() strange behaviour

2008-01-21 Thread Matthias Dittgen
yes, I have seen problems like these a lot, lately. Do you gotoAndStop/gotoAndPlay on the timeline? If so, your timeline does not execute their script as expected? Timelines are very different in their behavior from AS2 based timelines. So for example a dynamic textField with the same instance

Re: [Flashcoders] load flv and its metadata without start to play

2008-01-21 Thread Matthias Dittgen
completeHandler(e:Event):void { var loader:URLLoader = e.target as URLLoader; trace(loader.data); // :-) how to go on from here? } Matthias On Jan 21, 2008 12:48 PM, Matthias Dittgen [EMAIL PROTECTED] wrote: Hello Steven, yes, I noticed that. I am waiting for ns.bytesLoaded

Re: [Flashcoders] load flv and its metadata without start to play

2008-01-21 Thread Matthias Dittgen
.sourceforge.net/ Glen Matthias Dittgen wrote: Steven, I can't figure out a way to use ByteArray. I am able to load the flv as ByteArray, but I can't see a way to load this into a Netstream object. Any thought on that? private function load(url:String):void { var

  1   2   >