ActionScript 1/2 :: Get Rid Of CreateClassObject
Jan 24, 2011
When I click a button how can I delete this scrollbar?
this.createClassObject(mx.controls.UIScrollBar, "my_sldr2", this.getNextHighestDepth());
this.my_sldr2.setScrollTarget(this.text);this.my_sldr2.setSize(26, 280);
this.my_sldr2._x += 500;
[Code]...
View 3 Replies
Jan 30, 2006
what's the difference between createClassObject() and attachMovie ? If there's a checkbox component (say) and I want to put it on the stage. I usually use attachMovie (and it works) , files provided by the application itself, they use createClassObject instead.
I wanted to know the reason, and the advantages of using createClassObject.
View 14 Replies
Jun 30, 2006
how do i create a button using createClassObject
import mx.controls.Button;
createClassObject(Button,"btnParam", 99, {_height:30, _width:60, _x:535, _y:523});
btnParam._visible = true;
[code]......
View 3 Replies
Jan 6, 2009
I am working on xml-flash entegration. I have a one problem I connect to xml file and load all data into the xmlLoader variable. xml file contain below codes.
<page1>
<textArea x="150" y="10" weight="200" height="100" bold="true" font="arial" size="10" color="0x00ff00" content="page 2__sira0_textArea">
[code]....
View 1 Replies
Sep 7, 2009
createClassObject returning null value when creating dynamic components. I am using the following code
[Code]...
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library. Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
View 4 Replies
Sep 7, 2009
createClassObject returning null value when creating dynamic components.
I am using the following code
var __reg2 = new Object();
__reg2.label = _label;
__reg2._width = _w;
__reg2._height = _h;
[Code]....
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library.
Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
View 0 Replies