Skip to main content
Known Participant
January 18, 2009
Question

importing gallery into main flash file

  • January 18, 2009
  • 59 replies
  • 3226 views
i'm making my portfolio in flash, i have just about everything setup. all i need now is to import my gallery into it
i made the gallery in a seperate file so i could copy it for other sections of the gallery later on.

i've tried importing it onto the stage or into the libary but it doesn't seem to import anything apart from the items that r on stage in the gallery file. no action script. tried adding the script in myself but it doesn' seem to chg a thing!

the gallery file and code u can find here: http://www.developphp.com/Flash_tuts/AS3_Dynamic_Elastic_gallery.php

it's the same i have just with different colours and images that is all

2 more small things.

the file discription that is in the xml doesn't seem to show up letters.. if u look at the gallery example on the link above it just has 0-8 r 9. but in the xml it has something along the lines of "enter description here"
and ideas how to chg that?

is it possible once i have the file into my main file to resize it?

thx in advance
This topic has been closed for replies.

59 replies

kglad
Community Expert
Community Expert
January 19, 2009
then threedloader_mc doesn't exist.
sa22Author
Known Participant
January 19, 2009
get a msg saying 'undefined'
kglad
Community Expert
Community Expert
January 19, 2009
add the following below your loadMovie code and let me know what was traced:

setTimeout(traceF,2000);

function traceF(){
trace(threedload_mc.getBytesLoaded());
}
sa22Author
Known Participant
January 19, 2009
ur gunna have to explain it a little more buddy.. like i said i aint that fluent with actionscript!
kglad
Community Expert
Community Expert
January 19, 2009
use preloader code or, at least, check the getBytesLoaded() of threedload_mc after loading has had a chance to advance to confirm that are loading that swf.
sa22Author
Known Participant
January 19, 2009
stopped getting the error msg but nothing loads up!
kglad
Community Expert
Community Expert
January 19, 2009
use forward slashes.
sa22Author
Known Participant
January 19, 2009
tried using this code

threedloader_mc.loadMovie("content\3d gallery\AS3_Dynamic_Elastic_Gallery\3d gallery.swf");

but i get this msg, same i got with loadMovieNum

Error opening URL 'file:///C|/Users/SA%2022/Desktop/Portfolio%20V3/contentd gallery\S3_Dynamic_Elastic_Galleryd gallery.swf'
sa22Author
Known Participant
January 18, 2009
also tryied using loadMovieNum("yourfile.swf"); to get it in but i get a error msg with file location. i'll post up exactly wot it says when i get a chance,

any 1?