[Flashcoders] Detect URL of Iframe

2010-02-04 Thread Paul Steven
I am hosting a game for a client however they are displaying it on their site in an iFrame. The game is also available for other sites to embed the swf. I would like to change a link within the game based on whether it is being played from the clients site or from another site. The game is

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread tom rhodes
swfaddress SEO solution works for me very well, i did a flash news site for a client and searching for headlines or article text came up in google perfectly. it's php serving up either a version of the site for the web crawler/non flash user or the flash if you've got it... On 4 February 2010

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread tom rhodes
ah forgot to mention to use mod_rewrite and have all the links in your non flash version be without the #... On 4 February 2010 11:42, tom rhodes tom.rho...@gmail.com wrote: swfaddress SEO solution works for me very well, i did a flash news site for a client and searching for headlines or

[Flashcoders] Filters in flash 8

2010-02-04 Thread Sumeet Kumar
Hi All, Is there any way by which we can achieve following filters in flash 8. Noise Pixelate Sharp Water Metallic Neon Any help in this regard will be great help. Thanks in Advance Regards Sumeet Kumar ___ Flashcoders mailing list

[Flashcoders] How to use Flex Builder's profiler???

2010-02-04 Thread W.R. de Boer
Hello, I have been working with FB3 Profiler the whole week but I am having some strange issues with it. If I am making a simple SWF with a document class where I call a method after 10 seconds which should dispose all the creating movieclip at startup. I have the issue that the reference

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Sumeet Kumar wrote: Hi All, Is there any way by which we can achieve following filters in flash 8. Noise Pixelate Sharp Water Metallic Neon Noise is possible with BitmapData, Pixelate is done with drawing to BitmapData and upscaling the bitmap. Sharp is done with one of the more

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Glen Pike
You could simulate water with a DisplacementFilter effect that uses Perlin noise. Metallic: - not sure that's more of a reflection type effect that you could do with your graphical components. Henrik Andersson wrote: Sumeet Kumar wrote: Hi All, Is there any way by which we can achieve

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Sumeet Kumar
Thanks for your reply Are there any classes available on the net for these filters? I have searched a lot but not able to find any classes related to AS2 and flash. Can you please point me to some links. Thanks again. Regards Sumeet Kumar - Original Message - From: Henrik Andersson

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Glen Pike
Look in the AS2 documentation in Flash or on the Adobe site: Bitmap Filter class http://help.adobe.com/en_US/AS2LCR/Flash_10.0/0808.html Then all filters like GlowFilter, etc are a subset of these. MovieClip.filters is an array property that you can set at runtime with constructed filters

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: Metallic: - not sure that's more of a reflection type effect that you could do with your graphical components. Most people are happy with gradients for metal textures, but indeed you need a more complicated system for true reflections.

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Piers Cowburn
You can do a lot of things, including sharpen, with the ConvulsionFilter: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html Use this kind of matrix: [0, -1, 0 -1, 5, -1 0, -1, 0] Larger matrices and different values will give a

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Henrik Andersson
Piers Cowburn wrote: You can do a lot of things, including sharpen, with the ConvulsionFilter: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html Use this kind of matrix: [0, -1, 0 -1, 5, -1 0, -1, 0] Larger matrices and different

Re: [Flashcoders] Filters in flash 8

2010-02-04 Thread Piers Cowburn
Wow. *Ordered* On 4 Feb 2010, at 12:41, Henrik Andersson wrote: Piers Cowburn wrote: You can do a lot of things, including sharpen, with the ConvulsionFilter: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7da3.html Use this kind of

Re: [Flashcoders] How to use Flex Builder's profiler???

2010-02-04 Thread Juan Pablo Califano
Yes, taking a snapshot forces a GC cycle. You can also run it yourself at any time pressing the Run Garbage Collector button. Keep in mind that your disposing method will not cause your objects to be collected, but rather be collectable or eligible for GV. Until the GC kicks in, those objects

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Julio Protzek
Gaia uses one of the best solutions I ever saw. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Andrew Murphy
I recently coded an AIR app for our reception area touch screen which demos one of Delvinia's other productions by loading it into an HTML component, that website includes a SWF embedded on the page and it runs just fine in the HTML component in AIR. Building a touch screen keyboard in AIR that

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Karl DeSaulniers
Good to know. I guess I will have to try and build what I am thinking of. lol I'll make it my first Air project. :) Thanks everyone for the input, Karl On Feb 4, 2010, at 6:56 AM, Andrew Murphy wrote: I recently coded an AIR app for our reception area touch screen which demos one of

