Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default FileXtra

    Hi all,

    I am using FileXtra4 to load 3D files from my harddisk to a 3Dworld at my
    stage.
    Now, when I try to load another file, the 3D file I already had imported is
    replaced by the second one.

    My question is: Is it possible to import different 3D files from my harddisk
    into the same 3Dworld?

    The current code I have:

    --------------------------------------------------------------------------------
    --------------------
    global pModel
    global chosenFile

    on mouseUp me

    fxObj = xtra("FileXtra4").new()

    if not(ObjectP(fxObj)) then
    WriteInfo("*** Could not instantiate FileXtra4. Is it in the Xtras
    folder? ***" & RETURN)
    return
    end if

    volumeToUse = "H:\"

    chosenFile = fxObj.fx_FileOpenDialog(volumeToUse, "W3D/*.W3D", "Kies
    bestand", TRUE, TRUE)

    if chosenFile <> " " then

    go to "Start"
    pModel.loadfile(chosenFile, true ,true)
    go to "3D View"

    end if


    fxObj = 0

    end

    --------------------------------------------------------------------------------
    --------------------

    I hope you can help me out!
    Thanks!

    Shiv` Guest

  2. Similar Questions and Discussions

    1. how can i install macromedia's fileXtra?
      From director-online i got The fileXtra resides in the Save as Java directory in the Xtras folder. If you are using Director 8 you have to make...
    2. fileXtra 3/4
      Has anyone any experiance with this Xtra? I cannot get it to work within a projector when using XP. If i create a projector using NT or 2000 then...
    3. FileXtra mirrors?
      All of a sudden kblab.net has disappeared! Does anyone know where I can get FileXtra? -- Jeff S.
    4. FileXtra problem with Win2000/XP, RegEdit?
      Hi all, I'm having some trouble that I would love some advice for. I'm using the FileXtra4 xtra with Director 8.5 to call a local copy of Acrobat...
    5. FileXtra 'Save As'
      Have been trying for hours now attempting to provide a 'Save As' option for my PDFs from my projector. I know I should be using FileXtra to achieve...
  3. #2

    Default Re: FileXtra

    > pModel.loadfile(chosenFile, true ,true)
    This is not a filextra but a lingo problem. The second parameter of the
    loadfile function indicate that you want to replace the old scene by the
    new.
    Use
    pModel.loadfile(chosenFile, FALSE ,true)

    --
    Bubar
    Freelance Multimédia - internet
    Création de logiciels multimédia et sites web
    [url]http://www.wapitistudio.com[/url]


    Bubarnet Guest

  4. #3

    Default Re: FileXtra

    Is it just that simple :)

    Thanks for helping!
    Shiv` Guest

  5. #4

    Default Re: FileXtra

    Another question about it...

    So, I am importing mulitple .w3d files into my scene with the FileXtra.. Is it
    possible to view the .w3d files while the open dialog is openend and/or before
    importing them? I mean.. something like the option of the thumbnails view in
    explorer? (Rightmouseclick -> View -> Thumbnails).

    Thank you!

    Shiv` Guest

  6. #5

    Default Re: FileXtra

    Shiv` wrote:
    > Another question about it...
    >
    > So, I am importing mulitple .w3d files into my scene with the
    > FileXtra.. Is it possible to view the .w3d files while the open
    > dialog is openend and/or before importing them? I mean.. something
    > like the option of the thumbnails view in explorer? (Rightmouseclick
    > -> View -> Thumbnails).
    There is no windows included viewer for w3D file, so you can't use standard
    windows objects to do that.
    If you use file xtra functions, it doesn't seem to be possible. While File
    xtra is running, you don't have any control with lingo.
    But it's possible to create a fileopendialog in Lingo, and had a "viewer" in
    the dialog. It's not a big work to do, and not so easy too

    --
    Bubar
    Freelance Multimédia - internet
    Création de logiciels multimédia et sites web
    [url]http://www.wapitistudio.com[/url]


    Bubarnet Guest

Posting Permissions

  • You may not post new threads
  • You may 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