That warning is telling you to use a constraint.
Use <attribute name="x" value="${Math.round(...)">
-ben
Sent from my iPhone
On Jul 14, 2007, at 9:07 PM, Robin Sheat <[EMAIL PROTECTED]> wrote:
I have this:
<attribute name="x" value="Math.round((video.videoframe/
video.numframes) *
(immediateparent.width - this.margin - this.rightmargin) +
this.margin)" />
In order to get the x value of the component to track a video.
However, I get
the warning:
timeline/frameline.lzx:12:34: Use
x="${Math.round((video.videoframe/video.numframes) *
(immediateparent.width -
this.margin - this.rightmargin) + this.margin)}" instead.
I can't use x=... in the class definition in this file, as it refers
to
attributes that haven't been declared at that stage and so I get
warnings
when it starts up. Why is this warning here, and how can I suppress
it (or is
there a better way to do this?)
--
Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]
>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C
EB6D