Actionscript  1.0 not working

Hello!
I've never seen this issue before.... I have a swf main file,
which at one point loads another swf (with a movie embeded to it)
into an empty mc. Everything works well when I test the swf file.
Now, once I embed the main swf file into a index.html file (I did
this because I need the site to be centered), everything works, but
the external swf file doen't load.....
Please help! I've tried different things but nothing worked!
Thanks for your time!

from where u are loading the external SWF
possible problems are
check the URL
check for crossDomain problem

Similar Messages

  • Actionscript 3.0 not working help needed

    Well I've made a post about this and it sank away without a single answer. SO here's the problem when making an actionscript 3.0 file I put in some actionscript and it works but after saving my work the actionscript suddenly doesn't work. Actionscript 2.0 work though. Someone please help, customer support is simply saying that it's not their problem.

    you're welcome.
    it's the "show me" cure.  i see it all the time in my medical practice.  parents (i'm a pediatrician) compliain about how fussy/irritable etc their baby is.  i tell them to make an appointment and they show up with a happy content baby that's been no problem for the previous few days.

  • Actionscript error checking not working?

    Does error checking only work on actionscript files that are imported by main file?
    Also...will error checking not work on the current open file if another file contains errors?

    from where u are loading the external SWF
    possible problems are
    check the URL
    check for crossDomain problem

  • SWC buttons not working in a Flash Builder 4.7 ActionScript Project

    Howdy,
    I have this BIG issue. Every button in my swc causes issues when compilling in Flash Builder 4.7. Two things will happen, one or the other:
    1. I get this error in the class that extends a linked library item:
    Error #1107: The ABC data is corrupt, attempt to read out of bounds.
    2. The swf compiles with no errors but all buttons display the wrong art.
    Both problems go away when I remove the buttons.
    I found this article:
    http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-useflashsdk/
    I tried this solution but it did not work.
    This problem occurs with all my projects. I'm creating SWCs via Flash Pro, and using them in a Flash Builder ActionScript Project.
    Does anyone have any solutions?
    Thanks!

    Hi,
    I followed the directions here: http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-u seflashsdk/
    But the only "Use Specific SDK:" options are Flex 4.6.0 and Flex 3.6a.
    When I select Flex 4.6.0 (under "Use Specific SDK:"), I get errors, it seems that some sub classes don't have access to their parents protected methods and properties. The only way to fix this is to delete the project and create it again.
    I downloaded the apache flex SDK, and added it via the Flash Builder preferences. Then went into the project and set "Use Specific SDK:" to the appache flex. This brought up more errors, double clicking the errors wouldn't take me to any class, they where mostly something about bitmap...
    And the only way to fix it is to delete the project and create it again.
    Should I not use Flash 4.6? or not use SWCs? This is really frustrating.

  • In some pc ActionScript not working even after running the .SWF or .EXE, what may be the problem ?

    In my flash project i am using ActionScript to get FULLScreen and mouse hide action. I hv already used the AS3 in Adobe Flash CC and AS2 in Adobe Flash CS6.  All my files are working well, both .SWF and .EXE (projector..) . But the client is saying in his pc the Full SCREEN and Mouse hide is not working. I instructed to update the flash player plugins, still they are getting the same issue. What is the matter pls any one guide us. My code is in the first frame of Flash file which is mention below.
    /*AS2 code*/
    fscommand("fullscreen","true");
    Mouse.hide();
    /*AS3 code*/
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    Mouse.hide();

    Hi all, few days ago the client told , one of the project file (.SWF and .EXE) showing full screen. Again day before yesterday the client again said, all the project files working Full Screen and Mouse hide action. Still i do know such happens ? if any technical issue is behind its problem than anyone pls inform me. However it is running well in their PC now.

  • ActionScript not working after save

    Hello
    I installed flash CS4 Pro on 3 computers and i have this problem:
    I create a new project (CS4 + AS3), create a simple animation and put ActionScript on first keyframe. When I run this project (CTR+Enter) everything is working perfect....
    BUT... when i save this project and run it once again, scripts are not working. Debugger says, that there are no scipts, console is empty, but scripts are still in the same place. (i can see them in editor). Only change i made is that i click on Save in menu and put a name in dialog.

    I uploadet files here:
    http://wagoon.sweb.cz/pokus-aktivita3.fla
    http://wagoon.sweb.cz/pokus-aktivita3.swf
    ... and thanks for you help and time...

  • Putting a multidimensional array (from amfphp) into list dataprovider via actionscript not working

    when i do it using mxml, the list populates but when i try
    doing it using actionscript 3 it is not working.
    //DOESNT WORK...
    var catList:List = new List;
    catList.dataProvider = multiDArr;
    catList.labelField = 'label';
    this.addChild(catList);
    //WORKS...
    var catList:List = new List;
    catList.dataProvider = singleDArr;
    catList.labelField = 'label';
    this.addChild(catList);
    //WORKS...
    <mx:List dataProvider="{multiDArr}" />
    // here is the array i am passing from amfphp and putting
    into multiDArr ...
    $arr[$i]['label'] = mysql_result($result,$i,'feature_name');
    $arr[$i]['_type'] = mysql_result($result,$i,'feature_type');
    $arr[$i]['_value'] =
    mysql_result($result,$i,'feature_value');

    well i got a solution to my problem...for now!

  • ActionScript 2 issues: previous button not working

    Hello,
    I am trying to create a slideshow in Flash CS4 using ActionScript 2.
    I have imported "pause" and "play" buttons from the libraries, and I have created "next" and "previous" buttons by using the PolyStar tool.
    Here is my problem: The "previous" button is not working. However, the other buttons (even the "next" button, which only really has the opposite code) do work.
    I am writing all of my code in the frames, which probably isn't the best idea, but it would be hard for me to change now.
    Code (an example code frame)(currently on the 1st frame):
    prev.onPress = function(){
    gotoAndStop("14");
    begin.onPress = function(){
    play();
    pause.onPress = function(){
    stop();
    next.onPress = function(){
    gotoAndStop("2");
    previous.onPress = function(){
    gotoAndStop("14");
    "prev" is an instance of "previous". "begin", "next", and "pause", are instances of a play button, "next", and a pause button. I am using frame labels that go from "1" to "14".
    What am I doing wrong?
    feffer1218

    Thanks for your advice, but it didn't work.
    1. I changed all of my frame labels so that they have the letter "p" in front of all of them. (ex: "p1" instead of "1")
    2. I commented out the "previous.onPress" code.
    2 examples of code:
    //p1 (first photo)
    prev.onPress = function(){
        gotoAndStop("p14");
    begin.onPress = function(){
        play();
    pause.onPress = function(){
        stop();
    next.onPress = function(){
        gotoAndStop("p2");
    /*previous.onPress = function(){
        gotoAndStop("14");
    //p2 (second photo)
    begin.onPress = function(){
        play();
    pause.onPress = function(){
        stop();
    next.onPress = function(){
        gotoAndStop("p3");
    prev.onPress = function(){
            gotoAndStop("p1");
    I don't know what I'm doing wrong! The Properties window says that "prev" is an "instance of: previous."
    Any ideas? Thanks for the attempt, though.
    feffer1218

  • Actionscript not working on the HTML file PLEASE HELP

    Hello,
          I made a website in flash, you can download everything here, because I need this problem fixed by Monday http://www.mediafire.com/?sharekey=e5d0b30598ff413aa0f2f20c509059d9e04e75f6e8ebb871
         The problem is, when I publish the file, and run the html file, the actionscript doesn't work. When I run the project in flash it works perfectly. I do not believe it is the player or anything of that sort that is wrong, although I can not be sure. I've tried this on like 10 different computers, and none were able to load the actionscript. Does anyone know why the actionscript wouldn't be working when I run the html file for the site?
    Please Help, Thank you.

    Hi !
    Don't panic yet
    I think you didn't select the Flash with SFCommand in the HTML tab inside the Template dropdown menu,  that's the reason your Actions Scripts doesn't work in the html view.
    To access hold down CTRL+SHIFT+F12--->HTML tab--->The first dropdown menu at the top
    Hope this solve your problem.

  • [svn] 1967: * Fixed issue where -keep-generated-actionscript would not work

    Revision: 1967
    Author: [email protected]
    Date: 2008-06-05 08:12:21 -0700 (Thu, 05 Jun 2008)
    Log Message:
    * Fixed issue where -keep-generated-actionscript would not work
    properly when -generate-abstract-syntax-tree was enabled, which is
    now the default.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    API Change: NO
    Reviewer: clucier
    Code-level description of changes:
    CompilerConfiguration.java
    Modified setKeepGeneratedActionScript() to force AST generation
    off when the value is true.
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Actionscript not working on Mac

    I am creating a simple mouse over button on my PC computer in
    Flash for a website. When I upload the .swf, and the html file, the
    file works fine on my PC, but does not work on my mac... any ideas?
    Also, when you click on the button, the website comes up, so
    that portion works fine on my mac... but why not the stop and play
    function?
    This is the code:
    on (release) {getURL("
    http://www.sammijdesigns.com/");
    on (rollOut) {play();
    on (rollOver) {stop();
    }

    Nevermind... stupid mistake. Safari was being
    difficult...

  • Adding multiple locales to TwitterTrends mobile sample - not working

    Hi All,
    I have been having trouble adding support for muliple locales in my application so I desided to try it out with TwitterTrends sample application. Should be easy, but not working for me...
    What I did:
    1. Add locale folder under assets with an en_US sub folder
              src/assets/locale/en_US
    2. Create a properties file for en_US and save to src/assets/locale/en_US
         src/assets/locale/en_US/twittertrends.properties
    3. Add a single resource key for the home view in 'twittertrends.properties'
         views.home.title=Twitter Trends
    4. Update the TwitterTrendsHome.mxml to use fetch the title from the properties file
         title="{resourceManager.getString( 'twittertrends', 'views.home.title' )}"
    5. Add the locale folder to the applications source path, I did this by modifying the additional compilter args for Flash Builder:
         -locale en_US -source-path=assets/locale/{locale}
    Result:
    No title is displayed..
    I am not sure what I did wrong. Any help is much appreciated.
    Has anyone else seen/not seen this issue?
    Cheers,
    Greg

    Try adding
    <fx:Metadata>
        [ResourceBundle("twittertrends")
    </fx:Metadata>
    The problem is that the compiler isn't smart enough to tell that you're using the 'twittertrends' resource bundle unless you tell it so via [ResourceBundle] metadata. It doesn't try to analyze the ActionScript code inside of databinding expressions to determine what parameters you are passing to ResourceManager functions, etc.
    If instead of databinding you use the @Resource() compiler directive, as in
    title="@Resource('twittertrends', 'views.home.title')"
    then it should be able to figure this out without the [ResourceBundle] metadata. But this way of doing it doesn't support switching the locale at runtime.
    Gordon Smith
    Adobe Flex SDK Team

  • External interface.call is not working

    hi, i am trying to call one java script function in
    actionscript by using External interface.call method. but its not
    working .can u pls tell me why this happend

    "angadala" <[email protected]> wrote in
    message
    news:gmpc58$g9p$[email protected]..
    > skill status.mxml
    >
    >
    > <mx:Script>
    > <![CDATA[
    > if (ExternalInterface.available) {
    > ExternalInterface.call(getDataFromXml);
    > }
    >
    > it is javascript
    > <script type="javascript">
    > var data = new Array();
    > data[0]=[1,2,3];
    > function getData()
    > {
    > return data;
    > }
    > </script>
    > </head>
    > <body>
    > <div id="SkillStatus">
    > <p>Alternative content</p>
    > </div>
    >
    > </body>
    > </HTML>
    >
    1) Your JavaScript function name and the function name you
    are calling
    don't match.
    2) On the Flex side, you are calling a JS function that I
    think you are
    expecting to return a value, but not assigning the result of
    the value to a
    function.

  • Two Exact Functions Are Not Working (long)

    I am making a portfolio website. The way I have structured my code is that I have an action layer that takes care of global actions such as how the user would navigate through the website. For each page of the website, I would have a seperate layer that would load the content of that page onto the screen. The content would be added as a movie clip which is attached to a scroll pane component.
    I am having trouble calling one of my functions. What I am trying to do is that when the user navigates to 'My Work' section of my website, they can select from one of the examples of my works. Doing so will pop-up a movie clip which will display photographs and provide an explanation for my work. The problem I am trying to fix is that when the user tries to navigate to another page on my portfolio, the pop-up will not remove itself. I have created a function which is attached to the close button so if the user presses it, they can manually close the pop-up movie clip. I have also tried using this closing function with the main navigation buttons of my website so that when the user tries to go to another secion of the website with the pop-up open, the pop-up will automatically close itself, however, it is not constantly working. My 'works' page is seperated into several catagories (web, graphics...). This auto close function is only working on one of the five catagories and I do not understand why. I have copied everything exactly for one catagory to the second catagory, but Flash keeps on giving me the error that "Error #1009: Cannot access a property or method of a null object reference".
    My flash files can be downloaded here. Once downloaded, you would want to open up website14.fla. I know my coding is not exactly organized, and I am sorry as this is my first time I have really used a lot of ActionScript at once. I'll try my best to walk you guys through my coding to my error.
    To navigate through my website, you would click on the sink, toilet, or shower handles X amount of times. 1 time would bring you to 'about me', 2 for 'resume', 3 for 'contact', and 4 for 'work'. Once on the work page (press 4 times), click on the 'web' catagory and select one of the thumbnails. A pop-up window will appear. Don't close the pop-up window, and instead navigate to another page by pressing one of the handes a few times. Notice that the pop-up window automatically closes itself. Now navigate back to the 'work' page, click on the 'graphics' catagory and select a thumbnail. Now navigate to another page by pressing the handles a few times. Notice how Flash produces the error 'Error #1009: Cannot access a property or method of a null object reference'. In addition, notice how the pop-up window doesn't dissapear, and the new page is layed overtop.
    To navigate in the Flash file to my error, I'll try to guide you there. In the root timeline, scroll over to Frame 1 Layer 'Action' and look at the actions panel. On line 72, I have two If statements checking for frames 30 and 31. These two frames are where my work is displayed. I have also used a try/catch statement to check for errors. Now going to frames 30 and 31 and clicking on the workContent layer and looking into the actions panel, I am bringing my movie clip onto the stage by using the function createScrollPane. The function createScrollPane is located in frame 1 in the Action layer on line 13. This function just takes the movie clip and wraps the scroll pane component around it. Going to frame 31 on the main timeline, select the workContent layer and pull up the actions panel to see the code. you will see that I am loading workGraphics_content movie clip onto the page. Find it in the library (content/content/workGraphics_content) and open it by double clicking on it. There you will see another movie clip (workGraphics_content2) fading from alpha0 to alpha1. Double click on it and look at the action script in frame one layer 'action'. On line 93, I have the function external_workFrame_exit which is called whenever the user navigates from the 'work' page to another page on the website. For some reason, Flash keeps on giving me an error whenever that function is called. Oddly enough if you scroll up to line 78 you will see the function workFrame_exit which is none the less exactly the same as external_workFrame_exit. workFrame_exit is called when the user manually clicks the closing X button on the pop-up window to close it. If you want, you can open up another movie clip (content/content/workWeb_content) and double click on that movie clip to open up workWeb_content2 and take a look at its action. Looking on line 86, I have the external_workFrame_exit function and this one is the exact same one as the external_workFrame_exit function (which works fine) found in workGraphics_content2.
    What I am confused about is how I have two exact functions being called in pretty much exact same situations in the exact same way, and one of them fails to work. Is there a solution to my problem? Feel free to ask any questions if any of my explanations were difficult to follow.
    Again, the flash files can be downloaded here. Once downloaded, you would want to open up website14.fla.

    Sorry about the long post. I just thought that I would include all the details. To sum things up:
    You navigate through my website by clicking the sink, toilet, and shower handle X amount of times. By clicking it 4 times you will end up on my 'work' page. My 'work' page has several categories. Select the 'graphics' category, click on one of the thumb nails and a pop-up will appear. Now navigate to another page without closing the pop-up by clicking on the handles. Notice how the pop-up doesn't go away, and the new content is displayed over top? Now if you go back to my 'works' page and click on one of the thumb nails under the 'web' category, then navigate to another page, notice how this pop-up goes away.
    I am using the exact same functions to make both the 'graphics' category and the 'web' category to go away, but for some reason the 'graphics' one is not working.
    Again, you can download my files from here.

  • Aggregator V.5 self paced learning not working

    . I have 11 individual projects that I have combined into one aggregated file. When I run the aggregated file, the self-paced learning is not working correctly. Here is what I know:
    Captivate 5, WIN 7, Chrome browser. Clients choice of Captivate version.
    Client is not using a LMS
    All 11 projects have the “self-paced learning” checked in the TOC.
    I have published all 11 projects and they run fine. I can exit the browser while they are running and restart each project. The box displays, “Continue from where you stopped last time?” and I can either resume or start over.
    For each of the 11 projects, here are some settings:
    In >File>Publish settings>Project>Start end> Autoloader is checked
    In >File>Publish settings>Project>Start end> Autoplay is checked
    In >File>Publish> eLearning output=disabled
    In >File>Publish>ActionScript Version=AS3
    I have republished all individual projects, and also checking the “Force republish all the slides”.
    Cleared the browser cache
    All 11 individual projects (.swf and .html), the .js file as well as the aggregated file(s) (.swf and .html) are all located in the same folder on my hard drive. They are close to the top of the naming hierarchy.
    Client wants to be able to use self-paced learning  in the Aggregated files to allow the learner to resume where they left off as well as starting over. I start the aggregated file, let the slides run for a bit and then stop, exiting the browser. I return to the location on my hard drive and click the .html file name. I am returned to the aggregated file at the very beginning and not given the option to start where I left off. I have checked each of the projects persistanceInfo.sol. Among the oddball characters, the wording "don'task" appears, but I am not sure if some of the characters are indicative of the "Don't ask" box being checked or not. I have reviewed each of the projects in the aggregated file. On each and every occasion, when I close and reclick the link, I am presented with the dialog box asking if I want to continue where I left off. Clicking ok allows the project to resume where I left off. Clicking cancel restarts the project at the beginning.
    Additionally, I have made sure that the target file location is listed on the Global Flash Security settings as a trusted location.I have uploaded the files to a web server on our company site. Running the file from there provides no additional benefit-I get the same results.
    Thoughts?
    Thanks
    Jim

    All slides in the presentation are marked as continue.  I have gone
    through the first 5 slides and when I refresh the browser or exit out of
    Internet Explorer and open the project again it just starts at the
    beginning.
    Brenda
    From:   Lilybiri <[email protected]>
    To:     Brenda Dersham <[email protected]>
    Date:   01/25/2011 08:33 AM
    Subject:        Self-Paced Learning - Bookmark not
    working in Captivate 5
    Hello Brenda,
    How did you check: after uploading to a LMS?
    You have to be aware of the fact that a slide will be marked as 'viewed'
    only when the playbar has played the whole slide till the end. If you do
    pause slides with a click box, button, TEB and attach the action 'Go to
    Next slide' or something similar instead of the default action 'Continue'
    this will not happen and the slide will not be marked as completed.
    Lilybiri

Maybe you are looking for