[Flashr] help

Steven Henry steven at kingsteven.com
Fri Feb 13 03:02:12 PST 2009


I'm also a bit out of touch with AS2 but it sounds like you're trying  
to set the movieclip's properties before it's loaded - use the  
MovieClipLoader class?

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002538.html

Didn't test this but it should work:

>> loadMovie("slide.swf", "flickr");

var containerMC:MovieClip = this.flickr;
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(this);
mcl.loadClip("slide.swf", containerMC);

function onLoadInit() {
     containerMC.setMask(this.mask);
     containerMC._x = 20; //etc...
}


/Steven

On 13 Feb 2009, at 06:25, Kelvin Luck wrote:

> Hi Rik,
>
> I can't really help with most of your issues I'm afraid. It's been a  
> long time since I've programed in AS2 and I can't remember all of  
> the quirks... I think that maybe when you loadMovie into a clip then  
> the loaded movie replaces that clip though. So maybe you should  
> create a clip inside the clip and loadMovie into that inside clip?
>
> Re. question 4, it may be related to issues Flash Player 9 has with  
> unloading content (see http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html 
>  ) although I'm not sure if that's only with AS3... It is worth  
> making sure you don't have any timers running or anything before you  
> remove the content anyway...
>
> Hope that helps,
>
> Kelvin :)
>
> On Wed, 11 Feb 2009 12:51:17 -0800, rik smith <rikflora at yahoo.com>  
> wrote:
>
>> I have a flash site. I am loading sections(swf) dynimacly.  one of  
>> the swf loaded dynamicly is called pics.swf.  pics.swf has three  
>> layers the top layer has an action in it that reads  
>> loadMovieNum("frame.swf", 1);
>>
>> this loads a swf with a graphic in front of the flashr.  the next  
>> two layers are an empty movie and an action that reads
>>
>> loadMovie("slide.swf", "flickr");
>>
>> this loads the flasher slide show.  the slideshow loads behind the  
>> frame graphic like i wanted it to.
>>
>> these are my issues.
>>
>> 1. when i try to mask the empty movie loaded with flashr  the empty  
>> movie ignores the mask.
>> 2. i cant control where on the canvas flashr falls when it is  
>> loaded into the empty movie.
>> 3. when i load the pic.swf dynamicly into the main movie it  
>> displays infront of everthing else even though the layer it is on  
>> is at the bottom of the layers.
>> 4. also once pics.swf is loaded dynamicly it never unloads when i  
>> attempt to load a new swf into the empty movie in the main movie.  
>> all of the other sectioons work fine it seems to be an issue with  
>> loading the flashr.
>>
>> any help would be greatly appreciated.
>>
>> rik
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Flashr mailing list
>> Flashr at osflash.org
>> http://osflash.org/mailman/listinfo/flashr_osflash.org
>
>
>
> _______________________________________________
> Flashr mailing list
> Flashr at osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org




More information about the Flashr mailing list