Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

PhotoNavigator

This is a discussion on PhotoNavigator within the FlepStudio utilities forums, part of the Tutorials category; Hi all ! Another one Flash CS3 free utility has been created by FlepStudio. It's a simply photo zoom that ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 30-11-07, 06:43
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
PhotoNavigator

Hi all !


Another one Flash CS3 free utility has been created by FlepStudio.


It's a simply photo zoom that permits to navigate an image using a little square over the thumbnail.

Let' s say it works like the PhotoShop image navigator.


I wrote this Actionscript 3.0 class as modular as possible so you can implement it at your image galleries.

This class loads a high resolution image, creates the thumbnail and the zoom logic using math proportions.


PhotoNavigator

free Flash CS3 utility










Source files:
Attached Files
File Type: zip PhotoNavigator.zip (909.1 KB, 409 views)


Last edited by Flep; 05-06-08 at 18:02..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 27-12-07, 14:09
Junior Member
 
Join Date: Dec 2007
Posts: 1
Rep Power: 0
hocky2day is on a distinguished road
Re: PhotoNavigator

thanks, this is brilliant but i can't find where to change the image that is used
thanks
dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 28-12-07, 07:29
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: PhotoNavigator

Hi and welcome

Inside of Main.as file, you have the path to the image:

Code:
photo_navigator=new PhotoNavigator('http://www.flepstudio.org/utilita/PhotoNavigator/pic.jpg');
Just change that url with your url where you have the image.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 01-06-08, 01:08
Junior Member
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
ku2simple is on a distinguished road
Re: PhotoNavigator

Hello, i have a problem. I'm trying to modify the main document so as that i am able to change the image at runtime. I try and remove the old image using removeChild, . I get this message when i try to add another image onto the screen.

The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at org.flepstudio::PhotoNavigator/setComplete()

please help!!!

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 04-06-08, 07:41
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: PhotoNavigator

Hi,
how do you try to remove the old pic?

Code:
thumb_mc.removeChildAt(0);
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #6 (permalink)  
Old 04-06-08, 22:05
Junior Member
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
ku2simple is on a distinguished road
Re: PhotoNavigator

I just remove the instance of the previous navigator PhotoNavigator and try and add a second instance which contains the new pic. removeChild("instance1"). I think the problem arises with something called "father" in the PhotoNavigator.as
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 05-06-08, 09:01
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: PhotoNavigator

I think the best way is to re-instance a new PhotoNavigator:
Code:
photo_navigator=new PhotoNavigator('http://www..../pic.jpg');
addChild(photo_navigator);
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
PhotoNavigator Flep Utilità di FlepStudio 64 14-11-08 16:44
Possibile modifica a PhotoNavigator... fedeoasis AIUTO utilità free 0 10-07-08 17:41


All times are GMT. The time now is 20:35.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406