[Flashcoders] Flash Coders Archives..?

2010-02-04 Thread Andrew Murphy
Hi. :) Is there an archive of the recent posts to Flash Coders? I've checked on the Figleaf page for the list (http://chattyfig.figleaf.com/mailman/listinfo/flashcoders) and it leads to an archive site that only has archives from 1998 to 2007. Thank you. -- Andrew

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Gustavo Duenas
do you mind to share with me how to use the mod_rewrite...is on the as3 , in the javascript or the html? regards, Gus On Feb 4, 2010, at 5:43 AM, tom rhodes wrote: ah forgot to mention to use mod_rewrite and have all the links in your non flash version be without the #... On 4

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Gustavo Duenas wrote: do you mind to share with me how to use the mod_rewrite...is on the as3 , in the javascript or the html? It is a module for the Apache group http server. So, it is a server side module to perform regex replacements on the url before the server parses it further. Many

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread allandt bik-elliott (thefieldcomic.com)
wow i'd like to put this up on our intranet - can i get a link to credit you for this? a On Wed, Feb 3, 2010 at 11:46 PM, raymondp...@cox.net wrote: Artur, I did some research this morning to unearth the latest best practices. I'll share the results of my findings. I found some

Re: [Flashcoders] Flash Coders Archives..?

2010-02-04 Thread Muzak
http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/ - Original Message - From: Andrew Murphy amur...@delvinia.com To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, February 04, 2010 2:25 PM Subject: [Flashcoders] Flash Coders Archives..? Hi. :) Is

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Muzak
http://www.google.com/#hl=ensource=hpq=mod_rewrite - Original Message - From: Gustavo Duenas gdue...@leftandrightsolutions.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 04, 2010 2:33 PM Subject: Re: [Flashcoders] SEO + Flash = any great

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Glen Pike
Hi, mod_rewrite is an add on for Apache webserver. If it's installed you can setup Rules in a .htaccess file to redirect URL's based on those rules. http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/ Should

RE: [Flashcoders] Flash Coders Archives..?

2010-02-04 Thread Andrew Murphy
Thank you. :) -- Andrew Murphy Interactive Media Developer amur...@delvinia.com Delvinia 370 King Street West, 5th Floor, Box 4 Toronto Canada M5V 1J9 P (416) 364-1455 ext. 232 F (416) 364-9830 W www.delvinia.com -Original Message- From:

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Gustavo Duenas
my server is not mine, I have it with a company(ix-webhosting), they are using h-sphere, there is way to use this mode_rewrite from the control panel? Gus On Feb 4, 2010, at 8:52 AM, Muzak wrote: http://www.google.com/#hl=ensource=hpq=mod_rewrite - Original Message - From: Gustavo

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gustavo Duenas
Correct me if I'm wrong but for a touch screen flash based application you will need a monitor with touch screen hardware right? gus On Feb 4, 2010, at 8:21 AM, Karl DeSaulniers wrote: Good to know. I guess I will have to try and build what I am thinking of. lol I'll make it my first

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Glen Pike
Yep - we have these too, except 3M's touchscreen drivers are a b***h to get working on recent versions of Linux / X-Windows. Gustavo Duenas wrote: Correct me if I'm wrong but for a touch screen flash based application you will need a monitor with touch screen hardware right? gus On Feb 4,

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Glen Pike
Hi Gus, Mod_rewrite can often be controlled from within each webusers webspace by putting the commands inside a file called .htaccess in the root folder (or any other) of your site. Not sure how to tell if it's switched on / allowed:

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: Hi Gus, Mod_rewrite can often be controlled from within each webusers webspace by putting the commands inside a file called .htaccess in the root folder (or any other) of your site. As I said, that is a horribly bad idea that relies on a hack. Get a host that knows what they

RE: [Flashcoders] XMLList question

2010-02-04 Thread Merrill, Jason
1+ Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From:

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Glen Pike
That's fine in an ideal world where you probably have access to the apache config file, but being as a lot of hosting is virtualised and most people don't have access to their apache conf, it is probably far more realistic and less dangerous to let users loose with .htaccess files, you only

[Flashcoders] Jagan R (yuva...@gmail.com) has sent you a private message

