Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
"complex expression " logical not, logical and

"complex expression " logical not, logical and

2004-02-19       - By Sherman, Daniel

 Back
Reply:     1     2     3     4  

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)