Using sprite for itemRenderer what other method than set data needs override

I get the following error: 1020 Method Marked override must override another method. Complier marks the error at the start of my set data method:
code is here:
http://pastie.org/497786
any input would be welcome.
Thanks
Jed

I think Natasha said that you don't need the override on your set data() method.  You shouldn't need to implement IFactory either.  I think your code should look like this:
<?xml version="1.0" encoding="utf-8"?>
<mx:UIComponent
     xmlns:mx="http://www.adobe.com/2006/mxml"
     width="160"
     height="120"
     implements="mx.controls.listClasses.IListItemRenderer"
     >
     <mx:Style source="QtVideo.css"/>
     <mx:Script>
          <![CDATA[
               private var repImageSource:String = "";
               private var movieSource:String = "";
               private var _data:Object;
               public function get data():Object
                    return _data;
setting data
               public function set data(value:Object):void
                    _data = value;
                    repImageSource = value.representativeImage as String;
                    movieSource = value.source as String;
          ]]>
     </mx:Script>
     <mx:Image
          id="repImage"
          width="160"
          height="120"
          source = ""
          horizontalAlign="center"
          x="0"
          y="0"
          >     
     </mx:Image>
     <mx:Button styleName="playStopStyle"
          id="playBtn"
          x="{repImage.width/2 - 22.5}"
          y="{repImage.height/2 -22.5}"
          />
