external communication with swf?

Hello

IM loading in intro2swf with the following

btn_cont2_mc. Visible = false;

addChildAt (intro_container_mc, 0);
intro_container_mc.x = 400;
intro_container_mc.y =-300;

Stop();

introvisit();

function introvisit (): void {}

If (introlevel == 2) {}
lvlLoader2 = new Loader();                     Create a new instance of the Loader class
Url2 = new URLRequest ("intro2.swf");
lvlLoader2.load (url2); load the SWF file
intro_container_mc. AddChild (lvlLoader2);

now the swf file loads correctly and in the right place, but I have a btn on the scene I want to hide, and at a certain point in my loaded swf I want to display the button using a frame event enter


intro_container_mc.addEventListener (Event.ENTER_FRAME, added0);

function added0(event:Event):void {}

If (intro_container_mc.currentFrame == 1) {}

btn_cont2_mc. Visible = true;

MovieClip (this.parent).e_mc.cap_talk_txt.text = "Stormy."

}

I need to do it this way so that I can change the text at various points in the history of the swf file I can change the text

but whenever I have it try, the button does not appear or change the text, with problems of communication with swf, I tried

intro_container_mc.addEventListener (Event.ENTER_FRAME, added0);

intro_container_mc.lvlLoader2.addEventListener (Event.ENTER_FRAME, added0);

intro_container_mc.lvlLoader2.storm_mc.addEventListener (Event.ENTER_FRAME, added0);

who have no effect, the animation inside the swf file is kept in a movie clip called storm_mc

hope you guys can help me solve this problem

Thank you

fonzio

use:

function removelistd (): void {}

{if (Loader.stage)}

removeChild (loader)

btn_cont2_mc.buttonMode = false;

btn_cont2_mc. RemoveEventListener (MouseEvent.CLICK, continuey);

btn_cont2_mc. RemoveEventListener (MouseEvent.MOUSE_OUT, conty2Out);

btn_cont2_mc. RemoveEventListener (MouseEvent.MOUSE_OVER, conty2Over);

swf2Main_mc.storm_mc. RemoveEventListener (Event.ENTER_FRAME, added0);

loader.contentLoaderInfo.removeEventListener (Event.COMPLETE, completeF);

}

}

ask yourself if it is the charger should I put above

tried swf2Main_mc and charger in all sorts of ways however continue to be he

ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.

at flash.display::DisplayObjectContainer/removeChild()

to MethodInfo - 360)

to MethodInfo-(357)

just need help, cleaning and then its done

Thanks in advance

fonzio

Tags: Adobe Animate

