Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Why doesn't this work?
From: Mountain, Mike J
Date: Wed, 27 Oct 1999 14:58:59 +0100

Right, I'm trying to get to grips with actionscript and I knocked up a
simple bit of code which finds the X & Y values of a movie clip called plane
- which is set to drag on the centre of the mouse

Then I set up two text boxes to display the coordinates "xval" and "yval"

fine again.

Then I decided to play....and came up with the followin - inserting another
movie clip on the stage - instance name box.

the rotation property works, but no matter what values (or properties I plug
in to the lin in bold it has no effect.

Why?

help?

Set Variable: "xval" = GetProperty("/Plane",_x)
Set Variable: "yval" = GetProperty ("/Plane",_y)
Set Variable: "/:xdisplay" = xval
Set Variable: "/:ydisplay" = yval
Set Property ("/box", Rotation) = xval - yval
Set Property ("/box", X Scale) = "yval - xval"

Cheers

Mike


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Why doesn't this work?, Colin Moock

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]