RE: [Flashcoders] where and how can I learn actionscript bytecode

2005-12-03 Thread Theodore E Patrick
Boon, Use FLASM. It provides text output representing AS Bytecode. http://flasm.sourceforge.net/ Simply do this: // decompress the AS block using zlib >> flasm -x myfile.swf // read the bytecode into a text file >> flasm -d myfile.swf > myfile.flm Open myfile.flm to see all the bytecode instr

[Flashcoders] motion detection

2005-12-03 Thread George
hi i was wondering what luck people have had with motion detection. i have been doing motion detection in processing for quite some time, but haven't have too much luck in flash,because of speed issues. i can get basic difference images etc. as per guy watson's tutorial on macromedia, and

Re: [Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-03 Thread hank williams
This is correct. There are certainly multiple threads in the flash player. But The AVM does not allow applications to spawn threads directly. However things like sound and video and probably other things execute in separate threads. I am not familiar with the flash source but it is likely that asyn

[Flashcoders] Flash is a single-threaded app? Maybe it's just the AVM? or...

2005-12-03 Thread Boon Chew
I have read in this forum that someone loosely coined the phrase "Flash is a single thread app", it's hard to imagine something as high performance and intricate as Flash to be a single-threaded app. So I started to take the above statement to mean that the Actionscript VM execut

RE: [Flashcoders] How to make a class instance self-destructible?

2005-12-03 Thread Boon Chew
Good stuff Steven, I am glad I asked this question (and David's reply is great). Is there a way to verify that the onLoad is indeed orphaned in the VM memory pool? - boon Steven Sacks <[EMAIL PROTECTED]> wrote: Here is something more for you to chew on: If you assign say an onL

Re: [Flashcoders] Loading a compressed movie

2005-12-03 Thread David Rorex
On 12/3/05, erixtekila <[EMAIL PROTECTED]> wrote: > Hi folks, > > > > Can someone explain me how do Flash behave when it loads a compressed > external flash. > He is still able to play the first frames, eventhough he don't get the > whole file. > > Do that mean that the compression algorithm is use

RE: [Flashcoders] How to make a class instance self-destructible?

2005-12-03 Thread Steven Sacks
Here is something more for you to chew on: If you assign say an onLoad method to an object, and don't delete the onLoad before you delete the object, the onLoad method is orphaned and since the reference to the object is gone, it does not get cleaned up by the garbage collector, and remains in mem

Re: [Flashcoders] IE and EOLAS to no end

2005-12-03 Thread David Rorex
On 12/3/05, Michael Stuhr <[EMAIL PROTECTED]> wrote: > http://msdn.microsoft.com/ieupdate/default.asp > > (german news: http://www.heise.de/newsticker/meldung/66936) > > thanks to MS - i don't support IE anymore - > > micha Don't blame MS, blame EOLAS, the ones suing over their bogus patent. Also,

Re: [Flashcoders] How to make a class instance self-destructible?

2005-12-03 Thread David Rorex
On 12/3/05, Boon Chew <[EMAIL PROTECTED]> wrote: > I am trying to get a class to destroy itself, calling delete obj looks too > unnatural, amidst all OO code. > > Could someone explain why the following doesn't work? > The following code doesn't work, is there another way to achieve this? >

RE: [Flashcoders] Disabling Buttons / Actions - FLASH 6

2005-12-03 Thread Keith Reinfeld
Jay, If I understand you correctly, clipA is not intended to be clickable and you want to block any incidental/experimental clicks on the part of users. Ironically you need to give clipA a button behavior in order for it to 'intercept' clicks thereby shielding clipB. //turn off hand cursor

[Flashcoders] How to update components on stage?

2005-12-03 Thread Boon Chew
Hi, I created a component today, subclassing it from MovieClip (it's my first component, so excuse me for my newbie question). I realize that everytime I update the Inspectable( ) in the AS file, I have to reopen the movieclip component, click OK to have it updated with the new change.

[Flashcoders] How to make a class instance self-destructible?

2005-12-03 Thread Boon Chew
I am trying to get a class to destroy itself, calling delete obj looks too unnatural, amidst all OO code. Could someone explain why the following doesn't work? The following code doesn't work, is there another way to achieve this? Also, class A { function destroy() { delete

Re: [Flashcoders] Creating an OS X app with a Flash Projector

2005-12-03 Thread erixtekila
Very interesting point. Thanks. Le 3 déc. 05, à 22:07, Simon Lord a écrit : Hi all, if you are an OS X user this may be of interest to you. It's a small tutorial on creating a Mac OS X application and using your Flash Projector as the runtime engine. It's an OS X only solution but the advant

[Flashcoders] Creating an OS X app with a Flash Projector

2005-12-03 Thread Simon Lord
Hi all, if you are an OS X user this may be of interest to you. It's a small tutorial on creating a Mac OS X application and using your Flash Projector as the runtime engine. It's an OS X only solution but the advantage is that you're delivering a single executable to your client with all

Re: [Flashcoders] List Component

2005-12-03 Thread Ryan Matsikas
I'm not saying the components aren't good, I've not used them myself, but maybe he can't afford it. They do cost money. Also if we let the components do everything for us, it makes us lazy developers. What he needs to do can easily be accomplished in a short amount of time (depending on skill). A

Re: [Flashcoders] where and how can I learn actionscript bytecode

2005-12-03 Thread Jim Armstrong
At 12:40 PM 12/3/2005 -0800, you wrote: Is there any tools or documentation out there that will aid in learning actionscript bytecode? Flasm is a good start, http://flasm.sourceforge.net/ have fun! - jim 2112 FX :: Singularity [Business Intelligence][Custom Programming] Flash Math Bl

[Flashcoders] where and how can I learn actionscript bytecode

2005-12-03 Thread Boon Chew
Is there any tools or documentation out there that will aid in learning actionscript bytecode? I ran into this the other day, and it seems like only reading the bytecode can help me understand why it doesn't work? class A { function destroy() { delete this; // doesn't delete itself

Re: [Flashcoders] targeting classes in a loaded swf

2005-12-03 Thread Tyler Wright
Of course you want to retain a synchronous relationship (much faster than LocalConnection). I'm not sure if this UI object you create is a singleton but the best way to handle this situation is to use it's class to hold a static pointer to the instance. for example class UI { private static

Re: [Flashcoders] Applying tween class to textfields

2005-12-03 Thread mikeb
Sorry its still early ;) This is the movieclip tweening prototype I am using. It says it works with textfields as well but no luck so far. http://laco.wz.cz/tween/ Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfi

Re: [Flashcoders] Applying tween class to textfields

2005-12-03 Thread Zeh Fernando
I am trying to apply a tween class to a textfield. Nothing I do to it seems to work. Ive tried using the class on the textfield itself as well as placing it in a movieclip first and applying the class to that. Is there something im missing? It depends on the class. No one can tell you in a

[Flashcoders] Applying tween class to textfields

2005-12-03 Thread mikeb
I am trying to apply a tween class to a textfield. Nothing I do to it seems to work. Ive tried using the class on the textfield itself as well as placing it in a movieclip first and applying the class to that. Is there something im missing? ___ Flashc

Re: [Flashcoders] Microsoft tweaks browser to avoid liability

2005-12-03 Thread JesterXL
More Flash technical discussion on what you can do: http://www.rewindlife.com/archives/86.cfm - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Saturday, December 03, 2005 2:19 PM Subject: Re: [Flashcoders] Microsoft tweaks browser to avoi

Re: [Flashcoders] Split String

2005-12-03 Thread MetaArt
try this: var yourString = "string"; var temp = yourString .split("§"); var firstLine = temp[0]; var secondLine = temp[1]; var thirdLine = temp[2]; etc. etc... Enrico Tomaselli +> web designer <+ [EMAIL PROTECTED] http://www.metatad.it ___ Flas

SV: [Flashcoders] Split String

2005-12-03 Thread Martin Baltzer
Yes...but just ignore the boolean arg which has no purpose at all - somekind of leftover ;-) Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:28 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String Nice! I forgot all about

Re: [Flashcoders] Split String

2005-12-03 Thread stacey
string.split("/")? > Can anyone point me in the right direction on how to split a string > using a special character(/). this is my first line / this is my second > line / etc... > > > Thanks! > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.

SV: [Flashcoders] Disabling Buttons / Actions - FLASH 6

2005-12-03 Thread Martin Baltzer
One easy solution is to add a transparent movieclip (cover) at a depth between between Clip A and Clip B which is big enough to cover clip B fully . Give the cover clip an onRelease handler and clip B is no longer clickable. Finally set the handCursor to false to remove it ;-) /Martin Baltze

Re: [Flashcoders] Disabling Buttons / Actions - FLASH 6

2005-12-03 Thread Martin Weiser
myButton.enabled=false not enable MW - Original Message - From: "Jay Lepore" <[EMAIL PROTECTED]> To: "'Flashcoders Mailing List'" Sent: Saturday, December 03, 2005 7:26 PM Subject: [Flashcoders] Disabling Buttons / Actions - FLASH 6 Hello, Here is my need. I have a rectangular c

Re: [Flashcoders] Split String

2005-12-03 Thread JesterXL
Nice! I forgot all about that, but remember getting bitten. Cool function! - Original Message - From: "Martin Baltzer" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" ; "Flashcoders mailing list" Sent: Saturday, December 03, 2005 2:25 PM Subject: SV: [Flashcoders] Split String Th

SV: [Flashcoders] Split String

2005-12-03 Thread Martin Baltzer
This is true but beware of a bug in 7.0.14 player which causes a replace at the very end of the string to fail when doing it this way. The bug is related to a different behaviour in thesplit method which fails to divide the string into ie. two pieces when the phrase is at the very end of the

Re: [Flashcoders] Microsoft tweaks browser to avoid liability

2005-12-03 Thread JesterXL
Digg.com's link has a better write up of the interaction changes: http://www.eweek.com/article2/0,1895,1895907,00.asp However, the quote: "...Instead of non-stop dialog boxes, the page will load normally now and won't be as disruptive. It will only require a click to activate [the control] if th

Re: [Flashcoders] Split String

2005-12-03 Thread JesterXL
str = "hello/this is a new line/and so is this"; str = str.split("/").join("\n"); - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Saturday, December 03, 2005 2:15 PM Subject: [Flashcoders] Split String Can anyone point me in the right direction on how to split a string using

[Flashcoders] Split String

2005-12-03 Thread mikeb
Can anyone point me in the right direction on how to split a string using a special character(/). this is my first line / this is my second line / etc... Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.c

Re: [Flashcoders] Microsoft tweaks browser to avoid liability

2005-12-03 Thread JesterXL
Watch this space: http://www.macromedia.com/devnet/activecontent/ JD reported on it here: http://weblogs.macromedia.com/jd/archives/2005/12/eolas_re-re-re-.cfm Jeffrey Zeldman has a fallout article from 2 years ago about it. This was the time when the FUD was reaching its apex: "Eolas: first fa

[Flashcoders] Disabling Buttons / Actions - FLASH 6

2005-12-03 Thread Jay Lepore
Hello, Here is my need. I have a rectangular clip (clipA) on the stage that does not move. I have a scrollable mc (clipB) that lays underneath clipA but is much longer and scrolls up and down underneath clipA. When someone clicks on clipA, I do not want ANY button or mc actions beneath it to be

[Flashcoders] IE and EOLAS to no end

2005-12-03 Thread Michael Stuhr
http://msdn.microsoft.com/ieupdate/default.asp (german news: http://www.heise.de/newsticker/meldung/66936) thanks to MS - i don't support IE anymore - micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/ma

Re: [Flashcoders] targeting classes in a loaded swf

2005-12-03 Thread Mike Britton
I'd look into LocalConnection. It sounds like you're trying to figure out how to avoid dependencies between objects, which (to me) makes sense. Rather than over-design and make things work in a complicated way, you can use LocalConnection to init your child clips from your controller: receiving_

R: [Flashcoders] iRiver U10

2005-12-03 Thread [EMAIL PROTECTED]
Hi Eric, join and ask this to FlashLite Yahoo list. iRiver U10 has the FalshLite player embedded :) Have also a read on Macromedia Dev Net section; there is an article by Johnathan Duran. regards marco casario http://casario.blogs.com Messaggio originale Da: [EMAIL PROTECTED] Data: 2

[Flashcoders] Loading a compressed movie

2005-12-03 Thread erixtekila
Hi folks, Can someone explain me how do Flash behave when it loads a compressed external flash. He is still able to play the first frames, eventhough he don't get the whole file. Do that mean that the compression algorithm is used directly when receiving data ? Do this algo (ZLib I presum

[Flashcoders] Microsoft tweaks browser to avoid liability

2005-12-03 Thread Jason Cunliffe
Can anyone clarify please what changes will now need to be made by Flash authors ? CNET article yesterday: -- Microsoft tweaks browser to avoid liability -- Microsoft is changing the way its Web browser handles certain controls in an effort to shield itself from liability in an ongoing patent

[Flashcoders] FLAMES wine and coffee, leaving no trace

2005-12-03 Thread Latcho
Hi there, Just getting into authoring swf on linux. setup Fedora core 4, eclipse 3.1, latest mtasc, asdt and wine to run the flashplayer 8. I don't get flashout working, gives me an error when I click on a flashout file in eclipse (maybe due my java 1.4 version ?). So I was trying the asdt logg

Re: [Flashcoders] Accessibility

2005-12-03 Thread Hans Wichman
Hi, i think u can find more about it here: http://www.w3.org/TR/WCAG10/ & http://www.accessibility.nl/internet/ebrochure/brochure/contents.htm The table of contents lists priorities, but they refer to the other guidelines. I think it might involve a lot of work if your site is already finishe

[Flashcoders] Accessibility

2005-12-03 Thread Paul Steven
Hi there I have developed a childrens entertainment site in Flash MX 2004 and now the client has just asked whether the site is priority 1&2 accessible Anyone have any idea what this involves and what I need to do to ensure this. Many thanks Paul ___

Re: [Flashcoders] Why didn't I listen in maths class...

2005-12-03 Thread Helen Triolo
x = r * sinA / (1 - sinA) (Math teachers told my daughter yesterday she'd need sin and cos someday so she came home and made me give her three examples of how/why I've used it with flash -- if anyone has any good ones besides eyes following mouse, moving object on a line relative to horizon,

Re: [Flashcoders] can we cancel Up/Downloads of flash.net.FileReference.*

2005-12-03 Thread Michael Stuhr
Ryan Matsikas schrieb: Look harder? fileRef.cancel(); On 11/9/05, Michael Stuhr <[EMAIL PROTECTED]> wrote: the subject says it all. i've looked in the man but didn't find anything ... ouch ... but it seems 3 months to look it up was worth a qeuestion, don't you think? :-) thanks

[Flashcoders] targeting classes in a loaded swf

2005-12-03 Thread Cole Peterson
what is the best oop way to do this: after I init a controller class the controller class loads in a swf. loaded swf initiates it's own class to handle it's ui. now I want to reference public functions and properties in that loaded swf's initiated ui class from the contr