Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Claus Wahlers
Right now there's several things that could be done with this that I can think of. Like Claus said, a tool could be created that takes regular zip files and adds checksum info without damaging compatibility. I already have a class ready that correctly parses a ZIP archive.. Stay tuned! Cheer

Re: [Flashcoders] AS2 - (this) vs "this"

2006-08-10 Thread Nicolas Cannasse
This may be a simple question, but I just came across it and found it strange... Is there a reason to wrap "this" in parentheses? (this).foo vs. this.foo Thanks, -Danro It makes only sense if you're a Lisp fan :) Nicolas ___ Flashcoders@chattyfig

[Flashcoders] AS2 - (this) vs "this"

2006-08-10 Thread Dan Rogers
This may be a simple question, but I just came across it and found it strange... Is there a reason to wrap "this" in parentheses? (this).foo vs. this.foo Thanks, -Danro ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or s

RE: [Flashcoders] need help in drawing arrow

2006-08-10 Thread Ravi Marella
Really sorry:( The code is intended for drawing elliptical orbits not arrows...sorry again :( :( best regards RaviKiran Marella -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Marella Sent: Friday, August 11, 2006 11:36 AM To: Flashcoders mail

RE: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Ravi Marella
The following code worked for me perfectly: onClipEvent (load) { speed = 5; radius = 100; xcenter = 250; ycent

RE: [Flashcoders] need help in drawing arrow

2006-08-10 Thread Ravi Marella
The following code worked for me perfectly: onClipEvent (load) { speed = 5; radius = 100; xcenter = 250; ycent

[Flashcoders] [Ann-FlashDev-Syd] 14th Aug Sydney Flash Platform Developers Group study group

2006-08-10 Thread Chris Velevitch
The next meeting will be 14th August and we'll be continuing our study of MXML with Dynamically Repeating Controls and Containers and Representing Data (see http://www.flashdev.org.au/program for topic references). At the meeting, the moderator will lead discussion and with questions about the to

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
Okay, that last example wasn't very good, I've always got an Apache server running on my computer, but that's probably just me. There's a better example set up here... http://tinyurl.com/sywqc Also, it seems Flash isn't picky about zlib compression levels or anything else, as long as the file is

RE: [Flashcoders] need help in drawing arrow

2006-08-10 Thread Ravi Marella
I donno if itz really helpful 4 u but this link contains a package which has different tools that include a arrow tool also... http://www.adobe.com/cfusion/exchange/index.cfm?view=sn110#loc=en_us&vie w=sn106&viewName=Exchange%20Search%20Details&authorid=17863263&page=0&sc rollPos=0&subcatid=0&snid=

RE: [Flashcoders] Flash Extension Package

2006-08-10 Thread Ravi Marella
Sorry guys the last URL..i donno wat the problem is..yahoo has closed my site...please check this link... In that on the top frame, therez a link called "RotatingMenu"...its the zip file... http://www.geocities.com/flywithoutwings_4350/ As u can see in the bottom frame I've used the same component

Re: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-10 Thread Darren Cook
> I've just downloaded the Adobe Flash 9 Public alpha and used it to compile > one of my old kiosk > projects. As far as I can see it has none of memory leak issues which > affected Flash 8 and stopped > it being suitable for kiosks. This is great This is very interesting. Is it just a matter of

RE: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Darren Bowers
Cheers Jeroen - works great! -Original Message- From: Jeroen Beckers [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 August 2006 11:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Reporting load success from a delegate Oh, sorry, i switched 2 lines, the explanation is about

Re: [Flashcoders] DK - redrawing interface elements after destruction

2006-08-10 Thread dnk
Anthony Lee wrote: At any rate - when i create my thumbnails, all works fine the first time, but after they have been wiped out, and I recall my method to re-draw the thumbnails, for some reason my buttons are not working. Now I did a bunch of tracing tests to see if: Hi dnk, This may not b

Re: *** Spam *** Re: [Flashcoders] New Flash based website

2006-08-10 Thread Aaron Buchanan
Ditto- thx I wasn't using the style method before and was having trouble with safari, HG's version works well :) http://build.lab-media.com/mpvs/ Cheers all! Aaron -- Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368 On 8/10/06 5:37 PM, "Anthony Lee" <[EMAIL PROTECTED]> wrote: >

Re: [Flashcoders] DK - redrawing interface elements after destruction

2006-08-10 Thread Anthony Lee
At any rate - when i create my thumbnails, all works fine the first time, but after they have been wiped out, and I recall my method to re-draw the thumbnails, for some reason my buttons are not working. Now I did a bunch of tracing tests to see if: Hi dnk, This may not be a proper answer to

Re: [Flashcoders] New Flash based website

2006-08-10 Thread Anthony Lee
Good explanation of how it works. The code is commented. http://hossgifford.com/downloads.htm Thanks for that Ryan. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mail

Re: [Flashcoders] New Flash based website

2006-08-10 Thread Anthony Lee
Hi Aaron, There is an issue that occurs when users with smaller monitors (13" macbooks) accessing 100% flash content. Say you do not want to scale the content down to 13". Agreed. I overcame this within Flash. It's just a mater of wrapping Stage in a class that has min values set. In my applica

Re: [Flashcoders] flash and sessions

2006-08-10 Thread Anthony Lee
Matt, hi tony. thanks for the response. i understand i can do it that way, but can i get the jsession id from the response header? Umm... because? If it's a session it's static to the page, so you only have to write it once. ie. The simple way would seem to work best in this case. If you're l

Re: [Flashcoders] LoadMovie library

2006-08-10 Thread Anthony Lee
Bart, I think I will be forced to use the bitmap class of flash 8 to take a bitmap of the imported assets and copy thos bitmaps on to the stage :-s Serious monkey business ;) Wouldn't it be easier to just import either the videos or the masks as separate files rather than library items? T

RE: [Flashcoders] New Flash based website

2006-08-10 Thread Bjorn Schultheiss
Spot on! I read the code, beautiful example... Of course flex2 and as3 changes this a bit :) Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter Sent: Friday, 11 August 2006

RE: [Flashcoders] print question

2006-08-10 Thread Steven Sacks | BLITZ
Especially a Flash guru ;) BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Chris Hill > Sent: Thursday, August 10, 2006 4:32 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] print

Re: [Flashcoders] print question

2006-08-10 Thread Chris Hill
Not to sound like a jerk, but you really should check google before posting such beginner questions: http://www.devx.com/webdev/Article/27318 Peace Chris Flash guru wrote: Hey, Can anyone tell me if it's possible to print a swf? this is what im thinking var myPrinter = new Printer(); myPr

[Flashcoders] print question

2006-08-10 Thread Flash guru
Hey, Can anyone tell me if it's possible to print a swf? this is what im thinking var myPrinter = new Printer(); myPrinter.printFile("/swfs/plan1.swf"); Side questions? Is something like that in existance? Can you do this through the builtin classes? thanks in advance __

Re: [Flashcoders] Flash Extension Package

2006-08-10 Thread Jeroen Beckers
The .zip isn't working... Ravi Marella wrote: > Hi list, > I've got a problem while packaging a component I've developed..it's a > rotating menu component which will display any number of menu item > around a circle, the fla is working properly but when I package it to > .mxp the menu is not rotat

RE: [Flashcoders] Tooltip rollovers for textinput..help plss

2006-08-10 Thread Subba Chalamalasetty
Hi Chuck, Thank you very much for giving this idea.Even our designer had the same thought and we got it working now.We are having a catch-all movie clip and textinput on them and all the small movie clips(for textinputs) are behind this big movie clip...and it is working grea.!!! I

[Flashcoders] DK - redrawing interface elements after destruction

2006-08-10 Thread dnk
Hi there - I have two methods in a class - one that creates a bunch of thumbnails, and one that wipes them out to be redrawn again at a later time (due to requiring a different number of thumbnails). At any rate - when i create my thumbnails, all works fine the first time, but after they have

RE: [Flashcoders] RE: WSIWYG HTML text editor in Flash

2006-08-10 Thread Merrill, Jason
>>maybe this post could be TRIMMED a bit girls? We girls are sorry Mom. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
Bingo! I've put together a hack that shows this is possible. I tried doing this with Python, but then I noticed php has the same features and I'm no good with Python. Here's how to do it. Make a php file that uses "gzcompress", something like this... header('Content-Type: application/octet-strea

RE: [Flashcoders] Tooltip rollovers for textinput..help plss

2006-08-10 Thread Chuck.Lewis
Would creating a catch-all full screen invisible MC work for you? Similar to the invisible clip you are using now, just have the full screen clip on a lower layer catch the onRollOver and destroy the tooltip. Just a thought. -- Chuck ___ Flashcoders@cha

RE: [Flashcoders] Tooltip rollovers for textinput..help plss

2006-08-10 Thread Subba Chalamalasetty
Hi chris, I got an idea and when I implemented it worked very good(except for small bugs). I added a movieclip(invisible) behind the textinput and and used rollover and rollout by using the coordinates of the movie clip. It is working good as I could see the rollover and enter the data and also

RE: [Flashcoders] New Flash based website

2006-08-10 Thread Ryan Potter
Good explanation of how it works. The code is commented. http://hossgifford.com/downloads.htm Also email me off-list and I can give you a proof of concept I did based on this that is really simple and easy to figure out. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Flashcoders] JOB: ActionScript/Flash Developer needed in Denver

2006-08-10 Thread Susan Hausman
JBCharles is working with a client who has asked for assistance in having us recruit for a Senior Software Engineer with ActionScript and Flash experience for a contract-to-hire position. I'm having a tough time networking with the right type of people in this area (I'm finding more Web Developers)

Re: [Flashcoders] Madobe certified professional - still recommend?

2006-08-10 Thread jcanistrum
I´ve got one .but it didn´t provide any special upgrade to me, but it sounds good when you use it as a reference to someone else, but I have spend some time explaining that I´m not a designer -) 2006/8/10, Kevin Newman <[EMAIL PROTECTED]>: I was also interesting in hearing some responses to

