317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

Hi All,

I’m sure this could be something simple but I honestly cannot figure this out. I’m loading an external swf file containing buttons into my main movie. I managed somehow to load the swf but the buttons from the external file are not working.

Can you guys help me on this?

I appreciate it.

Thanks

8 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 10+ items on Envato Market
damonlee says

Kramz,

I think we may need more info. What version of AS are you using? I have a script available written in AS3 that loades an external SWF and allows a function to be written to “goToAndPlay” a certain frame on that SWF …

Are you using “levels” to load into your main SWF ? I don’t use levels, the next external SWF I load always replaces the one currently loaded…

-Damon

317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

Hello damonlee, I’m using AS2 . Here’s more info: I’m currently using a file I bought here on flashden. the file is called XML MP3 Bottom Bar from flashjunkie I want to replace the centered movie with my external swf wich will become the main movie. I somehow managed to load the movie with trial an error (i’m more of an animator and have basic knowledge in flash). My problem is that all the buttons on that new movie do not react when i click over them…

I appreciate all your help..

Thanks

317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

Anybody?... Please

905 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
unchartedrealms says

do the buttons in the movie your loading control something in your main movie?

317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

The External Movie has its own menu. On rollover my buttons animate fine, but when i click and release them, the movie (external movie) is suppose to go to a frame in its own timeline. Everything works fine when I open the swf by itself not when i load it into my main movie.

Thanks,

905 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
unchartedrealms says

add this to your button and it should control the external movie _root.gotoAndStop(“whateverlabelorframe”); }

on (release){

the root command on your button will tell the button to jump out of the movie clip it is in and go to a point in time on the external movie

317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

Hello Unchartedrealms, this is how my buttons look like…

on(rollOver) { _root.position=b3._y; }

on(rollOut) { _root.position=this[“b” + _root.pressed_link]._y; }

on(release) { if(_root.pressed_link<>3) { _root.main.all_pages[“p”+ _root.pressed_link].gotoAndPlay(“s2”); _root.pressed_link=3 }

}

What should I change?

317 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
kramz says

never mind, thanks everyone for your help. I just figured it out. I had to apply _lockroot to the loaded SWF file.

2 posts
  • Has been part of the Envato Community for over 6 years
LazyFlasher1 says
never mind, thanks everyone for your help. I just figured it out. I had to apply _lockroot to the loaded SWF file.

I am having similar problems – Can anyone help me?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by