Professional Web Applications Themes

loadFile and keyboard entry - Macromedia Director 3D

Hello together, I wrote an application which works fine except with a little problem. I load my scenes with loadFile () in an exitFrame - Handler. I test the state - property, and everthing is working. But I tried to use the time while loading the scene and let the user make some keyboard entries. After calling the loadFile() - function the movie does not accept any userinteraction. It stops at that point, and probably waits until the ILS was loaded. So, the framerate slows down. (the same problem I have to visualize the progress bar). Also using a timerout ...

  1. #1

    Default loadFile and keyboard entry

    Hello together,

    I wrote an application which works fine except with a little problem. I load
    my scenes with loadFile () in an exitFrame - Handler. I test the state -
    property, and everthing is working. But I tried to use the time while loading
    the scene and let the user make some keyboard entries. After calling the
    loadFile() - function the movie does not accept any userinteraction. It stops
    at that point, and probably waits until the ILS was loaded. So, the framerate
    slows down. (the same problem I have to visualize the progress bar). Also using
    a timerout - object does not solve the problem. Does anyone has an idea to
    solve it ? Thanx.

    Senifor

    Senifor Guest

  2. #2

    Default Re: loadFile and keyboard entry

    userinteraction while loading works in my application.
    this is how I start and handle Loading:

    on enterFrame me
    if pload then
    -- state is 4 before or after loading
    if (pMember.state = 4)then
    if(pStreaming)then
    -- loading done
    pLoad = false
    pStreaming = false
    else
    --start loading
    pMember.loadFile(the moviePath & pPath, 0, 1)
    pStreaming = true
    end if
    else
    -- handling loading State
    LoadingStateHandler (pMember.percentstreamed)
    end if
    end

    Mybe this is a help for you
    muzi


    muzikathzi Guest

Similar Threads

  1. the nightmare that is loadfile()
    By mufc 1974 in forum Macromedia Director 3D
    Replies: 2
    Last Post: February 17th, 12:10 AM
  2. About loadfile()?
    By WrongAgain in forum Macromedia Director 3D
    Replies: 1
    Last Post: November 24th, 01:51 PM
  3. loadfile
    By olavi Lappalainen in forum Macromedia Director 3D
    Replies: 1
    Last Post: November 15th, 08:47 AM
  4. Any ideas on how to confirm data entry of an item post entry?
    By Dale C Gray in forum Microsoft Access
    Replies: 3
    Last Post: July 21st, 03:40 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139