[ascoders] Re: attachMovie component function availability
- From: Ralf Siegel <ralf@xxxxxxxxxxx>
- To: ascoders@xxxxxxxxxxxxx
- Date: Wed, 08 Jan 2003 17:29:23 +0100
var ref = _root.attachMovie('FRadioButtonSymbol', 'FComponent' + x, x);
hier mit attache ich n radion button auf die stage. wenn ich jetzt gleich
danach, eine zeile darunter auf functions der component zugreifen will:
ref.setSize(123);
Hi Eric, hab's eben probiert und es funktioniert eigentlich ?!
-------------------------------------------------------
var ref = _root.attachMovie('FRadioButtonSymbol', 'FComponent' + x, x);
ref.setLabel("Radio Button .........................................");
trace(ref.getSize()); // 100
ref.setSize(70);
trace(ref.getSize()); // 70
-------------------------------------------------------
Je nachdem, welchen Wert du setzt (hier also 70) siehst du mehr oder
weniger was von dem Label-String
"Radio Button ........................................."
Oder probiere mal, ein trace in die setSize() Methode zu setzen, vielleicht
ist irgendwo anders eine Leitung geplatzt.
-------------------------------------------------------
FRadioButtonClass.prototype.setSize = function(w,h)
{
...
trace(arguments);
...
}
-------------------------------------------------------
Problem wie oben gibt's erst, wenn du Komponenten/Symbole verschachtelst.
ralf ...
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- Follow-Ups:
- [ascoders]
- From: eric
- References:
Other related posts:
- » [ascoders] attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
- » [ascoders] Re: attachMovie component function availability
hier mit attache ich n radion button auf die stage. wenn ich jetzt gleich danach, eine zeile darunter auf functions der component zugreifen will:
ref.setSize(123);
- [ascoders]
- From: eric