User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 391,143 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,167 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser:
Views: 808 | Replies: 2
Reply
Join Date: May 2007
Posts: 1
Reputation: kmits is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kmits kmits is offline Offline
Newbie Poster

Flash Query

  #1  
May 29th, 2007
Need a script to zoom in on mouse click / over in flash mx.
Pls do reply soon.

thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2007
Posts: 41
Reputation: hussulinux is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
hussulinux hussulinux is offline Offline
Light Poster

Re: Flash Query

  #2  
Jun 8th, 2007
You can try something like:

on(rollover){
 image.width = image.widht + 10;
 image.height = image.height + 10;
}
on (rollout){
 image.width = image.widht - 10;
 image.height = image.height - 10;
}
Hussain Fakhruddin
Teks: http://www.teks.co.in
hussulinux at gmail dot com
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Flash Query

  #3  
Jun 12th, 2007
Originally Posted by hussulinux View Post
You can try something like:

on(rollover){
 image.width = image.widht + 10;
 image.height = image.height + 10;
}
on (rollout){
 image.width = image.widht - 10;
 image.height = image.height - 10;
}
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Graphics and Multimedia Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Graphics and Multimedia Forum

All times are GMT -4. The time now is 6:51 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC