Hello there Flash Guru
I would like to ask.
Could i add an image description in each image sepeteraly?
(Not of course embedded in the graphic)
When the image changes the description would do the same
This is a discussion on Mini Gallery within the FlepStudio utilities forums, part of the Flash English category; Flepstudio has created a new free utility. It is called 'MiniGallery', a image gallery of the dimension 400x300px. It has ...
Flepstudio has created a new free utility.
It is called 'MiniGallery', a image gallery of the dimension 400x300px.
It has a friendly thumbs viewer and can be easily updated working directly in the FLA.
Perfect, for those who want to add a simple but useful image gallery to their site's homepage.
If you need a image gallery with few pictures and without the need to use an XML file...this is the solution!
Otherwise, if you need XML based gallery, you can have a look to Pixellation Flash CS3 SlideShow and Full Screen Gallery.
MINI GALLERY
Flash CS3 image gallery
Files package :
main.fla
Main.as
main.swf
leggimi.txt
Source files:
Last edited by Flep; 05-06-08 at 15:41.
Hello there Flash Guru
I would like to ask.
Could i add an image description in each image sepeteraly?
(Not of course embedded in the graphic)
When the image changes the description would do the same
it is not working for me. the problem is I try to display this photo galery as a link from a button. all in flash. i click the button, it enters the stage, but it is not working.
Maybe I should enter the as in the same stage.
can someone help me ?
Hi,
do you mean you are trying to load the miniGallery SWF into your SWF ?
No, I made it all over again in my flash website, but i can`t use the as file. I modified the values, but nothing. I tried to do this deep inside my site. Is there a solution to nest all the content from the as into a frame ?
Or what should I do ?
You can move the code in a frame but many things will depend which frame, if you have just one frame or your timeline runs, etc etc...
I suggest you to leave the code in AS file and load the entire SWF into yours.
I tried this too, but an error ocurs:
I tried to load that swf with this code:TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main/init()
at Main()
-var imageRequest:URLRequest = new URLRequest("/MiniGallery/main.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChildAt(imageLoader, 1);
imageLoader.x = -265;
imageLoader.y = -210;
ok, try the following:
Change these lines of Main.as
and use this code to load:Code:public function Main() { addEventListener(Event.ADDED_TO_STAGE,init); } private function init(event:Event):void { removeEventListener(Event.ADDED_TO_STAGE,init); stage.frameRate=31;
Code:var imageRequest:URLRequest = new URLRequest("/MiniGallery/main.swf"); var imageLoader:Loader = new Loader(); imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadComplete); imageLoader.load(imageRequest); function loadComplete(evt:Event):void { imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE,loadComplete); var swf:MovieClip=imageLoader.content as MovieClip; swf.x = -265; swf.y = -210; addChildAt(swf, 1); }
It's working fine. Many thanks. You saved my life. ;)
Bookmarks