How to instanciate and use the instance of a symbol with JSFL

Hi,
I'm a noobie with Flash Pro / JSFL.
I'm looking for a way to instanciate UILoader and use them with JSFL.
I tried to create an empty FLA that contain a UILoader symbol in its library.
With JSFL I open it and add it to the stage.
It works, I have a UILoader instance at 200;200 but I cannot do anything with it. How can I set a size, a new position, a source... ?
fl.openDocument("file:///C|/uiloader.fla");
var loaderIndex = fl.getDocumentDOM().library.findItemIndex("UILoader");
if (loaderIndex != "")
          var loader = fl.getDocumentDOM().library.items[loaderIndex];
          fl.documents[0].addItem({x:200,y:200}, loader);
I would like to create with JSFL a SWF that contain a UILoader placed somewhere with a specific size and specific source. And to inject in the swf some ActionScript to find this added UILoader to dynamically change the source of the image. This source will be finally given from the url. http://myswf.swf?imageSource=xxxxxx.jpg
Is it possible ?
Thank you.

It's a pity !
My problem is I tryed to save a FXG file containing images into a swf that will be able to change images sources dynamically.
To do that, I create an empty FLA document (using JSFL), I import the FXG file into the scene.
If I export my file into SWF in which I have injected this ActionSctipt :
for (var x = 0; x < numChildren; x++)
  var e = getChildAt(x);
  trace(e + " " + e.name +" is "+getQualifiedClassName(e));
I have this trace : [object MovieClip] _IMG_ is flash.display::MovieClip
I think I cannot change the source of a MovieClip using ActionScript. Maybe I'm wrong ?
So I would like to replace these objects (using JSFL) with UILoaders and setting the same x,y,width,height,source and then I will be able to change their sources using ActionScript.

