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 att1=v1 att2=v2tag text/tag; 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 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: node label=All School/Class/Major/Degree/ node label=Secondary Record Types/ So if I drag only one item into the tree, I'd expect this: node label=All School/Class/Major/Degree/ 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. __,_._,___
[flexcoders] FLEX2/Flash devs Need More Clarity from Adobe on New Flash Player Install Methods : i.e. New Shake-Up in FLASH Install Options (Foxfire JS disabled by default, and IE embed activation)
There are 2 recent events that have complicated Flash Installs that even SWFObject (formerly FlashObject) cannot handle.#1. Foxfire Now Comes Installed Default with Script Blocking. So, the very thing that made Flash successful (almost instantaneous installation even over 56k modem) is now moot. We have to instruct the user to specifically allow _javascript_.#2. Microsoft's loss of the ELOAS lawsuit and the Court Order for them to remove Emebedded Object Activation (requiring users who need to interact with a menu based or otherwise click-based flash movie to first click it once to activate it and then click it again to interact with it). SWFObject solves this particular problem.It seems to me, from looking at Adobe.com and their implementation of Flash Installs, that they themselves handle Interenet Explorer by now just displaying a GIF or JPEG graphic and No Flash Movies that require interaction, and they use DHTML menus.For Firefox _javascript_ turned-off, Adobe does the same thing and displays a graphic, but also displays the message,You may not have everything you need to view certain sections of Adobe.com. Please see our site requirements.Which it does not seem to do for Internet Explorer (i.e. it just defaults to graphic mode).Things seem to be getting more complicated for Flash Installs, and with the challenge of Vista's Sparkle, it seeems important, now more than ever, for Adobe/Macromedia to provide the Best All Around Solution/Example for Flash Player install support.-r Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. __._,_.___ -- 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] Re: Help with SharedObject please!
If I trace it locally the shared object returns what it's supposed to. I'm still relatively new to flex so pardon my asking, but how do you configure flex to trace data from a deployed swf (ie. running from a url). I know if I try to just simply run the debug files generated by flex, I get prompted for where the debugger is running. Selecting localhost never seems to work for me as it just keeps re-prompting me for the location of the debugger. Wayne --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy. On 8/5/06, wayneposner [EMAIL PROTECTED] wrote: Howdy all... I trying to use a SharedObject to keep user entered search strings in a drop-down box like the Google IE Toolbar. This works fine when I'm running the app locally, but as soon as I move it to a server and access it via a URL, it stops working. Does anyone know what might be causing this? I haven't changed any compiler options except the default background color. Thanks! Wayne -- 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] Re: DataGrid ItemRenderer
In case it helps anyone else, I've got this bullet thing working now. Three things were needed: - Setting the horizontal and vertical scroll policy as sinatosk suggested- Specifying the width, but not the height or the Text component. When you do this the text box will automatically adjust its height to show all the content - VariableRowHeight = true in the data grid component properties.mx:VBox verticalScrollPolicy=off horizontalScrollPolicy=off height=100% width=100% mx:Text text={data.description} fontWeight=bold width=380selectable=false/ mx:Text htmlText={data.detail} width=380selectable=false/ /mx:VBoxOn 8/1/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: From what I was told in a previous thread, non-visible rows are not rendered. Basically, it renders however many rows are visible, and then when you scroll down for instance, it moves them all up one and moves the top row to the bottom and rerenders its content. Ben http://www.returnundefined.com/ __._,_.___ -- 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] Re: Help with SharedObject please!
Sephiroth, the author of the awsome AS2 editor SE|PY, wrote a free SharedObject viewer that I think will help out with your debugging. http://www.sephiroth.it/python/solreader.php SharedObjects are stored in this location when running from local HD: C:\Documents and Settings\{USERNAME}\Application Data\Macromedia\Flash Player\#SharedObjects\N42WKXA7\localhost SharedObjects are stored in this location when running from a Web server with a domain: C:\Documents and Settings\{USERNAME}\Application Data\Macromedia\Flash Player\#SharedObjects\N42WKXA7\www.yourWebSite.com Also, be aware that unless you secify a domain location for the creation of the shared object then it will use the default namespace of the domain the SWF is on. There may be some new sandbox restrictions in Flex 2 that I do not know about that may be the cause of your problem. You can specify the location of where the SharedObject is created with the extra parameter: var mySO:SharedObject = SharedObject.getLocal(soName, /); Also, you might want to check out this link: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2665.html good luck --jason --- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED] wrote: If I trace it locally the shared object returns what it's supposed to. I'm still relatively new to flex so pardon my asking, but how do you configure flex to trace data from a deployed swf (ie. running from a url). I know if I try to just simply run the debug files generated by flex, I get prompted for where the debugger is running. Selecting localhost never seems to work for me as it just keeps re-prompting me for the location of the debugger. Wayne --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote: Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy. On 8/5/06, wayneposner wayne.posner@ wrote: Howdy all... I trying to use a SharedObject to keep user entered search strings in a drop-down box like the Google IE Toolbar. This works fine when I'm running the app locally, but as soon as I move it to a server and access it via a URL, it stops working. Does anyone know what might be causing this? I haven't changed any compiler options except the default background color. Thanks! Wayne -- 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/
[flexcoders] Load customized mxml component dinamically?
Hi All, Does anyone know how to do it? For e.g. I created a customized mxml video component and a customized mxml audio component. At runtime, I allow the user to choose which one to load by clicking on the audio or video button. Thank you -- 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/
[flexcoders] How can I get XML from XMLList and XMLListCollection?
How can I get XML from XMLList and XMLListCollection? -- 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/
[flexcoders] gotoAndStop causing browser to crash
Hi:I am embedding a movieclip into one of my classes using this method:[Embed(source='/sprites.swf', symbol='PlayerSprite')]private var PlayerSprite:Class;I need to use gotoAndStop to reflect a state change... e.g.:if(_isMoving){ mc.gotoAndStop(walk_+angle);}else{ mc.gotoAndStop(idle_+angle);}The script works but it causes both IE and FireFox to crash completly at random times when gotoAndStop is executed. Has anybody else experienced this?Regards:John __._,_.___ -- 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] Flex 2 DS shared Managed Objects question
Answers inline: From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Friday, August 04, 2006 8:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 DS shared Managed Objects question I'm using Data Services with Managed Objects and the Hibernate Assembler. I have a question regarding updating a shared managed object through one managed object, and having that update be reflected in another managed object. Should this work? I the most simple case, lets say I have a managed object A, that when fetched has a collection of other managed objects B. If I add a new managed object B, and save it directly through it's DataService, shouldn't A refresh its collection of B objects? When you are using an association property, you need to explicitly modify that property for it to change. The auto refresh behavior of collections only works for collections which you populate using the DataService.fill method. So in this case, you would have to both create a new B and add it to As collection of Bs for the A.Bcollection property to update. This could be done on the client, or you could do it in on the server using the DataServiceTransaction api. It might look at the newly created B and issue updateItem calls for the A destination updating the collection property to include the new B. Assuming autoSyncEnabled was true for the fill/getItem that created A, this would then push out the changes to As collection of Bs so it shows up. I suppose that if adding B has a side effect of updating the state of a property of A because of a relationship in the database, simply refreshing A would also get the new version of the data (i.e. call fill or getItem again) In a more complex sense, I have managed objects that are shared components of several other managed objects. (A's contain a collection of B's)... when I update a B, do I need to keep track of every A that has that particular B? Yes, if you are using association properties this is by manually updating association properties. Another approach is to use fills instead of associations. In this case, you can pass in the id of item A as a fill parameter to retrieve a list of Bs instead of storing the collection of Bs as a property of A. In this case, after each change to a B, we will go through all fills which have auto-refresh enabled and re-execute them to see if their contents have changed. If so, we push out the changes to the clients that have those fills. This can be slow as the number of fills changes so there are ways to optimize that process. I hope this helps. Does this work for you if you are using hibernate without FDMS? I guess it might if you are not caching instances and refetch them from the database each time you create a new B I think that usually you implement this type of thing with a bi-directional relationship where B also has a reference to one or more As. In this case, the hibernate docs recommend that you update both sides of the relationship though only one of the properties needs to be changed to persist the state in the database. Jeff __._,_.___ -- 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] Re: Cairngorm: Managing Application State
I am facing the same question. What is the best way to manage application view states with Cairngorm2? The pattern where you use Model: public static var workflowState:Number = 0; public static var VIEWING_SOMETHING:Number = 0; public static var VIEWING_SOMETHING_ELSE:Number = 1; public static var VIEWING_ANOTHER_THING:Number = 2; Seem ok for a small application, but would become a pain if you have dozens of Views. Binding the selectedIndex of the ViewStack is also anouther way I have tried to manage view states, but there are draw backs there as well. Setting the currentState directly from the componets in the view is also problematic. Anyone have a good way to handle this? --jason --- In flexcoders@yahoogroups.com, christophers1228 [EMAIL PROTECTED] wrote: That makes sense, I guess I'm a little confused because the coldfusion application wizard generates a login state and mainApplication state and that's where I saw the first real implementation of states. I do realize that it could be done any number of ways, I was just looking for some input as to why you would do it one way or another. --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: The main thing here is if you use Views with ViewHelpers you should have those as separate views and not use mx:States. States in my preception are more for UI changes within a view then what the switching containers or larger sets of UI. Now this is not to say you can use the States for changing containers like that of the ViewStack, it just seems its not the purpose of it. From the livedocs: The State class defines a view state, a particular view of a component. For example, a product thumbnail could have two view states; a base view state with minimal information, and a rich view state with additional information. More reading: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/ww\ help.htm?context=LiveDocs_Partsfile=0923.html#321190 Renaun --- In flexcoders@yahoogroups.com, christophers1228 chris.sharon@ wrote: Thanks for the input. Maybe I've been misunderstanding the way to use them from the beginning. ( very possible ) Let me give a better example, to make sure i'm not way out in left field. This is a typical way I manage the state. viewstack selectedIndex={ModelLocator.workflowState} view:Something view:SomethingElse view:AnotherThing /viewstack Model: public static var workflowState:Number = 0; public static var VIEWING_SOMETHING:Number = 0; public static var VIEWING_SOMETHING_ELSE:Number = 1; public static var VIEWING_ANOTHER_THING:Number = 2; Inside of a view: mx:Button click=ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING / it seems like this should accomplish the same thing: mx:States mx:State name=Something mx:AddChild position=lastChild view:Something id=somethingView / /mx:AddChild /mx:State mx:State name=SomethingElse mx:AddChild position=lastChild view:SomethingElse id=somethingElseView / /mx:AddChild /mx:State mx:State name=AnotherThing mx:AddChild position=lastChild view:AnotherThing id=anotherThingView / /mx:AddChild /mx:State /mx:States Inside of a view: mx:Button click=this.setCurrentState('SomethingElse')/ I have noticed in messing around with it, that maybe you could bind the current state to the model and change from a number to a string. sorry for the long post, just trying to learn something :) Thanks, Chris --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: The states as used in Cairngorm will not correlate with the mx:states in Flex 2. The serve different purposes. Well let me step back and say, this is how I feel about it. Flex 2 states are good for view/control states where Cairngorm workflow states are just that work/process flow. Thats not to say you can't have an attribute on the Cairngorm model to facilitate something you are trying to do with mx:states Renaun --- In flexcoders@yahoogroups.com, christophers1228 chris.sharon@ wrote: Hello, I've been using cairngorm for about a year now (flex 1.5) and I just started some projects using flex 2. (I have to admit I've been using and still trying to understand at the same time :) ) I was just wondering, how do the new view states in flex2 fit in with managing the state in the model. i.e. ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING; vs. mx:State name=ViewingSomething I just got to the point were I was pretty comfortable with the flow of cairngorm (it's taught me alot about architecture) I'm just wondering how to fit some of the new features of flex2 in.
Re: [flexcoders] Re: filter operator
Doh! Right -- e4x. Thanx a lot! 'Cause I've already been thinking of ghosts... ;-)Roma.On 8/5/06, Tim Hoff [EMAIL PROTECTED] wrote: Also, not to be confused with a filter function (Collections). :-) -TH --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: As I mentioned in a post earlier today, the filter operator that the error message referred to is the E4X predicate filtering operator. You're correct that the Player also uses the term Filter to mean a bitmap transformation like a blur, glow, or dropshadow. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Impudent1 Sent: Friday, August 04, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] filter operator I may be wrong, and I'll eat a bug if I am.. :p but aren't filters flex talk for effects? If look at any of the examples you will notice that things like blur/glow/dropshadow etc are blurfilter etc. Impudent1 LeapFrog Productions __._,_.___ -- 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] Re: Help with SharedObject please!
How about just adding a TextArea control to the stage then trace to it ? On 8/5/06, wayneposner [EMAIL PROTECTED] wrote: If I trace it locally the shared object returns what it's supposed to. I'm still relatively new to flex so pardon my asking, but how do you configure flex to trace data from a deployed swf (ie. running from a url). I know if I try to just simply run the debug files generated by flex, I get prompted for where the debugger is running. Selecting localhost never seems to work for me as it just keeps re-prompting me for the location of the debugger. Wayne --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy. On 8/5/06, wayneposner [EMAIL PROTECTED] wrote: Howdy all... I trying to use a SharedObject to keep user entered search strings in a drop-down box like the Google IE Toolbar. This works fine when I'm running the app locally, but as soon as I move it to a server and access it via a URL, it stops working. Does anyone know what might be causing this? I haven't changed any compiler options except the default background color. Thanks! Wayne __._,_.___ -- 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?
ok I can't explain it exactly... but bottom line is... when you drag the one item in... for exampletag att1=v1 att2=v2/and the output will be blank... but if you dotag att1=v1 att2=v2/ tag att1=v3 att2=v4/the output is going to be tag att1=v1 att2=v2/ tag att1=v3 att2=v4/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 = tag att1=v1 att2=v2/tag att1=v3 att2=v4/;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 = tag att1=v1 att2=v2/;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. __,_._,___
[flexcoders] Re: Unable to detect change in text selection in textArea...
So, no one else has figured this one out yet either? :( If you have and ideas to pursue, please share! I'm stuck. Cheers, Jeff --- In flexcoders@yahoogroups.com, Jeff [EMAIL PROTECTED] wrote: Seems like there should simply be an event on a textArea called selectionChanged... alas there is not. So here is what I've tried: mouseUp handler - Works great if user clicks in a textArea and drags out a selection and lets up on the mouse inside the bounds of the text area. BUT, if they let up outside, mouseUp doesn't fire... even though the user continues to adjust the selection while the mouse is outside the textArea! (it gives you that nice line at time style of text selection) mouseOut handler - Sure, it helps when it fires as soon as the mouse moves outside the textArea during the process of adjusting the selection, but then it's just frozen there while the user continues to move the mouse up and down and effect the like at a time style of text selection mentioned above. mouseMove handler - Only works while over the textArea... keyUp handler - YAY, seems to be pretty foolproof for catching text selection via the SHFT-Left Arrow and SHFT-Right Arrow. Isn't there an easy way to constantly listen to an objects property... like selectionEndIndex or selectionBeginIndex??? I assume it's getting updated while I adjust the text selection by moving the mouse outside the textArea. Cheers, Jeff -- 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] Create variables dynamic in Flex 2
Bracket notation works on both sides of an _expression_: this[myVar_+i].someProperty = someValue; someVar = this[myVar_+i].someProperty; Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Ortega Sent: Wednesday, August 02, 2006 11:54 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Create variables dynamic in Flex 2 What about the opposite? I want to find a property value of a dynamically named var. I.e. what if later in the code, i once again looped but instead of: var myVar_i:String = new String(); o[myVar_ + i] = new String(); I wanted to do: myVar_+i.someProperty = someValue; or someVar = myVar_+i.someProperty Thanks, Tom On 7/26/06, JesterXL [EMAIL PROTECTED]n.com wrote: Make the class dynamic or use an object. var o:Object = {}; for (var i:uint=0; i == 10; i++) { var myVar_i:String = new String(); o[myVar_ + i] = new String(); } Or: package { dynamic public class Flexible { publid function Flexible() { } } } var a:Flexible = new Flexible(); a[cow + i] = new String(); - Original Message - From: Artur Kordowski [EMAIL PROTECTED]de To: [EMAIL PROTECTED]ups.com Sent: Wednesday, July 26, 2006 10:24 AM Subject: RE: [flexcoders] Create variables dynamic in Flex 2 But i dont want to use an array. I would like to create those vars on the fly. Artur -Original Message- From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of Paul Andrews Sent: Wednesday, July 26, 2006 4:07 PM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Create variables dynamic in Flex 2 - Original Message - From: Paul Andrews [EMAIL PROTECTED]com To: [EMAIL PROTECTED]ups.com Sent: Wednesday, July 26, 2006 3:04 PM Subject: Re: [flexcoders] Create variables dynamic in Flex 2 - Original Message - From: Artur Kordowski [EMAIL PROTECTED]de To: [EMAIL PROTECTED]ups.com Sent: Wednesday, July 26, 2006 2:58 PM Subject: [flexcoders] Create variables dynamic in Flex 2 How can I create in a loop variables dynamicly? Like this: for (var i:uint=0; i == 10; i++) { var myVar_i:String = new String(); } Any idea? var myVar:Array = new Array(); for (var i:uint=0; i == 10; i++) { myVar[i] = new String(); } Artur -- 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 -- 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 -- 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 -- 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 __._,_.___ -- 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] Timer to run function every 30 min
Hello all, I could use some help. I have been livedocs.macromedia.com/flex/2docs looking for a way to create a timer function that would execute a function every 30 min. I found an example of mytimer and looked at a example for simple analog clock. But I am having a hard time understanding how it relates to my code. Below is a code snipet. I would like to run the InitApp() function every 30 min. That should refresh my two datagrids that inturn will update my screen. Any help would be great. Thank David mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="500" height="56" backgroundGradientColors="[#ff, #ff]" creationComplete="initVars()" horizontalAlign="center" verticalAlign="middle" borderColor="#ff" backgroundColor="#ff" borderStyle="solid" borderThickness="1" mx:Script ![CDATA[import mx.logging.LogEvent;/* import flash.events.MouseEvent;import mx.events.FlexEvent; */import mx.styles.CSSStyleDeclaration; import mx.effects.*;import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert;import mx.managers.PopUpManager;import flash.events.Event; import flash.events.TimerEvent; import flash.utils.Timer; import mx.controls.Alert; import mx.collections.*; import flash.net.*; import flash.display.Sprite; [Bindable] public var mylocID:String; // Assign values to new properties. private function initVars():void {InitApp(); } public function InitApp():void{// assign values passed from the html object flashvarsmylocID = Application.application.parameters.mylocID;// if no value passed from the html object tag then assign valueif (mylocID == null) {mylocID = "29223";}// get weatherweatherSvc.qryCurrentWeather(mylocID);weatherSvc.qryExtendedWeather(mylocID);// set focus on the first row of the gridsdgCurrentWeather.selectedIndex = 0;dgExtendedWeather.selectedIndex = 0;} ]] /mx:Script mx:RemoteObject id="weatherSvc" destination="ColdFusion" source="Widgets.cfc.widgets" showBusyCursor="true" / __._,_.___ -- 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] [Flex Builder 2] Adding Project References doesn't affect classpath?
Hi, I am trying to refer to an interface InterfaceA defined in Project A from a ClassB in Project B. I checked off Project A in the Project References tab of Project B. However, the interface is still not seen by the compiler. When I add Project A's source directory as an extra source dir to Project B, of course everything works. Have I misunderstood the purpose of the Project References option in Flex Builder 2? Thank you! -- 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] Timer to run function every 30 min
60 * 30 * 100060 secondstimes30 minutestimes1000 milisecondsequals180I recommend using 60 * 30 * 1000 instead of the 180 so it's easier for you to change/debug and then just add an event listener on timer event name along with the function you want it to call upon 30 minutes and then your done :pOn 05/08/06, David Brown [EMAIL PROTECTED] wrote: Hello all, I could use some help. I have been livedocs.macromedia.com/flex/2docs looking for a way to create a timer function that would execute a function every 30 min. I found an example of mytimer and looked at a example for simple analog clock. But I am having a hard time understanding how it relates to my code. Below is a code snipet. I would like to run the InitApp() function every 30 min. That should refresh my two datagrids that inturn will update my screen. Any help would be great. Thank David mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute width=500 height=56 backgroundGradientColors=[#ff, #ff] creationComplete=initVars() horizontalAlign=center verticalAlign=middle borderColor=#ff backgroundColor=#ff borderStyle=solid borderThickness=1 mx:Script ![CDATA[import mx.logging.LogEvent;/* import flash.events.MouseEvent;import mx.events.FlexEvent; */import mx.styles.CSSStyleDeclaration; import mx.effects.*;import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert;import mx.managers.PopUpManager;import flash.events.Event; import flash.events.TimerEvent; import flash.utils.Timer; import mx.controls.Alert; import mx.collections.*; import flash.net.*; import flash.display.Sprite; [Bindable] public var mylocID:String; // Assign values to new properties. private function initVars():void {InitApp(); } public function InitApp():void{// assign values passed from the html object flashvarsmylocID = Application.application.parameters.mylocID;// if no value passed from the html object tag then assign valueif (mylocID == null) {mylocID = 29223;}// get weatherweatherSvc.qryCurrentWeather(mylocID);weatherSvc.qryExtendedWeather(mylocID);// set focus on the first row of the gridsdgCurrentWeather.selectedIndex = 0;dgExtendedWeather.selectedIndex = 0;} ]] /mx:Script mx:RemoteObject id=weatherSvc destination=ColdFusion source=Widgets.cfc.widgets showBusyCursor=true / __._,_.___ -- 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] extending array functions....or how do I remove duplicates in an array?
I was beating on this combobox/datagrid thingy and was able to have a measure of success by using the same arraycollection .. BUT, this will populate the dropdown with duplicate entries. I was trying to figure a way around this with flex array manipulation but I just couldnt get it. Searching around I found this little gem, but I admit extending the array with a prototype function in flex is a bit over my melon at the mo.. Array.prototype.removeDuplicates = function(fn,matchFN) { // removes duplicate items from an array and returns a new array var a = ([]).concat(this); (fn==null) ? a.sort() : a.sort(fn); if (matchFN!=null) { for (i in a) if (matchFN(a[i],a[i-1])) a.splice(i,1); } else { for (i in a) if (a[i]==a[i-1]) a.splice(i,1); } return a; } Now is this really something I need to deal with, or shouldnt flex be all snazzy with some neat array manipulation that I just dont seem to see? If it is something I need to add, is there any advice about extending existing flex functions. tia Impudent1 LeapFrog Productions -- 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/
[flexcoders] Dumping the State of a Flex 2 Application
Is there an easy way to dump the state of a Flex 2 application? When there's an error or a user hits the Help button, I want to know where they are in the app. I have various view stacks containing tab navigators, etc. I'd like to know which view stack, tab navigator, etc. the user was on when they encountered the error or clicked the button. Thanks for any ideas. Clarke __._,_.___ -- 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] Timer to run function every 30 min
side note: if you were to use 60 * 30 * 1000, try to write it like this: var interval:Number = 60 * 30 * 1000; then use the variable interval in the timer, so the value won't be calculated everytime needed. On 8/6/06, sinatosk [EMAIL PROTECTED] wrote: 60 * 30 * 100060 secondstimes30 minutestimes1000 milisecondsequals180I recommend using 60 * 30 * 1000 instead of the 180 so it's easier for you to change/debug and then just add an event listener on timer event name along with the function you want it to call upon 30 minutes and then your done :pOn 05/08/06, David Brown [EMAIL PROTECTED] wrote: Hello all, I could use some help. I have been livedocs.macromedia.com/flex/2docs looking for a way to create a timer function that would execute a function every 30 min. I found an example of mytimer and looked at a example for simple analog clock. But I am having a hard time understanding how it relates to my code. Below is a code snipet. I would like to run the InitApp() function every 30 min. That should refresh my two datagrids that inturn will update my screen. Any help would be great. Thank David mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute width=500 height=56 backgroundGradientColors=[#ff, #ff] creationComplete=initVars() horizontalAlign=center verticalAlign=middle borderColor=#ff backgroundColor=#ff borderStyle=solid borderThickness=1 mx:Script ![CDATA[import mx.logging.LogEvent;/* import flash.events.MouseEvent;import mx.events.FlexEvent; */import mx.styles.CSSStyleDeclaration; import mx.effects.*;import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert;import mx.managers.PopUpManager;import flash.events.Event; import flash.events.TimerEvent; import flash.utils.Timer; import mx.controls.Alert; import mx.collections.*; import flash.net.*; import flash.display.Sprite; [Bindable] public var mylocID:String; // Assign values to new properties. private function initVars():void {InitApp(); } public function InitApp():void{// assign values passed from the html object flashvarsmylocID = Application.application.parameters.mylocID;// if no value passed from the html object tag then assign valueif (mylocID == null) {mylocID = 29223;}// get weatherweatherSvc.qryCurrentWeather(mylocID);weatherSvc.qryExtendedWeather(mylocID);// set focus on the first row of the gridsdgCurrentWeather.selectedIndex = 0;dgExtendedWeather.selectedIndex = 0;} ]] /mx:Script mx:RemoteObject id=weatherSvc destination=ColdFusion source=Widgets.cfc.widgets showBusyCursor=true / __._,_.___ -- 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] Timer to run function every 30 min
Thank you for you're help. The timer event is the part I am having trouble with. I don't know how to write or where to start. Any suggestions would be great. David - Original Message - From: sinatosk To: flexcoders@yahoogroups.com Sent: Saturday, August 05, 2006 5:41 PM Subject: Re: [flexcoders] Timer to run function every 30 min 60 * 30 * 100060 secondstimes30 minutestimes1000 milisecondsequals180I recommend using "60 * 30 * 1000" instead of the "180" so it's easier for you to change/debug and then just add an event listener on "timer" event name along with the function you want it to call upon 30 minutes and then your done :p On 05/08/06, David Brown [EMAIL PROTECTED]com wrote: Hello all, I could use some help. I have been livedocs.macromedia.com/flex/2docs looking for a way to create a timer function that would execute a function every 30 min. I found an example of mytimer and looked at a example for simple analog clock. But I am having a hard time understanding how it relates to my code. Below is a code snipet. I would like to run the InitApp() function every 30 min. That should refresh my two datagrids that inturn will update my screen. Any help would be great. Thank David mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="500" height="56" backgroundGradientColors="[#ff, #ff]" creationComplete="initVars()" horizontalAlign="center" verticalAlign="middle" borderColor="#ff" backgroundColor="#ff" borderStyle="solid" borderThickness="1" mx:Script ![CDATA[import mx.logging.LogEvent;/* import flash.events.MouseEvent;import mx.events.FlexEvent; */import mx.styles.CSSStyleDeclaration; import mx.effects.*;import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert;import mx.managers.PopUpManager;import flash.events.Event; import flash.events.TimerEvent; import flash.utils.Timer; import mx.controls.Alert; import mx.collections.*; import flash.net.*; import flash.display.Sprite; [Bindable] public var mylocID:String; // Assign values to new properties. private function initVars():void {InitApp(); } public function InitApp():void{// assign values passed from the html object flashvarsmylocID = Application.application.parameters.mylocID;// if no value passed from the html object tag then assign valueif (mylocID == null) {mylocID = "29223";}// get weatherweatherSvc.qryCurrentWeather(mylocID);weatherSvc.qryExtendedWeather(mylocID);// set focus on the first row of the gridsdgCurrentWeather.selectedIndex = 0;dgExtendedWeather.selectedIndex = 0;} ]] /mx:Script mx:RemoteObject id="weatherSvc" destination="ColdFusion" source="Widgets.cfc.widgets" showBusyCursor="true" / __._,_.___ -- 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] Flex 2 documentation set
Anyone know if the Flex2 Documentation set will be made available for purchase? I have a love hate relationship with PDFs! Thanks, Paul -- 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] Dumping the State of a Flex 2 Application
why not add a getter setter for a currentLocation variable and each time they go to a section or page of your app, set the variable with some sort of code that you can use, whether descriptive (homePage) or a number code (page0001) or whatever, then tie that code in via your database or an XML file to the help content. On 8/5/06, Clarke Bishop [EMAIL PROTECTED] wrote: Is there an easy way to dump the state of a Flex 2 application? When there's an error or a user hits the Help button, I want to know where they are in the app. I have various view stacks containing tab navigators, etc. I'd like to know which view stack, tab navigator, etc. the user was on when they encountered the error or clicked the button. Thanks for any ideas. Clarke __._,_.___ -- 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] will Flash (stand-alone) Remoting be upgraded for Flex 2.0? (ie not FDS)
Nope, FDS is Java only, to the best of my knowledge. for .Net support the only current option is WebORB.On 8/3/06, Barry Beattie [EMAIL PROTECTED] wrote: If you dont mind spending $20,000 for flex in order to do something that used to cost 1k. which is kinda my point (well, related to). it's not a big server setup we have here but it's enough to push us into the enterprise level (or so it seems). it's not for one specific app but a bunch of piddley little stand-alone ones with NOT a high traffic count. it'd be good to get some official word (or at least a bunch of ppl who are good at guessing wat Adobe would do) saying the stand-alone product was at the end of it's line. It'll make my case of keeping CF and upgrading to 7.02 even stronger (if it gets considered, that is). hang on, (I don't really care but) does this mean the .NET version is gone too? if you're running .NET you have to go thru FDS as well? __._,_.___ -- 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] Flex 2 documentation set
http://fedex.kinkos.com/fpfk/index.php?CMP=ILC-FPFK34:-)On 8/5/06, Paul Andrews [EMAIL PROTECTED] wrote: Anyone know if the Flex2 Documentation set will be made available for purchase? I have a love hate relationship with PDFs! Thanks, Paul __._,_.___ -- 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] Re: Help with SharedObject please!
I tried downloading the app. It seems to work fine on any shared object created with earlier versions of Flash, but I was unable to get it to read any of my Shared Objectes created with Flex 2/Flash 9. I know some of my SO's have data in them because I have the data it's retrieving being traced to my console. But like I said before, it only gets data when executing locally, not via a URL. Any other ideas?? Thanks! Wayne --- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote: Sephiroth, the author of the awsome AS2 editor SE|PY, wrote a free SharedObject viewer that I think will help out with your debugging. http://www.sephiroth.it/python/solreader.php SharedObjects are stored in this location when running from local HD: C:\Documents and Settings\{USERNAME}\Application Data\Macromedia\Flash Player\#SharedObjects\N42WKXA7\localhost SharedObjects are stored in this location when running from a Web server with a domain: C:\Documents and Settings\{USERNAME}\Application Data\Macromedia\Flash Player\#SharedObjects\N42WKXA7\www.yourWebSite.com Also, be aware that unless you secify a domain location for the creation of the shared object then it will use the default namespace of the domain the SWF is on. There may be some new sandbox restrictions in Flex 2 that I do not know about that may be the cause of your problem. You can specify the location of where the SharedObject is created with the extra parameter: var mySO:SharedObject = SharedObject.getLocal(soName, /); Also, you might want to check out this link: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/htm l/wwhelp.htm?context=LiveDocs_Partsfile=2665.html good luck --jason --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@ wrote: If I trace it locally the shared object returns what it's supposed to. I'm still relatively new to flex so pardon my asking, but how do you configure flex to trace data from a deployed swf (ie. running from a url). I know if I try to just simply run the debug files generated by flex, I get prompted for where the debugger is running. Selecting localhost never seems to work for me as it just keeps re-prompting me for the location of the debugger. Wayne --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote: Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy. On 8/5/06, wayneposner wayne.posner@ wrote: Howdy all... I trying to use a SharedObject to keep user entered search strings in a drop-down box like the Google IE Toolbar. This works fine when I'm running the app locally, but as soon as I move it to a server and access it via a URL, it stops working. Does anyone know what might be causing this? I haven't changed any compiler options except the default background color. Thanks! Wayne -- 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] Dumping the State of a Flex 2 Application
Alert.show(currentState);Hopefully I'm not oversimplifying this solution - but I think it's what you're asking.Mike __._,_.___ -- 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. __,_._,___