Re: [Flashcoders] Loading library movie clips sequentially? Best way to do this?

2006-11-30 Thread Claus Wahlers
Rasmus wrote: Ok.. But what if you have around 100-200 files, let's say external JPG's. Wouldn't the zip file become huge? The reason I'm asking is, I'm making a photographers portfolio where the idea is to load thumbnails first - then start loading the high-res pictures in the background.

Re: [Flashcoders] Loading library movie clips sequentially? Best way to do this?

2006-11-30 Thread Rasmus
I see your point. Loading the thumbnails in a zip is definetly better than loading them individually.. In my case the thumbnails have to be loaded before the user is able to interact with the site anyway. Still, some kind of advanced background loading is what I'm looking for, but that's

[Flashcoders] setInterval and IE ...

2006-11-30 Thread Stephen Ford
Has anyone ever experienced any problems with using setIntervals in IE, both with window mode of transparent and without any window mode (normal) ? Thanks, Stephen.___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] setInterval and IE ...

2006-11-30 Thread Ben Smeets
Nope, using them all the time, but no problems whatsoever. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: donderdag 30 november 2006 10:00 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] setInterval and IE ... Has anyone

Re: [Flashcoders] LoadVars+php

2006-11-30 Thread Alexander Farber
On 11/20/06, Andrea Maran [EMAIL PROTECTED] wrote: PHP : ip.php ? $ip=$_SERVER['REMOTE_ADDR']; $vars =; $vars = ip_num= . $ip ; echo $vars; ? And don't forget the X-Forwarded-For inserted by some proxies (Squid) Regards Alex -- http://preferans.de

RE: [Flashcoders] setInterval and IE ...

2006-11-30 Thread Sander van Surksum
What kind of problems do you have? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: donderdag 30 november 2006 10:40 To: Flashcoders mailing list Subject: RE: [Flashcoders] setInterval and IE ... Nope, using them all the time, but no

[Flashcoders] RE: setInterval and IE

2006-11-30 Thread Stephen Ford
Using setInterval in a flashmovie that is loaded into an eyeblaster content management system. The movie is an over the page advertisement and apparently causes issues with IE (if using setInterval) because eyeblaster puts the ad onto the web page with a transparent window mode.

Re: [Flashcoders] RE: setInterval and IE

2006-11-30 Thread Mick G
I'm sure I've used setInterval at least a dozen times in eyeblaster OTP/banners and don't recall ever having an issue. As for eyeblaster in general, I'm so glad I don't have to touch that damn thing any more ;) On 11/30/06, Stephen Ford [EMAIL PROTECTED] wrote: Using setInterval in a

[Flashcoders] setRGB question

2006-11-30 Thread dan
Hi guys Im using the setRGB command to change a color of a movieclip to black Now... How do I change it back to its orig color? 10x d dan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-30 Thread R�kos Attila
You already posted this question few days ago and I answered it for you. If you did not understand something in the answer or had problems during putting it to practice, let it know and I'm sure you will get further explanation (from me or from somobody else). Attila

Re: [Flashcoders] setRGB question

2006-11-30 Thread eric dolecki
http://www.organicflash.com/forum/viewtopic.php?t=1034sid=99ae72e3376962eb1f82d908bfb16785 try that link on for size. - eric On 11/30/06, dan [EMAIL PROTECTED] wrote: Hi guys Im using the setRGB command to change a color of a movieclip to black Now... How do I change it back to its orig

Re: [Flashcoders] setRGB question

2006-11-30 Thread eka
Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}) ; EKA+ :) 2006/11/30, dan [EMAIL PROTECTED]: Hi guys Im using the setRGB command to change a color of a

[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 eka
Hello :) 1 - Object watch failed with virtual properties (_x, _y, _width etc).. don't use addProperty and watch method !! In your example you must return the new value in the change method !!! var o:Object = {} ; o.prop = 0 ; var change = function ( id , oldValue, newValue) { trace(id

Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC?

2006-11-30 Thread Leo Burd
- thanks so much for all the feedback provided! I believe now I've collected all (or most) of the pieces that I needed for my little system! As for the sorenson format issue, I believe ffmpeg can take care of that... (hopefully) Best, Leo - Original Message - From: Janis Radins

RE: [Flashcoders] Loading library movie clips sequentially? Best way to do this?

2006-11-30 Thread Merrill, Jason
I just keep my own static Animation class handy, which simplifies the tween and transition classes: import mx.transitions.*; import mx.transitions.easing.*; class com.boa.effects.Animate{ public static function fadeIn(clip:MovieClip, time:Number):Object{ return

Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC?

2006-11-30 Thread Martin Wood-Mitrovski
Leo Burd wrote: - thanks so much for all the feedback provided! I believe now I've collected all (or most) of the pieces that I needed for my little system! As for the sorenson format issue, I believe ffmpeg can take care of that... (hopefully) the video is sorenson, but the audio is

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 eka
Hello :) you can but a good event model use AsBroadcaster or other system to dispatch the events :) In my personnal AS2 OpenSource framework i use a event model compatible with W3C Dom3 event model for example (like AS3 framework) it's more easy to use a event model to dispatch information

