"complex expression " logical not, logical and 2004-02-19 - By Sherman, Daniel
Back Trying to build logic to see if a frame around movieclip called thing1 should be vertical or horizontal. Example below assumes already in horizontal position, as stated by "status" variable Had trouble with this code last night, any obvious problems?
status = notalreadyvertical; _root.thing1_mc._height = thing1height; _root.thing1_mc._width = thing1width;
if ((thing1height > thing1width) && ! (status == alreadyvertical){
//flip to vertical position UNLESS you're already in the vertical position }
any help would be appreciated tried numerous books and archive, but guess I don 't really know what to search for.
Daniel Sherman Multi-Media Coordinator Catholic Relief Services (410) 951-7398
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|