Similar Messages

  • How to install and use the Khmer unicode Khmer MEF1 and Khmer MEF2?

    How to install and use the Khmer unicode Khmer MEF1 and Khmer MEF2?
    from www.mef.gov.kh in the bottom of the page, you can get the unicode for the ms office

    I think that stuff is for windows, a waste of time trying to use it on a Mac.
    There is no need to download anything for Khmer on a Mac.  Apple provides Khmer fonts and keuyboards with OS X.
    OS X Mountain Lion: Type in another language
    MS Word for Mac does not support Khmer.  Use TextEdit, Pages, Nisus Writer, LibreOffice instead

  • Where can I learn how to setup and use the new features in Mountain Lion?

    Where can I learn how to setup and use the new features in Mountain Lion?

    MacWorld has a Superguide, TidBITS has Take Control books, and probably a flock of other publishers have physical books.

  • I need to know how to access and use the Blue Tooth device that comes with the Thinkpad W520

    Forgive me for being a techo illiterate. But I know that this thing supports Blue Tooth. And one "problem" with it is although it has a DVD and sound card, music and movies have very lousy audibility. Is there something I can do about that? I can barely hear anything on a movie unless I plug in head phones to the computer. But that leaves me stuck in my seat. I'd like to get cordless headsets. And I'm ready to purchase the Plantronics BackBeat 903+ Wireless Stereo Headphones - Mic, Rich Audio, Bass-boost, Voice Alerts, OpenMic, 3-way Earpiece. And have heard that it's compatable with a pc that has Bluetooth capabilities. but could someone get back to me with exactly how I access and use the Blue Tooth device?

    I was searching for how to setup the 903+ and my W520 and came to this thread.
    1. The OP was asking about audio and there are updated audio drivers / tweaks to get it louder / install different drivers.
    but if you are going to go BT headset....
    2.  What I did for the 903+
    Uninstalled the currently installed ThinkPad Bluetooth program. ( I forget the exact name, came stock and was out of date).
    Required reboot.
    Activated the Bluetooth with FN + F5 menu.
    Downloaded the updated Bluetooth driver from lenovo (search lenovo driver matrix).
    Ran the updated Bluetooth driver install.
    Rebooted for good measure.
    Double-clicked the Bluetooth Tray icon.
    Clicked Add A Device.
    Turned off my 903+ and continued to hold down the power to enable pairing mode.
    Showed up in devices and added it.
    Worked for audio. There are probably additional options for enabling the mic.
    Hope that helps whoever might find this thread.

  • How to uncover and use the hidden Service menu on the Galaxy S3

    I ran across this article over at Android Central that appeared interesting, there appears to be a diagnostic menu built into the S3 software to test the hardware for defects, this may be a useful item for any users that feel that they have a defective device...   Check out the article at How to uncover and use the hidden Service menu on the Galaxy S3

    That's good to know that such options exist in phones.

  • How to control and use the search criteria values "%" ?

    Hi,
    When I searched some information in my employee name. I filled in search criteria values "%" and selected the "Go" button to see the result. But I got errors that the search criteria values should not begin with a "%" or "_" for at least one if the listed fields.
    How to control and use the search criteria values "%" ?
    Thanks,
    sinolee

    sinolee,
    These kinds of details are mentioned in Dev guide. Always have a look into dev guide before posting.
    --Shiv                                                                                                                                                                                                                                                   

  • How to install and use the Gnome-DO application in oracle enterprise Linux

    My Oracle Enterprise linux is 5.3,
    I want to install and use the Gnome-Do(http://do.davebsd.com) in my box.
    Please help me regarding this.
    With Regards
    DSK

    According to Google, Gnome-Do has known issues about CPU bugs and hogs and the latest incarnation does not seem to be available for RHEL and clones. You should have more luck with Linux Desktop distributions like Fedora and Ubuntu. Or you could try to build from source using the info at: http://do.davebsd.com/wiki/Installing_Do. Good luck - I wouldn't bother.

  • How to install and use the CP2102 USART to USB Converter?

    First off, I did a quick search and found that some people had had success in that the cp210x driver was already installed on their machines. I did a modprobe and it returned nothing (not an error).
    I searched around on the net a bit and found a very useful USART to USB converter bridge (http://www.nexuscyber.com/cp2102-usb-to … Mgod5UQAdQ). The CP2102 is a programmable device with many settings insofar as the data framing is concerned. As such, a driver for the device must be used to interface and modify these parameters.
    On the Silabs website I found this driver (http://www.silabs.com/products/mcu/page … ivers.aspx) for linux (kernel > 3.x.x). The problem is that this driver is just a single C program with zero documentation. An include make file is about as useful considering it has a single line in it that fails (for me) at run-time.
    obj-m = cp210x.o
    KVERSION = $(shell uname -r)
    all:
    make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
    clean:
    make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
    The driver source can be found here (http://pastie.org/private/kulx2zqdyvkafoxekwjq)
    Where my make error is
    make -C /lib/modules/3.14.4-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.4-1-ARCH/build'
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/kconfig/conf.o
    HOSTCC scripts/kconfig/zconf.tab.o
    In file included from scripts/kconfig/zconf.tab.c:2537:0:
    scripts/kconfig/menu.c: In function 'get_symbol_str':
    scripts/kconfig/menu.c:587:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
    jump->offset = strlen(r->s);
    ^
    scripts/kconfig/menu.c:548:19: note: 'jump' was declared here
    struct jump_key *jump;
    ^
    HOSTLD scripts/kconfig/conf
    scripts/kconfig/conf --silentoldconfig Kconfig
    scripts/Makefile.build:44: /usr/lib/modules/3.14.4-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.4-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.4-1-ARCH/build/arch/x86/Makefile:185: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.4-1-ARCH/build'
    Makefile:4: recipe for target 'all' failed
    make: *** [all] Error 2
    If I do not sudo make I just get this:
    .probe = usb_serial_probe,
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:165:16: error: 'usb_serial_disconnect' undeclared here (not in a function)
    .disconnect = usb_serial_disconnect,
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_get_config':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:321:3: error: implicit declaration of function 'dbg' [-Werror=implicit-function-declaration]
    dbg("%s - Unable to send config request, "
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_open':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:430:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_close':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:451:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_get_termios':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:534:17: error: invalid type argument of '->' (have 'struct ktermios')
    &tty->termios->c_cflag, &baud);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_get_termios_port':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:556:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_change_speed':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:706:21: error: invalid type argument of '->' (have 'struct ktermios')
    baud = tty->termios->c_ospeed;
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_set_termios':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:735:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:740:22: error: invalid type argument of '->' (have 'struct ktermios')
    cflag = tty->termios->c_cflag;
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_tiocmset_port':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:871:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_tiocmget':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:910:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_break_ctl':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:932:36: error: 'struct usb_serial_port' has no member named 'number'
    dbg("%s - port %d", __func__, port->number);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c: In function 'cp210x_init':
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:989:2: error: implicit declaration of function 'usb_serial_register' [-Werror=implicit-function-declaration]
    retval = usb_serial_register(&cp210x_device);
    ^
    /home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.c:996:3: error: implicit declaration of function 'usb_serial_deregister' [-Werror=implicit-function-declaration]
    usb_serial_deregister(&cp210x_device);
    ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:314: recipe for target '/home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.o' failed
    make[2]: *** [/home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source/cp210x.o] Error 1
    Makefile:1274: recipe for target '_module_/home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source' failed
    make[1]: *** [_module_/home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.4-1-ARCH/build'
    Makefile:4: recipe for target 'all' failed
    make: *** [all] Error 2
    There is no documentation aside from:
    make ( your cp210x driver )
    cp cp210x.ko to /lib/modules/<kernel-version>/kernel/drivers/usb/serial
    insmod /lib/modules/<kernel-version/kernel/drivers/usb/serial/usbserial.ko
    insmod cp210x.ko
    Can anyone provide some guidance on the steps to install this driver (or at least where to look) and why there is such a lack of documentation? Are there assumptions here that I am not aware of? How is anyone suppose to use this? If you look in the source there are structures being used as arguments to functions that are never defined as far as I can tell. Perhaps they are part of the header files included at the top, but I could not find some of those on my machine either.
    Has anyone had success using this device?

    ewaller wrote:<hopeful>Do you have an oscilloscope? </hopeful>
    First, I think you have a mismatched Baud.  Check your settings in GtkTerm.  It could also be the uController.  I know you said you have it set for 9600 Baud, but are you sure?  The divisor settings are dependent on your clock frequency.  Are you sure you are using the correct divisors for the frequency of your crystal?  And are you using a crystal, ceramic oscillator, or external oscillator for your time base?
    I did not think the internal RC oscillators were that bad off, so I was using the internal 8MHz (DIV8 = 0 fuse bit). Taking your advice I just refused the AVR and set it to use a 20MHz clock (external crystal oscillator) to no avail. The setting in GTKterm is certainly 9600 baud.Referencing the datasheet for the Atmega328P we have:
    Which gives a a UBRR register value of 129 corresponding to normal speed (U2Xn = 0). This is all computed for me at compile-time via this formula:
    20,000,000/(16*9600) - 1 = 129.2 ~ 129 truncated.
    That the two devices can communicate tells me they both might be using the same wrong Baud.
    I was also suspicious of this .. I do not have a trivial way to test this though. Perhaps some workaround using timers is about the best I can do; no oscilloscope here. Doing a quick high-level test I did find something rather interesting though. Both devices are set to run at 9600 baud. One device is operating at 8MHz (internal oscillator) and the other is using an external 20MHz crystal. I am getting UART communication between the devices, but certainly not the characters I'm sending..
    The other problem is that I think you have "Local Echo" turned on in GtkTerm.  This places the system in "Half Duplex" mode in which data are not expected to be echoed from the Atmel.  That you are getting two characters when the pins are shorted tells me you get the local echo and the loopback.  Then the loopback is missing, you still get the local echo.   Also, make sure you have parity turned off.
    GTKterm does not actually show you what you are typing into the terminal. That is, when you type a character then nothing is displayed to the screen. Presumably this character is sent out as you type it. I was under the impression that local echo would just echo what I type to the screen as well as send it out. Thank you for the clarification.
    Last edited by sherrellbc (2014-05-28 03:16:48)

  • How to parse and use the data that is coming as XML using DAL script

    Hi,
    I am trying to implement a solution where we are getting a doPublish request using EWPS webservice call which just contains a transaction id. I need to read a table using transaction id to get the xml. I know how to read the xpath and implement the solution if the XML is coming as input. If it stored on a table where Documaker should read and get the XML, how can we implement that?

    If you are saying that your XML is stored in a table, I'm not sure there is any method, using DAL or rule, that would know how to load XML from there. I can be wrong, but I think it has to load the XML from disk only - either as the extract file or as an external file referenced from the extract - using a Rule or DAL to go after the external file.
    Perhaps you could clarify the situation a little more and someone might offer a suggestion.

  • Is there a step by step instruction on how to install and use the ae render engine?

    The answers on the adobe are in computer-ese and I just don't get it.  Currently I am using ae 5.5 on a 2.8 eight core with a quad core waiting to be accessed for rendering.
    ERIC

    I'm not sure I understand your question. The render engine is installed with you installed CS5.5 If you want to use another computer for rendering all you have to do is to install AE on that computer, open up the render engine (it says what it is in name of the app) and then open your project file, pick the comps you want to render and press render.
    If you are trying to get the render engine to work in the background then you need to do a bunch of other stuff and we need to know all about your system, operating system down to the last decimal point, memory, and projects to point you to what may be the best setup. We also need to understand what you want to be doing with this machine while it is rendering. Things like working on another project in AE while rendering may require different settings than working in Photoshop or answering email's while rendering.

  • ACROBAT 8 - HOW TO CONNECT AND USE THE LiveCycle Policy Server?

    Hello everybody!!! I've just bought the ACROBAT 8.0, and I'm trying to use the LiveCycle Policy Server. The point is, I couldn't connect to the server.... is there any especific way to do it? It is the same configuration to connect to a normal web site server, right?
    I need to control a copyrighted PDF over the web restricting the massive copy
    THANK YOU VERY MUCH

    No it's not exactly like connecting to a normal web server. The connection must be made via https, not http. So the app server has to be configured for SSL. Also the connection will not be made in Acrobat if there are ANY warnings about the SSL cert. So if you can't go to https://serverName:serverPort in IE and get there with no warnings then you won't be able to connect via Policy Server. Also, you can't connect to Policy Server via Acrobat using a Policy Server admin user. It must be a user who doesn't have admin privileges.
    Chris
    Adobe Enterprise Developer Support

  • How to update and use the values of variables of another class

    I can we update or use the values of the variables of another class. For example, if we have class A
    public class A //(situated in package view)
    public s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp?alert=F");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    A.class has some procedures and String variables which can be updated and later can be used in JSP pages. The project starts with ARunner.jsp which uses the A.class and updates the values of string variables s0 and s1of A to hi and hello respectively.And then redirects the page to MainUser.jsp.
    Now what I want is ,when I call those string variables(s0 & s1 of A.class) in any another jsp likeMainUser.jsp it should give me the value of hi and hello respectively not null as it is giving right now. Could you refine the coding for this one?

    public class A //(situated in package view)
    public String s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    giving code again to remove the typing errors. Please guide.

  • I have a iMac destop 10.6.2 and use the AOL Mail web site with your Firefox Browser. It has worked great for years. I update the firefox to 6.1 and now I cannot send images using the Firefox browser. With Safari browser it works fine.

    I use AOL mail - http://www.aol.com/ with my Firefox 6.1 browser. Before updating aol mail worked great with firefox for years. Now when I try to send ( upload) messages with a file or images I always get the reading " there was a technical problem and I should try again". Messages with NO files or images go through just fine. I have cleared the Firefox history, the cache and cookies and the problem remained the same. The question is does this problem have something to do with the latest update ? AOL are still only familar with the 3.6 Firefox versions. Thanks

    Well I guess I was too optimistic. Since last posting I have had three hang events, one during reboot. When the login dialog box came up I clicked on it and it hung.
    However I do have a new data point. I have enabled the remote login (sshd). I have discovered that when the system hangs like I described above, I can still log in via SSH from my Windows system. The shell appears normal, but when I tried a "killall Safari" command the OS crashed hard. After a hard reset, the system hung during the login process. Again I could login remotely, and that time I executed a "sudo reboot" via the remote session. That cleared the display to all-blue but did not successfully reboot.
    Can anyone suggest what to try via the remote login to help diagnose what is happening? I am familiar with typical Linux architecture but the differences in Mac OS X are leaving me a bit disoriented.

  • How to store and use the BLOB data in Oracle 11G?

    Recentlly,when I tested the Blob data in Oracle11G ,I found that there were too many differences between the SQL
    Server and the Orcale on the capabilities.In Orcale ,I created the table like this:
    create table point
    xid number(10) primary key,
    North number(30,15) default null,
    West number(30,15) default null,
    South number(30,15) default null,
    East number(30,15) default null,
    Area number(30,15) default null,
    Len number(30,15) default null,
    Geometry BLOB default null
    organization index overflow
    tablespace "Tab1"
    lob (Geometry) store as securefile
    tablespace "Tab1"
    enable storeage in row
    chunk 4096
    pctversion 20
    nocache
    no logging
    compress high
    and I stored 10248 rows in this table,
    then ,I used "select geometry from point where xid > ? and xid < ?" as the testing SQL langauage in Java and the
    programme runed once per 5000 pieces of memory.
    the total time used in Orcale is twice more than that in SQLServer.In my Application programs, once the same
    orders runed,their differences were three times and more.As usually,the capability of Orcale is more strongger
    than the SQLServer.Why?

    select geometry from point where xid > ? and xid < ?"Does an index on XID exist?
    Are statistics current for table & indexes?

  • How to transfer and use the project files from Premiere Pro cs6 MAC OS to Premiere Pro CS6 Windows

    Is there any plugin or tool that can help me to transfer my project files along data edited on adobe premiere cs6 MAC OS to the adobe premiere pro cs 6 on windows PC

    When transferring a project from one computer to another,to stop errors such as these, its essential to ensure that the project is copied with all the files and folders in exactly the same locations. Also before opening the project on the new computer, you need to set up a new project and set all the preferences to be exactly the same as on the first computer. Then when you open the project, premiere will find all the files in all the right places. Even then you may need to re-link some files. Just follow the prompts when Premiere asks "Where is file...."
    We use USB hard drives to store students projects on and they are used on many different computers without problems, as the preferences are all set to be the same.

Maybe you are looking for

  • Compatibility captivate and IPad, help

    I need to know with certainty if adobe captivate is compatible with IPad. I have a problem with Storyline who registers in the librairy the course, the course his accessible even the transfer of the course is ended. It is a big problem for my custome

  • Ipad won't connect to itunes with sim card inserted

    I have an interesting situation. I bought a second hand Ipad 32GB WiFi + 3G from a user who was upgrading to the iPad 2. They kept their SIM card and we purchased a replacement SIM card from AT&T's website. (The original SIM card was also from AT&T)

  • DateFormat

    I have a string in the format "07/02/2002". I want to convert it into a date. Here's my code String myDate = "07/02/2002"; Date date = DateFormat.getDateInstance().parse(myDate); But I got the below exception java.text.ParseException: Unparseable dat

  • How to download netflix on an American bought ipad

    I Have an American bought IPad that will not allow sky Go and netflix to download in ireland What can I do please???

  • How binding a html page with JSF

    Hi.. I have 2 page html but a need that since my html page load a page JSF... I try but if I only reference the page jsf since my html page occurs a contex error. thank