Re: [Flashcoders] Loading library movie clips sequentially? Best way to do this?

2006-11-30 Thread Ian Thomas
On 11/30/06, Claus Wahlers [EMAIL PROTECTED] wrote: However, zipping thumbnails has the big advantage that you save a lot of overhead. 200 successive GET requests are no fun. Loading a zip is way faster as you only need to do one request to the server. And with FZip you have access to files

RE: [Flashcoders] How variables when using setInterval ...

2006-11-30 Thread Merrill, Jason
Just keep an array of the intervals and refer to that. Then you only declare the array, and add and subtract the intervals from the array. Plus keeps it all nice and tidy. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL

Re: [Flashcoders] [OT] SCM/Project management tool

2006-11-30 Thread Ian Thomas
On 11/30/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: As for the automation of development and deployment processes: * To deploy the app on the production server, I'm thinking about using Capistrano; * On my development machine, I'm using ANT for the compiling and unit-testing

[Flashcoders] Shared objects and filesize

2006-11-30 Thread Danny Kodicek
I've got a swf that is 4k in size. When I link an object from a shared library and republish, the swf goes up to 140k. What's going on? What is the point of shared libraries if they don't keep the file size down? Danny ___

Re: [Flashcoders] Shared objects and filesize

2006-11-30 Thread Ian Thomas
Hi Danny, Are you sure that all the symbols that the shared library object uses are also set to be shared? i.e. If the top-level symbol (set as runtime shared in the Linkage dialog) contains/references lots of other library symbols in the shared library, unless _they too_ are set to be runtime

RE: [Flashcoders] Shared objects and filesize

2006-11-30 Thread Danny Kodicek
Hi Danny, Are you sure that all the symbols that the shared library object uses are also set to be shared? i.e. If the top-level symbol (set as runtime shared in the Linkage dialog) contains/references lots of other library symbols in the shared library, unless _they too_ are set to

Re: [Flashcoders] Shared objects and filesize

2006-11-30 Thread Ian Thomas
How weird... I'll have to check my own setup, as I honestly haven't checked to see whether my .swfs are bloated (using shared libs for convenience rather than file-size-saving). I discovered another oddity the other day (which I assume has been previously documented, but was new to me...) If

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

2006-11-30 Thread Matthias Dittgen
Hello eka, perhaps I can cotton up with (btw. is this good english?) AsBroadcaster, since it is availablefrom flash version 6 and above. :-) But I can't find documentations about the set/get syntax you used. But it works just perfect. And I guess this set and get keywords are available within

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

2006-11-30 Thread R�kos Attila
MD perhaps I can cotton up with (btw. is this good english?) MD AsBroadcaster, since it is availablefrom flash version 6 and above. AsBroadcaster is quite obsolete, why don't use the event dispatching mechanism introduced in MX 2004 (mx.events.EventDispatcher)? It handles separate callbacks (see

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

2006-11-30 Thread eka
hello :) sorry for my english ... i speak french and the english is difficult for me :( if you want try my openSource framework read this page : http://vegas.riaforge.org/ 1 - Download with a SVN client the subversion of the project or download the zip in the project page( SVN is better to use

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

2006-11-30 Thread eka
Hello :) EventDispatcher isn't native in the AS1/AS2 framework, AsBroadcaster is a speed solution to implement an event model in your code. The EventDispatcher in AS3 is compatible with the W3C DOM3 event model with a custom implementation of all listeners... For me in AS2 you can 1 - use

Re: [Flashcoders] LoadVars.send vs. LoadVars.sendAndLoad

2006-11-30 Thread GregoryN
Hello, How about this hack: use .send and open new windows into hidden IFRAME? You can do it using 2nd target parameter of LoadVars.send(). -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services.

RE: [Flashcoders] Loading library movie clips sequentially?

2006-11-30 Thread Jack Doyle
I ran into the same problem with the popular tweening engines like Fuse kit. Awesome features, but I just couldn't afford the overhead bloat, so I built TweenLite which adds only about 2k to your file and has all the essentials. You can build in a delay for any tween which allows you to sequence

RE: [Flashcoders] setInterval and IE ...

2006-11-30 Thread Силин В . Е .
Hi! I recently found what actions made by setInterval's functions are occurs slowly in a swf that embedded on a page (browsing in IE) rather in testing player. Best regards, Vadim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sander van

Re: [Flashcoders] setRGB question

2006-11-30 Thread Mick G
Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100,

Re: [Flashcoders] setRGB question

2006-11-30 Thread Mick G
Ooops I think that syntax is wrong :) I was thinking of the tweening classes colorTo :) On 11/30/06, Mick G [EMAIL PROTECTED] wrote: Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use

Re: [Flashcoders] [OT] SCM/Project management tool