2010-02-04 Thread Jagan R
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-04 Thread beno -
On Wed, Feb 3, 2010 at 8:42 PM, Keith Reinfeld keithreinf...@comcast.netwrote: Naw... The bobblehead and googlie-eyes was something I did for fun. beno has been trying to work out the business with the hands. Would you mind sending your *.as file along? Sure would like to see what you're

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
Glen Pike wrote: That's fine in an ideal world where you probably have access to the apache config file, but being as a lot of hosting is virtualised and most people don't have access to their apache conf, it is probably far more realistic and less dangerous to let users loose with .htaccess

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gregory Boudreaux
Also Flash is playing a bigger role in corporate eLearning, especially after Adobe ended support for Authorware... and all the third party development tools that publish .swfs. In addition to Adobe Connect with its presentations and virtual classroom features. My personal opinion is that Jobs is

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread tom rhodes
mind explaining what it is possible to do? what is the http host header sniffing type? On 4 February 2010 16:39, Henrik Andersson he...@henke37.cjb.net wrote: Glen Pike wrote: That's fine in an ideal world where you probably have access to the apache config file, but being as a lot of

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Andrew Murphy
Yes, you do indeed. I'm looking forward to AIR 2.0 and the v10.1 plugin which will support multi-touch and gestures. -- Andrew Murphy Interactive Media Developer amur...@delvinia.com Delvinia 370 King Street West, 5th Floor, Box 4 Toronto Canada M5V 1J9 P (416)

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Paul Andrews
Gregory Boudreaux wrote: Also Flash is playing a bigger role in corporate eLearning, especially after Adobe ended support for Authorware... and all the third party development tools that publish .swfs. In addition to Adobe Connect with its presentations and virtual classroom features. My

Re: [Flashcoders] XMLList question

2010-02-04 Thread Dave Watts
I always use CDATA tags for text in nodes where special characters might exist. I really strongly second this. This has been the cause of more problems I've seen than I can count. You never know what kind of characters you might be getting from a database query. Dave Watts, CTO, Fig Leaf

Re: [Flashcoders] SEO + Flash = any great strategies?

