A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: Problems with the preloader

  1. #1
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147

    Problems with the preloader

    Hi guys,

    Like i said in the title, i am really having trouble with preloader.To illustrate it to you:
    Visit this page(it's without preloader) and click on United Kingdom or Poland.

    http://craftofpiano.com/lab/members2.html

    Works fine!

    Now try the same here:

    http://craftofpiano.com/lab/members4.html

    Click on the Uk or Poland again.

    Nothing happens, or movie got stuck on 100% and won't play.

    Can somebody tell me why is it happening?

    I tryed various things, like creating an extra frame on the begging of the move.Nothing helped!

    KM. ver. 6.00
    Last edited by joca_hdj; 12-05-2007 at 08:06 PM.

  2. #2
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    Anybody please?! I can't continue my work on this project until i sort this out.

  3. #3
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    I could be wrong but I'm not sure you can use preloader inside another movie like that. You can use MovieclipLoader for that though as it provides events and feedback.

  4. #4
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    no, i am not using preloader inside another movie clip.This is preloader for the main movie only.And for some reason it shows up again when i click another movie clip with no reason.I have no idea why is it happening?Is it a bug or something?

    The other result is got is when gradient bar and text message as a preloader.
    then, when you click on UK, nothing happens, like there is no movie clip or AS assigned to it.

    I can provide you fun file if you want.Also my swf file is 550 kb.
    Last edited by joca_hdj; 12-08-2007 at 05:35 AM.

  5. #5
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Post the fun for the main swf and I'll sort it.

  6. #6
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    Thanks Stoke,

    Let me know if you need other files too!
    Attached Files Attached Files
    Last edited by joca_hdj; 12-08-2007 at 06:41 AM.

  7. #7
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Hi, I'm not able to test it for you, bacause I haven't all the files, but what I think you need to do is add another copy of frame 1, make it frame 2, and put all your actionscript and the stop on that frame. Then apply your pre-loader. Hope that works, let me know.

  8. #8
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    No , nothing!
    But an interesting idea came to my mind now.
    UK is a movie clip.What if i turn it into a bttn and assign actions via interface?
    not to script it!
    I ll let you know what i did!
    Thanks for being here for me !

  9. #9
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    Oh, yeah!!!!
    i put: go to frame action on the UK(bttn) and also a lil AS like this:
    on(release){
    cont.loadMovie("engleska.swf");
    }

    Runs like a champ!
    I am still wondering , why didn't it work when UK was movieclip, controled by AS?

  10. #10
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Brilliant that you got it working, well done mate, by the way the UK is controlled by a Queen, its the US thats controlled by an ASS!

  11. #11
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    Indeed! Thanks! See you!

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