Actionscript 2 and Flash Publish Settings

Hi Everyone,
I have posted a couple questions as of late and received fantastic support from other members (Thanks K-Glad).
I do have what I'm assuming to be a basic question however I cannot find an answer for it.
I added some login script to a page as listed below.
stop();
eval("$version");
appname="mikesapp"
loadVariablesNum("http://bars.bevinco.com/mike/newlogin.php", 0, "POST");
//This verifys the users status and forwards them to the portion of the website they are authorized to access. Frame 100 = Regional Access, Frame 200 = Franchise Access, Frame 300 = Employee Access and Frame 400 = Denied Access and Back Button
this.onEnterFrame = function () {
    if(_root.checklog == 100){
        _root.gotoAndStop(5);
    if(_root.checklog == 200){
        _root.gotoAndStop(10);
    if(_root.checklog == 300){
        _root.gotoAndStop(15);
    if(_root.checklog == 999){
        _root.gotoAndStop(20);
My Question
When testing this movie, I found that it was not moving to the section of the flash file that is relative to their "authorization level". I.E. I manually had my PHP echo back to flash, advising that REGIONAL ACCESS was used therefore it should be move this user to FRAME 5 of the file.
I found that it was staying stuck on the first frame and not moving beyond the 1st frame which I thought had something to do with the stop(); that is listed at the top of the actionscript.
However, when I changed the FLASH PUBLISH settings from Flash Player 8 to Flash Player 6, it works flawlessly.
I attempted to publish using Flash 7 however it appears FLASH 6 is as high as I can go without loosing it's functionality.
I'm curious WHY and will this limit our users from using the site if they have a lower version of Flash installed on their CPU?
I have attached the project FLA file and the PHP file, being used on the server to manually tell this file that a REGIONAL has signed in or someone with "100" level status.
As always, thanks in advance to anyone that has taken the time to read this post.
Cheers,
Mike

checklog is a string (even though it looks like a number to you).  flash 6 allowed quite a bit more code sloppiness than later versions.  so, it's very common for users to find publishing for fp6 works, while publishing for fp's higher breaks their code.
you should use:
this.onEnterFrame = function () {
    if(_root.checklog == "100"){
delete this.onEnterFrame
        _root.gotoAndStop(5);
    if(_root.checklog == "200"){
delete this.onEnterFrame
        _root.gotoAndStop(10);
    if(_root.checklog == "300"){
delete this.onEnterFrame
        _root.gotoAndStop(15);
    if(_root.checklog == "999"){
delete this.onEnterFrame
        _root.gotoAndStop(20);

Similar Messages

  • Shift/F12 launches Dashboard instead of Flash Publish Settings

    How do I use shift/f12 within a program such as Flash?
    I can't find anywhere in my preferences where f12 is assigned.
    My Preferences -> Dashboard & Expose settings don't have anything selected for Dashboard. The option "-" is selected which would lead me to belief f12 should not be launching the Dashboard. I don't use the Dashboard widgets and nothing else is selected in my preferences encouraging it to take over my screen.
    In my Preferences -> Keyboard & Mouse -> Keyboard Shortcuts settings the Dashboard option is unchecked and dimmed gray and nothng else is set f12 or shift/f12.
    How do stop f12 launching Dashboard so I can use it in Flash?

    Can you create the keyboard shortcut in the system preference?

  • Webservice and Flash Security Settings

    I have a flash file that is making a call to a webservice on
    another domain. When I run the flash file it gives me the message
    where it says it's trying to communicate with this Internet-enabled
    location. I don't want to have the user to have to change their
    settings manually. Is there a way to allow the url of the
    webservice so the user does not have to change their settings?
    Thanks,
    Tony

    You can generally set a cross domain policy for these kinds
    of things, but it gets trickier depending on what webservice you're
    using. I'm having a similar problem with a java servlet.

  • Help on ActionScript and Flash

    hi all
    how to do like the picture above? when i click on the picture it will show the detail of the movie.
    When i click on either the left picture or the right picture i will switch to the middle and the middle picture will move to the left picture whereas the right pic will been other movie.
    How do i do that?
    is there any example or reference for that?
    Thanks in advance

    use google to search for photo galleries.  you'll need to learn some basic techniques.

  • Air 3.6 not available in publish settings after install - Flash CS6

    After installing Air 3.6 beta, Flash CS6 does not have Air 3.6 available in the publish settings - target. Highest available target is Air 3.4.
    System: Mac Book Pro-Retina, OS - X Lion.

    This is a mystery to me. On my Mac, I have Flash CS6 installed, and it told me at install time it was installing AIR3.5 at the same time. However, in the Flash Publish options, I only have AIR3.2 available?????
    I installed AIR 3.6 Beta, and it told me it was upgrading AIR3.5 to 3.6 huh ???? but still not available anywhere I can find it. I can't find it anywhere, and still only have AIR3.2 in the \Applications\Adobe Flash\CS6 directory, and in Publish settings.

  • Correct Flash CS6 iOS publish settings for iPhone?

    My programmer and I are trying to publish an iOS app for iPhone from Flash cs6 and are being rejected because "Your app did not run at iPhone resolution and/or 2x iPhone 3GS resolution when reviewed on iPad. The contents of your app are not displayed within the confines of the screen."
    In Flash CS6 iOS publish settings there is an option to export for iPad Only, iPhone Only, and for iPad and iPhone. iTunes Connect is sending us a screenshot that shows what we see when we publish a development IPA file using the iPad and iPhone setting. But the IPA file we submitted to them was published using the iPhone Only settings which when viewed on the iPad2 shows up inside the little iPhone 1X frame and can be expanded to 2X as well. I believe this is what they are saying is not happening when they do the same.
    Has anyone else who uses Flash had this issue? If so what stage size and what publish settings should be used when trying to create an iPhone only app?
    Thanks in advance, Patrick

    kishliver wrote:
    If so what stage size and what publish settings should be used when trying to create an iPhone only app?
    iPhone only app should be published with stage size:
    640x960 for portrait view
    960x640 for landscape view
    ... if the app are going to be fullscreen.

  • Bug: Publish Settings Target Directory resets on open

    Using Edge Animate (EA) CC version 2.0.1.268.25632
    Windows 8
    Reproduction:
    Create new file. Save in project folder.
    Open Publish Settings and change Target Directory (in my case to a few directories above).
    Publish and save file.
    Close EA and reopen.
    Open file from Welcome screen and check publish settings target directory.
    For me it is always reset to .\publish\directory
    Is this expected behaviour. If not, is there a way to fix it?
    Many thanks,
    Patrick

    Joe, I can confirm this issue, as well (Win 8.1 / 64bit).
    Patrick, I guess for the interim, a workaround is to keep the default settings - publishing to a sub-folder under the project parent folder.
    Darrell

  • Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.can any one help me bcoz i have to publish without air runtime.......

    Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.
    can any one help me bcoz i have to publish without air runtime.......

    Hi,
    This option is available when your publish target is set to AIR 3.6.
    You can download the desired AIR SDK version from Archived Adobe AIR SDK versions
    Thanks!
    Mohan

  • Flash CS5.5[Publish Settings]: How to include custom Metadata tags in swf?

    In Flash CS5, the 'Publish Settings' for the fla had an 'Export SWC' checkbox that took care of that.
    The option is missing. Why was it removed and how can  that be done in 5.5?

    Thanks sinious, but, it doesn't work.
    Let me elaborate on what I want to do:
    I'm trying to create a swf in Flash CS5.5, that's using a flex library (swc) that relies on Metadata tags (anotations).
    I need to use the metadata tags in my as3 code (in the fla), and They need to be compiled into the swf (by Flash CS5.5 compiler...).
    Although, when I load that swf, the metadata tags aren't compiled into it (I'm using describeType to check if tags are available in the swf).
    In flex, I would use the '-kepp-as3-metadata+=' compiler setting to do that, in Flash CS4 & CS5 I used the 'Export SWC' in the publish settings, but that's removed (WHY???).
    Checking XMP Metadata didn't change that, the tags are still not included in the compiled swf.
    Anyone?

  • Flash CC crashes after publishing iOS app + publish settings are not being saved to file

    I have two issues:
    1. Flash CC crashes every time I publish an iOS app
    2. My Publish Settings are not being saved
    1. Flash CC crashes every time I publish an iOS app
    Since yesterday Flash CC keeps crashing right after I publish an iOS app. The app is published correctly though. I tried everything from restarting my MAC, reinstalling Flash, removing the folder "Flash CC 2014" inside Application Support/Adobe. But all this did not work.
    2. My Publish Settings are not being saved
    Since the first day I installed Flash CC, it did not save my publish settings along with the .fla-file. I never had this issue with Flash CS 5.5. This was not a very big issue, but now every time I publish an app and Flash CC crashes I have to fill in all the publish settings manually. Now I'm getting frustrated. Even saving my settings as a preset, storing it inside a folder and importing it again, won't help. Then I will get the message: "Import failed: invalid profile file."
    Can please anyone help me with these issues? It is quite time consuming to continuously enter the settings manually after every crash.
    Thanks!

    reset your preferences -
    after effects:  http://helpx.adobe.com/after-effects/using/preferences.html
    dreamweaver:  https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs6-cc.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    illustrator:  http://helpx.adobe.com/illustrator/using/setting-preferences.html
    indesign:  https://forums.adobe.com/thread/526990
    photoshop:  https://forums.adobe.com/thread/375776
    photoshop elements:  http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm
    premiere pro: http://www.mediacollege.com/adobe/premiere/pro/troubleshooter/trash-preferences.html

  • Issue with publish settings: html and swf files

    In Flash CS5.5 when selecting, Publish Settings: html and swf, the html file does not display the swf from the URL after ftp. The swf file, however, does display from the URL without the html file. My work around has been to hand code the html. Is this a known issue or is there something else that might be causing this to occur?

    Here are two examples created by two different students in the same lab using the same software configurations:
    http://www.miszxbrii.byethost13.com/howellanimatic.html
    The first frame of this one displays only.
    http://vaivadesigns.byethost3.com/YoungMidterm/YoungMidterm.html
    Here it is again with a new html page:
    http://vaivadesigns.byethost3.com/YoungMidterm/midterm.html
    The swf path was the documents folder and another folder on the HD.

  • Publish Settings - Flash Player 11 problem

    Yes correct I'm talking about Flash Player 11, thats what it says in Flash CS5 software.
    Whatever I do in Publish Setting, Flash software always returns option to be Flash Player 11, i don't get this. I choose Flash Player 8 and AS 2.0 and re-open Publish Settings it is again back on Flash Player 11 and AS 3.0.
    Why is it doing that ?
    First screenshot
    Second screenshot

    Try installing your Flash CS5 again

  • Publishing settings and local security alerts

    For Flash 8 and player 8 - how can I set a .swf file (that is
    embedded as part of an html page I built in Toolbook) to run on the
    internet, but also run locally (if someone downloads the piece)
    WITHOUT having the security dialog box appear? Would I use
    the Local Playback security settings in the Publishing settings? IS
    THIS POSSIBLE AT ALL?

    Hi user629401,
    This forum is dedicated to questions related to Oracle WebCenter. Try to re-submit your post to the SOA/BPEL discussion forum.
    Peter

  • Publish Settings Flash .. stopping my fade effect on buttons??

    Hi there ,
    First of all BIG thank you to Kglad for help with my last question!
    Secondly here is my NEW problem.... I have some buttons on my page that fade as you roll over them,
    and they were working fine, UNTILL i changed my Publishing Settings>Flash >JPEG settings.. from 80 %
    to 100%. But even if i changed it to 81% it still messes up the fade. When i say messes up i mean the fade
    stops fading, and it just snaps from the pic to black.
    any help would be great... i just cant figure this out...
    -Bunnyface

    ok sure, well the first file named help.fla is the example of it working fine,
    you roll over it, and it fades out.. the second help2.fla is where THE ONLY THING
    i have changed it the jpg quality is the publish settings > flash bit.
    and that is the one that just flicks to black and wont fade.
    Also to make it even stranger...... EVEN IF I CHANGE IT BACK, it still messes up !!
    ARGH.
    The two files can be seen here
    http://www.adam.com.au/baker82/Help.fla
    http://www.adam.com.au/baker82/Help2.fla
    ahh i was trying upload them too but i keep getting this msg...
    Unauthorized
    There was an error, please check below
    It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.

  • Swf increase size mystery publishing into Flash 8 and Flash CS4

    Hello,
    i discovered recently that a swf build with Flash 8 IDE, published for Flash Player 8 get a different size when published with Flash CS4 IDE.
    You can reproduce that effect with all sort of swf.
    I did a report for each publish (same .fla into Flash 8 IDE and Flash CS4 IDE)
    The result was : all vector graphics, all fonts, all bitmaps, all actionscript code increased
    From test.fla, i did one key frame with :
    - a dynamic TextField with some simple chars in it = "Test Chars",
    - a simple shape with brush tool
    - and one movieclip with an ordinary circle
    Size report from Flash 8 :
    test.swf Rapport sur l'animation
    Image #    Image octets    Total octets    Séquence
          1          14419          14419    Séquence 1 (Image d'exportation des classes AS 2.0)
    Séquence                        Forme octets    Texte octets    ActionScript octets
    Séquence 1                           86           132                     0
    Symbole                       Forme octets    Texte octets    ActionScript octets
    clip_circle                           69             0                     0
    Nom de la police                 octets        Caractères   
    Arial                         14056     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z{|}~ˆ˜–—‘’‚“”„†‡•…‰‹›€™
    Size report from Flash CS4 :
    test.swf Rapport sur l'animation
    Image #    Image octets    Total octets    Séquence
          1          18932          18932    Séquence 1 (Image d'exportation des classes AS 2.0)
    Séquence                        Forme octets    Texte octets    ActionScript octets
    Séquence 1                          103           174                     0
    Symbole                       Forme octets    Texte octets    ActionScript octets
    clip_circle                           91             0                     0
    Nom de la police                 octets        Caractères   
    ArialMT                       18467     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z{|}~ˆ˜–—‘’‚“”„†‡•…‰‹›€™
    Does somebody knows something about this strange phenomen ?

    Didn't look at the file size of the FLA, just the SWF as I didn't even necessarily resave the CS4 as CS6. No edits were made, I tried it with a simple open and publish just to make sure I wasn't doing anything to change the file and the resulting file was heavier (kb).
    I looked through the size reports and saw that while image compression was better in the CS6 version, the fonts were all heavier than they were in the CS4 version and this put it over the 40kb limit.

Maybe you are looking for

  • More than one user in iTunes at a time?

    Can more than one person log into an itunes account on one macbook air?  we have a firm macbook and multiple users will be accessing it

  • How can i disable a submit button and execute submit_action method on click

    Good Day, On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit butto

  • Possible to re-position and re-size a watermark?

    I have Aperture 3.0.3, but have little experience using it. I would like to add a watermark (really, just a picture in picture) to a picture. I was able to do it using File > Export >Version etc, however I am not satisfied with the result. The waterm

  • Is there a way to search several keywords at a time on the top right search box?

    Hello. Let's say I want all the images to appear that have any of these keywords:  "sky, mountain, water".  The only way I have figured out it takes too long and it's tedious.  I open the "find" window and manually add search variables to look for se

  • Install Adobe Reader on Lubuntu 14.04 64-bit

    I have been trying to find the installation package for Linux, as I have read from several websites exists.  The Adobe download page only offers options for Windows and Mac OS.  I cannot find anywhere a way to download the package for Lubuntu.  Can a