2010-02-04 Thread Henrik Andersson
tom rhodes wrote: mind explaining what it is possible to do? what is the http host header sniffing type? My idea is to assign each customer their own server account. They run whatever http server application they want. The host header detection is done by a separate process on the server

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Merrill, Jason
Also Flash is playing a bigger role in corporate eLearning especially after Adobe ended support for Authorware Yep - agree there - that's what pays my bills and most of the people I work with. Although, we dropped Authorware years ago, and I dropped around 2001. I run the Bank of America

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gregory Boudreaux
My statement didn't refer to Jobs controlling the platform. IMO, he is doing what he thinks he needs to do to get the Flash player on his devices. Adobe will have the Flash Player on every non-Apple device in the near future... and I think Jobs is positioning his company for some concessions to

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Mendelsohn, Michael
What's everyone's take on a possible Google tablet running on Android? Of course, with the Flash Player that Adobe is building for Android. I saw a mockup yesterday, I believe on cnn.com. Say that has Flash on it, why bother with an iPad, except to feel more sophisticated or something. - MM

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Mattheis, Erik (MIN - WSW)
Afterwards, Macromedia bribed - er, hired Nielsen as a usability consultant. I wonder if Adobe will offer Jobs $1 a year for some important sounding title. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread allandt bik-elliott (thefieldcomic.com)
is that the msi built one? that looked nice On Thu, Feb 4, 2010 at 4:29 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: What's everyone's take on a possible Google tablet running on Android? Of course, with the Flash Player that Adobe is building for Android. I saw a mockup

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Boerner, Brian J
As wireless device maybe but not 3G -- maybe once network gets up to 6 or 7G maybe resistance to flash fades for the handheld crowd... who can predict? Adobe is so passive here -- why not a 'FlashPad' for learning? They then could think in terms of downloading apps that are closer to game

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
As wireless device maybe but not 3G -- maybe once network gets up to 6 or 7G maybe resistance to flash fades for the handheld crowd... who can predict? Flash will work fine for all the people running Android and Symbian, and probably WinMo, when FP 10.1 comes out. I suspect that'll be pretty

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Boerner, Brian J
I not saying 3G can't run it -- but that's the impression that customers have... Not get into hardware business but maybe they should partner for FlashPad and FlashStore I'm frustrated because Apple is dictating in that market and Adobe is passive about it... What do you think about the

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
I'm frustrated because Apple is dictating in that market and Adobe is passive about it... What do you think about the FlashApp Store? I think that one of the great benefits of Flash is that it lets me add functionality beyond HTML to HTML/HTTP delivery. I don't need a store for Flash. And

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Gustavo Duenas
I'm suspecting something, maybe adobe and android are planning something, maybe one of them, so just let Jobs to fantasize with the world domination, true that sooner or later flash will emerge even better. Gus On Feb 4, 2010, at 2:01 PM, Boerner, Brian J wrote: I not saying 3G can't

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
I'm suspecting something,  maybe adobe and android are planning something, maybe one of them, so just let Jobs to fantasize with the world domination, true that sooner or later flash will emerge even better. No suspicion of planning needed! FP 10.1 will soon be available for Android, and

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Merrill, Jason
Hmm... all the Android phones I have seen, the UI experience was really not impressive and not smooth and not intuitive compared to the iPhone OS. It may be as capable, but it's fairly ugly - or at least, I just haven't seen a good implementation of it yet. Jason Merrill Bank of America

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
Hmm... all the Android phones I have seen, the UI experience was really not impressive and not smooth and not intuitive compared to the iPhone OS.  It may be as capable, but it's fairly ugly - or at least, I just haven't seen a good implementation of it yet. Well, I don't find either

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Merrill, Jason
(You've really hit one of my pet peeves with intuitive.) equally approachable, and in many ways I find the Android interface easier to use In my head, intuitive does in fact mean easier to use and approachable. I haven't seen the Droid's implementation though... maybe it's better. Jason

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Boerner, Brian J
Sorry, it was pointed out to me that Adobe does have an app store - the exchange... maybe it could be managed more like Apple's... seems to me something big needs to happen to 'stop the bleeding' From where I am I noted that ajax took a major bite out of Rich Internet Applications done in

[Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
Hi Guys, I'm trying to accomplish this: so far I a mac named heart which is hence a heart, so I'm trying to make a repetition of it along the screen until it reach the number of 1000 or less, but so far I don't have the effect of its repeating one to one, instead I have all of them at the

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
In my head, intuitive does in fact mean easier to use and approachable.  I haven't seen the Droid's implementation though... maybe it's better. But this ease of use doesn't come from intuition, it comes from learned experience with other things. If I took a Droid and an iPhone to my

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Merrill, Jason
Wow. I think you're over-thinking things, or at least taking my comments too literally. :) You know what I meant. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread David Hunter
use a Timer() so everytime it elapses it triggers a function to generate a single heart and add it to the display list in a random place and size. increment a counter variable every time the function runs and when it gets to 1000 then get it to cancel your timer. hope that helps. david From:

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Nathan Mynarcik
Add each heart to the stage with alpha at 0. Then use a tween engine to fade the heart in with a delay. Use your i variable as the delay in seconds. --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Jer Brand
I've been dipping my toes in to both iPhone and Android dev. I think people find the iPhone interface more polished and that translates, for them, to intuitive -- it's consistency, and it is a good thing that has made the iPhone very successful. I want consistency in my DVR, TV, component

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread raymondp413
I just read an article by Jared M. Spool titled What Makes a Design Seem 'Intuitive,' (http://www.uie.com/articles/design_intuitive/). Thought it might help flesh out this discussion about intuitive interfaces. Also, from dictionary.reference.com: * Intuitive: perceiving by intuition, as a

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Jer Brand
Completely un-helpful for your code, but you could also give HYPE a whirl. Have been having a blast playing with it lately. I think the above task is one of the examples. http://hype.joshuadavis.com/ ___ Flashcoders mailing list

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
Wow.  I think you're over-thinking things, or at least taking my comments too literally.  :)  You know what I meant. I think it's an important distinction, though. Many people use intuitive this way, and many other people take what they said using the actual meaning of the word, leading to

RE: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Merrill, Jason
I think it's an important distinction, though. Many people use intuitive this way, and many other people take what they said using the actual meaning of the word, leading to significant confusion, products failing or succeeding, etc. It makes a big difference in my own observation. Dave Watts,

RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-04 Thread Keith Reinfeld
beno wrote: Kieth Reinfeld sent along a humorous version of my fla/as that seems to have the element that I'm looking for... BTW, the rule is 'i' before 'e' except when it's my first and/or last name. Would you mind sending your *.as file along? Sure would like to see what you're

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Dave Watts
GEEZ!!  Enough already.  Where's the list moderator when you really need him?   Finding the guy is not all that intuitive. :) Yeah, well, he's kind of a dick anyway. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
I've downloaded thanks on other matters, when you say using a timer, you mean something like this ( I've have this from a tutorial, mixing with my idea); something like this? import flash.utils.*; var timer:Timer = new Timer(5000); timer.addEventListener(timer,TimedFunction);

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Jim Lafser
If you want to see the hearts to appear one at a time you need to add them at a rate slower than your frame rate (give the stage a chance to update). Might want to use setInterval to add the hearts.   hth --- On Thu, 2/4/10, Nathan Mynarcik nat...@mynarcik.com wrote: From: Nathan Mynarcik

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread Merrill, Jason
the question is , how can I stop this? Just keep a variable that keeps count. Increment the countHearts or whatever you call it variable every time the timer function runs. When you reach 1000, stop the timer, remove the timer listener, set it to null and you're done. Jason Merrill Bank of

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Nathan Mynarcik
You can try this: timer.addEventListener(timer,timedFunction); var counter:int; timer.start(); function timedFuntion(e:TimerEvent):void{ if(counter = 1000){ var heart:MovieClip = new Heart(); heart.x = Math.random * stage.stageWidth; heart.y = Math.random * stage.stageHeight; counter++;

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread Karl DeSaulniers
+1 On Feb 4, 2010, at 11:05 AM, Boerner, Brian J wrote: As wireless device maybe but not 3G -- maybe once network gets up to 6 or 7G maybe resistance to flash fades for the handheld crowd... who can predict? Adobe is so passive here -- why not a 'FlashPad' for learning? They then could

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread Keith Reinfeld
var timer:Timer = new Timer(5000, 1000); The second param limits the number of times it can fire. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
ok, now can repeat them until the end of the times...how can I make them to stop at certain number like 200 for example gus On Feb 4, 2010, at 4:14 PM, Gustavo Duenas wrote: I've downloaded thanks on other matters, when you say using a timer, you mean something like this ( I've have this

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread David Hunter
http://pastebin.com/m2b549c17 of course i guess you could put the code inside the makeHeart() function straight in the myTimerTrigger() function. you could write it without the second argument in new Timer() and just restart the timer every time it completes and use a variable to increment and

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread Merrill, Jason
The second param limits the number of times it can fire. True, both methods will work. However, if you use the second repeatCount parameter, then you won't know when it's finished so you can remove your listener unless you also add a listener to listen for the timerComplete event as well - so

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Jim Lafser
Add second param when instantiate Timer which indicates how many times it should repeat. If don't specify, then defaults to 0 which means run forever. Add an event listener for the Timer.timerComplete event. I think the listener you've already got should be registering for the Timer.timer event

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Gustavo Duenas
I did it, and you know it works, I put an event listener for the timer.stop the code is like this: stop(); import flash.utils.*; import flash.display.*; var timer:Timer = new Timer(100, 100); timer.addEventListener(timer,timedFunction); var newX:Number = stage.stageWidth; var newY:Number =

[Flashcoders] AS2 SWFs with pageFlipper component

2010-02-04 Thread Alan Neilsen
I have 12 x AS2 SWFs (build in CS4 Pro) that each use a purchased flipbook component called pageFlipper. These SWFs are AS2 because this component doesn't work in AS3. The 12 SWF using this component are loaded at various places into a main interface that is AS3, also built in CS4 Pro. When I

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-04 Thread John R. Sweeney Jr
I've been a Mac/Apple guy since the Apple IIe and I love the iPhone (several of my friends have them) and I've gotten to use it and take for a spin many, many times. I just got the Droid around Christmas and its easy, intuitive, well organized and I have to admit, for me I like it and find it

Re: [Flashcoders] making a repeating effect

2010-02-04 Thread Muzak
no need for the counter in the event handler, Timer has a repeat count //Timer(delay, repeatCount) var timer:Timer = new Timer(5000, 1000); - Original Message - From: Nathan Mynarcik nat...@mynarcik.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February

[Flashcoders] Library of vector math functions for Flash

2010-02-04 Thread Gerry Beauregard
Does anyone know of a good, fast, well-documented library of AS3 vector math operations? I'm thinking specifically of a good FFT, as well as more basic functions to add, multiply vectors, convert to/from polar coordinates, etc. In my C++ DSP programming work on Windows, I've often made use of