Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Flash Player
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Edge Animate
Adobe Premiere Pro
Adobe After Effects
View all communities
Please enter a title.
You can not post a blank message. Please type your message and try again.
: Nov 7, 2007 5:09 PM by kittuokkade
How to assign id to component using ActionScript
Nov 7, 2007 8:47 AM
For example, i would like to create a Repeater component with id 'myRepeater' using AS only. I tried with:
var rep:Repeater = new Repeater();
rep.id = "myRepeater";
And code compiles without error, but how can i later on in my code use that id, for example if i would like use the following somewhere in as code:
Then i get an error. How can i assign an id to component so that i could use that id later on in my code for defininig component properties etc.?
thanks in advance
This content has been marked as final.
Show 1 reply
Re: How to assign id to component using ActionScript
Nov 7, 2007 5:09 PM
in response to msabljic
rep.id = myRepeater;
Remove from profile
Feature on your profile
More Like This
Retrieving data ...