Another syntax question about two dots

i'd learned that the meaning of " .. " is to access the child nodes in XML.
but i saw this in source of flex, <mx.skins.halo.RadioButtonIcon.as>
   override protected function updateDisplayList(w:Number, h:Number):void
             g..beginFill(radioColor);
   where variable g is a graphics object. ordinary, this should be "g.beginFill", i thought.
   now my question is, what does the ".." mean ?
   thank you for any helps.

I'll ask people I know on the Apache team. I know they code review everything, but it seems to me if they're going to use nonstandard notation they should comment so people know what it means. I don't see any possible way this could be referring to xml, since there is no beginFill method on XML, and hacking the XML object on that scale through prototype would be highly destructive to the codebase.
Note that just because source is being picked up and shown as the source code doesn't 100% mean that this code was what the swc is compiled from.
Note that if you try
import flash.display.Graphics;
var g:Graphics = graphics;
g.beginFill(0xFF0000);
g.drawCircle(100, 100, 100);
and
import flash.display.Graphics;
var g:Graphics = graphics;
g..beginFill(0xFF0000);
g..drawCircle(100, 100, 100);
They both yield the same visual result. My suspicion is maybe this is a shortcut to the GPU.

Similar Messages

  • In Design CS 5.5 --- Question about Leader Dots ("RIGHT TAB")

    In Design CS 5.5 --- Question about Leader Dots ("RIGHT TAB")
    http://www.youtube.com/watch?v=e4kiyByY4A0
    Can anyone help???

    Apply a Character style to the tab character—don't try and do it from the Paragraph style. You can stay with a period as the leader and manipulate the size and spread of the dots via the character style. So here I've applied the Leader character style to the tab or the right indent tab and changed the point size and tracking of the style to make a leader with smaller dots and more spacing:

  • Another BW question about filter in the query definition

    Hi ,
    I have another question about filter in the query definition.
    <u>Question:</u>
    Which of the following objects can be filtered in the query definition?
    A. characteristic
    B. Key figure
    C. Structure
    D. Units
    E. Hierarchy
    My answer is A,B,D,E.
    The answer in the book is A,B,D
    Can anybody tell me which one is wrong?
    Thanks in advance,
    Liu Jia

    HI
    1.The answer could be A,B,D.you can not apply filters on hierarchies
    2.Whenever there is a change in Attribute data(like Location,Num etc...)that has to be reflected in all aggregates of the cube.Thsi can be done by running "ATTRIBUTE CHANGE RUN".
    sri

  • Another one question about how to download applet (not using external tool)

    Hi
    i write tool for downloading applet on card. I use apdu trace from NXP eclipse plugin as source of information and i read also about cap-file format in Java Card Virtual Machine specification. And i have questions about data transferred by LOAD command.
    As example - from apdu trace i see that transferred data are "C4820E33 DATA1 DATA2". Full length of transferred data is 0x2EE2.
    C4 - OK, this is "Load File Data Block" tag as specified in Global Platform
    820E33 - OK, this length of tag, =0x0E33
    DATA1 - sequence of cap-file components: Header.cap, Directory.cap, Import.cap, Applet.cap, Class.cap, Method.cap, StaticField.cap, ConstantPool.cap, RefLocation.cap. Length of DATA1 is 0x0E33, i.e. DATA1 = 'C4'-tag value.
    DATA2 - sequence of two cap-file components: Descriptor.cap and Debug.cap. These components are out of 'C4'-tag.
    the questions mentioned above... here they are:
    1. Global Platform does not define any data in LOAD command except 'E2' and 'C4' tag. Why DATA2 is transferred out of any tags?
    2. Whether the sequence of cap-file components is important? i.e. Can i load Header.cap, Directory.cap etc. in other order than i see in DATA1 field from apdu-trace?
    3. Debug.cap seems to be optional component. And what about Descriptor.cap component? Need i load it on card?

    666 wrote:
    1. Global Platform does not define any data in LOAD command except 'E2' and 'C4' tag. Why DATA2 is transferred out of any tags?Because the components are either optional or only required when communicating with a JCRE that has debugging capabilities. I assume you ran the project in JCOP Tools in debug mode against the simulator? If you did this against a real card it would fail as it does not have an instrumented JCRE capable of debugging code. You could try running the project as opposed to debugging to see the difference.
    2. Whether the sequence of cap-file components is important? i.e. Can i load Header.cap, Directory.cap etc. in other order than i see in DATA1 field from apdu-trace?Yes it is. It is defined in the JCVM specification available from the Oracle website.
    3. Debug.cap seems to be optional component. And what about Descriptor.cap component? Need i load it on card?No, it is optional and is not referenced by any other CAP file component.
    Cheers,
    Shane

  • Another beginner question about targeting functions

    I've read what I thought was an excellent thread about scope in EA, but I'm still not getting some of the basics (btw the thread was http://forums.adobe.com/message/5287753#5287753).
    I have "slides" in the symbol library and in the main composition compositionReady script I've set up a generic script for playing back sound. That script works fine when I bind it within the compositionReady script to a symbol and click, so I know the funciton itself is fine. My question, I'm programmatically loading the slides from the library as I go along and want to use the generic function I created in the compositionReady script, but I can't seem to create the proper syntax to call the script. Here's some that I have tried. What is the correct syntax? The script is on frame inside the slide symbol.
    //sym.getComposition().getStage().playSound();
    //sym.getComposition().playSound();
    //Edge.getComposition("CER_1").playSound();

    Thanks for having a look. Yea, it's getting to the script fine but it doesn't like the syntax. Console always indicates javascript error, which is what happens when Edge throws an exception because it doesn't know what to do. The article that Elaine posted on above gives me the sense that it might be best to change the function to a variable, then it would be in scope to call but I have parameters I'd like to pass with it and I don't think  I can pass a parameter with to a variabalized (word?) function. I know it's just me moving from ActionScript to Edge JavaScript and scope. Whereas I could always find a homebase in ActionScript with the stage, it seems that the stage in Edge is just another symbol and calling a function within the stage is never getting there. Elaine hints at putting outside the stage closure and it would be accessible, which, of course, has led me to start readying JavaScript books and learning more about scope etc. It seems like that is life as a developer. I  dont' get that, oh, better take a day or two to  understand that concept, oh, that function works now, next problem. ;-)

  • More syntax questions about nested symbols

    I have a symbol timeline that does everything I need it to do except to access a function within the stage symbol. I would have thought that calling the function in the stage symbol from a nested symbol (which is loaded dynamically, if that makes any difference) would be something along the lines of:
    sym.getComposition().getStage().gotoNextSlide("slide5");
    but no luck. I can alert the stage itself as [Object Object], which brings up another question. Is there an always-available property of objects that one can alert or trace to make sure the correct object is being targeted? I've had no luck with the symbol's id, name, or symbolName.

    Sure. You've seen one form of the project I'm working on, though I'm at the next speedbump. Here's an excerpt of the involved parts.
    I have the stage symbol and within that symbol, I have a function:
    function gotoSlide(slideName){
              fadeTo(slideName);
    function fadeTo(slideName){
         /// this all works fine, when called from the main timeline
    In the composition, I'm loading slides from the library and on the timeline of one of those slides is the following.
    navHidden = true;
    var trueButton = sym.getSymbol("answers").$("true");
    trueButton.bind('click',goNext);
    function goNext(){
              sym.getComposition().getStage().gotoSlide("slide_05");
    I know there are other syntaxes I could use but refactoring is in the future. The console log I get is:
    Object [object Object] has no method 'gotoSlide'
    It's slide 5 in these:

  • Another IT question about iTunes...

    When I plug my IT into my MB and I open iTunes, the option to “Open iTunes when this iPod is connected” is greyed out.
    The other two options, “Sync only checked songs and videos” and “Manually manage music and videos” are available to be checked.
    Anyone know how I can get the greyed out “Open iTunes...” to become optional again?
    Another note. Besides my IT, I just bought an IP. When I go into iTunes and authorize either the IT or the IP, I get a message saying that I have authorized one unit out of 5 even though I have authorized both the IT and the IP. Is this normal?

    Hi Macaby,
    If you have turned off automatic syncing you will not be able to have the option to Open iTunes when plugging in the iPod. I suggest that you send feedback to Apple about this as it may be a bug in iTunes or the behaviour of iTunes that needs to be improved.
    You don't need to authorize your iPods to play music that you have downloaded from iTunes, you only need to authorize the computer that you are using.
    Hope this helps
    J.C

  • Another MySQL question about averages. Remove outliers.

    I have a number of observations that I can get from a MySQL database.
    Let's assume the values I have are, ordered ascending:
    3, 5, 5, 6, 6, 6, 8, 9, 15.
    Just calculating the AVG results in 63/9 = 7.00
    If I want to repeat that but leave out both the minimum and the maximum values, in this case both the 3 and the 15, giving the following list:
    5, 5, 6, 6, 6, 8, 9
    then the average is only 45/7 =  6.43 to gain more statistical accuracy, how do I need to modify my query?
    Currently the query is like this:
    $query_Recordset1 = 'SELECT COUNT(Graphics_card) AS Obs, Graphics_card, AVG(MPE_Off/MPE_On) AS Gain , AVG(MPE_On) AS Speed FROM `Personal_data` WHERE MPE_On >0 GROUP BY Graphics_card HAVING COUNT(Graphics_card) > 4 ORDER BY Speed ASC, Obs DESC, Gain DESC LIMIT 0, 20' ;
    In this query the minimum number of observations is 5 for each distinct 'Graphics_card'. In the future I may change that to another figure and that is easy, just change the bold 4 to another figure but then, I may want to recalculate the adjusted average by leaving out the two bottom observations and the two top observations, so the range in the calculation would look like this:
    5, 6, 6, 6, 8
    and then the adjusted average is only 31/5 = 6.20
    How do I need to adjust my query to achieve that?
    Or, to put it another way, how can I first exclude the top X and bottom X observations from the query and only then calculate the AVG?
    Here is the page I want to apply it to: http://ppbm5.com/MPE%20Charts.php

    I solved it for the first part like this:
    SELECT COUNT(Graphics_card) AS Obs, Graphics_card, (SUM(MPE_On) - MAX(MPE_On))/(COUNT(Graphics_card)-1) AS Speed, (SUM(MPE_Off/MPE_On) - MIN(MPE_Off/MPE_On))/(COUNT(Graphics_card)-1) AS Gain FROM `Personal_data` WHERE MPE_On >0 GROUP BY Graphics_card HAVING COUNT(Graphics_card) > 5 ORDER BY Speed ASC LIMIT 0, 20
    This effectively removes the most significant outlier (MAX for Speed and MIN for Gain) and calculates the average based on the number of observations minus 1 for each category. In the same way I could remove the outlier at the other side of the spectrum, MIN for Speed and MAX for Gain, but then reduce the number of observations by 2 instead of 1.
    SELECT COUNT(Graphics_card) AS Obs, Graphics_card, (SUM(MPE_On) - MAX(MPE_On) - MIN(MPE_On))/(COUNT(Graphics_card)-2) AS Speed, (SUM(MPE_Off/MPE_On) - MIN(MPE_Off/MPE_On) - MAX(MPE_Off/MPE_On))/(COUNT(Graphics_card)-2) AS Gain FROM `Personal_data` WHERE MPE_On >0 GROUP BY Graphics_card HAVING COUNT(Graphics_card) > 5 ORDER BY Speed ASC LIMIT 0, 20
    I struggled with the Group function to use the suggestions in the link you gave me and of course the different functionality between MySQL and Oracle SQL.
    I look forward to having a MEDIAN function in MySQL.

  • Questions about two rules of Overidding Method....

    there are two rules of overridding method:
    1) for exception, the exception must be at least the same type or its subtype.
    2) for protection level, the method must be at least as public as the original one
    But why?? since the overridden method and the overidding method are not related at all in any way.

    there are two rules of overridding method:
    1) for exception, the exception must be at least the
    same type or its subtype.
    2) for protection level, the method must be at least
    as public as the original one
    But why?? since the overridden method and the
    overidding method are not related at all in any way.They are related.
    Foo foo = new SubClassOfFoo();The compiler doesn't care about the new on the RHS. All it sees is that foo is a Foo.
    So if it's a foo, it must live up to Foo's promises.
    Foo promises to have certain public methods, and it promises that it's methods will throw no checked exceptions outside an explicit list.
    Any subclass of Foo is also a Foo, so it must keep all of Foo's promises.
    It can be more strict that Foo is. It can provide additional public methods, and it can declare that it's methods throw a smaller set of exceptions.

  • Question about two Windows installs using the same Apps

    Hello all .
    I know this is more of a general Windows question, but being I am going to be utilizing any solution found on a MBP, I thought I would post this here.
    If the world was perfect, this is what I would like to do.
    Make three partitions on my MBP, the OSX partition, a 20 gig windows partition (no os), Boot Camp on a smaller partition (like 4 gig or something), and then run parallels on a 4 gig virtual partition.
    Then, install all my apps once on the 20 gig windows partition, and have both instances of windows share them. Does anyone know of a windows registry utility that would allow this to be possible?
    Thanks in advance!
    P.S. in case your wondering why I would separate the 20 gig partition form the OS, I think it would be easier to share the apps if both OS’s thought they were installed on the “E” drive (not have one think it’s on the C drive, and the other think it’s on E).
    MacBook Pro 17"   Mac OS X (10.4.6)  

    Hahaha, you may be right, but there has to be some option to have windows run natively, and in a VM, without having to install all my apps in two locations. That would just take up way to much hard drive space.
    MacBook Pro 17"   Mac OS X (10.4.6)  

  • Urgent question about two monitors for Sun Ultra 40 M2

    Hello,
    I feel extremely unhappy to ask you the following.
    I bought recently a Sun Utra 40 M2. I thought that with NVIDA Quadro FX1500 one could have two monitors as there are two DVI-D 's to connect with two monitors.
    But today I heard from SUN support that Sun does not support two monitors under SUN Solaris 10. It is possible with Linux on this SUN Ultra 40, but not with Solaris, so it was told to me.
    But: is this true? I still can not believe it.
    with friendly greetings,

    Hello,
    I see, with Windows it is possible just lik that and with Solaris one needs two cards.
    Well, it seems for a one man"s business customer like me: end of story.
    I still can not believe it that Sun would arrange this.
    I will wait and see.
    with friendly greetings,
    P_ter

  • Basic Question about two computers

    I do I identify two computers to iTunes/App Store?  Does this require I set up home sharing?  Please help because I have two computers at home that I would like to upgrade to Lion - someday.

    You open the Mac App Store on each machine and sign in with the same AppleID.
    Note there's more than one way to install Lion on > 1 machine in the same household:
    http://www.macstories.net/mac/os-x-lion-installation-guide-boot-discs-and-qa/

  • [solved] question about two soundcards which use the same module

    Hi
    I have two external soundcards, an Edirol UA-25 and a MAudio Transit. Both use the snd_usb_audio kernel driver. When I only had the MAudio, I configured it to be soundcard number 2 with the following in /etc/modprobe/modprobe.conf
    options snd-usb-audio index=2
    Now I'd like to have one be soundcard number 2 and the other one soundcard number 3. The internal soundcard is number 0, my tv card is number 1, I don't want to change that.
    How can I do this?
    Last edited by Army (2011-08-26 16:31:10)

    Ok, works. For documention, here's what I did:
    If you have two (or more) soundcards, which use the same kernel module, this is what you need in your modprobe.conf (or call this file just like you want, it only has to be in /etc/modprobe.d and has to be called *.conf)
    options snd-usb-audio index=2,3 vid=0x0582,0x0763 pid=0x0074,0x2006
    This is what I have now. Index is the number of the card, e.g. you see those numbers in alsamixer when you press F6. The vids and pids you can get with
    lsusb -v|grep idVendor # this is for the idv
    lsusb -v|grep idProduct # this is for the idp
    Just pick the line which stands for the soundcard, put these ids into the *.conf file and you're done. Now it doesn't matter in which order you plugin the soundcards, they get the right index.
    Quite easy after all

  • Pls help - Syntax question about EJB QL

    Hello,
    I'm new learner on EJB. I went through the specification 2.0 of EJB QL released by Sun, I'm not quite understand the syntax definition of SELECT clause in finder method which described in the following words:
    "In the case of a find method, the SELECT clause is restricted to contain either a single range variable or a single value path expression that evaluates to the abstract schema type of the entity bean for which the finder method is defined.
    Because finder method cannot return arbitrary types, the SELECT clause of an EJB QL defined for a finder method must always correspond to the abstract shcema type fo the entity bean for which the finder method is defined.In contrast, the SELECT clause of a query defined for a select method can return the abstract schema types of other entity beans or the values of cmp-fields."
    As my understanding, I think the SELECT clause of finder method can only contain a single range variable instead of single value path expresson, it should have only one format, which is "SELECT [DISTINCT] OBJECT(identification_variable)".
    For example: the query below is defined in OrderBean findByProductType();
    SELECT OBJECT(o) FROM Order o, IN(o.lineItems) l
    WHERE l.product.product_type = 'schoolsupplies'
    how it could be a single value path expression , I think this format can only be used in Select method.
    The other thing is EJB QL2.0 does not support subquery and "NOT EXIST" clause, does this mean that a SQL query with subquery or "NOT EXIST" clause can't be translated to EJB QL?
    I don't know if I'm correct or not. I'd appreciate if anybody can help me with this.
    Thanks!
    Maggie

    Hi,
    Weblogic
    =======
    In the Weblogic-cmp-rdbms-jar.xml file, we define the Table name as created in the DBMS along with cmp-field mapped to the dbms-columns of the table as described below
    <table-map>
    <table-name>SalesAccounts</table-name>
    <field-map>
    <cmp-field>salesaccountId</cmp-field>
    <dbms-column>sales_acctid</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>salesbalance</cmp-field>
    <dbms-column>sales_bal</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>salesaccountType</cmp-field>
    <dbms-column>sales_type</dbms-column>
    </field-map>
    </table-map>
    Here SalesAccounts is the actual table defined in DBMSD like Oracle say which has columns sales_acctid, sales_bal and sales_type.
    In ejb-jar.xml, you define an abstract schema name ie some sort of alias for your table name (SalesAccounts) along with defining the cmp fields required for writing a EJB-QL.
    <abstract-schema-name>SalesAccountBean</abstract-schema-name>
    <cmp-field><field-name>salesaccountId</field-name>
    </cmp-field>
    <cmp-field><field-name>salesbalance</field-name>
    </cmp-field>
    <cmp-field><field-name>salesaccountType</field-name>
    </cmp-field>
    <primkey-field>salesaccountId</primkey-field>
    Here salesaccountid is defined as a Primary key.
    Now your EJB-QL can be defined in the ejb-jar.xml file as follows
    <query>
    <query-method>
    <method-name>findSalesAccountsCondition</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
         <![CDATA[SELECT OBJECT(a) FROM SalesAccountBean AS a WHERE a.salesbalance > ?1]]>
    </ejb-ql>
    </query>
    This should clear ur doubts. Case u have any, revert back to me.
    Rgds,
    Seetesh

  • Questions about two accounts on ipad

    My workplace was very smart in purchasing iPads for the employees use. They built an iTunes account and set all the iPads up with the same apps. I'm an apple products user and have an iPod Touch and IPhone 4. So, I added my iTunes account to the iPad and downloaded my apps to use.
    I need to update several apps that were downloaded under their iTunes account. My Question is, Can I sign out of my iTunes account, Sign into their's (yes, I have the password), and update their apps without all my apps downloading to their account? I'd like to avoid that headacke if possible! Then I will again return to my iTunes account.
    Thank you for your help!

    You should be prompted to enter the password to that account when going into the Updates tab, you shouldn't need to log in and out of accounts.

