Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mouse over on movieclip 1

Status
Not open for further replies.

rds747

Technical User
Joined
Mar 8, 2005
Messages
180
Location
US
Is this possible?

Have a movieclip in motion embedded into a button so when the user rolls over the movieclip/button a form is displayed? It seems possible.

Is there a tutorial that shows this example?

I'll try this out soon.
 
My question is more on how do I feed in the instance name of a textfield through a string variable during runtime.

I have a string that has the name and the size of the textboxes that I need to create dynamically, separated by a delimiter (|). So I've saved the name of the textboxes in the first array and pass the name of the textboxes into a string through a for loop. And inside the for loop I'm trying to create a textfield with a specific size.

I've tried these two methods:

sTextField = aTextBoxName[iCount]

sTextField = new TextField() OR
createTextField(sTextField, getNextHighestDepth(), x , y, w, h)

but neither of them seem to work as sTextField._name outputted undefined.
 
An example of this would be string = "Run_txt,5|Layout_txt,5"

So in the first array I'm saving the instance names: aTextBoxName[iCount] = Run_txt, Layout_txt and in the 2nd array the size limitation of each instance.

Then I save each array element to sTextField = aTextBoxName[iCount]. Afterwards, I'm trying sTextField = new TextField() OR createTextField(sTextField, getNextHighestDepth(), x , y, w, h), neither of these two options give me sTextField._name.
 
Are there only a limit of properties that I can define with the setProperty method?

I'm trying to set the border to true using the setProperty(sTextField, border, true), but get an error "Property name expected in GetProperty."

I couldnt find any documentation on this, so if someone knows of a good site, please let me know.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top