944,098 Members | Top Members by Rank

Ad:
May 29th, 2007
0

Flash Query

Expand Post »
Need a script to zoom in on mouse click / over in flash mx.
Pls do reply soon.

thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kmits is offline Offline
1 posts
since May 2007
Jun 8th, 2007
0

Re: Flash Query

You can try something like:

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on(rollover){
  2. image.width = image.widht + 10;
  3. image.height = image.height + 10;
  4. }
  5. on (rollout){
  6. image.width = image.widht - 10;
  7. image.height = image.height - 10;
  8. }
Reputation Points: 10
Solved Threads: 2
Light Poster
hussulinux is offline Offline
41 posts
since Feb 2007
Jun 12th, 2007
0

Re: Flash Query

Click to Expand / Collapse  Quote originally posted by hussulinux ...
You can try something like:

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on(rollover){
  2. image.width = image.widht + 10;
  3. image.height = image.height + 10;
  4. }
  5. on (rollout){
  6. image.width = image.widht - 10;
  7. image.height = image.height - 10;
  8. }
This would work until you have set noScale property to no. Better would be using MovieClip._height or MovieClip._height where movie clip would be replaced by the clip instance name or _root for whole movie. You could also use _xscale or _yscale properties if you want relative zoom.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: flash help
Next Thread in Graphics and Multimedia Forum Timeline: how to insert an image as the flash background





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC