Loading swf from gallery maker into a...

User 403640 Photo


Registered User
7 posts

I bought the flash gallery maker and if works fine. I have a 100% flash site that I am trying to load the swf into. Using loadmovie("myalbum.swf,1); I get the gallery loaded, but it is not anywhere near the position on the screen where I want it.

Trying to load it into a blank movie clip (called "blank") will not work either. loadmovie("myalbum.swf, "blank"); It will not load the swf at all. Is there a way to get the gallery swf to load into a flash site???

Thanks,

Mike
User 403640 Photo


Registered User
7 posts

Solved: The swf that the gallery spits out has absolute links in it that prevent it from working properly when loaded into a target. I had to use

this.blank._lockroot = true;
this.blank.loadMovie("myalbum.swf")

in my movie clip to get it to load properly.

Mike
User 510044 Photo


Registered User
7 posts

I'm having an issue making this work. I'm using the calender, not the gallery. I can get the calender to show up in my exported swf, but it doesn't have any text. Any ideas?

You can check it out here:
http://colinpanetta.com/CA/test/test.htm
The smaller red square is a button. Press it to activate the calender. Here's the code I have applied to the button, as per mike's posts above:

on (release) {
mvTheMovie._lockroot = true;
mvTheMovie.loadMovie("mycalendar.swf");
}

Here's my files:
http://colinpanetta.com/CA/test/

This forum thread has a slightly different solution:
http://board.flashkit.com/board/showthread.php?t=776321
It says to use "LoadmovieNum("gallery.swf",1)" instead of "loadMovie("mycalendar.swf");", but doing that renders my button inoperable.

I exporting as Actionscript 2- could that have something to do with it?

I would also be interested in knowing how to resize the calender. I have it on the small setting, because resizing it from within the CoffeeCup program only seems to resize the sliding window, while the calender itself remains the same size.

Huge thanks, big ups and kudos in advance to anyone who can help.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.