</mx:UIComponent >
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Date [deprecation] -- what other method?

    Hi
    I was using somethine like this in my code:
         Date fecha2 = new Date(2009,4,24,20,30);And compiler, like java api 6, says that that method is deprecated.
    I want to get an object of Date type, so i dont know what other method i can use to have the year, the month, the day, the hour and minutes in a Date type object.
    I have been reading a bit about others, but i dont know how to use them to get a Date object.
    Thanks and sorry for my language ;)

    CeciNEstPasUnProgrammeur wrote:
    I have to admit that "getTime" is a rather stupid method name for returning a Date. Anyway, when reading the Javadocs, also pay attention to the section with inherited methods.Yeah... a bit stupid :P that was confused for me...
    Ok, i told you what i have done, i think its good:
    First of all:
         private Calendar calendario=Calendar.getInstance();        Then insted of Date = new Date (int, int , int, int, int):
         calendario.set(2008,4,24,20,30);
             Date fecha = calendario.getTime();Its a bit longer, but well...
    Thaks for your help. :)

  • What other methods are there to re-install Win 8.1 pro without losing files & programs, if I am unable to update my Recovery image?

    So I am thinking my Windows 8.1 Pro needs a refresh, but I have not ran "recimg /createimage C:\*" for a while and because of the problems I have. I cannot create a new one, it just wont work and I've had a post on here about that issue for a while
    now and nothing has worked.  So I know I need to re-install windows but I really want to be able to keep my Programs & files.
    So my question is, are there any other methods to re-install Windows 8.1 pro without losing my programs?
    That's the reason I have not just done a reinstall, because of the time and effort needed to do this in a timely manner.  Also I need to keep my programs APPDATA intact so that my applications still work as they do now, some programs have got months
    of history and data.  Also I am not certain I still have the installers for some of my applications, I know I can get them but again its the time it would take.
    This is why I run a separate backup of my APPDATA DIR, am I right in thinking that If I did have to reinstall that I could just restore the old APPDATA data to the new Install and my programs would automatically have all there normal settings?
    So what are my options?
    Thanks peeps.
    JK MCP

    Isn't that only used when a PC will not boot?
    What options does booting with this give me?
    Thanks
    JK MCP
    Hi,
    USB recovery disk was used to recover your system when it encounter problem. You can try to use it to fix your problem instead reinstall system. However, there is no method to keep your program whenreinstall system.
    Roger Lu
    TechNet Community Support

  • My serial number is not valid anymore ? I bought my photoshop and I have been using it for a little bit more than one year...

    Hello,
    I bought my Photoshop Extended (PC) last year in the US. I have been using it for a bit more than a year. Today, opening Photoshop, Adobe asks me to pay or enter my serial number. So I enter the number (again), and it says that the number is invalid.
    My version is an official version, I paid for it.
    What I am supposed to do now ?
    Thx

    We are basically users and can't really help with activation. So unless a staff member can check in, you need to speak to Customer Service.
    http://helpx.adobe.com/x-productkb/global/service1.html
    Serial number and activation chat
    or
    800-833-6687
    Monday—Friday, 5am—7pm PT

  • Other method than CALL METHOD prxy- execute_synchronous

    Hello Gurus,
    I am passing the data from SAP to XI throught proxy and pusing the proxy thorugh CALL METHOD prxy->execute_synchronous..
    Is there any other method other then CALL METHOD prxy->execute_synchronous for pushing the proxies which would be good with respecive to performance..
    let me know so that I would really appreciate for it.
    Thanks in advance,
    M-

    We've been using this technique with no performance issues - have you traced the code before the proxy is being called because it seems quite likely that is where the issue lies... and will your model support asynch processing or must the messages flow in sequence?
    Jonathan

  • How to compress data use jzlip for j2me or others Compression Techniques

    I want to capture audio use mmapi and upload to a server ,but wav is too large for me,how can I compress it?thanks!

    Hi,
    I tried this trigger method to compress. It does not work. I get an invalid argument error.
    I however figured a complete solution using forms: Here it is:
    to compress and store:
    Just put it to the table and use an update statement like this:
    UPDATE dlo_channa_documents
    SET da_document = UTL_COMPRESS.LZ_COMPRESS( da_document ) WHERE pk = :DLO_CHANNA_DOCUMENTS.pk;
    Now to uncompress and show
    (1.) Create a temp table with blob column
    (2.) Insert record to temp table like this:
         INSERT INTO dlo_channa_temp_blob
         SELECT v_next_val, UTL_COMPRESS.LZ_UNCOMPRESS( da_document )
         FROM dlo_channa_documents
         WHERE pk = :dlo_channa_documents.pk;     
    (3.) Now use webutil_file_transfer.db_to_client to transfer from temp table to client hdd and show using
         CLIENT_HOST( 'cmd /C start ' ||      v_saved_file_name_full_path); -- Open the document in Word
    Edited by: Channa on Feb 26, 2010 4:02 AM

  • Use VLC for YouTube and other Flash Player videos. Flash has become very slow and VLC Web Player works perfectly for other video websites.

    I'd like to use VLC Web Player for viewing YouTube videos rather than use Adobe Flash. Adobe Flash is very slow on my other computers and when websites use my VLC Web Player, I have no issues whatsoever. I'm curious if this can be done with Firefox, as I researched it only to find an add-on for Google Chrome only.

    You may be able to disable Flash entirely and just use HTML 5 video codecs to view the videos this is faster but you may lose access to some videos such as ones that have mandatory advertisements.

  • I wasted most of yesterday 2/4/15 trying to connect to no avail which was a 1st having used Mozilla for years, what's up with that?

    From morning to late evening I tried countless times to connect w/Mozilla Firefox to no avail, the issue was not w/my computer as I was able to connect to Internet Explorer. I've used Mozilla for years & this is the 1st time I've not been able to connect at all, some times it may take longer than others, but nothing like this. Today thankfully I had no problem. I'm located in Scottsdale AZ if that makes any difference & am using Windows 7 starter on an ASUS eeepc 1001 netbook. Also is there a phone support number in case this happens again & am unable to access web support?

    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''Network.'''
    Look for '''Configure How Firefox Connects''' and press the '''Settings''' button.
    Check the settings.
    Some problems occurs when your Internet security program was set
    to trust the previous version of Firefox, but no longer recognizes your
    updated version as trusted. Now how to fix the problem: To allow
    Firefox to connect to the Internet again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version).
    * Remove Firefox from your program's list of trusted or recognized programs. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet Configure firewalls so that Firefox can access the Internet.]''' {web link}

  • Ideas to use hyroscope for answers and others actions . . .

    Hello to all Apple team!
    I use iPhone more than 5 years and other Apple products more than 12 . . .
    And I have some ideas about hyroscope usability for iPhone. May be this ideas are pattendet for now. But may be not :-) . . .
    The main idea is to use hyroscope for some actions with iPhone or iPad. For example: shake iPhone in hand to clean desktop, fast movement to ahead (ur up) to answer to call and fast movement down - to reject call. I think this is not bad choise for new iOS releases.
    Best Regards . . .

    We are just users here not Apple.
    Send your feedback below:
    http://www.apple.com/feedback/iphone.html

  • Skype for 8520 and other BB version's / Question needed to be answered by Blackberry support for everyone!

    This is a question that seriously needs answering for myself and other BB customer's.
    Personally the only reason I have a BB is because I can have window's live messenger on it, But WLM is closing in April and updating to skype, Meaning everyone who use's WLM that their contact's will be going there and not to any other network!
    Now I've read from what I've researched that BB maybe will be joining with oovoo something like that, Why when that is not where people's MSN/Hotmail contact's will be going ?
    BB paying customer's to BB product's want access to there MSN/Hotmail contact's not to be diverted to another service that does not have their MSN/Hotmail contact's.
    Also I have seen that skype or something along those line's will be available for the new BB 10, So what about earlier product's such as BB curve 8520 that I personally own myself that has nothing wrong with it?
    So us paying BB customer's are going to be excluded because we don't have a brand new version of BB due to there being nothing wrong with the BB's we have? Which so were going to be penalized?
    I would like these question's answered please because I am not happy about this and I'm sure a lot of other BB customer's are not too, It's not anyone's fault that WLM is going to be taken away but atleast make sure that BB customer's have a skype app to access their MSN/Hotmail contact's and can conversant with them directly like WLM.
    Honestly I love my BB and wouldn't be without it purely because I'm able to log in WLM when I like, Where ever I am and talk to my contact's directly, Not all people have BB's and can not be added to BB messenger which is why WLM is a priority on BB app's for BB customer's, Is something going to be done about this? Because if not then that is just wrong which will result in many valued BB customer's changing to other phone's purely because out of being penalized of not having the newer version of BB 10 or not having skype at all regardless of IM+, We should have a direct Skype app and be able to have direct gain to our MSN/Hotmail contact's like we did on WLM.
    So can someone answer this please and give us BB customer's confirmation on what is going to happen, Thank you.
    For those of you BB customer's who are reading this who use WLM and is important to you as it is myself, Like this thread please so it get's noticed so that action will be taken. Thank you.

    The answer is actually simple...example...6.0.0.415 for a 9860 is very different from 6.0.0.415 for a 9670. Hence, the app developers must port their apps to every combination of (usually) major OS level (e.g., 6.0, 7.0, 7.1) and specific device model number. That's a lot of combinations to which they must port their app...and many choose to not do them all. But the choice is the app developers.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can i use iphone 5 with my other att lines do i need a new sim?

    can i use iphone 5 with different phone number than the one i used when i ordered the phone if i have a family plan with muliple lines

    Yes u can. I upgrades my wife's phone and I use the new iphone 5 with my number.  Take it your carrier and get a different SIM card.  Bring your ID and u must be the primary account user.

  • Whats the switch on the 7990 for and what should it be set to ( default )

    Hi
    Just a quick one, what is the switch for on the 7990 ? and what is the default setting? also are there any other fans that can be fitted to this card that are a bit quieter?
    Cheers karl

    This is no Lightning card but a reference AMD design card. Bios 1 (default position switch pointing to backplate) is unprotected can be overclocked and modded. Bios 2 (switching towards inside) is a protected non-overclocked backup bios. It is just meant to save the card when bios 1 is corrupted.
    There are no replacement silent fans. You'd need to switch to a custom aftermarket cooler but as far as I know there is none except for water cooling solutions.

  • Why exp fail and what other method I should use

    Hi Everybody,
    I plan to "copy" data from a table partition of a transactional database to a remote historical database table,both of the source and destination tables are partitioned in the same way
    In the source 9i database, I do the exp using below command
    exp reporter/password file=rs_p20101128.dmp tables=(reporter.reporter_status:p_20101128)
    About to export specified tables via Conventional Path ...
    +. . exporting table REPORTER_STATUS+
    +. . exporting partition P_20101128 212932 rows exported+
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    In the remote 10g databse, I do the imp using below command but fail
    imp reporter/password01   FROMUSER=reporter file=/tmp/rs_p20101128.dmp tables=(REPORTER_STATUS:P_20101128)
    Import: Release 10.2.0.2.0 - Production on Mon Nov 29 17:52:31 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V09.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    +. importing REPORTER's objects into REPORTER+
    +. importing REPORTER's objects into REPORTER+
    IMP-00015: following statement failed because the object already exists:
    +"CREATE TABLE "REPORTER_STATUS" ("IDENTIFIER" VARCHAR2(255), "SERIAL" NUMBER"+
    +"(16, 0), "NODE" VARCHAR2(64), "NODEALIAS" VARCHAR2(255), "MANAGER" VARCHAR2"+
    +"(64), "AGENT" VARCHAR2(64), "ALERTGROUP" VARCHAR2(64), "ALERTKEY" VARCHAR2("+
    +"255), "SEVERITY" NUMBER(16, 0), "SUMMARY" VARCHAR2(255), "FIRSTOCCURRENCE" "+
    +......+
    +"0 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 10485760 FREELISTS 1 FREELIST GRO"+
    +"UPS 1) TABLESPACE "REPORTER" LOGGING NOCOMPRESS )"+
    IMP-00055: Warning: partition or subpartition "REPORTER_STATUS":"P_20101128" not found in export file
    Import terminated successfully with warnings.
    Any suggestion to make the things work?
    Clay

    thanks for all your suggestions but the problem persists, pls have a look at below command and output captures.
    In source 9i database, I do export using below command and got below output:
    +reporter@xxam[tmp] 554 %scp rs_p20101128.dmp [email protected]:/tmp/. Password:+
    +HGCP@hgcam02[tmp] 555 %exp reporter/passwdx01 file=rs_p20101127.dmp tables=(reporter.reporter_status:P_20101127) statistics=none INDEXES=N TRIGGERS=N CONSTRAINTS=N consistent=y+
    Export: Release 9.2.0.6.0 - Production on Mon Nov 29 18:18:36 2010
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    Note: indexes on tables will not be exported
    Note: constraints on tables will not be exported
    About to export specified tables via Conventional Path ...
    +. . exporting table REPORTER_STATUS+
    +. . exporting partition P_20101127 195127 rows exported+
    Export terminated successfully without warnings.
    =================================
    In destination 10g database, I do import using below command and got below output:
    bash-3.00$ imp reporter/passwd0001   FROMUSER=REPORTER TOUSER=REPORTER file=/tmp/rs_p20101127.dmp tables=(REPORTER_STATUS:P_20101127)
    Import: Release 10.2.0.2.0 - Production on Mon Nov 29 18:23:54 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V09.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    +. importing REPORTER's objects into REPORTER+
    IMP-00015: following statement failed because the object already exists:
    +"CREATE TABLE "REPORTER_STATUS" ("IDENTIFIER" VARCHAR2(255), "SERIAL" NUMBER"+
    +"(16, 0), "NODE" VARCHAR2(64), "NODEALIAS" VARCHAR2(255), "MANAGER" VARCHAR2"+
    +"(64), "AGENT" VARCHAR2(64), "ALERTGROUP" VARCHAR2(64), "ALERTKEY" VARCHAR2("+
    +"255), "SEVERITY" NUMBER(16, 0), "SUMMARY" VARCHAR2(255), "FIRSTOCCURRENCE" "+
    +"DATE NOT NULL ENABLE, "LASTOCCURRENCE" DATE, "LASTMODIFIED" DATE, "INTERNAL"+
    +"LAST" DATE, "POLL" NUMBER(16, 0), "TYPE" NUMBER(16, 0), "TALLY" NUMBER(16, "+
    +"0), "CLASS" NUMBER(16, 0), "GRADE" NUMBER(16, 0), "LOCATION" VARCHAR2(64), "+
    +""OWNERUID" NUMBER(16, 0), "OWNERGID" NUMBER(16, 0), "ACKNOWLEDGED" NUMBER(1"+
    +.................+
    +"0 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 10485760 FREELISTS 1 FREELIST GRO"+
    +"UPS 1) TABLESPACE "REPORTER" LOGGING NOCOMPRESS )"+
    Import terminated successfully with warnings.

  • Using null for parameterized "newInstance(Object [])" method in Object[].

    I have a really serious problem. I am creating instances of specific classes by using reflection techniques. I am reading a flat file, finding class from its name and creating it by using its parameterized constructor. Example:
    line 1: Dummy("A",Dummy2("B"),12,,"C");
    I create an instance of Dummy with parameters "A", an instance of Dummy2 object with value "B", 12 (I use here Integer as wrapper), null (There is no wrapper for null :( ) and "C".
    I find constructor by using findConstructors() and looking their parameter counts, creating an object array with given values and calling:
    constructorIFoundBefore.newInstance(objectArrayIPrepared);
    But!!!
    Because I use null directly, I got this message:
    java.lang.IllegalArgumentException: argument type mismatch
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at reader.parser.ObjectCreator.createObjectFromObjectItem(ObjectCreator.java:192)
         at reader.parser.ObjectCreator.createObjectFromParseItem(ObjectCreator.java:112)
         at reader.parser.ObjectCreator.createObject(ObjectCreator.java:78)
         at reader.analyzer.FileAnalyzer.analyzeAndCreateObjects(FileAnalyzer.java:95)
         at reader.ReverseReader.main(ReverseReader.java:43)
    I will be very glad if you help me.
    Thanks a lot!
    Gokcer

    I said something wrong. Sorry. While invoking a method (or a constructor) we need an object array which are equivalent to parameters. For example to call a method or constructor for class A;
    class A {
    int age;
    String name;
    public A(int age, String name){
    this.age = age;
    this.name = name;
    public set(int age, String name){
    this.age = age;
    this.name = name;
    we use in any place
    A a1 = new A(12,"Gokcer");
    A a2 = new A(15,null);
    To achieve this by using reflection techniques, we must find constructor with two parameters of class A. At this point "BetterMethodFinder" will give great help.
    After finding right constructor, we must create an object array to tell the constructor parameters (age and name). At this point we need an object array which stores our parameters. Code must be like this.
    Object []params = new Object[2]; // we have two parameters.
    params[0] = new Integer(12); // we can't use params[0]=12
    // because 12 is not an object. (It is a
    // primitive type)
    params[1] = "Gokcer";
    Now create the new object.
    A a1;
    a1 = constructorWeFound.newInstance(params);
    While creating param[], we could also use:
    Object []params = new Object[2] {new Integer(12),"Gokcer"};
    While creating a2, we can use "null" directly for second parameter.
    params = new Object[2] = {new Integer(15), null};
    or
    Object []params = new Object[2];
    params[0] = new Integer(15);params[1] = null;
    Thanks again everyone who replied me.
    My sincerely...

  • Using USB_CAN for CCP and other issues

    Hello.
    I want to generate an application which reads values from CAN. I'm able to read CAN messages and show them on the screen. Now I want to add the CCP functions into the same software but I cannot read the rest of CAN messages. What I have is:
    Three CAN messages: 0x100;0x200;0x300
    CCP messages: 0x5;0x6
    When I read all the messages I'm able to read 0x100;0x200 and 0x300, but when I start the CCP functionallity it works but I stop reading the first three mesages. I suppose that the CCP API "discards" the non CCP messages. Where can I find these messages?
    Maybe I cannot use CCP funcionallity on a port used for other purposes...
    I hop I have explained.
    Miguel.

    sound, no airport. I am not too sure if the service
    pack is the issue. I am using service pack one.
    Yes the service pack is an issue if you're using Boot Camp to run XP. If you don't have SP2, you can try running Parallels Desktop (http://www.Parallels.com) which doesn't require SP2.
    Since I need to listen to some online lecture
    recordings and my xp doesnt have sound, i have to use
    it on MAC OS. But as the problem is the site kept
    telling me to install Internet explorer 5.5 and above
    and after install IE for MAc 5.1, it ask for Windows
    Media player. I installed flip4mac and media player
    for mac ..it still doesnt work...
    Some streaming media sites are not compatible with Mac OS X. Are these online lectures for school? I would simply ask the person running the class to help you get support. They can tell you pretty quickly if it's possible to listen with a Mac. If it's not, you should be able to do it from XP with either Parallels or Boot Camp (provided you have an SP2 version of XP).
    I am truly sad to see the difficult in using a
    macbook and i kinda regretted getting it. It just
    getting on my nerves....
    There are times that using a Mac (with 5% market share) is frustrating because many websites don't follow standards properly. If the web designers blow it off and only support Windows, 95% of the users are still happy and don't complain. That's lazy and infuriating but it happens quite a lot. There's even a name for it: Mac Marginalization.
    So you will run into this from time to time. The best solution on the Macbook is to get one of the Windows environments up and running properly. But you should still complain LOUDLY to the people who set up the bad website. The only way this will change is if users let lazy site administrators know that they are MAD about it.
    G5-B Dual 1.8, Blackbook, PPC Mac Mini   Mac OS X (10.4.6)  

Maybe you are looking for