A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: 2 questions.please help!!!

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Location
    Somewhere I Belong
    Posts
    24

    2 questions.please help!!!

    hi all,
    I have 2 questions:

    when I prepare a perload movie till the whole of it is loading how can I show the precent of loading?


    how can I make flash load a mvoie from a frame number not from the first.

    thanks

  2. #2
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Hi,

    Nice to see you here, from Iran.

    I'm not quite sure what you are trying to do.

    Are you asking how to preload your main movie, preload to a movie clip, or to a level?

    Also, "not from the first frame"? What do you mean, please describe.

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Location
    Somewhere I Belong
    Posts
    24
    hi,
    I mean when flash movies are loading there's a primate simple movie loading before the main movie.I use this:
    ifFrameLoaded (5) {
    gotoAndPlay (120);
    }

    but I've seen in some sites during loading this movie it shows the percentage of loaded movie&I want to know how it works.

    I want when people click on one button,it load a movie like this:
    on (press) {
    loadMovieNum ("movie.swf", 0);
    }


    but I don't want it loads from the 1srt frame,how can I load it from(for example) 100th frame?
    I hope I could say my meaning.my english is not complete.

  4. #4
    Member
    Join Date
    Aug 2002
    Location
    NZ
    Posts
    42
    Hey Wheels nice to see you here from nowhere are you lost man?
    Last edited by Wheels; 11-25-2002 at 02:31 PM.

  5. #5
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Most of the time

    Did you answer the question there, or just pokin' fun at the dumb American.

  6. #6
    Member
    Join Date
    Aug 2002
    Location
    NZ
    Posts
    42
    Originally posted by Wheels
    Most of the time

    Did you answer the question there, or just pokin' fun at the dumb American.
    How have you came to know that Americans are dumb? The nation of America that you are
    possibly one of them are respectful and honorable. It is only the American goverment that is hated by the deprived masses of the nations of the world.
    ____________________________________

    mehri,

    Just crate a button
    Code:
    on (release) {
    	gotoAndStop (119)
    }
    then in frame 119 create a movieclip with the following code on it

    Code:
    onClipEvent (load) {
    	total = int(_root.getBytesTotal());
    }
    onClipEvent (enterFrame) {
    
    	Loaded = int(_root.getBytesLoaded());
    	Percent = int(loaded/total*100);
    	_root.Percent = Percent+" %";
    		if (Percent>=100) {
    		tellTarget ("_root") {
    			gotoAndPlay(120); 
    		}
    	}
    }
    now you only need to create a dinamic text field name it percent.
    Last edited by Wheels; 11-25-2002 at 02:30 PM.

  7. #7
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Originally posted by Maxelism
    How have you came to know that Americans are dumb? The nation of America that you are
    possibly one of them are respectful and honorable. It is only the American goverment that is hated by the deprived masses of the nations of the world.
    ____________________________________

    Yes, I am American - and not all Americans agree with our foriegn policy - but that's a discussion for the coffee lounge.

    And, please use english only on this forum.

  8. #8
    Junior Member
    Join Date
    Oct 2002
    Location
    Somewhere I Belong
    Posts
    24
    hey Maxelism thanks,
    seems I'm the 1st Iranian here
    here is not a political forum.but I think everybody from every nation have the right to live in peace&happiness.hope governments know this someday

  9. #9
    Member
    Join Date
    Aug 2002
    Location
    NZ
    Posts
    42
    Hi mehri
    Don't feel lonely
    I am an Iranian too

    I tried to tell you welcome word in farsi, but as Wheels who is a Moderatorr of this fancy little world
    didn't undrestand that,took his best childish action used his skill to get revenge by wiping my persian sentence

    anyway you are welcome and if you had any question let me know, Ill try to help
    maxelism@hotmail.com

  10. #10
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Originally posted by Maxelism
    Hi mehri
    Don't feel lonely
    I am an Iranian too

    I tried to tell you welcome word in farsi, but as Wheels who is a Moderatorr of this fancy little world
    didn't undrestand that,took his best childish action used his skill to get revenge by wiping my persian sentence
    There is no "revenge", I wasn't angry or offended about anything. It's my job to moderate - but I don't know all the languages of the world - so we use english here. I can't moderate words I don't understand - and you obviously know english. Say "welcome" in another language if you like, but there was a great deal more than just that in your posts.

    If you are still confused, see my first post - it says "nice to see you here from Iran" It was a friendly gesture, not a stick in the eye. I have friends from Iran, and have studied the region extensively. You would probably be very surprised by my political views, but this is not the place for that discussion.

  11. #11
    Junior Member
    Join Date
    Oct 2002
    Location
    Somewhere I Belong
    Posts
    24
    hey maxelism,really I don;t feel lonely here anymore!!
    sure I need your help.I'm new in flash&specially I have some problems with scritping.
    ok,wheel I understand that there is no revrenge over here.you did your due.I thought it's only here that there are censors.now I know in USA it exists too

  12. #12
    Senior Member
    Join Date
    Apr 2002
    Posts
    153
    Originally posted by mehri
    ok,wheel I understand that there is no revrenge over here.you did your due.I thought it's only here that there are censors.now I know in USA it exists too
    You are confused on this point.

    Wheels DID NOT censor you.

    He simply asked that you use the same language as everyone else in your posts.

    That is much different than censorship which I'm sure you understand.

  13. #13
    Member
    Join Date
    Aug 2002
    Location
    NZ
    Posts
    42
    Originally posted by Wheels
    There is no "revenge", I wasn't angry or offended about anything. It's my job to moderate - but I don't know all the languages of the world - so we use english here. I can't moderate words I don't understand - and you obviously know english. Say "welcome" in another language if you like, but there was a great deal more than just that in your posts.
    Thank you for your description that was indication to your good intention, sometimes misunderstandings
    distort the face of friendship but with a gentle manner we can put it in a right form. Now we are more friends
    but the reality which should be accepted is this that you could have wiped it with my permission because
    it was mine, thank you anyway.
    Originally posted by mehri
    hey maxelism,really I don;t feel lonely here anymore!!
    sure I need your help.I'm new in flash&specially I have some problems with scritping.
    ok,wheel I understand that there is no revrenge over here.you did your due.I thought it's only here that there are censors.now I know in USA it exists too
    your manner is friendly to all and you have the skill of strengthening the friendship among all.
    I am at your service to render what ever I can
    Originally posted by 1a2b3c4d
    Wheels DID NOT censor you.

    He simply asked that you use the same language as everyone else in your posts.

    That is much different than censorship which I'm sure you understand.
    This is a good interpretation for a bad action but we accept your justification anyway.
    Last edited by Maxelism; 11-27-2002 at 06:29 AM.

  14. #14
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    I'm not required to ask for your permission to moderate this forum. You are required to post and respond in english. It's really just as simple as that.

    This post is now closed.

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