Below is the code that I'm using:

    NewMedia = new(#digitalvideo, member(LayerLevel+19))
    alert(therect)
    NewMedia.filename = "C:\director\video list\videos\shotgun.mpeg"
    NewMedia.rect = TheRect    
    alert(string(newmedia.rect))

The first alert gives me sensible rect values (402,232,452,282)
The second however gives me incorrect values (1240632, 1745013621,
19393324,19393324)

Please help - it's getting irritating now!
Phil

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Colin Holgate
> Sent: 20 March 2002 17:27
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> What am I doing wrong?
> 
> 
> >I'm creating a #digitalvideo object on the fly using
> >
> >                             new(#digitalvideo, 
> member(LayerLevel+19))
> >
> >where LayerLevel is always greater than 1
> >
> >I cannot however change the rect (and therefore the 
> location) of it on the
> >stage?
> 
> 
> Try giving it a file before resizing it.
> 
> 
> -- 
> [To remove yourself from this list, or to change to digest 
> mode, go to http://www.penworks.com/lingo-l.cgi  To post 
> messages to the list, email [EMAIL PROTECTED]  (Problems, 
> email [EMAIL PROTECTED]). Lingo-L is for learning and 
> helping with programming Lingo.  Thanks!]
> 
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to