Maybe you are looking for

  • Week "at-a-glance"

    I like a calendar where I can view at least my full work week and my entire work day. I can't figure out how to do this with iCal. In "week view" it shows all the days of the week, but I have to scroll up and down to see more than 5 or 6 hours. Anyon

  • Firefox 3.0.15 displays all text in Serbian instead of English on my Mac OSX 10.4.11!

    Today I upgraded my Firefox to the latest version Mac OSX 10.4.11 can support. It is Firefox 3.0.15 and now all text is coming out in Serbian Cyrillic language. It is impossible to work, to read anything and to browse. With the older version of Firef

  • Mail synchro and smtp server problems

    I have a permanent problem with using my MB Pro and email client. Instead of icloud email im using some other email adresses and its appear everytime when i come back home (using wifi connection) problems with Mail program. Sometimes appears in a fol

  • How to pass Temp variable value instead of Table name in From clause.

    Hi, I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL. But I am strugglint to pass this variable value. E.g., a Varchar2(5) := 'aa'; Select * from a; Here I come to mention a - 'aa'. But the SQL

  • Oracle datalinks to update a MS SQL table

    I am accessing a MS SQL table thru an Oracle procedure. Reads with no problems. When I try and update a column (2 columns affected one is a int and the other is datetime) receive the following error: ORA-02070: database IWSCIV does not support || in