RE: [Flashcoders] DK - destroying objects from a classusing arraynotation

2006-08-10 Thread Andy Stone
removeMovieClip (MovieClip.removeMovieClip method) Removes a movie clip instance created with duplicateMovieClip(), MovieClip.duplicateMovieClip(), MovieClip.createEmptyMovieClip(), or MovieClip.attachMovie(). -A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Claus Wahlers
ryanm wrote: To me, the most useful thing would be a a standardized implementation, so that it could be compressed at runtime or in advance, so that it can be used with packages like you were describing, or individual (possibly dynamic) files compressed by the server. Something like that will

Re: [Flashcoders] Invalid gateway URL

2006-08-10 Thread Todd Hivnor
In AS2.0, the Remotinng Connection object has an "onStatus" method which can be overridden. If the server is unreachable, the onStatus method will get called. See http://sourceforge.net/mailarchive/message.php?msg_id=15173267 David Rorex <[EMAIL PROTECTED]> wrote: Perhaps when your compent lo

[Flashcoders] (no subject)

2006-08-10 Thread marius ferraton
je valide _ Découvrez Windows Live Messenger : le futur de MSN Messenger ! www.windowslivemessenger.fr ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

[Flashcoders] (no subject)

2006-08-10 Thread marius ferraton
je ve minscrire a chapatiz _ MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre téléphone portable ! http://www.msn.fr/hotmailimode/ ___ Flashcoders@chattyfig.figleaf.

