Live preview SWFs are wonky... its not displaying quite right in the IDE,
but perfect when used as a component. Essentially the same
sizing/positioning code. Oh well...
On 9/21/06, Charles Parcell <[EMAIL PROTECTED]> wrote:
setSize(width:Number, height:Number);
The IDE makes a call to it.
Within the setSize() I have a call to my draw() function which does all
the
changing and moving of MC and such.
Charles P.
On 9/21/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> Ya I had that - was hoping the same file being the component could be
the
> live preview. I got it though - thanks :)
>
> On 9/21/06, Muzak <[EMAIL PROTECTED]> wrote:
> >
> > You need to add an 'Inspectable' metadate tag to the getter/setter
> >
> > [Inspectable]
> > function get prop(){}
> > function set prop(){}
> >
> > [Inspectable(type="String",defaultValue="value")]
> > function get prop(){}
> > function set prop(){}
> >
> > check the manual for more details:
> >
> > Using components -> Creating components -> Creating the AS class file
->
> > Adding component metadata
> >
> > regards,
> > Muzak
> >
> > ----- Original Message -----
> > From: "eric dolecki" <[EMAIL PROTECTED]>
> > To: "Flashcoders mailing list" <[email protected]>
> > Sent: Thursday, September 21, 2006 7:09 PM
> > Subject: [Flashcoders] Component Live Preview...
> >
> >
> > >I have a pretty simple component with inspectables to allow the
setting
> > of 2
> > > simple strings.
> > >
> > > Flash 8 is supposed to allow for the ease of live previews with
> > components.
> > > What do I need to put in my component class to allow updates on the
> > Stage of
> > > the component instance to update? I've tried a couple things, even
> using
> > the
> > > old xch. stuff to no avail here. I put an onUpdate in the class
(just
> to
> > > see) and it doesn't seem to do anything.
> > >
> > > ??
> >
> >
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com