Show a browse for file dialog:
var fileURL = fl.browseForFileURL("open", "Select file");Suggest you read the docs: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part7_Extending.html as already mentioned by Muzak On 6/7/07, Roy Pardi <[EMAIL PROTECTED]> wrote:
At 11:53 AM +0200 6/7/07, Muzak wrote: >And wich part are you having problems with? Well, I've been digging around for examples (for instance, of opening a file picker) so I can see JSFL in action along with info on any dead ends or other issues that would indicate that what I want to do isn't possible. >> Guess I was too vague about what I want to try to do- basically, within the >> Flash app: >> >> 1. user opens a template movie that contains a Library of movieClips >> 2. user selects my command from the menu >> 3. the command opens a file picker dialog box where they can select a >> previously created XML file >> 4. my command parses the XML file and instances the appropriate movieClip >> from the librbary, setting name & text props from the XML data >> 5. my command opens a "save as" dialog so the file can be saved >> 6. user can adjust/tweak positions of added MCs and then publish the swf. >> >> (just thinking out loud here) >> -- ----------------------------------------------------------------- Studio Site Updated! http://www.roypardi.com/ _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

