Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Loadmovie problem

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch

eagle12

Established Member
Impact
8
I have a page that when you click on a button it calls

this.content.loadMovie("packages.swf");

when I run it the first time it loads the movie fine, and stops where it should. But when I run it subsequent times it constantly reloads the packages.swf movie. If I run packages.swf on its own, it runs perfectly fine.

Any help would be greatly appreciated.

P.S. I am running as2.0 on CS3
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
you may want to try this
Code:
<noscript>
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="810" height="156" id="header" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="packages.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	<embed src="header.swf" menu="false" quality="high" bgcolor="#ffffff" width="810" height="156" name="header" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>
</noscript>
 
0
Close
Sorry, maybe I am confused, but I am referring to loading movies within another flash movie.

on the button in my index.swf I have:

on(Release){
loadMovie("packages.swf","content");
}

This is pretty standard code, but still seems to be giving me problems. I am wondering if maybe it has to do some issues using as2.0 in cs3
 
0
Close
change that to this

Code:
on(Release){
[b]unloadMovie[/b]("packages.swf","content");
}
 
0
Close
I don't want to unload the movie, I want to load it.
 
0
Close
I decided to re-write the whole project in AS3.0. Don't seem to have any problems now.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back