Problem, including an external as file

I have a FLA 'Parent.fla' and a 'parent.as' file in the same directory on my laptop. I have a line of code in the first frame of the top layer in the FLA:
#include "parent.as".

When I have command + enter to test the movie, it does not work. I get a compilation error:
Error opening include file parent.as: file not found.

It works for me now. The only thing I can think is that this time, I created the file .as using Flash, and I think I remember earlier create the file .as BB Edit.

Tags: Adobe Animate

Similar Questions

  • Problem with loading external swf files

    Hello

    I am currently working on a project which is an interactive and dynamic elemtry school presentation to the Denmark. I finished my project and it works perfectly, but only locally on my computer.

    The final draft should be implemented on the site and public work. I tried to implement the project on the site and unfortunately, it does not work as expected.

    When all the files where transferred to the ftp server, only a single files are responding and appear correctly.

    Interactivity of the project is based on a structure of Action script, which is based on the smooth transition between swf files (load another swf file after the action is triggered by clicking on a button) do any work.

    After days of trying to figure out the solution, I'm totally lost. One thing is to publish the project so that all action script will work and answer between swf files, and the other thing is to make it user-friendly for the Android and apple products.

    The presentation is quite heavy because of its loading external swf content files, which are images and movies.

    I really hope you can help me with my problem. I will gladly share the files and codes if it would help solve the problem.

    Best regards

    Agata

    It could be a problem of location of file from loading.  When you place a swf file in an HTML base for targeting anything that the SWF load becomes the folder of the html page.  You may need to adjust the target so that the target of swf files, load it as if it were in the same folder as the html page.

  • Help please! Problems with loading external swf files

    I'm scared, I'm new to both Adobe Flash and Actionscript 3.0.

    I'm trying to create a simple site using a couple of different external sovereigns loaded into a main swf file.

    For the moment, in the timeline panel, I have the following code in frame 1 of the layer actions:

    import flash.events.MouseEvent;

    Stop();

    navbutt.addEventListener (MouseEvent.CLICK, shownavbg);
    function shownavbg (myEvent:MouseEvent): void {}
    gotoAndPlay (10);
    }
    home_btn.addEventListener (MouseEvent.CLICK, showhome);
    function showhome (myEvent:MouseEvent): void {}
    gotoAndPlay (66);
    }
    aboutme_btn.addEventListener (MouseEvent.CLICK, showaboutme);
    function showaboutme (myEvent:MouseEvent): void {}
    gotoAndPlay (49);
    }
    gallery_btn.addEventListener (MouseEvent.CLICK, showgallery);
    function showgallery (myEvent:MouseEvent): void {}
    gotoAndPlay (76);
    }

    var bgLoader:Loader = new Loader();
    stage.addChild (bgLoader);
    ("var url: URLRequest = new URLRequest("Background/sitebackground/Main.swf ");
    bgLoader.load (url);
    stage.setChildIndex (bgLoader, 0);

    Then, in the framework of 76, I have the following code:

    removeChildAt (0);
    bgLoader.unload ();

    In section 77:

    var galleryLoader:Loader = new Loader();
    stage.addChild (galleryLoader);
    var galleryurl:URLRequest = new URLRequest("test/ZenGalleryDemo.swf");
    galleryLoader.load (url);
    stage.setChildIndex (galleryLoader, 0);

    Stop();

    The idea is that, when the file is loaded, the 'sitebackground/Main.swf"flash loads on the stage. Then I want to delete this flash and load a different one when I click on the gallery_btn. So, when I click on the gallery_btn, he plays frame 76, theoretically unloading the Main.swf and the loading of the ZenGalleryDemo.swf in its place.

    For the moment, the Main.swf loads perfectly and works great. But when I click on the button to the Gallery, he jumps to the frame 76 and plays the Main.swf. It does not load the file ZenGalleryDemo.swf...

    If anyone has any ideas, I would be really grateful!

    Thanks in advance

    It's just a glance and reading, but the problem may lie between these two lines... look closely...

    var galleryurl:URLRequest = new URLRequest("test/ZenGalleryDemo.swf");
    galleryLoader.load (url);

  • Problem loading an external swf file implemented with AS3

    I use Adobe Flash CS3

    At first, I tried

    swf_mc.loadMovie ("location of the //swf file");

    He gave me
    Quote:
    WARNING: 1060: Migration issue: the loadMovie method is no longer supported.
    USE: var l = new Loader(); addChild (l); l.Load (new URLRequest ("your url"));.
  • An Extension using an external JAR file

    Hey,.
    I read this blog entry:
    -[http://blogs.oracle.com/jdevextensions/entry/adding_exteneral_jars_to_an]
    and the thought that maybe that is it, but unfortunately will only work if the jar is deployed with the installation of JDeveloper.
    I use in my extension jar files that I made myself, and even if I can get around this problem my copy just jar files to hand to the place where they are supposed to be, if I export the extension, it will not work on other PC.

    So what I need to do, it's somehow include the jar file in the deployment. I tried to add a new group of files for the libraries in the deployment window, but unfortunately, that has not helped at all.

    Thank you for your time and I hope someone can help me.

    Couple of things possible.

    It is probably just a thing of packaging in the forums, but make sure externally: part is all on the same line as the Bundle-Classpath entry.

    Also remove the space between the "external: ' and the ' $ORACLE_HOME$".

    One last thing, is in the previous post, you got the mon.jar in a 'test' under extensions folder.. In this example, it seems you are trying to call it directly from the Extensions folder.. This could be the main issue.

    Let me know if these elements help at all.

  • More information on the external sound files

    < < heavy sigh > >

    I use Flash 8 Pro and created a slide presentation. The top slide has common elements, including the audio control buttons. Each slide contained has an external audio file associated with it, that the viewer can play by clicking on the "play" button The slide and the file have the same name for the 'game' ActionScript can determine the currentSlide._name, add ".mp3" at the end of this one and read it. Other buttons on this slide work in the browser - those who move the Viewer slide to the slide and back. When I take a glance on the variables, they are marked like this: "_level0. Characters.Flotsam_Jetsam ".

    Unfortunately, it works perfectly in the preview of the Flash, but it does not work in Dreamweaver preview (local), or when published on the web. Here is the code that I use for the play button - as you can see, I took the advice of the previous thread and that it 'this' added in brackets after "his new ''--

    on (release) {}
    create a new Sound object
    var my_sound:Sound = new Sound (this);
    var my_slide = currentSlide._name;
    If the sound load, play; Otherwise, trace loading failure
    my_sound. OnLoad = {function (success:Boolean)}
    {if (Success)}
    my_sound. Start();
    trace ("Sound loaded");
    } else {}
    trace ("Sound failed");
    }
    };
    my_sound.loadSound (my_slide + ".mp3", false);
    }

    Maybe I need a little changed "this"? Audio files are a bit big, but it seems as if they should at least play the preview of Dreamweaver...

    I have Flash Player 9 installed, so that might have something to do with it. All information will be received with joy.

    Thanks, k

    OK, I should have tried this an hour ago.

    I published code HTML of Flash this time, to see if the problem could be with the Dreamweaver page in which my flash animation has been incorporated, and... It worked. So, nevermind.

    I had adjusted my web page for the flash animation appears where I wanted it to appear (and only appear once, thanks a lot - a lot of reading on "twice - baked" so I had to play with him).

    I just comb my web page now and see how to operate AND appear in this spot and only once.

    k

  • Problems with the external monitor W540 connection

    Hi, maybe someone can help me. I'm trying to connect a W540 (no external dock) to an external monitor Dell.

    I tried with two monitors, but none work.

    Connected via VGA port on the side of the W540

    (1) connected monitor and clogged up the resolution of the screen on laptop (lines icons tiny, black on each side of the screen). External monitor works fine. When unplugged, it went back to the previous screen resolution.

    (2) laptop registered resolution and icon size of the screen as a profile.

    (3) external monitor connected right click options graphics Intel, insured was custom display, main display plus external monitor, then had to go in a re - click on the name of the saved profile.

    (4) this worked ok until the next day, when turned on laptop and a blue screen. Managed to get this back hard by restarting and completed the steps in N3

    (5) cannot get the Nvidia Control Panel to display anything else than the 3D options, even if it make the default value (instead of the Intel graphic card)

    Can anyone offer some so that I can connect an external monitor without having to go through all this hassle every time? Why this affects the laptop so bad (and also, it runs very slowly after that)

    Running Windows 8 (but with the interface of Windows 7)

    Thank you very much

    Thank you. A quick update, I contacted Lenovo, and they sent the updated bios drivers. I also uninstalled some software Canon MP Navigator and Lenovo EMC Discovery (http://support.lenovo.com/us/en/documents/ht081844?tabName=Solutions). One or all of them seem to have solved the problem, including the slow start.

  • problem with image and pdf files to print

    Hello

    When I want to print images and PDF files in windows 7, it takes too much RAM space so small capacity it has (for example, the file has 52 KB capacity, but it takes 21 MB of RAM)

    and I have to wait until this file (image or PDF) completely buffered in RAM, and that is problematic for me.

    Help me please.

    Thank you

    Hello Amirafshari,

    Thanks for posting your query on the Microsoft Community.

    We need to know the following information to isolate the problem:

    1. When you print files no PDF, you have the same problem?
    2. What are the specs of your PC?
    3. Where are the files located? Is this an internal or external storage device?
      • If the file is located in your external storage space, you can transfer into your internal storage space first before printing.
    4. Have you tried the activation and deactivation of your print spooler? If this isn't the case, please follow the steps below:
      • Go to CMD.
      • Type "net stop spooler" and press ENTER to stop the spooler.
      • Type "net start spooler" and press ENTER to re start the spooler.

    Let us know how things are going.

    Kind regards

    Jamille Nar

  • [SOLVED] config.pri includes several times same file cpp

    Hi all

    as written in the subject I do not know how to resolve this because the .pri file is generated automatically and I don't know if it just searches for .h and .cpp in the project files or it are generated after understands it I used in the code.

    Knowing that I can understand if it is a mistake of mine or a mistake of generator .pri 'simple '.

    Several times, I discovered this .cpp file in the chain of tent SOURCES to solve a linker bug multiple definition...

    Of course, I can comment on the (config.pri) include in the .pro file and copy the .pro content .pri file I can change by hand, but I prefer to understand the reason for this bug to avoid manually changing the .pro file every time that I add something (header or file CPC) in my projects.

    Thank you very much in advance for your answers :-)

    Solved! The problem was caused by something wrong in the way of exclusion in the path option and the symbols of the project property :-)

  • Using the external js file in the custom workflow

    Hello

    I use 11.1.1.8 and jdev 11.1.1.7 spaces

    While referring to (http://js.xyz.com/js/abc.js) external js file in my integrated jsff in weblogic page, there is no problem, js works perfect , but when I deploy my workflow a workflow customized to webcenter spaces page cannot access this file js url.

    I have to give this operation any grant? How?  I found something external applications like this, but there wasn't a connection information. My field of js file didn't need approval.

    Thank you.

    Jsff file, I use the js as file

    < af:resource type = "javascript".

    source ="http://js.xyz.com/js/abc.js" / > ".

    Thanks for everyone, location external links js in the page of the portal model has solved my problem.

  • Elements of reference in the external js file request

    I am using an external javascript file, but I have problems to reference the elements of the application

    APP_ID and the SESSION can be referenced using

    APP_ID: $v('pFlowId')
    SESSION: $v('pInstance')

    and page items (P1_ITEM) can be referenced using

    $v('P1_ITEM')

    Application items (A1_ITEM)However, do seem to not work. Tried using $v ('A1_ITEM') but without success. Is it possible to reference the elements of application in the external js file?

    Teo

    You can set point local page to the value of the item application and then refer to this local element.

  • Problem while removing a temporary file in the temporary storage space.

    Hi all

    There is a problem removing the temporary file to a temporary tablespace.

    I've done the steps .on oracle 10g linux

    SQL > alter tablespace TEMP1 drop tempfile ' / db/cms1/temp/cms1_temp1_03.dbf';

    Tablespace altered.

    Select FILE_NAME, nom_tablespace, BYTES/1024/1024/1024, AUTOEXTENSIBLE MAXBYTES/1024/1024/1024 from dba_temp_files where nom_tablespace = "TEMP1";

    FILE_NAME MAXBYTES NOM_TABLESPACE AUT BYTES/1024/1024/1024/1024/1024/1024

    /DB/CMS1/temp/cms1_temp1_03.dbf TEMP1

    TEMP1 /DB/CMS1/Temp/cms1_temp1_02.dbf.09765625 YES 2

    TEMP1 /DB/CMS1/Temp/cms1_temp1_01.dbf.09765625 YES 2

    The data file still exists.

    Then I tried this...

    SQL > alter the temporary database file ' / db/cms1/temp/cms1_temp1_03.dbf' drop, including data files;

    ERROR on line 1:

    ORA-25152: TEMPFILE cannot be deleted at this time

    Any suggestion of expertise would be of great help.

    Thanks in advance.

    1. create a new tablespace temp.

    2. change all the tablespace temp temporary by default for all users of the new tablespace temp.

    3. check the former temp tablespace is no longer used by v $ SORT_USAGE:

    4 drop the tablespace old temp by drop tablespace temp1, including content and data files.

  • BACKUP QUESTION: Why is it when I backup the Lightroom Catalog (Edit |) Settings of catalog...) only the *.lrcat file included in the ZIP file... While the *., lrdata file, the preview files, ARE NOT INCLUDED?  When I restore the file *.lrcat from a backu

    BACKUP QUESTION: why is it that when I backup the Lightroom Catalog (Edit |) Settings of catalog...) only the *.lrcat file included in the ZIP file... While the *., lrdata file, the preview files, ARE NOT INCLUDED?  When I restore the *.lrcat file from a backup, WHERE ARE THE PREVIEW FILES that should be included in the ZIP to the top.  If *.lrdata (Preview file) are so important, why are not included in the zip?  [email protected]

    CraigLevine wrote:

    OK, so that's my scenario:

    • QUESTION: WHEN I USE THE [Sub-master] .lrcat, on the new computer, don't need to inculde also files .lrdata [Sub-master] on this external drive?
    • If .lrdata [Sub-master] is regenerated automatically, where he gets all the work (from the preview files) that I did, when I was working, using the .lrdata [Sub-master] when he was on the local disk.

    Thanks again for staying with me on this.  I don't know that your answer will solve my confusion. -Craig

    [email protected]

    Questions 1)

    Not because the LRDATA file is fair previews, what LR displays on your screen for a faster loading of the image and will be recreated. The previews only stored in the folder LRDATA is the basic overview created at time of importation for the display of thumbnails and previews of 1:1 for images that you have actually looked in the Loupe View or I guess that appears in the develop module.

    He get all the data to create the image themselves file extracts.

    If you have several files on your system that have pictures in them and you select one of them that you have not looked at in a while, you will notice LR creation of previews for these images, there will be 3 white dots in the upper right corner of the thumbnail. It's LR creation of previews for the thumbnail view. If you scroll quickly in the grid view, you'll notice a few thumbnails of images are gray, until you stop scrolling, then the upper left tile will come in clear view and the white dots will appear on the other images. It's LR creating previews for those of other images. Once LR created the preview of thumbnails that are on your screen, white spot will disappear. If you scroll down again, you will see more white dots

    If you switch to another folder that LR begins again create preview images in this folder. The total number of previews created and stored based on caching of the preview you have in the catalog settings dialog in the management of the files tab.

    If not, you need not the LR Previews.lrdata folder. Whenever LR is not very good this folder with a catalog he recreates it to store previews in.

  • Create Adobe Muse Widget with images and the external JS file.

    Hello, I want to create widget that include all about 7-8 images and 1 JS file.

    I read the documentation, but I have a few questions.

    Is there any way to import images of widget (no link to them)?

    Y at - it means to import the folder 'images' with pictures on it and this folder to extract to which I have 'say' (for example level even where is the page or file in the folder root of the site)?

    Is there a way to include the JS file?

    In my opinion, that these things are possible, but with Adobe Muse themes.

    How to manipulate the page with the options for the widget?

    For example, in the options, you can choose between 2-3 options and the option to apply to the page.

    I want the option widget that can change 1 variable JS variable will be in the script that is added to the page (not external JS file). I know how to add this script to the page, but I don't know how to handle with the widget options. Here's another example, I have this:

    ...........

    < bodyEndHTML >

    <! [CDATA [< script type = "text/javascript" >]]

    $(function() {})

    var someVar = "somevalue1";

    });

    < /script >]] >

    < / bodyEndHTML >

    < / HTMLWidget >

    I want with option widget to manipulate this variable 'someVar' (its value), between the selected values.

    You work with html exported Muse,

    It would be a complete customization with form action, you can try to use the coding corner

    Thank you

    Sanjit

  • created variable on click in edgeActions.js but want to reference in the external js file


    Hi, I created a variable on click in edgeActions.js but want to reference in the external js file. This is where I am so far:

    In my edgeActions.js I have variable st on compositionReady and then use it when I click the icon: questionMarkR1. It works fine... the problem is that I don't know how to reference the variable in my external js file. This first code works of the edgeActions.js:

    Symbol.bindElementAction (compId, NomSymbole, 'document', 'compositionReady', function (sym, e) {})


    sym.setVariable ("questionAsked", false); sets the initial value

    });

    Symbol.bindElementAction (compId, NomSymbole, "${_questionMarkR1} ', 'click', function (sym, e) {})

    var questionAsked = sym.getVariable ("questionAsked");

    Alert (questionAsked);

    If (questionAsked) / / if it is true
    {
    SYM. $("checkButton2") .removeClass ("hidden");
    SYM. $("popUp") .removeClass ("hidden");


    }
    of other fake //if
    {

    SYM. $("pic2a") .removeClass ("hidden");
    SYM. $("pic2b") .removeClass ("hidden");
    SYM. $("pic2c") .removeClass ("hidden");
    SYM. $("pic2d") .removeClass ("hidden");

    SYM. $("closeBox") .removeClass ("hidden");
    }

    });

    This next part does not work because I don't know how to properly reference the variable. That's what I've tried and it doesn't work:

    var questionAsked = sym.getComposition () .getStage () .getVariable ("questionAsked");


    Alert (questionAsked);

    Hello

    Animate edge exposes an API for external scripts, you will need to use in your case:

    For more information about the API to animate edge, see API JavaScript Adobe Edge animate CC

    Use the code below in your external js file:

    var comp = AdobeEdge.getComposition ("EDGE-606063631"); replace 'EDGE-606063631' by your model id, you can find in the .html file

    var point = comp.getStage ();

    var questionAsked = stage.getVariable ("questionAsked");

    Alert (questionAsked);

    HTH,

    Vivekuma