Similar Questions

  • external control with SWF MC?

    Hi all

    OK, let's say I have two SWF files.

    In 'SWF 1,' I have a clip.

    The music video for 'SWF 1' load externally "2" SWF file.

    Is it possible for me to have something (like a button) inside of the "SWF external 2" with the ability to control something (like a music video) in "SWF 1?

    If yes what would like the path to that mc look?

    Thank you

    If both are as2 SWF files, you can reference the movieclip target load in swf1 (loading swf) on the main timeline of swf2 (the loaded swf file) to:

    This.

    so, if this target load lies on the main timeline of swf1, you can reference the main scenario for swf1 using:

    This ._parent.

    and if there is a movieclip on the main timeline of swf1 mc, you can reference it using the:

    This._parent. MC1.

    etc.

  • My laptop has stopped communicating with my CD/DVD drive

    Why my laptop stopped communicating with my CD/DVD drive, D drive?  When I put a CD in the player it swirls, light comes on, but there is no indication on the screen. I bought an external CD/DVD drive that plugs into the USB port, but he did not see anyone.

    Hello

    Glad to know that you have addressed the issue. Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • My ipad 3 has stopped communicating with my airport extreme.

    My ipad 3 has stopped communicating with my airport extreme.  I rebooted, both so that made a network reset on the ipad.  He sees the airport but does not connect.  It will work on the personal hotspot on my phone.

    Hello

    If your ipad works with a hot spot that's the Aiirport is the problem

    Go to the Apple Web site

    support. Apple.com

    You may need a software update for airport how old is this do you have another

    Router, you can try?

    See you soon

    Brian

  • using the iMac 27 inch mid 2011 as an external monitor with a PC via mini DisplayPort

    I find conflicting information via web search to be able to use my iMac 27 inches, mid-2011 as an external monitor with a PC. Is it possible to use the iMac as an external display via the Display Mode target between Thunderbolt port of the iMac with a PC equipped with a mini DisplayPort?

    Of course, I hear it's possible with the appropriate cable. But if it is not possible, I would like to know for sure.

    Thanks in advance for your help with this. _henry

    Target display mode is Mac to Mac only. Use your iMac as a display with the target - Apple Support Display Mode

  • I removed Applian freecorder in my programs, but I find myself with a toolbar of community with a button for Freecorder help page. How can I get rid of this, preferably on the entire toolbar

    I installed and now have uninstalleda Applian program (freecorder I think) but find myself with a toolbar of community with a button leading to the theFreecorder help page. I don't want the additional toolbar or button. How can I get rid of him? I tried to remove and reinstall Firefox, but this has not done it.

    Hello

    Please try to go to Tools (or Alt + T) > modules, Extensions , click on the left and if it is listed on the right, delete it. Otherwise, you will need to go to Add/Remove Programs in the Control Panel of BONE and remove it from there.

  • Tecra S4: cannot switch automatically to an external monitor with APR 3 +.

    Hello

    I used a Tecra S4 (with Windows XP Prof.) with monitor 3 + and with an external 19 "Advanced Port Replicator. If I connect my laptop with the Port Replicator, it will automatically switch to the external display. I have to use the function "FN" to move."

    I signed up the external monitor with "use this device as the primary monitor.
    I don't have this problem with my other laptop Toshiba Tecra A3.

    Now, I think the problem is the geforce graphics card.

    Does anyone have the same problem?
    Thanks for the help and sorry for my bad English; (o)

    Hello

    It works with Tecra S4, too.

    Install new Modules of Commopn
    http://support.toshiba-tro.de/Tedd-files2/0/CMOD-en-20071119111948.zip

    Install the latest Toshiba laptop Extensions
    http://support.toshiba-tro.de/tools/Tecra/TS4/XP/TME/TME-TS4-XP-38400xp-en.zip

    Install the display device change Utility
    http://support.toshiba-tro.de/tools/Tecra/TS4/XP/DPL-change-drv/dspdevchge-TS4-XP-2500-en.zip

    Enter in Control Panel, start Extension mobile controls.
    Go to the tab 'Change of display device' and activate the Service.

    Now, it should work.

  • Qosmio X 500 - 13R: picture on external monitor with resolution 2560 x 1440 is blurred

    Hi all

    I have a computer laptop X 500 - 13R Toshiba Qosmio, although 2 years, still a great piece of hardware.

    I just bought a new monitor 27 "U2713HM which supports a resolution of 2560 x 1440.

    Computer video card notebook (GTX 460 m) supports a resolution higher than through a digital connection, so I used a HDMI cable to connect.

    Via Control Panel Nvidia, I could create a custom resolution, but the image is not clear / is blurred.
    It is readable, but it's just not everything.

    Tried with HDMI 1.4, without success.
    I volunteered to connect through Dual Link DVI cable, but the phone doesn't have a DVI connector, and I doubt the adapter will help.

    Anyone has a suggestion how to fix this problem?

    Thank you.

    I would like to share my experience using an external monitor with a HDMI cable.
    My monitor supports both HDMI and DVI port.
    First of all, I plugged my laptop on the external monitor using a HDMI cable to HDMI.
    But the fonts and the picture was not clear. I used the resolution 1920 x 1080

    Then I went to the DVI port. I plugged the laptop s HDMI port to monitor s port DVI (HDMI/DVI cable) and that solved my problem.

    I'm not quite sure the relevance of m this could be for you, but it worth the try

  • How can I use external speakers with my MacBook Air?

    How can I use an external speaker with my MacBook Air? I have a Samsung wireless speaker.

    They are Blue Tooth? If Yes, then you need to pair by using the preferences of BT.

  • How to use two external monitors with my laptop?

    I have a new Pavilion dm4-301 d cl Entertainment PC.   My OS is Windows 7.   I'm used to using two external monitors with a docking station.   This new laptop lacks a docking station.  What should I do use two external monitors?

    Certainly not without a dock, but even with laptop HP well enough docks limit you to one of the ports on the external monitor, even if there are two on the dock. We used a device called an Atlona AT-HDPIX2 which is a USB to hdmi adapter. It provides a feature of third monitor for a laptop... use the native external port of the screen and the computer screen internal, then this device gives a third control that is fully configurable to display Windows 7 interface... clone, extend, etc.. It allows a full HD resolution and is pretty responsive for games even light.  HP does not have any true docking station for your laptop.

  • DASYLab is not communicating with the hardware dbk25a3

    Hello:

    I'm trying to troubleshoot a high pressure processing equipment. This system uses a PID controller. The level of pressure does not stop at the set point, but continue to increase. I am trying to solve this problem. As the program was written by someone else and there is no documentation on what each represent module and done. It is very difficult for me to solve the problems. Therefore, I decided to start all over again with my own module.  However, I have a problem. My hardware (DBK25 and others) is not communicating with the module of Dasylab. I tried several different things, that nothing seemed to work. I get this error.

    DBK25A3O

    An entry of a module is open.

    Any help is highly appreciated

    Thank you

    Krishna

    The error message indicates that you have a module that has one input open - nothing is connected. You must have a data wire to all entries.

  • SPI Communication with PIC24HJ256GP210

    Hello

    I need make the SPI Communication with hardware PIC24HJ256GP210 in LabVIEW 2010 with NI USB 8451.I want to send 8 bytes data and receive data of 8 bytes of PIC. I'll send data byte-by-byte change the signal of the chip Select (CS). Before you send the data I will send ENQ (mark 3A) to check the status PIC, then after receiving ACK (Acknowledge as A1), I will send the data packet.

    My test procedure indicated below,

    • Setting clock polarity at zero (LOW idle), a second Edge clock Phase) and the clock frequency of 1 MHz to device NI USB-8451

    • 3 sending data (ENQ) and followed meaningless data byte by byte, also change state Chip Select

    • No explicit deadline has provided since the sending of the API takes 20msec to run

    • Receive the acknowledgment of receipt (A1) of the sensor

    • Send DataPacket [Eg: A5, 03, 02, 00, 00, A6, 2 c, DD] byte by byte, also changing chip select signal

    • No explicit delay gave between each byte from API takes 20msec to perform sending

    • Send 8 bytes , which means less data byte-by-byte, and receive byte-by-byte data PEAK

    • Received all of the data of 8 bytes with an incorrect value

    If please review my test procedure and give your comments if you have worked with SPI or if you have any input for my query.

    Thanks in advance.

    Note: Tie my code with this mail for your reference.

    Kind regards

    Nicolas.

    Hello O_Proulx,

    Thanks for your reply.

    Communication SPI after sending the data we send again meaningless bytes, which equals how many bytes we would like to receive the answer System.So we cannot read the data in the same VI as you mentioned in the code.

    My problem has been resolved. Byte meaningless, I need to send the file HEX .beacuse 'AB' has been developed in this way.

    Kind regards

    Nicolas.

  • RS 232 communication with a projector

    Hello! I work in communication with my prjector. The controls are pretty simple, just PWR it for OFF\r PWR to turn off and LAMP? How many hours have the lamp worked \r to land the aircraft. So I just used the example of the writing/reading series with labview, but had a few problems.

    1º) it works but it keeps giving me an error, I can't handle. Is the current operation of visa wait time. I tried it here and all the people say something on the lines of commands, but I put them and set up in the port, so I don't really know how to handle this error. Another thing, it is how can I put \r or 0xD for my end of just the default write command?

    2º) how can I make my request just be an exe that you don't have to press ' EXECUTE ' always to use it?

    3º) my last question is to ask questions about how to manage this thing, I need to read used with the control LAMP lamp hours?, and projector will answer me with something like: LAMP = xxx. How to handle this response to send it via TCP/IP? Should I have to create a new variable or something? I mean, I just need with another application in order to power switch of the projector via tcp/ip and calling hours of lamps via TCP/IP, so I don't really know how to handle. Thanks for all the peoples and let me know if you need more information, I'm not native English sorry for my mistakes.

    Edit: I forgot to put my vi.

    1. you will obviously get a timeout when you send the commands that do not generate a frequency of the instrument. Only do a reading when you send the LAMP? interview and to automatically send \r, set the stop to "0 D" character.

    2. you have the app Builder to create an exe file. In order to make the VI automatically running, go to the properties of VI > execution and check "run then '.

    3. I do not understand. First, you talk about RS - 232 and now you want to convert this TCP/IP communication VI?

  • Checking the status of communication with NI DAQmx or NI6143

    Hello world
     
    I'm working on checking the status of communication with NI DAQmx or NI6143 in Microsoft Visual Studio 6.0 C++ on Windows XP. The communication situation is checked between the DLL and the NOR-DAQmx/NI6143. I wonder what is the command for the control of communication for NI DAQmx or NI6143, and if there is no code available. Any suggestion or advice is greatly appreciated.

    Thanks in advance.

    There are many examples available on your computer that install with NI DAQmx. For examples in C/C++, follow the steps listed in this white paper:

    http://www.NI.com/white-paper/6999/en

    If you are new to data acquisition, that I suggest using LabVIEW. LabVIEW has several examples to begin to use a data acquisition equipment. To find them, open LabVIEW and select help > find examples... > Input and Output material > DAQmx.

    As a note of clarification, NI DAQmx is the driver used to communicate with your device (NI 6143). You do not communicate with OR-DAQmx itself, but use it to send commands and receive data from your device.

    Cameron T

  • Problem with getting communication with old instrument GPIB-ENET/100

    Hello!

    I'm trying to get my program in VB.net to communicate with an older instrument (Infratek 305 A, measure of power) via a GPIB-ENET/100 device.

    The manual of the instrument does not say what GPIB standard, it supports, but the instrument is detected by the measurement and Automation Explorer.

    Detected by that I mean that MAE has detected an instrument located on the right GPIB address, but indicated identification is the output measure instrument string

    instead of the name of instrument (as shown for some more recent instruments of Agilent).

    When I run my application, I followed the communication with NISpy.

    Configuration of the device seems to work and I present only once in the program.

    The problem is reading data from the instrument. Whenever I read the data, I get a correct string of the instrument. But the problem is

    I get the same data in two consecutive and all readings first after that I get new data and also these new data are received in two consecutive readings.

    According to the manual of the instrument the instrument generates the data as follows:

    "A row of data ends with CRLF. The instrument can send multiple rows of data. "When all of the data transfer is complete the EOI (end or identify) is sent.

    My endpoint settings are:

    Send EOI to write complete: YES

    Terminate read on EOS: No.

    EOS byte: 2

    8 bit EOS compare: YES

    Define EOI with EOS on write: No.

    How can I configure the GPIB-ENET/100 to work with my instrument?

    Here are som NISpy logs:

    # Configuration #.

    61 ibwrt(UD3, "C0C2C4C8..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.671 call duration 00:00:00.079
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    62 ThreadIbcntl()

    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.750 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    63 ibwrt(UD3, "K0K3K5K9..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.765 call duration 00:00:00.125
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    64 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    65 ibwrt(UD3, "F14F18F24..", 11 (0xB))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:09.250
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    66 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:53.140 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    ### LU ###

    437 ibrd(UD3, "*AC/1.0A480V/...", 1024 (0x400))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.484 call duration 00:00:00.094
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    438 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    439 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    Hello!

    I don't have the opportunity to test with other controllers.

    However, I found a solution to my problem.

    The instrument should output 4 lines of data.

    L1 - line with comments

    L2 - line with current values

    L3 - line with the values of voltage

    L4 - line with power values

    The first line of the reading stops the instrument of implementation of additional measures.

    The measurements in the instrument began reading the last line of data (L4)

    The problem was that the instrument for a reason any also released a fifth line, which was empty.

    Read this line 5' th stopped the instrument again.

    By configuring the HW to finish reading on EOS, with EOS PMQS, the value byte, I could read the

    buffer of the instrument with a line output instead. This way I could read just L1 - L4

    and the instrument could work again.

    Next time I should read data from the Instr. first of all, I would like to read the empty line, then

    L1 - L4.

    Why the outputs Instr. an additional empty line will be left not resolved.

    My problem is solved.

Maybe you are looking for

  • Qosmio F750 - cannot get certain functions to work after 8 Win uprgade

    I have a Qosmio F750-125, PQF75E. Since I upgraded to Win 8, using Toshiba Upgrade Assistant I might add, I had a few problems.Especially not be able to get my Toshiba Blu - ray player to install. Finally I managed, still haven't exactly how, but som

  • Re: Toshiba Satellite L655-1gf ACPI driver

    Need driver acpi for Satellite L655-1GF and Windows 7 64 bit Thank you

  • PCI 1200

    Hello In my factory, I found an old PCI - 1200 DAQ board. I want to use it to control a stepper motor. Can I use it with the evaluation version of Labview 2012? Where can I get the drivers for this card? I found that the drivers are available for lab

  • Laptop no longer recognizes Vista wireless network adapter

    Well, here's all the info and desperately, I hope someone can help me.  I spent hours and hours trying to solve this problem.  I'm not a computer expert, so I'm trying to understand it and not doing a very good job. We have a HP G60 Intel Celeron ser

  • More than one unit performs (NAT network address translation

    Trying to help someone: tried to implement a "Wired home network private.  Connected a laptop VISTA and Win7 desktop Ethernet Netgear strugglingNR 2000 wireless router. Restart both computers with a wireless switch on laptop OUT to connect with a wir