[Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

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.

??
___
Flashcoders@chattyfig.figleaf.com
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


[Flashcoders] Component Live Preview [Solved]

2006-09-21 Thread eric dolecki

Sorry for the noise, but I simply built my own separate LP SWF and got
things working fine.

- e.d.
___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Muzak
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 flashcoders@chattyfig.figleaf.com
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.

 ??


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

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 flashcoders@chattyfig.figleaf.com
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.

 ??


___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell

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 flashcoders@chattyfig.figleaf.com
 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.
 
  ??


 ___
 Flashcoders@chattyfig.figleaf.com
 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

___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

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 flashcoders@chattyfig.figleaf.com
  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.
  
   ??
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  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
 
 ___
 Flashcoders@chattyfig.figleaf.com
 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

___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell

I agree, they are not very simple or intuitive. I would love for this
aspect to be cleaned up in the next version of the IDE. It is making my life
difficult when I have to make these things for our artists who want to see
exactly how it will look within the IDE as it will when published. You
should see some of the horror layouts they have to deal with.

Charles P.


On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote:


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 flashcoders@chattyfig.figleaf.com
   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.
   
??
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   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
  
  ___
  Flashcoders@chattyfig.figleaf.com
  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
 
 ___
 Flashcoders@chattyfig.figleaf.com
 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

___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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