A .as file will stop a .swf from being linked?

I have a simple movie that has essentially the AS3 code for the two buttons.

A single button (named videopage_btn) links to another file .swf perfectly.

The other button (named thumbnailgallery1_btn) is not related to another .swf file. It gives me an error (TypeError: Error #1009: null) when you use the same code (attached).

In the folder of my project, I have this .swf file and the other .swf file, which has a .as file to go with it.

When I opened the other single thumbnailgallery1.swf file (without the other file simple.swf button), it compiles properly. However, when I try to use the button, I get the error 1009.

Can I use a different code to open the thumbnailgallery1.swf of the thumbnailgallery1_btn?

Yours Sincerely,

Jntspecialty


that must be something lost in translation because I do not understand this error message. in all cases, you will need to debug this class file.

Tags: Adobe Animate

Similar Questions

  • Download of the current file will stop if I close the window of the Downloader?

    Download of the current file will stop if I close the window of the Downloader in Firefox 4.0.1? This was not the case with the 3.x versions.

    No, as long as you don't close Firefox then the download will continue.

    You can set the browser.download.manager.quitBehavior pref to 2 on the topic: config page.

    That will make Firefox asks for confirmation if you want to cancel the download if you close Firefox.

    See:

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

  • Printing of the .pdf of the 2013 project file will stop when the name of the file must be written. Project 2013 crashes. Anyone know what the problem is between 2013 project and Adobe Acrobat 9?

    Printing of the .pdf of the 2013 project file will stop when the name of the file must be written. Project 2013 crashes. Anyone know what the problem is between 2013 project and Adobe Acrobat 9?

    The family of products Acrobat 9.x passed in mid-2013 "end of Support".
    Using Acrobat 9 of MS Project via PDFMaker stops with Office 2007.
    To 2013 Office support, you must use Acrobat XI (11.0.1) or newer.

    A good reference:
    https://helpx.Adobe.com/Acrobat/KB/compatible-Web-browsers-PDFMaker-applications.html

    Acrobat Pro and Standard DC are what are currently available for purchase.

    Be well...

  • Unload and stop the swf from scene

    Hello

    I am a newbie in Flash and Actionscript. I need to give links to about 20 files swf via the menu.swf buttons. I am able to give links. But when I come back by clicking the HOME button held in the newly loaded swf audio files are always played in the background.

    Yes, there are audio files playing in the back for each slide in the new FSV. Then click the link even menu.swf again once the files are played with the old incomplete file. It's really intense.

    I need to unload the scene completely when I return to menu.swf by clicking the HOME button on one of the 20 categories.

    I used unloadAndStop but it does not. I hope I'm mistakes of committing to a place but could not provide.

    Need help!

    FOR THE HOME BUTTON:


    var _content:Loader = new Loader();

    function loadContent(content:String):void {}

    If (_content! = null) {}

    _content.unloadAndStop (true);

    removeChild (_content);

    _content = null;

    }

    var loader: Loader = new Loader();

    Loader.Load (new URLRequest (content)); -> > > > I don't really know what to put in this :-(

    _content = addChild (loader) like charger;

    }

    Home_Button.addEventListener (MouseEvent.CLICK, home);

    function home(event:MouseEvent) {}

    _content.unloadAndStop (true);

    var homeSWF:URLRequest = new URLRequest ("demo.swf");

    _content. Load (homeSWF);

    addChild (_content);

    }

    MENU.swf BUTTON

    var loader: Loader = new Loader();

    Category1_Button.addEventListener (MouseEvent.CLICK, category 1);

    function category1(event:MouseEvent):void {}

    var Category1SWF:URLRequest = new URLRequest("Category1.swf");

    Loader.Load (Category1SWF);

    addChild (loader);

    }

    I think that there is a question of terminology.

    your main swf is the SWF that is embedded in your html page.  It is the first swf to display, and it can not be unloaded using actionscript.

    It must contain the loader, the only case of Loader, you need.

    This main swf may or may not be main.swf.

    in your main swf file, you must use:

    /////////////////////////////////

    var loader: Loader = new Loader();

    addChild (loader);

    function loadF(fileS:String):void {}

    {if (Loader.Content)}

    loader.unloadAndStop ();

    }

    Loader.Load (new URLRequest (fileS));

    addChild (loader);

    }

    function unloadF (): void {}

    {if (Loader.Content)}

    loader.unloadAndStop ();

    }

    }

    /////////////////////////////////////////

    do not change anything between the lines.

    ----------------------------------------------------

    your main SWF, if you want to load "catgoryxyz.swf", use:

    loadF ("categoryxyz.swf");  This argument in this line, you can and will change

    you main swf, if you want to unload all that is been loaded (and seem to go back to your file main swf), use:

    unloadF();

    ---------------------------------------------------

    Since the script a swf loaded (as categoryxyz.swf) principal, if you want to load "categoryabc.swf", use:

    MovieClip (this.parent.parent) .loadF ("categoryabc.swf");  the argument in this line, you can and will change

    If you want a swf to unload himself (and seem to go back to your main swf file), use:

    MovieClip (this.parent.parent) .unloadF ();

    -----------------------------------------------------------------

  • power battery but laptop will stop when disconnected from the mains

    My laptop is using vista, there's a lot of power in the battery, but when I unplug AC power to run off battery, after a few minutes, the laptop stops right then re - not start wirhout power even if the battery is still almost full.

    Hello

    Did you change your computer?

    I suggest you to follow the links and check out them.

    Battery saver

    http://Windows.Microsoft.com/en-us/Windows-Vista/conserving-battery-power

    The problems of power consumption and extend laptop battery life

    http://support.Microsoft.com/mats/windows_battery_power_settings/en-us

    Solve battery problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-battery-problems

  • An apple user received a warning message that his phone has been compromised and that it has to download a program before it can use Safari if his picture files will be in danger of being stolen. What should do?

    What to do if you got a warning message of * onlinegmz.com

    as your phone is being hacked and you need to download a program to protect the data of the phone and photos to be hacked?

    This occurs whenever you try to use safari (this is what happened to a friend)

    < link published by host >

    It's a scam.

    Go to settings - Safari - clear the history and data from the Web site.

    If that doesn't work, reset your device. This will not erase your data stored on the phone.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    To be on the safe side, you can restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • Tabular form - stop some lines from being modified according to user

    Hello

    For an application that I'm developing, I wish I could use the group_id (stored in a session variable) in order to prevent the user from changing certain lines. However, I still have the user to be able to see all the lines.

    To clarify, I have a tabular presentation composed of elements belonging to a certain group. Once users logs in a variable called Group of stored session ID. I'm like tables to display all items as usual but only allow the user to change the items belonging to their group.

    Apex has a "Built-in" way to do? I looked but can't seem to find a solution.

    My second idea was to use JavaScript to compare the value of column group_id session and somehow lock/unlock ID line. However, the group_id column is a selection list and I'm not sure on how I can retrieve the value selected using JavaScript.

    Initially, I came to this:

    $("#report_pivot_tbody_tr_td").each (function () {}

    If ($(this) .attr ('headers') == 'GROUP_ID') {}

    If ($(this) .val ()). == 2432832) {}

    $(this).css({"background-color":"#FF6200"});)

    }

    }

    });

    When tested on other columns code works and correctly colors the cell however with the list selection that does not work.

    Any help would be appreciated.

    Thanks in advance,

    James Menzies

    The only way to protect the data of the edition is to not show or show it in a single report to display. Using jquery to protect your data is not a good practice. Thus, data for editing must be included in a table for. Cannot be changed in a second report below.

    Denes Kubicek

    -------------------------------------------------------------------

    -------------------------------------------------------------------

  • File Explorer has stopped working properly from the taskbar

    File Explorer has stopped working properly from the taskbar. Currently, I get only 3 windows on taskbar & opening No. 1 opens no.2 & vice versa, but no. 3 opens on its own. Can someone explain this & find a cure?

    I would like to highlight the file Explorer icon and pin it again.  To do this.

    (1) close all running programs, including records from the file Explorer

    (2) right click on the icon on the task bar Explorer and "Unpin from Taskbar" to remove

    3) press Windows + R to display the race. Type C: and press OK. This will open your C: drive.

    (4) make a right click on the taskbar that appears, the file Explorer icon, and then click "Code Pin to Taskbar" to pin it.

  • When the file is exported to SWF format, it will play all video files that are assigned to the keys

    I created a Flash project, in which I have buttons that play different music videos (by jumping to an image not loading the film when the button is clicked)

    Basically when I export the file as a SWF file to a place, which is different from where all videos are stored only 1 of 6 videos will play, however they all works when I export to the same file, but if I move it, it will play only 1 video again.

    So I want that all my video files to play when I move my swf in different places.

    I'll upload some screenshots, if you have any questions do not hesitate to ask. Thank you

    Page, libraries, timelines

    1.png

    Code

    2.png

    All files will play only when it is in this folder

    3.png

    Help...

    It was something really simple I am downloading the videos in a weird format but I converterted to standard FLV and it was very good

  • Flash (swf) files will not play LOCALLY

    For a few years now, I've been making Flash demos embedded in an HTML page for viewing online. The same exact pages also work offline, IE. from a CD, USB, or another PC of evil by car.

    Suddenly, which just stopped working! I've done all the troubleshooting and elimination of bug I can do - there is no reason I could find why pages that provide fine on my PC and creating work perfectly when it is online, does more when the same location of this directory is taken to another PC.

    All the links are in place, I can view the SWF from USB when I drag / drop the file in a browser (so the plugins are very good), I know that the link is correct, but when the HTML is seen locally from another machine, the embedded SWF just... never appears. My old pages made in the same way work always, but not not new pages. I compared the code side-by-side and everything seems fine...

    This page displays the fine online demo... www.invmed.info/test/all_mono/e_demo_clrcassette_mono.html

    .. .but when you download this EXACT SAME directory to another PC, the Flash does not appear. Can someone please tell me why? Here's the simple file directory: www.invmed.info/test/test.zip

    I THOUGHT ABOUT IT! The AC_RunActiveContent.js script treated him not properly pathed to Dreamweaver, even when new pages have been made. For the script to create the first time (and he didn't mention it again after this), you have to start a whole new site. Once I did, the clues has finally started to assemble. Found the code via research, fixed the fault path and voila.

  • If I delete the files in iCloud will be they deleted from my computer as well?

    "I get the message" your iCloud-storage space is almost full.

    I can delete some folders from iCloud, but removing in iCloud will also remove the original from my computer?

    Thank you

    If you have the Apple menu > System Preferences > iCloud > iCloud drive in market, any file you save in iCloud drive automatically saves a local copy on your record player iCloud on your Mac, and it synchronizes to iCloud by car to https://www.icloud.com/

    If you delete the file or the other place that will not delete automatically from both locations.

  • When I shut down windows end progra - sample appears and windows will not be stopped, unless I click for end of program. Eny one have an idea how to stop this program from running?

    When I shut down windows end progra - sample appears and windows will not be stopped, unless I click for end of program. Eny one have an idea how to stop this program from running?

    Then, you will need to request Support Intel if the drivers you downloaded were appropriate for your hardware and Windows XP.

  • Right mouse click when the file name of MS Explorer results saying that he has encountered a problem and will stop, and it stops quickly.

    Right mouse click when the file name of MS Explorer results saying that he has encountered a problem and will stop, and it stops quickly.

    Right click issues are usually caused by a third-party software that put an entry in the context menu. You can solve this with the free ShellExView.

    http://www.nirsoft.net/utils/shexview.html - ShellExView

    Make a right-click is slow or weird behavior caused by context menus management - http://windowsxp.mvps.org/slowrightclick.htm
    Manage the entries in context menu for folders, readers, and the Namespace objects - http://windowsxp.mvps.org/context_folders.htm MS - MVP - Elephant Boy computers - Don ' t Panic!

  • Sony DVR need data on-screen TV Guide. Rovi will stop the support service of TVGOS from April 2013

    The Sony DHG - disk HARD of 250 and 500 Digital Video Recorders use the calendar to the Rovi's TV Guide on screen (TVGOS) and on an hourly data provided on the signals of broadcasting digital TV channels local.

    Rovi has announced it will stop support of TV Guide service on the screen as of April 13, 2013. The service provides a listing service on the air as part of over-the-air signal from a local TV station. Rovi asked the channels that provide data feeds to remove the insertion of data and return them before the deadline.

    The consequence of this decision is that consumers who have more DVR such as Sony HDD 250 and 500 Digital Video Recorders now with equipment that does not work without the flow of information and the inscription clockset signal.

    Sony has a solution for the owners of digital video recorders?  Is is possible to get the programming data from internet and input sources to the DVR via USB?


  • the Windows media player 12 will not play 3gp (from mobile phone) with sound files

    I have windows 7 media player 12 and when the videos are downloaded from phone video shows but with no sound. Have all the updates so far I know. Turn windows media player

    12.0.7600.16415

    Hi vett82ce, 

    You will need a codec to play the video file. A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use the codec to play and create digital media files.

    You can check the link to see the guidelines on the issue below:

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    You can use the link provided below and check if you get the necessary codec to download depending on the type of file, you try to play.
    http://www.Microsoft.com/downloads/en/default.aspx

    You can also use your favorite search engine to download and install a codec based on the file type, you must use.

    NOTE- Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Kind regards

    Gaurav Prakash - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for