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.

Similar Messages

  • Full Screen Projector and fscommand

    I've previously created exe. Projector files using flash cs3,
    that are used as an interface to opening other documents such as
    Word and PDF files.
    On the first frame I use:
    fscommand("fullscreen", true);
    fscommand("allowscale", false);
    Within the document, I attach this actionscript to an mc
    on (release) {
    fscommand ("exec", "example_document.exe");
    Previously this worked fine. However, now after opening a
    document (PDF, Word etc) within the Projector, when you close it
    down to return to the Projector, the movie has minimised and scaled
    to 100% of the original flash movie dimensions.
    This also occurs when I republish old swf's that haven't
    changed at all, yet the fullscreen scaling down problem is now
    there.
    Any help greatly appreciated.

    I'm having the same issue. The only thing that I can see is
    that when you publish an exe projector from CS3 it automatically
    opens in Flash Player 9. Flash Player 9 seems to be the root of the
    problem. When you publish an exe projector from Flash 8 (it gives
    you the f in the blue circle icon) it automatically opens in Flash
    Player 8. The fullscreen stays intact with Flash Player 8, but not
    with Flash Player 9. Why doesn't this work anymore? I don't want to
    have to open all my new interfaces in Flash 8 to publish. We could
    use an answer Flash Support.

  • Fscommand "exec" doesn't work in Mac (Flash Player 10.1)

    Hi All,
    I am trying to launch an external application using fscommand in Mac ('fscommand' works fine on Windows). I have done following things to make it work:
    Written an apple script to launch a pdf and saved it as "test.app"
    I copied "test.app" to "fscommand" directory. (fscommand is a directory under 'flash projector.app')
    Tried to launch the "test.app" using fscommand, as shown below:
                fscommand("exec", "test.app");   
    But, my efforts went in vain. It did not work. I even tried to copy "fscommand" dir to "Flash Debugger Player.app/Contents/MacOS/", but still I can't make it work.
    More Info:
    Mac version: Mac OS X 10.6.2
    Hardware: Intel Core duo 2
    Flash Player Version: 10.1 (standalone projector)
    Is it something I am missing or is it a bug in Flash Player 10.1? Does anybody could make it work; Please let me know!

    Praveen,
    Im in the same boat. - Im trying to open a mac projector .app from inside another .app by using Fscommand "exec".
    After reading this
    http://www.morgadinho.org/2007/03/12/launching-an-app-with-fscommand-on-mac-os-x/
    have created applescripts with .app extension inside Fscommand folder, but to no avail.
    Have heard anything/ had any resolution yet?
    james

  • Problem with fscommand exec

    Hi everyone ;)
    im creating a Flash Projector to use in a interactive cd.
    I need to open .doc files
    i try this:
    on (release) {
    fscommand ("exec", "test.doc");
    i put the test.doc in a subfolder named fscommand on the root
    of the
    projector.
    i try to put the .doc in the same folder of the projector
    nothing happens
    anyone knows what im doing wrong?
    I use Flash 8
    Ps.: Sorry my bad english... i'm from brazil
    Tks

    ToKa wrote:
    > Hi everyone ;)
    >
    > im creating a Flash Projector to use in a interactive
    cd.
    > I need to open .doc files
    > i try this:
    >
    > on (release) {
    > fscommand ("exec", "test.doc");
    > }
    >
    > i put the test.doc in a subfolder named fscommand on the
    root of the
    > projector.
    > i try to put the .doc in the same folder of the
    projector
    Unfortunately you can't do that. EXE is for executable type
    of files only.
    Such as EXE, COM or BAT, not doc, gif, rtf, jpg etc...
    You could use BAT file to open it but that's not very neat
    solution.
    Another way would be with 3rd party tools.
    Try Jstart. I have been using Jstart for many years now, very
    reliable tool,
    here is the url.
    http://flashjester.com/?section=tricks_jtools_jstart
    JStart will allow you to not only launch a program, but use
    parameters to make
    the program open files, perform special actions and just
    about anything you can
    use parameters for. You can also choose to launch files with
    their default
    associated program.
    Another solution is provided by Rick Turoczy, it's pretty old
    but it should
    still work. Perhaps give it a try.
    http://www.flashgeek.com/tutorials/07_launchapp_01.asp
    Easy to use tool that allow you to launch basically anything
    from the projector.
    As long as there is system default application supporting
    particle file.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Fscommand exec on mac to open pdf works in a cs3 projector file but not in a cs5 projector file

    Hi,
    I could succesfully open a external pdf with the following command in Flash cs3 on a Mac:
    fscommand("exec", "test.app");
    test.app (inside an fscommand folder) is an apple script that opens the pdf inside the fscommand folder, to make it work I needed to copy the fscommand folder into the MacOs Folder of the Mac Projector File. The same steps don't seem to work with Flash cs5. I can't downgrade my cs5 project to cs3.
    Is this problem a bug in Flash cs5?
    Has anyone solved this problem?
    Thank you.

    I had this same issue today - could not get a mac projector, FP 10, built in cs5, to run fscommand("exec", "test.app") no matter what I tried. I also couldn't find any definitive threads via google, so here's everything I know about fscommand("exec") for anyone who's looking.
    I wanted to run a custom batch (.bat) file on windows and a custom applescript file on mac. I needed to restart a legacy, cross-platform kiosk application on a click (unfortunately could not use AIR).
    On the Mac (Flash CS5) - First off - Flash CS5 on Mac did not work no matter what I tried
    I also tried opening up the .app package contents and copying the fscommand folder into that, with no luck.
    You have to create the projector in CS4 (I down-saved to CS4 and used my PC running CS4 to publish) and put the "callee" .app in a folder named fscommand alongside the projector.
    I used these directions to create an .app of my applescript that restarts my projector: http://soapbox.lafayette.edu/node/517
    Here's the applescript I wrote:
    tell application "kiosk"
        -- kill the "caller" app if running
        quit
    end tell
    set myFile to (path to me)
    tell application "Finder"
       -- the delay wasn't needed in practice, but might be of help
       -- delay 1
        open application file "kiosk.app" of container of container of myFile
    end tell
    Now when I call
    fscommand("exec", "restart.app");
    on a mac, my kiosk restarts as expected.
    For PC peeps, I used this awesomely simple solution on windows (Flash CS4)
    http://www.northcode.com/blog.php/2007/08/07/Conquering-FSCommand-EXEC-Part-1-Proxy
    I put two files in my fscommand folder (at the same directory level as my projector):
    - restart.exe (proxy.exe from above link renamed)
    - restart.bat
    The .bat file simply has 1 line that starts my projector (in the parent folder):
    ..\kiosk.exe
    I call
    fscommand("exec", "restart.exe");
    and then have a 1 second timeout to kill the first "caller" projector. I wrapped the function as it didn't seem to work otherwise:
    setTimeout(function(){fscommand("quit");}, 1000);
    Yes, this means that I have two instances of the kiosk running at the same time for about 1 second.
    Apologies if my response was slightly off-topic, but I hope the info helps someone avoid losing a whole evening on a pressing deadline like me!

  • Pass parameter with fscommand exec

    Hi,
    I am writing a text file with batch file and this batch file which is called from fscommand.
    I need to pass a parameter from fscommand. Is is possible ?
    Following is flash and batch file code.
    Flash Source
    import flash.events.Event;
    bt.addEventListener(MouseEvent.CLICK,save);
    function save(e:Event){
        fscommand("EXEC","write.bat");
    Batch file
    ECHO This is my new text1 %1 > "temp.txt"
    Thanks ------------------- Amit

    As mentioned in one of your other posts you could use FileReference.save(...) this does require user interactive however and Flash Player 10.
    Alternatively you could create a userId and save the data in an online database (but obviously this isn't local)
    If you are using AIR you could create a local database
    Otherwise I don't do not know of a way to achieve what you are after

  • Fscommand("exec".... substitute???

    I feel like ahab chasing moby dick.
    I am trying to create a flash projector program that sends
    variables to an external program (which is priadoblender-compiled
    php)
    i thought fscommand("exec", userReg.exe + var1 + var2 + var3
    + var4) would work because of MX2004 let it happen, but I am now
    working in flash 8 professional.
    I know this doesn't work. I have read up and down.... forums,
    blogs, white papers etc.
    I am looking for a simple alternative to this problem. I
    thought AFsaver might be the solution, but for the love of god, I
    can't figure out the syntax and the documentation on afsaver is
    slim to none.
    is there some program that will allow me to just pass
    variables to an external program that will work in flash 8?
    the premise is basic.
    1) have flash projector call a program , perhaps with
    fscommand
    2) pass variables to it, (any amount between 1-50 vars) the
    speudocode example I have above would be ideal...
    I don't know how simple this is to manufacture. but I believe
    it would be simple enough to read the program name and parse out
    the variables from a single string.
    if AFsaver has a way to do this, that would be great too. I
    would just need to know the syntax to make it work properly.

    try third part tools like SWiSHstudio or Flash Jester or SWF
    Studio. Also
    look at free ones like the open source screenweaver. If all
    you need is to
    pass parameters to an exe, then you may not need the more
    expensive third
    party tools.
    Jeckyl

  • Fullscreen and noscale using AS3.0

    I'm attempting to create a projector that will go fullscreen
    and without scaling using AS 3.0
    In AS 2.0 I simply did this:
    fscommand("allowscale", false);
    fscommand('fullscreen",true);
    Worked every time...
    I've tried a few things, like the following:
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    stage.scaleMode = StageScaleMode.NO_BORDER;
    stage.align = StageAlign.EXACT_FIT;
    But it ignors the code.
    I have had success with the following:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    Suggestions???

    fscommand still exists in AS3. try this for your AS3
    projector
    import flash.system.fscommand;
    fscommand("allowscale", false);
    fscommand('fullscreen",true);
    Edit: Thought I might post a link to the LiveDocs for
    fscommand since people on the forums keep getting confused about
    this pretty much undocumented function in AS3. I'm sure it is
    simply because the Flash team is intending to deprecate it
    completely but either way, it is still there and it's use is no
    different that it was in AS2. The only difference is that now you
    MUST import the flash.system package to use it.
    AS3
    Help - fscommand on LiveDocs

  • Fscommand exec problem

    Hello everybody,
    I know similar questions have been many times asked on this forum, and I've read them and tried the diffrent solutions proposed, without attaining my goal.
    My goal is to launch a software some_software.exe with an executable projector created  with Flash in ActionScript 3.
    The software some_software.exe must absolutely be in a sub-subfolder compared to the position of the projector launcher.
    I've tried many things I read on this forum and others, like :
    fscommand("exec","Products/some_software/some_software.exe")
    or
    fscommand("exec","./Products/some_software/some_software.exe")
    or
    fscommand("exec",".//Products/some_software/some_software.exe")
    I know very well that it is said in Flash MX CS3's help file that the executable to launch some_software.exe must be in a fscommand folder.
    I have tried :
    fscommand("exec","Products/some_software/fscommand/some_software.exe")
    with no more success.
    I have also tried to launch some_software.exe in a sub-sub-folder from a batch file .bat.
    During my direct tests while launching the batch file, this one containing :
    @ echo off
    start Products/some_software/some_software/some_software.exe
    exit
    The batch file worked fine, even with paths in the subfolders very deep.
    But when I launch the .bat file indirectly, with the Flash projector, in which I wrote :
    fscommand("exec","batch_file.bat")
    the batch file seems to open very briefly the black MS-DOS subscreen, this subscreen disappearing immediately, and some_software.exe was never launched !
    Did anyone have the same problem ? Were you able to make it work ?
    If it's the case, many thanks by advance if you can show me a solution to my problems, or, even better, if you can propose the sources of your solution compressed in a .zip file !
    Many thanks for your help,
    Roland

    http://forums.adobe.com/thread/60643?tstart=0

  • Fscommand exec foldername with space

    Hi,
    I'm trying to use fscommand exec with a relative path and the
    folder name has a space in it.it 's not working.ANy idea how it'll
    work.
    fscommand("exec", ".\\folder space\\xyz.exe"); //do not work
    fscommand("exec", ".\\folderspace\\xyz.exe"); //works if I
    create a folder without space .

    no response of Adobe
    just say to be impossible ?

  • Fscommand("exec", "some.exe -nextparametr");

    I have this code:
    fscommand("exec", "loader.exe");
    and i want to have next parametr:
    fscommand("exec", "lader.exe -nextparametr");
    Is it possible? Please help
    PS: sorry, my english is bad (I'm from CZ);

    Yes its possible using FlashJester JStart
    http://jstart.flashjester.com
    Look at this example
    http://www.flashjester.com/index.php?section=faq&cPath=28_41#176
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • AIR Fullscreen AND Show_All

    Hi, everybody
    I'm trying to resolve this problem.
    I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
    The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
    Can anybody help me?
    Thank´s for any help.
    Carlos Lopes.
    My code is:
    <mx:WindowedApplication
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
    horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
    <mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
    </mx:Canvas>
    <mx:Script>
    <![CDATA[
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    public function fFullscreen():void {
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    ]]>
    </mx:Script>
    </mx:WindowedApplication>

    Hi, everybody
    I'm trying to resolve this problem.
    I am developing a AIR application with the following attributes: FULLSCREEN and then stage to EXACT_FIT (without trying to preserve the original aspect ratio).
    The full screen is ok but the content of the stage appears cut out in approximately 1/4 of its area.
    Can anybody help me?
    Thank´s for any help.
    Carlos Lopes.
    My code is:
    <mx:WindowedApplication
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="fFullscreen()"
    horizontalAlign="center" verticalAlign="middle" clipContent="false" backgroundColor="#E1C787">
    <mx:Canvas width="620" height="480" backgroundColor="#FFFFFF" x="209" y="73">
    </mx:Canvas>
    <mx:Script>
    <![CDATA[
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    public function fFullscreen():void {
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    ]]>
    </mx:Script>
    </mx:WindowedApplication>

  • ITunes 8 fullscreen and Windows 7

    Run into an odd bug. I can't seem to full screen any of the movie purchases I've got on Windows 7. When I try, it flickers like it is attempting to go fullscreen, and then it kicks me back to the play list, yet the audio for the movie is still running. Is there a way I can get this reported as a bug to Apple?

    Hello, Welcome to discussions.
    Since Windows 7 is currently in Beta it is not yet officially support with iTunes 8.0.2. You may wish to also post on the Windows 7 Beta Support forums as they might be able to provide you with more information about current updates to your OS.
    http://www.apple.com/itunes/download/
    Windows Hardware
    A PC with a 1GHz Intel or AMD processor
    Screen resolution of 1024x768 or greater
    Playing videos purchased on the iTunes Store requires an Intel Pentium D or faster processor
    Playing HD-quality videos purchased on the iTunes Store requires a 2.0GHz Intel Core 2 Duo or faster processor
    512MB of RAM; 1GB is required to play HD-quality videos
    A DirectX 9.0-compatible video card with 32MB of video RAM; 64MB recommended
    A QuickTime-compatible audio card
    A broadband Internet connection to use the iTunes Store
    An iTunes-compatible CD or DVD recorder to create audio CDs, MP3 CDs, or back-up CDs or DVDs
    Windows Software
    Windows XP Service Pack 2 or later, or 32-bit editions of Windows Vista
    64-bit editions of Windows Vista or later require the iTunes 8 64-bit installer
    QuickTime 7.5.5 or later is required (included)
    200MB of available disk space
    Screen reader support requires Window-Eyes 7.0 or later; for information about accessibility in iTunes, visit www.apple.com/accessibility

  • How to store pl/sql statement in varchar and call EXEC on it?

    So this statement works:
    SELECT column_name BULK COLLECT INTO table_column_list FROM all_tab_columns WHERE table_name = conv_tablename AND OWNER IN (SELECT USER FROM DUAL);
    However I want to add conditions like " AND column_name <> 'abc' " at the end. So i tried to store this in a varchar and call EXEC on it:
    select_column_value_sql_stmt := 'SELECT column_name BULK COLLECT INTO table_column_list FROM user_tab_columns WHERE table_name = '''|| conv_tablename || '''' || inexclude_column;
              EXECUTE IMMEDIATE select_column_value_sql_stmt;     
    No matter how I concatenate the conv_tablename part, i get an error. either invalid identifier or unimplemented feature.
    so is there a way to do this at all?
    Thanks in advance.

    Welcome to the forum!
    Wheneve you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    So this statement works:
    SELECT column_name BULK COLLECT INTO table_column_list FROM all_tab_columns WHERE table_name = conv_tablename AND OWNER IN (SELECT USER FROM DUAL);
    However I want to add conditions like " AND column_name 'abc' " at the end. So i tried to store this in a varchar and call EXEC on it:
    select_column_value_sql_stmt := 'SELECT column_name BULK COLLECT INTO table_column_list FROM user_tab_columns WHERE table_name = '''|| conv_tablename || '''' || inexclude_column;
    EXECUTE IMMEDIATE select_column_value_sql_stmt;
    No matter how I concatenate the conv_tablename part, i get an error. either invalid identifier or unimplemented feature.
    so is there a way to do this at all?
    >
    Yes - you can do it but the syntax is different for BULK COLLECT when using EXECUTE IMMEDIATE; the INTO goes AFTER the query, not within it.
    See the example code at this link
    http://unix-oracle-11g.blogspot.com/2011/03/dynamic-sql-execute-immediate-bulk.html
      -- example of dynamic sql with bull collect
      v_sql_stmt := 'SELECT sal FROM emp_t';
      EXECUTE IMMEDIATE v_sql_stmt BULK COLLECT INTO vc_sal;So you won't be able to use a common set of queries for normal vs execute immediate.

  • Fscommand exec

    Hi,
    Why fscommand exec don't run on Flash CS3 ???
    What's the way now to launch an application with the
    projection ?
    thanks
    JP

    no response of Adobe
    just say to be impossible ?

Maybe you are looking for

  • Is there a way to get previous songs purchased on iTunes re-downloaded?

    Confusing, but when my ipod was first purchased my husband used his work computer to download songs...he changed jobs and computer was taken before these songs could be saved elsewhere. All these songs were on my iPod until today when it got a little

  • Display is in black and white

    i'm using tiger os and the screen turned black and white i want to switch it to color again how can I fix it? please help please.

  • Existing Kompozer Website but Wish to Start Over W/CS4 Web Premium

    Hopefully, i am in the right place to ask these question. I'm a real novice but we needed a web presence and tried a hand at Kompozer. With no prior experience, or training actually managed to get something up. The site has only a single page at the

  • My JScrollpane wont scroll horizontally?

    hmmmm... As the title says, my JSCrollPane wont scroll horizontally. I've passed a customer "Drawer" object to it. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; public class gui extends JFrame{      Con

  • Concat Date and String!

    Hello, My requirement is that I need to concat a string with a date. I tried to convert the date to char but I am not getting the date format and then want to contact with the string. here is the requirement: Contact Date: 12/08/2011. In order to do