Re: [Flashcoders] New Flash based website

2006-08-10 Thread Aaron Buchanan
I'm not sure, I actually just found this solution through playing around with some ideas. Which is why I haven't been able to get it to work for safari yet. But have tested modern IE, FF, on osx and xp to work ok. Luckily the adverse of this not working will still allow users to interact with the

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread ryanm
Personally the ideal situation for me would be a customized version of something like gzip, only one that provided the proper checksums that Flash wants. Expecting the server to compress this might be too much, all i had in mind were pre-compressed files. Choosing whether or not to compress them i

Re: [Flashcoders] New Flash based website

2006-08-10 Thread dnk
Aaron Buchanan wrote: Hi Bjorn, There is an issue that occurs when users with smaller monitors (13" macbooks) accessing 100% flash content. Say you do not want to scale the content down to 13". You also do not want to write a flash scroller, because the browser has excellent support and performa

Re: *** Spam *** Re: [Flashcoders] New Flash based website

2006-08-10 Thread jcanistrum
I have this old one from Jason M. Batchelor if you google it perhaps you find something newer function writeFlash() { // Jason M. Batchelor // [EMAIL PROTECTED] // Determine what client we're using... NS4=(document.layers); // The only reason we have to do th

[Flashcoders] JSFL Font embedding

2006-08-10 Thread Emanuele Canavesi
Hi guys, i hope you are on vacations but if you are reading this you are not so... what i want to do with jsfl is look into my fla and automatically embed the font used in textfields (static text for kerning/ printing/selection reasons). the problem is i can't figure out how to replicate the featu

Re: [Flashcoders] DK - destroying objects from a class using arraynotation

2006-08-10 Thread dnk
Arul Prasad M L wrote: If its mx.core.UIObject's destroyObject that you are talking about, destroyObject takes the instanceName of the object, not the instance reference. you'll just have to pass the instance name as a string. I did in fact realize that this morning once I read up more on th

Re: [Flashcoders] New Flash based website

2006-08-10 Thread Aaron Buchanan
Hi Bjorn, There is an issue that occurs when users with smaller monitors (13" macbooks) accessing 100% flash content. Say you do not want to scale the content down to 13". You also do not want to write a flash scroller, because the browser has excellent support and performance for this, and Flash

Re: *** Spam *** Re: [Flashcoders] New Flash based website

2006-08-10 Thread Aaron Buchanan
Hi Tony, I am using it on a site I am doing now, http://build.lab-media.com/mpvs Cheers! Aaron On 8/9/06 9:26 PM, "Anthony Lee" <[EMAIL PROTECTED]> wrote: > >> use javascript to resize the swf's object >> height attribute, so that when your user opens a section that will increase >> your stag

Re: [Flashcoders] Madobe certified professional - still recommend?

2006-08-10 Thread Kevin Newman
I was also interesting in hearing some responses to this question, or even if Adobe/Macromedia certification is useful in general. Anyone? Thanks, Kevin N. André Goliath wrote: Hello List, I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer, but I wonder if this qualif

Re: [Flashcoders] Tooltip rollovers for textinput..help plss

2006-08-10 Thread Chris Hill
Yeah, I tried a lot of methods to attempt to get the tooltip to disappear and ran into just too many problems. I'm sure there's a way tho using some ridiculous workaround. If you find the answer, please post it! And, perhaps I should've mentioned this earlier, but I do have a ToolTip class av

[Flashcoders] Form validation, stuck with old code for this old subject

2006-08-10 Thread elibol
Hi guys, I searched the archives for some code but it's all outdated, like people appending functions for String.prototype and such. I was wondering if there is any code as2 that validates form fields? Thank you, M. ___ Flashcoders@chattyfig.figleaf.

Re: [Flashcoders] HTML in XML

2006-08-10 Thread Geoff Stearns
this advice is all crazy talk. the proper way to do it is to use CDATA tags. On Aug 9, 2006, at 12:04 PM, Ryan Potter wrote: Another way that works pretty well is to do a join on the child nodes. So your trace would look like this: trace(newsNode.childNodes[i].childNodes.join("")); As lon

Re: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Jeroen Beckers
Oh, sorry, i switched 2 lines, the explanation is about the .target property, not the .success property. Jeroen Beckers wrote: > You can use the EventDispatcher. > > import mx.utils.Delegate; > //import the EventDispatcher class > import mx.events.EventDispatcher; > class myClass > { > > pri

Re: [Flashcoders] DK - destroying objects from a class using arraynotation

2006-08-10 Thread Arul Prasad M L
If its mx.core.UIObject's destroyObject that you are talking about, destroyObject takes the instanceName of the object, not the instance reference. you'll just have to pass the instance name as a string. So, your code should look somethng like: function killElements() { for (var i:Number = 0; i

[Flashcoders] need help in drawing arrow

2006-08-10 Thread Rutul Patel
Hi people, anybody know how to write AS of drawing arrow. if anybody has can anybody tell me how?. thanks Rutul Patel ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/li

Re: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Jeroen Beckers
You can use the EventDispatcher. import mx.utils.Delegate; //import the EventDispatcher class import mx.events.EventDispatcher; class myClass { private var myxml:XML; //declare the functions private var dispatchEvent:Function; public var addEventListener:Function; public v

Re: [Flashcoders] DK - destroying objects from a class using arraynotation

2006-08-10 Thread dnk
Andy Stone wrote: Have you tried... this._targetMc.destroyObject(eval("slidemenu.theThumb" + i)); Sometimes I find eval works when [] doesn't. -Andy I have not tried that - I will give it a go in a few hours. Thanks! d ___ Flashcoders@chatty

AW: [Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread Peter Oliver Geller
Super! That was the function i´m searching for!!! Never used the a split.join combo before :] Thanks :: Peter Oliver Geller virtual effects artist interactive design & development Ricarda-Huch-Str. 7 50858 Cologne 02234 - 99 52 63 phone 0163 -

RE: [Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread André Goliath
Are you seeing the "\r" in the text field? I´ve never worked with amfphp, but maybe try to re-escape the string such as input_str = input_str.split("\\r").join("\r"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Oliver Geller Sent: Thursday, A

AW: [Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread Peter Oliver Geller
That´s how my trace look like onGetRecordsResult Beck´s\rFrisch. Pur. Beck´s. Beck´s\nFrisch. Pur. Beck´s. Normally you don´t see the characters only a linebreak like this Beck´s Frisch. Pur. Beck´s. Hmmm? :: Peter Oliver Geller virtual effects

[Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Darren Bowers
Wat is the easiest way to report back success or failure at the time the class (myClass) is instantiated? Since doSomething() has taken control of the load handling, I cant pass a value back via the constructor function of load success. Any help would be appreciated. import mx.utils.Delegate; cl

AW: [Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread Peter Oliver Geller
I tried it before, but doesn´t work also. Gave me the same ouptut like the \n thing! Becks ist nur zum testen da :] Cheers Pete :: Peter Oliver Geller virtual effects artist interactive design & development Ricarda-Huch-Str. 7 50858 Cologne 0

RE: [Flashcoders] Tooltip rollovers for textinput..help plss

2006-08-10 Thread Subba Chalamalasetty
Hey chris, Thank you very much for your help and time.I have good news about this program. focusIn and focusOut events worked and now as long as I am not using onRollOver, onROllOut, onPress, onRelease the program is working fine. But there is one problem when I use focus in and out..i.e when I cl

RE: [Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread André Goliath
try \r instead of \n Normalerweise unterstütze ich ja keine Bierwerbung ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Oliver Geller Sent: Thursday, August 10, 2006 4:33 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Problem with escap

[Flashcoders] Web Services Classes

2006-08-10 Thread Patrick Jean
Hello. I don't think it's possible, but just in case I'm wrong, I'm taking a chance and posting it. I have a Web Service that is used as an interface to an API. Some of the methods of the web service requires as parameters some classes defined as public in the web service. I doubt it's doab

[Flashcoders] Problem with escape sequenz in AMFPHP

2006-08-10 Thread Peter Oliver Geller
Hi list, i want a linebreak in my flashapplication but it doesn´t work. In my Database i have the following string "Back´s\n.Pure frische. bla bla bla", i have the escape sequenz (\n) in there to force a linebreak in my flash textfield, but it doesn´t work. I get the data via amfphp newest v

Re: [Flashcoders] flash and sessions

2006-08-10 Thread Matthew Ganz
hi tony. thanks for the response. i understand i can do it that way, but can i get the jsession id from the response header? thanks. -- matt. - Original Message - From: "Anthony Lee" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, August 10, 2006 12:33 AM Subject: R

[Flashcoders] RE: WSIWYG HTML text editor in Flash

2006-08-10 Thread dave matthews
maybe this post could be TRIMMED a bit girls? -- Message: 20 Date: Thu, 10 Aug 2006 09:58:44 +0100 From: "Giles Taylor" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion To: "Flashcoders mailing list" Messag

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Max
Zlib (Flash) uses an ADLER32 checksum, see RFC 1950 [1], whereas zip uses CRC-32 [2]. The checksum is calculated over the uncompressed file so imho it's impossible to uncompress a file in a 3rd party created zip archive (you don't have the ADLER32 checksum that Flash needs - the dog bites its tail

RE: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Andy Stone
You can fake in with _xscale/_yscale changes... var inc = 3; _root.onEnterFrame = function() { vStar_Object._x = (Math.cos((vStar_Object.circlePos/180)*Math.PI))*160+vStar_Object.centerX; vStar_Object._y = (Math.sin((vStar_Object.circlePos/180)*Math.PI))*160+vStar_Object.centerY;

Re: [Flashcoders] Movement in an oval shape

2006-08-10 Thread Jim Berkey
Check out the '3d Carousels' tutorials http://www.gotoandlearn.com/ jimbo *** REPLY SEPARATOR *** On 8/10/2006 at 2:05 PM Paul Steven wrote: >I have written some code to move some stars in a circle. > >This is a snippet of the code: > >vStar_Object._x = (Math.cos((vStar_Object.

[Flashcoders] Movement in an oval shape

2006-08-10 Thread Paul Steven
I have written some code to move some stars in a circle. This is a snippet of the code: vStar_Object._x = (Math.cos((vStar_Object.circlePos/180)*Math.PI))*160 + vStar_Object.centerX; vStar_Object._y = (Math.sin((vStar_Object.circlePos/180)*Math.PI))*160 + vStar_Obj

RE: [Flashcoders] DK - destroying objects from a class using arraynotation

2006-08-10 Thread Andy Stone
Have you tried... this._targetMc.destroyObject(eval("slidemenu.theThumb" + i)); Sometimes I find eval works when [] doesn't. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Thursday, August 10, 2006 3:07 AM To: Flashcoders mailing lis

RE: [Flashcoders] Opening Flash 8 breaks pc sound

2006-08-10 Thread Paul Steven
Not sure why but uninstalling iTunes seems to have fixed it for now. I did this because I read about a problem on macs with iTunes, and this is the only app I have installed since the sound was working properly Hmm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

Re: [Flashcoders] Prefixing property names with underscore - conventions?

2006-08-10 Thread Adrian Park
Thanks Claus and Johannes - I can see some benefit in that. A. On 8/10/06, Johannes Nel <[EMAIL PROTECTED]> wrote: tend to use to underscrores to indicate private one to indicate protected On 8/10/06, Claus Wahlers <[EMAIL PROTECTED]> wrote: > > > > I've noticed many class authors prefix prop

[Flashcoders] Opening Flash 8 breaks pc sound

2006-08-10 Thread Paul Steven
Experiencing a weird problem with Flash 8 PC. When I open Flash 8, it appears to stop all sound working on my PC such that when I close Flash 8, no audio works in any app on my PC. Anyone else experienced this problem and have any fixes? Thanks Paul

Re: [Flashcoders] Prefixing property names with underscore - conventions?

2006-08-10 Thread Ian Thomas
We tend to use them to specify private properties. class MyClass { private var _something1:Number; public var something2:Number; } Partly because it then makes replacing a public property with a getter/setter pair easy: class MyClass { private var _something1:Number; private var _something2:

RE: [Flashcoders] Set Focus with JAWS running

2006-08-10 Thread Michael A. Jordan
There is a helpful, and timely, post on the Adobe Accessibility blog regarding this issue: http://blogs.adobe.com/accessibility/2006/08/moving_screen_reader_focus_in.h tml -- Michael -Original Message- From: vivek [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 9:35 AM To: flashc

Re: [Flashcoders] Prefixing property names with underscore - conventions?

2006-08-10 Thread Johannes Nel
tend to use to underscrores to indicate private one to indicate protected On 8/10/06, Claus Wahlers <[EMAIL PROTECTED]> wrote: > I've noticed many class authors prefix property names with an > underscore, or 2 underscores or none at all. It's often used in concert with getter/setters to prev

Re: [Flashcoders] Prefixing property names with underscore - conventions?

2006-08-10 Thread Claus Wahlers
I've noticed many class authors prefix property names with an underscore, or 2 underscores or none at all. It's often used in concert with getter/setters to prevent name collisions: private var _myProperty:String; public function set myProperty(value:String):Void { _myProperty = value; }

[Flashcoders] Flash Extension Package

2006-08-10 Thread Ravi Marella
Hi list, I've got a problem while packaging a component I've developed..it's a rotating menu component which will display any number of menu item around a circle, the fla is working properly but when I package it to .mxp the menu is not rotating and also the component parameters are not getting d

[Flashcoders] Prefixing property names with underscore - conventions?

2006-08-10 Thread Adrian Park
I've googled for some enlightenment on this but haven't really found many answers... I've noticed many class authors prefix property names with an underscore, or 2 underscores or none at all. I often see all three of these prefix 'styles' in one class. I haven't been able to figure out what the c

Re: [Flashcoders] crossdomain

2006-08-10 Thread Kenneth Kawamoto
On 8/9/06, jcanistrum http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>> wrote: / I´m reading but I fell I´m going to have problems since I´d like to have and />/ app running as an .exe in the desktop loading these banners inside and the />/ way it was shown there the settings would hav

RE: [Flashcoders] LoadMovie library

2006-08-10 Thread Bart Albrecht
I think I will be forced to use the bitmap class of flash 8 to take a bitmap of the imported assets and copy thos bitmaps on to the stage :-s This has 2 big disadvantages: - processor overkill, first load a movieclip into a container, take a bitmap copy of that movieclip, create new movieclip, put

Re: [Flashcoders] LoadMovie library

2006-08-10 Thread Anthony Lee
I want this because I want to separate code from viewing assets, and import different templates. I feel your pain Bart. Unfortunately it's a no can do: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=1519.html Do a

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-10 Thread Giles Taylor
I did it by getting the index in the textField, as you described, then looping through every character in the html and counting the characters that are not in tags. When (number of characters not in tags) == (the index in the textfield) then you have your index in the html. Mmm, nice! ;)

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread Claus Wahlers
ryanm wrote: Imagine compressing XML files to a tiny fraction of their original size and decompressing them within flash! No need, you can do this now. If you gzip a file and send it via post response (sendAndLoad), the browser will decompress it for you automatically A possible use case:

Re: [Flashcoders] Uncompress a gzipped file

2006-08-10 Thread ryanm
Imagine compressing XML files to a tiny fraction of their original size and decompressing them within flash! No need, you can do this now. If you gzip a file and send it via post response (sendAndLoad), the browser will decompress it for you automatically (as long as the header says it's com

RE: [Flashcoders] LoadMovie library

2006-08-10 Thread Bart Albrecht
Tony, > You just have to access them from the scope they where born to. I can access them indeed in the scope where they are created. But the problem is that I can't add other assets (movieclips) to that scope. I want this because I want to separate code from viewing assets, and import different

[Flashcoders] DK - destroying objects from a class using array notation

2006-08-10 Thread dnk
Hi there! I have a class in which a few objects are created from my library (loader component instances and a button instance). They were created sequenciually (IE hit0, hit1, hit2, etc) At any rate - I need to destroy them abd then recreate them. I am having some issues finding the proper synta