A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Question no. 1 - Preloader :)

  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    91

    Question no. 1 - Preloader :)

    I search and read almost all on this forum, and nothing. Please see that web site:

    ff_mode2 (size: ~130kb)

    I put for this movie/web site normal preloader from 3DFA. It is called: "Loading progress bar".

    Nothing acts. All preloaders are freeze. Only text 'loading' and zero of animation. Before i try use this code:
    Code:
      pct = getBytesLoaded() / getBytesTotal() * 100;
      ptext= "LOADING  "+toString (int(pct)) + "%"
      element ("pct_bar").scale.x = pct
    Results:
    Code:
    int() is not a method of Movie on line 2   ptext= "LOADING  "+toString (int(pct)) + "%"
    WHY??
    Last edited by 3DH; 07-31-2007 at 09:29 AM.

  2. #2

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    91
    I'm no programmer so these articules not help me. I need some example for 3DFA.

    Thx anyway...

  4. #4
    Senior Member
    Join Date
    Dec 2006
    Posts
    274
    Mayby your movie just loads so fast??

    anyway, to get over the error try this:
    ptext= "LOADING "+toString (Math.round(pct)) + "%"

  5. #5
    Member
    Join Date
    Jul 2007
    Posts
    91
    Quote Originally Posted by Finjogi
    Mayby your movie just loads so fast??
    No.
    Quote Originally Posted by Finjogi
    anyway, to get over the error try this:
    ptext= "LOADING "+toString (Math.round(pct)) + "%"
    Hmm, good. Almost. Error is gone, but this preloader works only when i play a movie in 3DFA. On server still is a freeze.

    ---

    ff_tester (Add some photo. File size ~310kb)

    Btw. I use 3DFA 4.9.6.2
    Last edited by 3DH; 07-31-2007 at 02:57 PM.

  6. #6
    Member
    Join Date
    Jul 2007
    Posts
    91
    So I must show Preloader, Progress and LoadResult? But how?

  7. #7
    Member
    Join Date
    Jul 2007
    Posts
    91
    Can somebody help me please?

  8. #8
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Posts
    681
    Like many elements in 3DFA. The preload feature is scheduled for a Flash 9 upgrade. The old preload feature will soon be removed and replaced with a Preloader element. The new element will work by having a small preload movie load a separate main movie swf file.

    You can implement the same technique now, or you can wait for the new implementation to become available in 3DFA.

    In any case, we are looking very closely this week at ironing out some of the problems that have been reported on the topics of preloading and loading external swfs. A fixed version will be released as soon as possible.
    Cheers,
    kusco
    (3DFA Support Team)

  9. #9
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Posts
    681
    The Flash Element has now been updated in version 4.9.6.5
    Cheers,
    kusco
    (3DFA Support Team)

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