[flexcoders] is this a bug? - filter problems - sample app
Is this a flex bug? Run the simple app below, it contains 2 panels with text fields and combo boxes inside each. One panel has a custom drop shadow filter, the other has a normal panel drop shadow. You will notice, if you select the text in the textInput in the panel with the custom filter, the text highlight color is grey. You might also notice all the text in the custom drop shadow panel is weaker looking, even in the comboBox. Other problem, if you change the css for the combo box so that the letterSpacing is greater than zero (0), you will notice that the text in the comboBox inside the panel with the custom filter disappears. To be honest, I can't fathom how something as simple as a dropShadow filter on a panel can cause all these problems. I am starting to wonder if half the time I am chasing problems I have no control over. If anyone can offer an insight, it would be greatly appreciated. Thanks in advance, http://www.adobe.com/2006/mxml"; layout="absolute"> Panel{ backgroundColor:#fff; headerHeight:0; borderThicknessTop:1; borderThicknessRight:1; borderThicknessBottom:1; borderThicknessLeft:1; borderStyle:solid; cornerRadius:5; roundedBottomCorners:true; dropShadowEnabled:false; } ComboBox{ cornerRadius: 12; paddingLeft: 5; paddingRight: 3; paddingTop: 0; paddingBottom: 0; letterSpacing:0; highlightAlphas: 1, 0; fillAlphas: 1, 1, 1, 1; fillColors: #ff, #cc, #ff, #ff; color: #33; borderColor: #dd; borderAlpha:1; fontWeight: normal; }
Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...
On 5/3/07, mattjshannon <[EMAIL PROTECTED]> wrote: > I keep getting a 1195 compiler error when trying to invoke what i > believe is a public non-static method from a singleton class instance. >private function onCreationComplete() : void >{ > var tst : ATest = ATest.getInstance(); > tst.name("XXX"); // << this call fails > // tst._name="XXX"; // << this call works >} name is a setter method in your code. You can just assign it like so: tst.name = "XXX";
Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...
Although you declare test as a function it is not used as one. When you use the get and set syntax the function is treated like a property. mattjshannon wrote: > Hi, I'm new to flex and actionscript - having a java background. > > I keep getting a 1195 compiler error when trying to invoke what i > believe is a public non-static method from a singleton class instance. > > Here is a cut-down version of the code that demonstrates the problem, > along with accompanying error ... (Flex 2.0.1) > > Error: > 1195: Attempted access of inaccessible method name through a > reference with static type test:ATest. > > Invoker.mxml :- > > > http://www.adobe.com/2006/mxml"; > layout="absolute" creationComplete="onCreationComplete()"> > > > > > > > > > ATest.as :- > > // ActionScript file > package test > { > public class ATest > { > private static var instance : ATest; > > public function ATest() > { > if (instance != null) > { > throw new Error("Singleton Exception"); > } > instance = this; > } > > public static function getInstance() : ATest > { > if (instance == null) > { > instance = new ATest(); > } > return instance; > } > > public function set name(__name : String) : void > { > _name = __name; > > } > > public function get name() : String > { > return _name; > } > > public var _name : String; > } > } > > Is there something tricky going on with these set/get methods? > > thanks > > Matt. > > >
[flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...
Hi, I'm new to flex and actionscript - having a java background. I keep getting a 1195 compiler error when trying to invoke what i believe is a public non-static method from a singleton class instance. Here is a cut-down version of the code that demonstrates the problem, along with accompanying error ... (Flex 2.0.1) Error: 1195: Attempted access of inaccessible method name through a reference with static type test:ATest. Invoker.mxml :- http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="onCreationComplete()"> ATest.as :- // ActionScript file package test { public class ATest { private static var instance : ATest; public function ATest() { if (instance != null) { throw new Error("Singleton Exception"); } instance = this; } public static function getInstance() : ATest { if (instance == null) { instance = new ATest(); } return instance; } public function set name(__name : String) : void { _name = __name; } public function get name() : String { return _name; } public var _name : String; } } Is there something tricky going on with these set/get methods? thanks Matt.
Re: [flexcoders] Is this a bug about FocusEvents and popupmanager?
There is several messages with subject "Firefox - TextInput Bug". Though it not looks like exactly your problem however i guess the reason of such behavior is the same. There seem to be quite a lot of "funny focus tricks" in firefox+flash player. Pity. R. On 1/19/07, eren bali <[EMAIL PROTECTED]> wrote: Thanks for your reply, I am using firefox. I searched for posts before sendind a new post but could not find a relevant post. On 1/18/07, Roman Protsiuk <[EMAIL PROTECTED]> wrote: > > It is more likely Firefox bug. Are you using this browser? Because the > described behavior is reproducible in Firefox but not in IE. Try to search > older posts in list seems to me that I saw this problem being discussed > here. > > R. > > > On 1/17/07, eren bali < [EMAIL PROTECTED]> wrote: > > > > Hi to all, > > > > I have a couple of textinputs that all have focusIn and focusOut > > listeners. > > One of these tese inputs open a file reference (FileReference.browse) > > When you press cancel in file explorer dialog, it closes silently. But > > when i click another textinput, two focusIn events are disparchet together, > > one for the old textinput one for the recently clicked textinput. > > > > Below is a code to demonstrate the issue. > > Just click 1st textinput, than 3rd one. Close the dialog with "cancel" > > button, than click the first textinput. > > log variable was expected to be: > > Laga Luga > > Browse > > Laga Luga > > > > However it is: > > Laga Luga > > Browse > > Browse > > Laga Luga > > > > -- > > Eren BALİ > > > > = > > > > > > http://www.adobe.com/2006/mxml " > > layout="vertical"> > > > > > > > > > > > > > /> > > > > > > > > -- Eren BALİ Invento Studios
Re: [flexcoders] Is this a bug about FocusEvents and popupmanager?
Thanks for your reply, I am using firefox. I searched for posts before sendind a new post but could not find a relevant post. On 1/18/07, Roman Protsiuk <[EMAIL PROTECTED]> wrote: It is more likely Firefox bug. Are you using this browser? Because the described behavior is reproducible in Firefox but not in IE. Try to search older posts in list seems to me that I saw this problem being discussed here. R. On 1/17/07, eren bali <[EMAIL PROTECTED]> wrote: > > Hi to all, > > I have a couple of textinputs that all have focusIn and focusOut > listeners. > One of these tese inputs open a file reference (FileReference.browse) > When you press cancel in file explorer dialog, it closes silently. But > when i click another textinput, two focusIn events are disparchet together, > one for the old textinput one for the recently clicked textinput. > > Below is a code to demonstrate the issue. > Just click 1st textinput, than 3rd one. Close the dialog with "cancel" > button, than click the first textinput. > log variable was expected to be: > Laga Luga > Browse > Laga Luga > > However it is: > Laga Luga > Browse > Browse > Laga Luga > > -- > Eren BALİ > > = > > > http://www.adobe.com/2006/mxml " > layout="vertical"> > > > > > > > > > -- Eren BALİ Invento Studios
Re: [flexcoders] Is this a bug about FocusEvents and popupmanager?
It is more likely Firefox bug. Are you using this browser? Because the described behavior is reproducible in Firefox but not in IE. Try to search older posts in list seems to me that I saw this problem being discussed here. R. On 1/17/07, eren bali <[EMAIL PROTECTED]> wrote: Hi to all, I have a couple of textinputs that all have focusIn and focusOut listeners. One of these tese inputs open a file reference (FileReference.browse) When you press cancel in file explorer dialog, it closes silently. But when i click another textinput, two focusIn events are disparchet together, one for the old textinput one for the recently clicked textinput. Below is a code to demonstrate the issue. Just click 1st textinput, than 3rd one. Close the dialog with "cancel" button, than click the first textinput. log variable was expected to be: Laga Luga Browse Laga Luga However it is: Laga Luga Browse Browse Laga Luga -- Eren BALİ = http://www.adobe.com/2006/mxml"; layout="vertical">
[flexcoders] Is this a bug about FocusEvents and popupmanager?
Hi to all, I have a couple of textinputs that all have focusIn and focusOut listeners. One of these tese inputs open a file reference (FileReference.browse) When you press cancel in file explorer dialog, it closes silently. But when i click another textinput, two focusIn events are disparchet together, one for the old textinput one for the recently clicked textinput. Below is a code to demonstrate the issue. Just click 1st textinput, than 3rd one. Close the dialog with "cancel" button, than click the first textinput. log variable was expected to be: Laga Luga Browse Laga Luga However it is: Laga Luga Browse Browse Laga Luga -- Eren BALİ = http://www.adobe.com/2006/mxml"; layout="vertical">
[flexcoders] Is this a bug in mx:List?
I was implementing a filter on a list of values and noticed that when I scroll down the list and then try and filter an error is thrown. Here is the error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls::List/::adjustVerticalScrollPositionDownward() at mx.controls::List/mx.controls:List::configureScrollBars() at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList() at mx.controls::List/mx.controls:List::updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/::validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() seems to be an indexing problem based at this line list: h = rowInfo[rowCount - 1].y + rowInfo[rowCount - 1].height; (line 789 in my code base) Here is the code I used to generate the result. (This is based on a Ben Forta example. he used a datagrid -- the erro does not occure with datagrid just list.) The code: http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="initApp()">
Re: [flexcoders] is this a BUG in dataGrid ??
here is my code: public function set liveDataProvider(newData:Object):void{ try { for(var a:Number=0;a To: flexcoders@yahoogroups.com Sent: Thursday, December 14, 2006 3:55:41 PM Subject: RE: [flexcoders] is this a BUG in dataGrid ?? What type of object are you using for the dataprovider? Could you post the code you are using to modify the dataprovider -Original Message- From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Yiðit Boyar Sent: 14 December 2006 13:38 To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] is this a BUG in dataGrid ?? i have a AS 3 Class which extends dataGrid. i have an object data which is the dataProvider of super Class (dataGrid).. . when i make changes on the data and call super.invalidateLis t() it does not refresh the first viewed row .. when i scroll down and go back, i see the new value of that row so i'm sure that data is changed... can this be a BUG ? because when i do the changes on super.dataProvider ; there is no problem... Yigit... Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com
RE: [flexcoders] is this a BUG in dataGrid ??
What type of object are you using for the dataprovider? Could you post the code you are using to modify the dataprovider -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: 14 December 2006 13:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] is this a BUG in dataGrid ?? i have a AS 3 Class which extends dataGrid. i have an object data which is the dataProvider of super Class (dataGrid)... when i make changes on the data and call super.invalidateList() it does not refresh the first viewed row .. when i scroll down and go back, i see the new value of that row so i'm sure that data is changed... can this be a BUG ? because when i do the changes on super.dataProvider ; there is no problem... Yigit... _ Cheap Talk? Check <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http:/us.rd.yahoo.com /evt=39663/*http:/voice.yahoo.com> out Yahoo! Messenger's low PC-to-Phone call rates.
[flexcoders] is this a BUG in dataGrid ??
i have a AS 3 Class which extends dataGrid. i have an object data which is the dataProvider of super Class (dataGrid)... when i make changes on the data and call super.invalidateList() it does not refresh the first viewed row .. when i scroll down and go back, i see the new value of that row so i'm sure that data is changed... can this be a BUG ? because when i do the changes on super.dataProvider ; there is no problem... Yigit... Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
RE: [flexcoders] Is this a bug? About Number type.
You presumably meant the result should be 23.7, not 23.8. However, getting 23.703 isn't a bug; you'd get the same answer in other languages like Java and C++. The imprecision is because Number in ActionScript (like float in Java and C++) stores a floating-point value as a binary fraction, not as a decimal fraction. These datatypes use binary fractions because that's how current microprocessors store and manipulate floating-point values. Java solves this problem by having a BigDecimal class whjich can store decimal fractions. In that case, computations are slower because it takes many microsprocessor instructions to do a single operation. The current version of ActionScript doesn't have any decimal fraction datatype, but it is under consideration for a future version of the language. The lack of this feaure comes up about once a week, and some participants on flexcoders have discussed the possibiliy of porting BigDecimal or its equivalent to ActionScript. Perhaps you can simply round your results to the precision you need? Take a look at the toFixed() method of the Number class. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of beloved_zhou Sent: Wednesday, August 30, 2006 4:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is this a bug? About Number type. I am using Flex2.0, and I try to get a result about 3 multiply 7.9, the result should be 23.8, but I got 23.703. Here is a sample code: 8"?> http://www.adobe.com/2006/mxml" layout="absolute"> __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Is this a bug? About Number type.
I am using Flex2.0, and I try to get a result about 3 multiply 7.9, the result should be 23.8, but I got 23.703. Here is a sample code: http://www.adobe.com/2006/mxml"; layout="absolute"> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is this a bug, or is it just me?
well not to be rude but I've explained alot plus I've asked you to read the documentation and clearly you havn't or you missed it or something... and the answer is in there :pread the documentation On 06/08/06, Rick Root <[EMAIL PROTECTED]> wrote: I still don't understand the following. When you drag one item over, it appears in the tree. The tree has a dataProvider. It contains that one item. dest.dataProvider.toString() absolutely should show something. I understand the whole root node thing, it still doesn't explain why I can't dump the dataProvider using the object's toString() method, because it STILL HAS DATA. Rick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is this a bug, or is it just me?
I still don't understand the following. When you drag one item over, it appears in the tree. The tree has a dataProvider. It contains that one item. dest.dataProvider.toString() absolutely should show something. I understand the whole root node thing, it still doesn't explain why I can't dump the dataProvider using the object's toString() method, because it STILL HAS DATA. Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is this a bug, or is it just me?
ok I can't explain it exactly... but bottom line is... when you drag the one item in... for exampleand the output will be blank... but if you do the output is going to be simply because it's not a root node because there are 2 of them... just put the 1 tag in and it will make that the root node inside the variable.Read the documentation about XML if you do thisvar my_xml:XML = ;you can access those tags by simply doing "my_xml.tag" and to access the attributes you do "[EMAIL PROTECTED]"... however if you do var my_xml:XML = ;it will make that the root node and "[EMAIL PROTECTED]" will not work instead you do "[EMAIL PROTECTED]"again like I said :p Read the documentation about XML On 05/08/06, Rick Root <[EMAIL PROTECTED]> wrote: sinatosk wrote: > > hmm... that shouldn't happen... so I'm gonna guessing it's something to > do with the way you coded it. Can you post the code that outputs the > text to the textarea? if so... post it please Right click on the flex app and view source. https://www.it.dev.duke.edu/temp/flex/bin/Test.html __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is this a bug, or is it just me?
for to mentionit will only output text what is between the XML tags NOT the attributesand here is the URL to the XML documentation http://livedocs.macromedia.com/flex/2/docs/1910.html#118717 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is this a bug, or is it just me?
sinatosk wrote: > > hmm... that shouldn't happen... so I'm gonna guessing it's something to > do with the way you coded it. Can you post the code that outputs the > text to the textarea? if so... post it please Right click on the flex app and view source. https://www.it.dev.duke.edu/temp/flex/bin/Test.html -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is this a bug, or is it just me?
hmm... that shouldn't happen... so I'm gonna guessing it's something to do with the way you coded it. Can you post the code that outputs the text to the textarea? if so... post it please On 05/08/06, Rick Root <[EMAIL PROTECTED]> wrote: sinatosk wrote: > > no it's not a bug :p > > lets just say you have an xml tag > > var xml_tag:XML = tag text; > > an thats been assigned to a variable 'xml_tag'. when you come to output > the contents of that variable... it will show "tag text" not "v1" or > "v2" ( which are attributes ). To output the contents of those > attributes ... you do [EMAIL PROTECTED] and that will output "v1" > > the problem your having is there is nothing in between the tags so it's > blank... infact... you closed the XML tag ""... thats how xml is > :p. I'm still learning XML I don't think that's true. If I drag two items into the list, I get this: So if I drag only one item into the tree, I'd expect this: But I don't get that, I get nothing. And all I'm doing is outputting the dataProvider.toString() = the tree has a data provider - it's got one item in it, so it SHOULD output something! __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is this a bug, or is it just me?
sinatosk wrote: > > no it's not a bug :p > > lets just say you have an xml tag > > var xml_tag:XML = tag text; > > an thats been assigned to a variable 'xml_tag'. when you come to output > the contents of that variable... it will show "tag text" not "v1" or > "v2" ( which are attributes ). To output the contents of those > attributes ... you do [EMAIL PROTECTED] and that will output "v1" > > the problem your having is there is nothing in between the tags so it's > blank... infact... you closed the XML tag ""... thats how xml is > :p. I'm still learning XML I don't think that's true. If I drag two items into the list, I get this: So if I drag only one item into the tree, I'd expect this: But I don't get that, I get nothing. And all I'm doing is outputting the dataProvider.toString() = the tree has a data provider - it's got one item in it, so it SHOULD output something! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is this a bug, or is it just me?
no it's not a bug :plets just say you have an xml tagvar xml_tag:XML = tag text;an thats been assigned to a variable 'xml_tag'. when you come to output the contents of that variable... it will show "tag text" not "v1" or "v2" ( which are attributes ). To output the contents of those attributes ... you do [EMAIL PROTECTED] and that will output "v1"the problem your having is there is nothing in between the tags so it's blank... infact... you closed the XML tag ""... thats how xml is :p. I'm still learning XML On 04/08/06, Rick Root <[EMAIL PROTECTED]> wrote: When a tree has only one item, the dataProvider is empty when dumped to a string. Example: https://www.it.dev.duke.edu/temp/flex/bin/Test.html Drag one of the parent items over and click "Show List Items", and the textarea is populated with all of the nodes in the data provider. Now hit "Reset Lists".. then drag only one child item and then click "Show List Items" again. No results. empty. Drag another child item over... repeat. Both child items now appear in the textarea. Is this a bug, or something I'm doing wrong? I've enabled "View Source" on this app so you can see for yourself. rick __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Is this a bug, or is it just me?
When a tree has only one item, the dataProvider is empty when dumped to a string. Example: https://www.it.dev.duke.edu/temp/flex/bin/Test.html Drag one of the parent items over and click "Show List Items", and the textarea is populated with all of the nodes in the data provider. Now hit "Reset Lists".. then drag only one child item and then click "Show List Items" again. No results. empty. Drag another child item over... repeat. Both child items now appear in the textarea. Is this a bug, or something I'm doing wrong? I've enabled "View Source" on this app so you can see for yourself. rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Is this a bug?
In ActionScript 3, you have to import; you can't just use a qualified (full) classname. Tthe only reason to use a qualified classname is to disambiguate two classes with the same unqualified (short) name. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, June 09, 2006 12:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Is this a bug? I believe it is required. From the Migration doc: “It is important to understand that you should import classes with an import statement rather than use the full classname in your code.” Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darren Houle Sent: Friday, June 09, 2006 3:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is this a bug? Why does this... package org.mycomp.iaclean.vo { public class LoginVO implements org.nevis.cairngorm.ValueObject { public var uid : String; public var password : String; } } Return an "Interface ValueObject was not found" error, but if I "import" first like this... package org.mycomp.iaclean.vo { import org.nevis.cairngorm.ValueObject; public class LoginVO implements ValueObject { public var uid : String; public var password : String; } } It works fine? Maybe I'm just used to Java, but shouldn't you be able to specify the classpath after "implements" without using "import" or is it a requirement in AS 3 that you first "import" packages prior to referencing them? I'm usually in the habit of using just the classpath unless I have to specify it more than once, then I import it. I also specify the full path in case there's ever two class names that are the same and I need to differentiate. I guess I just need to know where and when I can use the path, and in what cases I must "import" first. Thanks, Darren __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Is this a bug?
I believe it is required. From the Migration doc: “It is important to understand that you should import classes with an import statement rather than use the full classname in your code.” Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darren Houle Sent: Friday, June 09, 2006 3:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is this a bug? Why does this... package org.mycomp.iaclean.vo { public class LoginVO implements org.nevis.cairngorm.ValueObject { public var uid : String; public var password : String; } } Return an "Interface ValueObject was not found" error, but if I "import" first like this... package org.mycomp.iaclean.vo { import org.nevis.cairngorm.ValueObject; public class LoginVO implements ValueObject { public var uid : String; public var password : String; } } It works fine? Maybe I'm just used to Java, but shouldn't you be able to specify the classpath after "implements" without using "import" or is it a requirement in AS 3 that you first "import" packages prior to referencing them? I'm usually in the habit of using just the classpath unless I have to specify it more than once, then I import it. I also specify the full path in case there's ever two class names that are the same and I need to differentiate. I guess I just need to know where and when I can use the path, and in what cases I must "import" first. Thanks, Darren __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Is this a bug?
Why does this... package org.mycomp.iaclean.vo { public class LoginVO implements org.nevis.cairngorm.ValueObject { public var uid : String; public var password : String; } } Return an "Interface ValueObject was not found" error, but if I "import" first like this... package org.mycomp.iaclean.vo { import org.nevis.cairngorm.ValueObject; public class LoginVO implements ValueObject { public var uid : String; public var password : String; } } It works fine? Maybe I'm just used to Java, but shouldn't you be able to specify the classpath after "implements" without using "import" or is it a requirement in AS 3 that you first "import" packages prior to referencing them? I'm usually in the habit of using just the classpath unless I have to specify it more than once, then I import it. I also specify the full path in case there's ever two class names that are the same and I need to differentiate. I guess I just need to know where and when I can use the path, and in what cases I must "import" first. Thanks, Darren Yahoo! Groups Sponsor ~--> Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/