[fla 8] fscommand

He creado un cd en flaash y llama a archivos externos .exe
que estan en la
carpeta fscommand como lo ke dicen aki:
http://www.cristalab.com/tutoriales/109/ejecutar-y-abrir-archivos-externos-desde-flash
El problema es que los archivos .exe esatn dentro de sus
directorios y no
los puedo mezclar por los nombre iguales ke puedan tener con
las demas
presentaciones.
Como hago para llamarles?
La siguiente ruta no la interpreta... por ke?
on(release){
fscommand("exec", "nombre1/presentacion.exe");
Esto en cambio funciona...
on(release){
fscommand("exec", "presentacion.exe");
Como hago para ke me acepte el directorio? no se puede
hacer?????

Es muy facil, el otro dia me encontré con ese problema.
Desde flash (proyector) podemos abrir "cualquier tipo de
archivo", no solo
exe.
Necesitas eso si que dichos archivos estén dentro de una
carpeta llamada
"fscommand" que esté en el mismo directorio que el .exe
de flash.
Supongamos que tienes en el directorio raiz :
.exe, .ico, etc... y carpeta fscommand
Dentro de fscommand tienes una carpeta llamada pdf y otra
llamada
ejecutables, por ejemplo:
pdf/archivo1.pdf
pdf/archivo2.pdf
ejecutables/programa1.exe
Abres el bloc de notas y escribes:
start pdf/archivo1.pdf
o
start ejecutables/programa1.exe
o
ambas cosas
Lo guadras con la extensión .bat, por ejemplo,
"abrir_archivo.bat" (dentro
de la carpeta fscommand claro)
y desde flash:
boton.onRelease = function(){
fscommand("exec","abrir_archivo.bat")
y así se abrirá la orden que haya dentro del .bat
"markus" <[email protected]_nospam> escribió en el
mensaje
news:[email protected]...
> Gracias... lo tendré en cuenta
>
> "Fco. Moreno" <[email protected]>
escribió en el mensaje de
> noticias news:[email protected]...
>> Un apunte: yo suelo utilizar mi viejo flash 5 para
generar lanzadores
>> (proyectores ejecutables) que no tienen esa
restricción de seguridad...
>> Salu2
>>
>> "Álvaro Vidal" <[email protected]>
escribió en el mensaje
>> news:[email protected]...
>>> Como posible solución crea .bat para que
estos sean los que ejecuten el
>>> .exe que estan en subcarpetas. En principio por
cuestiones de seguridad
>>> (si no recuerdo mal) flash sólo permite
ejecutar archivos que se
>>> encuentren en la carpeta fscommand
>>>
>>> Saludos, Álvaro.
>>>
>>> "markus" <[email protected]_nospam>
escribió en el mensaje
>>> news:[email protected]...
>>>> He creado un cd en flaash y llama a archivos
externos .exe que estan en
>>>> la carpeta fscommand como lo ke dicen aki:
>>>>
>>>>
http://www.cristalab.com/tutoriales/109/ejecutar-y-abrir-archivos-externos-desde-flash
>>>>
>>>> El problema es que los archivos .exe esatn
dentro de sus directorios y
>>>> no los puedo mezclar por los nombre iguales
ke puedan tener con las
>>>> demas presentaciones.
>>>> Como hago para llamarles?
>>>>
>>>> La siguiente ruta no la interpreta... por
ke?
>>>>
>>>> on(release){
>>>> fscommand("exec",
"nombre1/presentacion.exe");
>>>> }
>>>>
>>>> Esto en cambio funciona...
>>>>
>>>> on(release){
>>>> fscommand("exec", "presentacion.exe");
>>>> }
>>>>
>>>> Como hago para ke me acepte el directorio?
no se puede hacer?????
>>>
>>>
>>>
>>
>>
>

Similar Messages

  • LMS-Scorm template What to use in fscommand in fla?

    Please help! I have search and read and nothing has seemed to
    answer this question. I have created a complete/incomplete module
    (no score needed...just show completed when user finishes) and
    published it with Flash w/Scorm 1.2 tracking template. The movie
    plays in the LMS but I still need something for my FLA that will
    show it as complete in the last frame. Here what the scorm template
    shows...
    // Change g_bSetCompletedAutomatically to true if you want
    the status to
    // be set to completed automatically when calling LMSFinish.
    Normally,
    // this flag remains false if the Flash movie itself sets
    status
    // to completed by sending a FSCommand to set status to
    "completed",
    // "passed" or "failed" (both of which imply "completed")
    var g_bSetCompletedAutomatically = false;
    I need to know the script to set the status to "complete"
    using an FSCommand in my FLA. I'm not an AS guru (surprised, huh?)
    so need the format in plain language. Maybe this is so simple I
    can't see it? I don't have direct contact with the LMS and just
    forward files so I don't know anything about it (Pathlore). I know
    there are newer things in 8 but just need this to work. HELP!
    LM

    I am in the same boat. If anyone can help out with this, that
    would be great!!!...

  • FullScreenTakeOver, fullscreen, and fscommand exec

    I am not a programmer. I switched to CS3 for flv ease of
    skins, but I'm finding AS3 to be extremely difficult to learn.
    I have an .fla that I am publishing as a Mac projector and a
    Windows projector. It took me 2 days just to learn the new way to
    handle simple buttons and now the Mac projector is already acting
    up on other simple commands. I haven't even had a chance to test
    the Windows .exe because I can't get the Mac version to work. I'm
    hoping the problems are the same so I only have to deal with this
    once.
    I'm at the point where I'm trying to get this to work:
    //in first frame
    fscommand("fullscreen", "true");
    myvideo.fullScreenTakeOver = false;
    //in different scene
    myButton.addEventListener(MouseEvent.CLICK, openSyllabus);
    function openSyllabus(event:MouseEvent) {
    fscommand("exec", "syllabus.app");
    seems simple enough right?
    Here are the problems:
    1. fullscreen is not actually fullscreen. It has a menu bar
    the top of the window.
    2. "myvideo" is an FLVPlayback component. It is contained in
    an swf called "video.swf". video.swf is loaded into an mc in my
    projectors main timeline called "videoSpot_mc" like this:
    teleButton.addEventListener(MouseEvent.CLICK, newvid);
    function newvid(event:MouseEvent) {
    var loadit = new Loader();
    addChild(loadit);
    loadit.load(new URLRequest("video.swf"));
    videoSpot_mc.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
    But when video.swf loads into videoSpot_mc it goes to a black
    screen despite having "myvideo.fullScreenTakeOver = false;" in
    frame one of the main timeline. I tried it in frame 1 of
    "video.swf" timeline, too and it just made the movie freeze. What's
    wrong here?
    3. fscommand is not opening "syllabus.app" which is a simple
    application that in turn opens "syllabus.pdf".
    I am working on a Mac OS 10.4.10 publishing from Flash CS3
    v.9.0.3 in AS3.
    What am I doing wrong??? I really need these answers fast or
    I will probably lose this client. Thanks in advance.

    Thanks, but it needs to be a hybrid cd. If only the windows
    version works then its useless.
    I got the fullScreenTakeOver = false; to work. I also found
    out that if you put
    fscommand("fullscreen", "true") in the first frame and then
    fscommand("fullscreen", "false") in the second frame and then
    fscommand("fullscreen", "true") in the third frame, then the menu
    bar will go away like it used to by just putting it in the first
    frame.
    The fscommand("exec", "myapp.app") never worked. I searched
    every forum on the web and found only more people with the same
    problem. I ended up switching back to AS2 Flash Player 8 and
    created fullscreen video and other effects myself through AS2.
    fscommands all worked swell. No issues.
    I find Flash 9 and AS3 to be bad product "advancements" and
    am happy I used the trial version before paying out the money for a
    product with so many flaws and setbacks.

  • How do I get to synchronise 3 videos of the same thing from 3 different Angles to play in a FLA and switch between them?

    Hi all,
    It's been a long time since I was on here... well here goes(I need a bit of technical help with a question if I may)
    This client of wants a flash video player of a model, modeling some clothes.
    They are going to set up 3 different cameras around her at the same time filming her - one from the front, one from the side and one from the back. Each clip lasts exactly 3mins and they are filming her at THE SAME TIME.
    Now after this, they want to put a FLASHPLAYER on their website with the video playing in a screen with 3 buttons underneath one saying FRONT VIEW, one saying SIDE VIEW AND one saying BACK VIEW. The three separate videos will be integrated in some way with this one flash file.
    The video player might start playing the FRONT VIEW first.
    BUT lets say 30 seconds into the clip I press the SIDE VIEW button the video switches to the side view on 30 seconds - The side view video doesn't play right from the start. Like I said before for example if the person is speaking and says "hello there", if you switch angle by clicking one of the buttons just at the point after she has said the word "hello", you switch to the angle where he is just about to say "there". If you see what I mean.
    As I said before there are 3 separate video clips:- FRONT VIEW, SIDE VIEW and BACK VIEW. Now I am not sure if these have to be embedded in the FLA file or can be contained in a separate folder on the server so that the SWF can access them. I am worry about streaming over the internet thats why I THINK Flash Media Server3 MIGHT be a solution BUT I don't know. BUT they must be seamless.
    AGAIN to reiterate...LETS say I am watching the SIDE view 30 seconds after the clip has started and the model starts scatching her head and then AT THAT POINT  I click the front view button below I see the model scratching her head from the front view at THAT precise moment.
    So all the videos seem to work at the same time to the casual viewer/user and it looks as though you are just switching views whenever you want.
    I have been looking all over the net to see if someone has produced a working example or if there is a tutorial somewhere but I have found NOTHING.
    I think there might be a problem pulling this one off as each video clip could be 4-5 MB in size and if they are streaming then there would be download problems and these videos might stop due to people with various bandwidth restrictions UNLESS all the videos were integrated into the flash library and were referenced from within by Actionscript but then the resultant SWF could be HUGE.
    I would really appreciate any help/suggestions here and any link to any working samples on the NET that I can download and disect at my leisure.
    BTW:-
    My email is [email protected]
    Cheers

    Use Flash Media Server to stream the files.......set up a timer and have all three of them play at once....and have a button switch the streams depending upon which stream you want to play.....and wallah......
    you can also capture the stream.time from the video playing and resume from that point on the other videos as well....havent done this theoretically so I dont know how smooth the transistion between streams will be....but it can be done....
    plus u may have to use double buffering techniques to make sure it starts up right away......
    thelegendaryghost

  • How in Flash CS4 to change text words of .fla file from a website template?

    I have a website template in which I am trying to change the header text words and menu text words to customize the template. How do I do this in Flash CS4? Thanks!

    There are any number of ways these text elements might have been designed into the file.  So you pretty much have to search for things.  If you do not see the text that you want to change when you open the fla file, then you may need to either make some layers visible that are not (eyeball icon next to layer name) or you may need to look into the actionscript code to see if the text is being dynamically written when the file opens.  If you happened to receive any .as, .txt, or .xml files with the template, the text elements may also be defined in those files.
    Just so you know, and this is just an observation, it appears from experience in these forums that template designers tend to make templates so that you are more likely to hire them to update things than to be able to solve it yourself.

  • Previewing FLA in HTML file

    Hello
    I have an FLA file and movie and wish to upload the movie file to a server. However, when I click File | Preview in HTML the HTML file fails to generate (I see only the background colour of my FLA in my browser).
    What could be the problem there?
    Thanks.
    Steve

    Hello selangov
    Many thanks for your reply.
    No, I am just trying to open the HTML file locally. In the past, I have simply clicked on File | Publish in the MX 2004 application and it generates a working movie in an HTML file (using IE). But recently, as I say, although the HTML file is generated, the movie does not show in the browser.
    The files I have downloaded are AC_ActiveX.js and AC_RunActiveContent.js. Are they the files you mean? And where do I install them to? The same directory as my FLA file?
    Thanks again.
    Steve

  • Swc problem with flex from my custom fla

    I have an fla which has several library items with a class linkage to a GenericButton.as file. I am exporting this fla as an swc file, and linking that swc into flex.
    My problem is that when flex builds the code for GenericButton it gets undefined property for anything it tries to reference that is part of the library item.
    Example:
    GenericButton.as does libLabel.text = "something"; where libLabel is a textfield, instantiated in the library clip which is bound to GenericButton in it's class linkage.
    The field exists in the clip, but when I compile in Flex with the swc in there, it cant find it. It says libLabel doesnt exist, undefined property.
    What am I missing here? I want to allow the fla author to bind some of his items to low-level component classes like that, and it's his job to ensure that all the necessary items are part of it. So if he makes a new button, he must just ensure he has a libLabel textfield somewhere in the clip.
    Why cant flex see that the items it's trying to compile have a libLabel in there? Is there a work around?

    Thx for the reply Greg, but no, that's not the problem.  If you re-read my post you'll probably see my problem is a little more involved than that.
    I have symbols exported for actionscript and I can instantiate them in Flex, that's not a problem.  The problem is symbols that are exported for actionscript and bound to a base class that contains custom code.  That custom code, when it uses it to type-check in flex builder (during the swc link stage), causes undefined properties.
    For some reason Flex is not seeing that the exported library item has the things the .as file is looking for.
    Does that make sense?
    I could probalby put together a simple example project but I'd have to find somewhere to upload it so that others could see.
    This problem is hard to describe, you have to read what I'm saying very carefully.

  • Hi all. I have a factory unlocked iphone 4s. I'm from Belize but i'm going to visit Fort Lauderdale, FLA. How can I get data for my phone? I checked the web and only got 'not sure to don't know' answers. Whoever has done this please help me

    Hi All. I live outside of the USA and have an iPhone 4s. I'm going to Fort Lauderdale, FLA and want to data service for my iPhone ( navigation using google or imaps, browsing and voip ing when no wi fi available). I browsed the net but seems almost impossible. When I visited Toronto I was able to get data thru Koodo but I don't think this is offered in the USA. Anyone who has real experience with this please help. This is a situation that is best aided by persons who have experienced it. Thanks

    Have a look here:
    http://forums.macrumors.com/archive/index.php/t-982315.html

  • [PLEASE HELP!] Converting Flash (fla) to Animated Gif (gif) becomes pixelated!!!!

    Hey guys,
    Wondering if anyone can urgently help me please.
    I've got a FLA file making an animated banner.
    When I export it as an animated GIF, the background (which
    originally is a solid color) has either dots or crosses making up
    the color.
    I've tried different settings such as dithering, changing the
    palette but have had no luck. And I'm using one of the 256 colors.
    Using a FLA that did have a good solid bg converted animated
    GIF, I tried to export that one as well and it comes up with the
    same problem.
    So that means it's not the color/fla that is wrong, but is my
    exporting to animated gif method. Any help please?
    Attached is how the background turns out:
    http://img403.imageshack.us/my.php?image=86993715ss7.gif
    http://img140.imageshack.us/my.php?image=bg2wf9.png

    And also when I try the publish method, the text either
    produces some whacked up image or just see a sort of white box
    shape around the original text.

  • Open fla from a flash exe

    I have a .fla file that I will publish to an EXE that will
    deliver various print and multimedia resources. I also have .fla
    files that contain just a flv and play the video. There will be a
    close button as well. What is the best way to launch that .fla file
    from within my EXE? I'm using AS2.
    Thanks
    --zak

    Use JStart
    http://jstart.flashjester.com
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • Can't open PC .fla file on Mac

    I have searched archived messages and although there have
    been posts about this, no one seemed to have any answers. So, I
    thought I would ask again. Oh, and please don't laugh!
    My company had a web site built back in 1998-1999. The
    outside person they hired to do the site created a Flash animation.
    I do not know what version was used or for sure what platform (PC
    or Mac). I do have the .fla files as well as the .swf files to work
    with, but when I try to open them I get this error message.
    "This document contains embedded objects that were created
    with Microsoft Windows version of Flash. These embedded objects
    must be deleted before opening on a Macintosh."
    I am trying to open the .fla files using an old Mac version
    of Flash 4. (Yes, I said please don't laugh!) My company will not
    allow the resources to buy an upgraded version. Can anyone tell me
    why I am getting this message? How I can open these files? or
    ANYTHING I can do? Thanks for the help.

    i think your company's lack of resosurces allocated to
    software updates has finally caught up with
    them :p
    The only thing you can do is find flash 4 - install it on a
    pc - open the FLA and well...come to
    think of it - i have no idea what that error could mean - FLA
    files are cross-platform. Original
    author must have embeeded windows video files or something -
    i cant even remember what flash 4 did
    or did not support. Flash 4 didnt have a dependant files
    feature (i dont think).
    chances are the error is generic and the real issue is that
    the file is old and possisbly corrupt. I
    dont have flash 4 anymore but you could post the fla to see
    if it can opened at all - on PC and/or
    MAC - then try downloaded the 30-day trial of flash and
    editing it - or search ebay for flash 6 or
    even 7 at a cheap cost.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Jalk67 wrote:
    > I have searched archived messages and although there
    have been posts about
    > this, no one seemed to have any answers. So, I thought I
    would ask again. Oh,
    > and please don't laugh!
    >
    > My company had a web site built back in 1998-1999. The
    outside person they
    > hired to do the site created a Flash animation. I do not
    know what version was
    > used or for sure what platform (PC or Mac). I do have
    the .fla files as well as
    > the .swf files to work with, but when I try to open them
    I get this error
    > message.
    >
    > "This document contains embedded objects that were
    created with Microsoft
    > Windows version of Flash. These embedded objects must be
    deleted before opening
    > on a Macintosh."
    >
    > I am trying to open the .fla files using an old Mac
    version of Flash 4. (Yes,
    > I said please don't laugh!) My company will not allow
    the resources to buy an
    > upgraded version. Can anyone tell me why I am getting
    this message? How I can
    > open these files? or ANYTHING I can do? Thanks for the
    help.
    >

  • How can I convert a flash object on a webpage to a fla file?

    I made a flash effect for my friend's site and he won't let me get the flash back after a fight. I can see the effect on the homepage of his website. Is there any way I can get the flash to an fla file on my computer? Is there any way I can find the swf file on his websites system and convert it to an fla? Please help, thanks.

    Open the web page where this swf is placed then go for the source code by right clicking on page anywhere. Then find the name of the swf file like if the name is myFlash.swf then search it but if you do not know the name then just search .swf you will get the file path on your friend's web. like it would be yourFriendWeb.com/flash/flashFile.swf or what ever is the name. Then copy the link and paste on your web browser and when the swf is opened then save it by going to File menu.
    Now you have the swf file on your PC. Now the task is to convert it to fla. This thing can be done by a flash decompiler like Flash Decompiler Trillix. Decompiling will end up with your orignal fla file.

  • How to bundle a .FLA and multiple .SWF files in one .EXE?

    Hi,
    I have a .FLA file which uses loadMovieNum() to load various
    .SWF files when each one is called by the user clicking on a
    button. Each .SWF file also uses loadMovieNum() to call a second
    .SWF file. When I publish the .FLA file as a .SWF file it all works
    beautifully.
    Now I need to package the entire project into a Windows
    projector .EXE file for offline use on a computer without the Flash
    Player. When I publish the main .FLA file as a .EXE file, the .SWF
    files still load, although they blink before fully loading and
    displaying steadily.
    What I would really like to do is to bundle all the .SWF
    files into the .EXE file so when I send the finished project to the
    end user, they only have to deal with one file, rather than a
    folder with the .EXE file and multiple .SWF files.
    Is there a way to do this?
    I am using Flash 8 Professional.
    Thanks,
    Cam

    Since this isn't going to be web-based, why not include all
    the external swf files into the same Flash file and then use
    attachMovie?
    This will allow you to create one .exe file that would
    contain EVERYTHING. Since you aren't worried about loading speeds,
    you don't have to load the movie clips, but can simply create one
    large Flash file.

  • Text in Fla, created with Mac is not alligned in Windows

    Since I work on two machines with different OS, one with Mac 10.8.2 (Flash CS5.5) and one with Windows8 (Flash CS6) I found out that Text inside boxes (shapes) are not alligned when you open it in the other OS.
    This is a screenshot from the SWF exported with a Mac.
    This is the exact same output, only exported in Windows.
    If I save the Fla in Windows, then export it on a Mac, the file looks fine again but still, I would have to export every file on a Mac + this might cause problems when I edit these text boxes.
    I noticed that in CS5 (also on Windows7) already and had hoped it will be fixed in CS6 but apparantly it is not.
    Am I missing something here? I am using the same Publish settings in both OS (latest Flash Player + ActionScript 2.0).

    if you want to give jsfl a shot (works in As2, too)
    This little script parses your whole fla file puts all your TextFields in an Array and let you  adjust the lineSpacing in a loop
    var doc = fl.getDocumentDOM();
    var textFieldArray = fl.findObjectInDocByType("text", doc);
    for (i=0; i<textFieldArray.length; i++) {
        fl.selectElement(textFieldArray[i]);
        fl.getDocumentDOM().setElementTextAttr('lineSpacing', -4);
    You would basically end up with two different swf versions that would show acocordingly to the users OS.

  • How can I copy layers from one .fla file to another .fla file?

    Hi,
    How can I copy layers from one .fla file to another .fla file? Please do help.
    Thanks.

    Select all the frames you want to copy, right click and select copy frames then select the file you want to paste them into and right click again and then paste frames.
    The layers the frames are should come across with them.

Maybe you are looking for

  • Report generation toolkit help

    Hi, I have created a simple example to demonstrate my needs. Is it possible to write 16 numeric values (from my 16x for loop) "press and temp", to my new report (from my defined template). My two main issues are: Each time it iterates through the loo

  • Error at run time When Access Web Service in web dynpro java

    Hi I am used web service created on other machine.I am used wsdl file created in web service. is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error. The initial exception that

  • Add debit memo request to Sap credit exposure formula

    Hi, can any body plz suggest me how to add debit memo request(DR) to sap credit exposure formula. thanks Ramu

  • Art box vs Bounding box

    I have an annoying problem with our company logo. It excists of text with an arrow in a circle. This means of course that anchor points are used to create the circled arrow. But these anchor points have handles that go out of the artbox area. So when

  • Since my last update of Photoshop CC 2014 the performance is down.

    Since my last update i can't use CC 2014 no more. The Performance is to slow. For example: If i use the select tool, the select process takes a long time. I use win7. My grafic processor is the  NVS 5200M/PCIe/SSE2 Thanks for your help!