Thanks Swen!

Yeah, i'm tring to put it in a mobile app.
Just a few seconds ago i discovered that i can create it in a normal mxml
view declaration like:

<s:ToggleSwitch label="Test"></s:ToggleSwitch>


but i cannot create it in an fx:script like doing (forced):

var chkATI:ToggleSwitch = new ToggleSwitch();


it gives me a compilation error.... and i have the declaration in my

xmlns:s="library://ns.adobe.com/flex/spark"


... thank you very much

Angelo




2013/8/7 Swen van Zanten <[email protected]>

> It is still in the SDK.. but you it is only available in the
> mobilecomponents.swc.. which is automatically imported when creating a
> mobile app.
> For a desktop app you have to add the swc yourself.
>
> Regards,
>
> SWEN VAN ZANTEN
> Hoofdstraat 160
> 2171 BL, Sassenheim
>
> Op 7 aug. 2013, om 13:36 heeft Angelo Lazzari <[email protected]>
> het volgende geschreven:
>
> > Hi all,
> > just wanted to know if the ToggleSwitch is still usable like it seems by
> > reading this link
> >
> http://devgirl.org/2011/11/02/flex-mobile-development-toggleswitch-sample-with-source/
> >
> > and others...
> >
> > I tried to put it in a view but it doesn't appear in the available
> controls
> > .... just toggleButton...
> >
> > i'm using Apache Flex 4.10 (thank you guys for the great work you're
> doing)
> >
> > Thank you in advance...
> > Angelo
> >
> >
> > --
> > Angelo Lazzari
> > mail: [email protected]
> >
> >
> > ----------------------------
> > Verificate la corrispondenza del destinatario; in caso contrario vogliate
> > notificare ciò al mittente e, consci della responsabilita'per l'uso
> > indebito, cancellare il messaggio e sue copie / Verify the correspondence
> > of the addressee; otherwise, notify that to the sender and, conscious of
> > the responsibility for the undue use, destroy the message and its copies.
> > ----------------------------
>
>


-- 
Angelo Lazzari
mobile: 0039 347 0090 452
mail: [email protected]


----------------------------
Verificate la corrispondenza del destinatario; in caso contrario vogliate
notificare ciò al mittente e, consci della responsabilita'per l'uso
indebito, cancellare il messaggio e sue copie / Verify the correspondence
of the addressee; otherwise, notify that to the sender and, conscious of
the responsibility for the undue use, destroy the message and its copies.
----------------------------

Reply via email to