Go Back   OXYLUS Flash Board > Support > June Gallery

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2008, 02:44 PM
Junior Member
 
Join Date: Sep 2008
Location: South Africa
Posts: 1
Default June gallery using SWF instead of images

Hi guys

Thanks for a cool gallery I think the work you guys have done on this was really great.

One quick question.

I used it for a presentation for a client of mine and he loved it but he would like animation on the slide that loads in the main section.

I developed the slides (all 39 of them) in flash 8 and published the SWF files.

I changed the xml page to call the swf file instead of the image but as you would know it does not work.

Please guys I am on my knees now - is there any change I can make that will enable the .swf file to load in the gallery.

I have tried so many things but as you might have guessed have not succeeded.

I look forward to hearing from you.

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-20-2008, 07:41 PM
Super Moderator
 
Join Date: May 2008
Posts: 656
Send a message via Skype™ to Adrian
Default

Try this quick solution. It is not the best, but it might work with your files:

Open source\oxylus\JuneGallery\ImageViewer.as and remove the highlighted lines from the onLoadInit function (line 216):

Code:
private function onLoadInit() {
		...
                ...
		var bd:BitmapData = new BitmapData(imgw, imgh, false, 0x000000);
		bd.draw(Img);
		Img.removeMovieClip();
		delete Img;
		newImg();
		Img.attachBitmap(bd, Img.getNextHighestDepth(), "auto", true);
               ...
		...
	}
Open main.fla and republish the swf.
Reply With Quote
Reply

Tags
june gallery swf

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.