2006-11-30 Thread Josh Santangelo
...and has the most unusable UI/workflow of any bug-tracking software I've ever used. Got no love for Mantis. TestTrack Pro is great if you're Windows-centric and willing to spend some money. http://www.seapine.com/ttpro.html In addition to web access, there's a Windows desktop client,

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: [Flashcoders] Loading library movie clips sequentially? Best way to do this?

2006-11-30 Thread Micky Hulse
Merrill, Jason wrote: I just keep my own static Animation class handy, which simplifies the tween and transition classes: ...snip... Instead of a static class like above, you could also write one that extends movie clip and adds animation methods. Then associate your movie clip with that class.

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

2006-11-30 Thread R�kos Attila
MD So I was on the right track and it was only a syntactical AS1-to-AS2 MD question. ;-) Well, actually the whole AS2 syntax is a shorthand for AS1 syntax :) In fact the AS2 compiler is a preprocessor only, which creates AS1 source from the AS2 one and this AS1 source will be compiled to

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

2006-11-30 Thread eka
Hello :) To test mx.events.EventDispatcher, GDispatcher, Vegas... the best solution is to test all model :) In big project with FrontController, MVC etc.. my framework is very interesting... if you want just create a little communication between 2 objects AsBroadcaster is very good :) In Vegas

[Flashcoders] getting 5 random numbers out of 0-16 no dups

2006-11-30 Thread Corban Baxter
Quick question. Whats the fastest way to get 5 random numbers out of a list of X number of numbers without having any duplicates? Kinda like the script below excpet it graps duplicates... var loopNum:Number = 16; function getRandomNums(){ for(i=0; i5; i++){ lastNum = newNum;

Re: [Flashcoders] getting 5 random numbers out of 0-16 no dups

2006-11-30 Thread Andy Johnston
http://www.actionscript.org/forums/showthread.php3?s=threadid=28769 Quick question. Whats the fastest way to get 5 random numbers out of a list of X number of numbers without having any duplicates? Kinda like the script below excpet it graps duplicates... var loopNum:Number = 16; function

[Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread Andrea Hendel
hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i need help!!! there is an xml gallery w/thumbnail tutorial on kirupia which i followed and altered.

[Flashcoders] netconnection debugger in osX intel?

2006-11-30 Thread Digital Rust
Do any other os X users experience trouble when using the netconnection debugger with amfphp in osX? I'm running Flash 8 and 10.4.8. It works when I first open Flash and make a few calls. Then stops working until I restart or reinstall the remoting components and restart Flash. Someone's

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread Andy Johnston
reverse the order of your xml?? hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i need help!!! there is an xml gallery w/thumbnail tutorial on

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread eric dolecki
load into an array and then array.reverse(); ? On 11/30/06, Andrea Hendel [EMAIL PROTECTED] wrote: hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i

Re: [Flashcoders] getting 5 random numbers out of 0-16 no dups

2006-11-30 Thread Odie Bracy
This works for me: for(i=0; i5; i++){ seq[i]=99; do{ mflg=0; x=Math.floor(Math.random()*16); for(j=0; j=i; j++){ if(x==seq[j]) mflg=1; } } while(mflg==1);

[Flashcoders] Overridden methods not called - AS2 bug?

2006-11-30 Thread Scott Whittaker
Hi guys, I'm having a curious and somewhat annoying problem using overridden methods in a subclass. What I am trying to do is extend the XML class into a new XMLDocument class and the XMLNode class into a DOMNode class in order to add some useful extra methods such as getElementByID,

Re: [Flashcoders] getting 5 random numbers out of 0-16 no dups

2006-11-30 Thread Corban Baxter
thanks guys. I appreciate it. On 11/30/06, Odie Bracy [EMAIL PROTECTED] wrote: This works for me: for(i=0; i5; i++){ seq[i]=99; do{ mflg=0; x=Math.floor(Math.random()*16); for(j=0; j=i; j++){

[Flashcoders] RE: setInterval and IE

2006-11-30 Thread Stephen Ford
Thanks Mick G.___ 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

[Flashcoders] Re: Overridden methods not called - AS2 bug?

2006-11-30 Thread Scott Whittaker
Ah, never mind - I've figured it out. The method which created a new DOMNode from an XMLNode used a for...in loop to copy properties from the XMLNode to the DOMNode. This was done to prevent compiler errors from assigning Flash 8 properties when compiling for Flash 7, and to keep it open for

[Flashcoders] Component child of MovieClip?

2006-11-30 Thread Jonathan Berry
Hello all, I have a really basic question as I am still learning a lot of this. I have dynamically created children of classes that inherit from UIObject, but wonder if it is proper/correct practice to create children of a movieClip that are components. My specific problem is not dynamically

[Flashcoders] onFrameReached {do something}

2006-11-30 Thread Wendy Richardson
Hi All, I'm looking for some suggestions for the best way to know when a certain frame has been reached or plays. Barring checking for that frame-by-frame on each onEnterFrame, is there a way to listen for a swf reaching or playing a certain frame? Some event to listen for? Code will be