dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Trouble with 'LoadMovie' function

Hybrid View

  1. #1
    zephyr Olly K's Avatar
    Join Date
    May 2002
    Location
    The Univerity of Wales, Newport
    Posts
    1,357

    [F8] Trouble with 'LoadMovie' function

    Hi, I'm using the LoadMovie function so that when a button is pressed it loads a mini-game .swf file into a movie clip called 'holder'
    I am using this code on the button:

    Code:
    on(release){
    	function() {
    	holder.unloadMovie();
    	holder.loadMovie("Http://mygameaddresshere.swf");
    	}
    }
    It's not reporting any errors but it's not loading the .swf either. I've checked the url I'm directing it to and that works.

    Do I need to set the posisiton, width and height of the .swf file? I figured it would work off the center point of the movieclip but maybe not?

    Any help is much appreciated thanks!
    -Olly
    - I made this!
    http://www.okkle.co.uk - creatures, art, animation and toys!
    Toilet Trumps

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Removing any helpful previous posts I mistakenly contributed to these forums.

    See ya FK'ers
    Last edited by NTD; 10-19-2006 at 06:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center