Maybe you are looking for

  • Why my already open tabs switch in a new window when I switch to them?

    I have several tabs open in a particular window. There's that one open window because that I do not have many windows. Sometimes when I click one of my open tabs, it appears in a new window. How can I disable this or at least put it back on the origi

  • Toshiba 48L5441DG is no more restart

    Hello I have a problem with the 48L5441DG.After a few days using the TV normally is not turn on/off / wake up more standby mode.Just unplug the TV to the grid to help.Is this a known problem with this model?Is there an update available fixing this is

  • Modbus gurus please read

    I have a Modbus (VP Flowscope) instrument that I'm trying to interface with and I've never worked on before Modbus.  I wanted to see if anyone had some tips to get this working soon. I wrote the code using the NI DSC, the code on the NOR-Lab Toolkit

  • acquire data from the oscilloscope DPO2024

    I am trying to acquire data from the oscilloscope DPO2024 using labview. I am able to do, but my vi file only works for channel 1. Other than channel 1, it does not work and instead, it changes the adjustment of the oscilloscope as well. Find the vi

  • Is there a better way to generate the custom timed digital signals

    I'm trying to generate the digital output from the top and down with delays on different lines. Each daq assistant is activate single line on a port USB 6501. There more complex high and lows that I need to generate variable time difference between h