[Flashcoders] weird infinite scroller issue with preview link

2008-01-16 Thread Dwayne Neckles
http://dnecklesportfolio.com/transfer/kennycole_videopage3.html Keep your mouse on the right hand side and let it scroll all of a sudden you will a button or two thats lit up start to come into view. this totally totally should not happen. anyone have any suggestions.. the fla is there

Re: [Flashcoders] buttons lined up next to each other- rollout not work

2008-01-16 Thread Andy Herrman
Try using a variable local to the for loop for the target: //this also sets the event handling in one shot for (i=0; i5; i++) { clipName = this[clip+i]; var myTarget= _root[text+i] trace(target); clipName.onRollOver = function() { Tweener.addTween(this.person,{_alpha:100,

[Flashcoders] Animating NativeWindows in AIR

2008-01-16 Thread Sidney de Koning
Hi List, Couple of questions about AIR and NativeWindows. - How do i set the width and height of an NativeWindow? Can i do that in the code or only in the descriptor file? - Can a NativeWindow also be an MovieClip (living in the library with linkage) and how do i set this? - Can a

RE: [Flashcoders] weird infinite scroller issue with preview link

2008-01-16 Thread Dwayne Neckles
hey anyone gad a chance to take a peek at this.. From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 16 Jan 2008 08:13:02 + Subject: [Flashcoders] weird infinite scroller issue with preview link http://dnecklesportfolio.com/transfer/kennycole_videopage3.html

Re: [Flashcoders] weird infinite scroller issue with preview link

2008-01-16 Thread Matt S.
On Jan 16, 2008 10:25 AM, Dwayne Neckles [EMAIL PROTECTED] wrote: hey anyone gad a chance to take a peek at this.. I didnt see the problem. I let it scroll both left and right for a while but it never did anything untoward...? .m ___ Flashcoders

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-16 Thread Gregory N
Thanks a lot to all who replied, and especially to Glen. This article at bit-101.com is great! Among other things, I'm trying to find new way to collaborate with designers who create graphics in Flash IDE (8 or 9). And so far it seems I've found it. -- -- Best regards, GregoryN

Re: [Flashcoders] using graphics from flash 8 with flex 2 sdk

2008-01-16 Thread Glen Pike
It's really nice once you get to grips with stuff. Things to remember: When you create an instance of an asset, you should cast it when you create it - I had all sorts of problems and was having to create my assets as children of Sprites until I discovered this: var myMC:MovieClip = new

[Flashcoders] placing mc on the stage

2008-01-16 Thread Pedro Kostelec
Hello i got this code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth()); //creates an empty MC in which i attach 2 textMCs canvas._x = random500;//should place the MCs to a random position when they load but it doesn't work?!?-What is wrong here? canvas._y

[Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Corban Baxter
Hey guys I was working on updating my script for the new Google Analytics ga.js code. Can some one tell me what I might be missing in my code? My actionscript: function tracking(page) { import flash.external.ExternalInterface; ExternalInterface.call(pageTracker._ trackPageview('

Re: [Flashcoders] placing mc on the stage

2008-01-16 Thread Bob Leisle
Hi Pedro, Try this instead: Math.random()*500; Here's a simplistic but clear tutorial on the subject: http://animation.about.com/od/flashanimationtutorials/ss/mathrandom.htm hth, Bob Pedro Kostelec wrote: Hello i got this code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());

RE: [Flashcoders] placing mc on the stage

2008-01-16 Thread Jim Robson
Pedro, Is this what you're going for? function attachMovies() { for (var i = 0; i2; i++) { var mc = canvas.attachMovie(code,code+i,this.getNextHighestDepth()); mc._x = Math.random()*500; mc._y = Math.random()*100; } } -Original Message- From: [EMAIL

RE: [Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Jim Robson
Corban, This may just be a typo in your email, but there was a space between the underscore and trackPageview. More to the point, did you try this syntax: ExternalInterface.call(pageTracker._trackPageview, page); See: Programming ActionScript 3.0 / Flash Player APIs / Using the external API /

Re: [Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Corban Baxter
I was trying to make it an easy call to the function from anywhere in the site. Thats why I created the function. I was hoping to just keep from having to write both lines all over the site. On Jan 16, 2008 2:17 PM, Jim Robson [EMAIL PROTECTED] wrote: Corban, This may just be a typo in your

Re: [Flashcoders] placing mc on the stage

2008-01-16 Thread Leandro Ferreira
You could also use random(500), but is deprecated - http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary630.html - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? Leandro Ferreira

RE: [Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Jim Robson
Right, but my suggestion doesn't change that. I'm just referring to the syntax of the code inside your tracking() method; I'm not suggesting that you do away with the method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Wednesday,

Re: [Flashcoders] placing mc on the stage

2008-01-16 Thread Pedro Kostelec
sorry. I forgot to copy this. random100=Math.random()/100; random500=Math.random()/500; - how do i do to define the x and y position of each mc separately? I don't get it.. what do you want to do here? what i want is to make one ofthose mcs moveup and downand the other right-left. Theproblem is

Re: [Flashcoders] placing mc on the stage

2008-01-16 Thread Pedro Kostelec
Thanks for the reply. but it still doesn't work for me. I can only see code1 moving randomly overthe stage, but thereis no sign of code2 movie clip. Here is a bigger peace of the code: this.createEmptyMovieClip(canvas,this.getNextHighestDepth());//creates an empty MC in which i attach 2 textMCs