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
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,
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
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
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
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
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
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
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('
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());
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
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 /
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
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
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,
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
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
17 matches
Mail list logo