Re: [flexcoders] Re: Flashbuilder 4.0.1 debugger issue?
We've spent hours on this same issue today. We have not updated Flash Builder itself, but after installing the latest debug player, one of our apps also hangs on startup when running with FB debugging and does not hang when running in non-debug mode. I have now reverted to an earlier Flash debug player, 10,0,something, and can debug the app again. It would be great to hear what it is that makes an app hang when run with the latest debugger... -A On Mon, Jul 12, 2010 at 5:51 PM, Richard Rodseth rrods...@gmail.com wrote: He's also on Flash Player 10.1 and after deleting shared objects used by our splash screen, the app is locking up earlier (i.e. before dismissing the splash screen. Are there some changes I should know about relating to 10.1, security sandboxes, Shared Objects and the 4.0.1 debugger? On Mon, Jul 12, 2010 at 2:41 PM, Richard Rodseth rrods...@gmail.comwrote: A colleague is experiencing a problem where our app hangs the browser when run in the debugger, but not when launched in non-debug mode (from Flashbuilder). He's the only one on the team who started Flex work since the release of 4.0.1 so I'm wondering if there are any known problems that could explain this.
Re: [flexcoders] Facebook Application
http://code.google.com/p/facebook-actionscript-api/ http://code.google.com/p/facebook-actionscript-api/=] On Wed, Jun 9, 2010 at 11:09 AM, Christophe christophe_jacque...@yahoo.frwrote: Hello, Is it possible to create a facebook application with Flex ? Thank you, Christophe, -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] create class on the fly
There are a number of important techniques for manipulating classes (as detailed in my post http://nodename.com/blog/2008/06/15/upon-reflection/ ), but unfortunately creating a class at runtime is not possible in AS3. On Mon, Jul 13, 2009 at 8:23 PM, postwickp...@ubeek.com wrote: I want to store descriptions of classes in an external file (such as XML) or database, and use them in my Flex application such that I can add, remove, or change the classes in the external file with recompling the Flex application. Is there any way to do this? In a nutshell, is there a way to create a class through an Actionscript function, with a for loop where the information that is looped over contains the definitions of the classes loaded from an external source?
[flexcoders] Adobe Flex 4 / Coldfusion 9 Pre-Release Tour hits Phoenix This Thursday (6/25/09)
Hey Everyone, This Thursday the premier Flex event of the year is happening in Tempe. If you attend one user group meeting this year, *this is the one! * *What is this event?* The Phoenix ColdFusion User Group is part of Adobe's Summer user group tour, and we will be hosting Ryan Stewart, Adobe Platform Evangelist, to tell us about (and show us!) the next big release of ColdFusion, the new ColdFusion Builder, Flex 4, and more. You can learn about these new products before they are publicly available and can give feedback directly to Adobe. *What else are we doing?* There's also a big software giveaway. Both the Flash Multimedia User Group and the AZCFUG have a huge software package to hand out - we're giving away thousands of dollars worth of Adobe software, plus there's shirts, posters, pens and more. We'll be raffling off this stuff, so if you want more raffle tickets, RSVP to the meeting notice on our Adobe Group site: http://groups.adobe.com/posts/42c8def0e7 We've got a food and drink budget, which we're currently working on, and will let you know what we come up with when it gets closer. Put this on your calendar, you're going to want to be there for this one. Meeting Details: What: AZCFUG - Ryan Stewart, Adobe Platform Evangelist When: 6/25/2009 6:30 PM Where: UAT in Tempe, AZ http://maps.google.com/maps?q=2625+W.+Baseline+Road%2C+Tempe%2C+AZ+85283 -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders]Importing a project into Flash Builder 4 from Flex Builder 3
If you are planning on doing this, I would make copies of your FB3 code and use these to import into FB4 (Don't use your originals). That should alleviate the risk. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Is this list declining?
Mailing lists and users groups tend to explode when a product is new and start to wane off when it becomes mature. There are many reasons why, but yes leading that is there are more / better resources to get answers. I like to think it's partly because the [product has gotten better as well... My user group has been around for 10 years now and there is a lot of apathy amongst even the most doe hard members. They all show up when a new version gets released. I think we can expect the traffic on the list to pick back up after Gumbo gets released. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Value Objects
I never really thought about it, but now that I think about it, I imagine that typing an object will provide tremendous performance gains as Flex works its data binding. If the values are typed then the JIT knows where to look to set the value. Other wise it would be searching it as a generic object. Alan On 5/26/09 10:55 PM, Jake Churchill j...@cfwebtools.com wrote: I think it¹s more for the code hints than anything J Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Rowe Sent: Tuesday, May 26, 2009 5:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Value Objects The use of 'VO's in Flex has always confused me, largely because as everyone I've spoken to has explained it, all a 'Value' object is is just a Model object - therefore WTF are they being referred to as 'VO's when 'Object' (or Model object) would suffice. My understanding is that the Object representation's deep structure references objects ByRef, but Transfer Objects reference nonserializable/non-native objects by id. That is, if you have Dog { id:int; parent:Dog; } the TO becomes DogTO {id:int; parentID:int;} I'm still yet to have anyone explain it to me in a way which contradicts this way of looking at things. --Tim From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Wednesday, 27 May 2009 7:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Value Objects Hey Mike, You'll see VO and DTO used interchangeably, I believe this is because Cairngorm used to use Data Transfer Object and then switched to Value Objects at some point. That being said... this article gives a very basic example of passing data to and from a server strictly typed, which is what you are trying to accomplish. http://flex.sys-con.com/node/505875 ( ick syscon... anyone know where the real article is? ) The key is the using the [RemoteClass(alias=java.package.Class)], so that when Flex serializes and de-serializes the object, it knows what corresponding class on the server your object represents. I seem to recall that when creating VOs (or DTOs) with a ColdFusion service, you needed to add extra methods to assist in the serialization. Maybe someone else add to this? I've been out of CF for a while now. On Tue, May 26, 2009 at 2:42 PM, mikeashields mikeashie...@hotmail.com wrote: I've come via a MySql to CF to Flex learning path. As such, 1.) my flex app uses mx:RemoteObject with source= pointing at a CFC (in wwwroot/test/cfcs directory). 2.) Said cfc calls a MySql STORED PROCEDURE which returns (say) a list of owners (id, firstname, lastname, etc). 3.) CF passes this back to Flex (apparently in the form of an Object?). 4.) Flex then binds this returned data to a mx:DataGrid. Now I've read extensively on VOs (as well as Cairngorm/MVC) yet don't fully understand either the why or the how. Assuming as basic an example as possible, I need to use AS3 to first define then instantiate an ownerVO, then a function to populate the ownerVO with the results of the RemoteObject then I populate the DataGrid with ownerVOs Comments and/or directions to appropriate learning resources appreciated.
Re: [flexcoders] Re: How to optimise SWC to its minimal size?
Well, you mention that classes that are used directly or indirectly are garbage¹, but it¹s being used so they aren¹t garbage If they were pulled in, then it¹s more than likely that what ever you are trying to extract, depends on those garbage¹ classes. On 5/22/09 11:13 AM, lytvynyuk lytvyn...@yahoo.com wrote: Any ideas? Hey, Flex gurus I know you are here! :)
Re: [flexcoders] change default browser...
PreferencesGeneralWeb Browser On 5/13/09 6:30 PM, [p e r c e p t i c o n] percepti...@gmail.com wrote: Hi all, How do I set firefox as my default browser..my system recognizes it, but FB3 still launches i.e. thx
Re: [flexcoders] Dictionary class?
One case is if you don¹t want to use loops. On 5/11/09 12:11 PM, luvfotography ygro...@all-digital-links.com wrote: What are some good uses for the dictionary class? I haven't used it yet, but I'm sure if I knew more, I might. . . .
Re: [flexcoders] Re: drag drop tree to tree onto node, not between nodes [1 Attachment]
Yves Riel (r...@cae.com) sent this file to me when I had a similar problem some time back, it totally saved my life. If it helps, drop him(her, not sure...) an email and thank them. =] On Sun, May 10, 2009 at 6:19 PM, Mic chigwel...@yahoo.com wrote: Think I answered this myself - isBranch looks like it will turn the leaf into branch, which is exactly what I need to do. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Mic chigwel...@... wrote: Thanks Tracy - for the moment I am having to put a Peer/Child radio button group so I know what the user wants to do. Next question :-) New mgr is a leaf, rb set to child, rep dropped below mgr ... need to change mgr to branch with new rep as leaf. Does one manipulate the xml to do this and then invalidate something so the tree reconfigures itself, or does one manipulate the tree gui? Thanks, Mic. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy Spratt tracy@ wrote: I hope someone has a solution for this, I do not. The tree drop feedback lines will show above or below a child node, and will get longer to indicate a drop point at the level above those, but I have found no way to drop a first child node onto an empty node. Now, I have not researched this in the last year, so maybe someone will have a fix. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com[mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Mic Sent: Sunday, May 10, 2009 2:08 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] drag drop tree to tree onto node, not between nodes Will Flex recognize a drop onto a node? The visual position bar when moving the drop up and down the destination tree displays between nodes. When we first add a mgr to the HR tree, that mgr is a leaf. Want to trap a drop directly onto the mgr so can turn him/her into a branch and add people reporting to him/her. Cannot drop beneath as that would be a legal peer. TIA, Mic. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
[flexcoders] Newbie question: Custom Components and Custom Events
Hey All, I'm playing around with a super simple demo Simeon Bateman posted on his blog (http://blog.simb.net/2009/05/01/flex-101-back-to-the-basics/)http://blog.simb.net/2009/05/01/flex-101-back-to-the-basics/ It's just a little tool designed to teach basic MVC / OO principles to newbs like me. I've get what it's doing and why it works, now I'm trying to extend on it. I'm trying to take this custom component and instead of displaying it in the main app, open it in a pop up window. view:UserForm userSubmit=onSubmit(event)/ I can get it to do that just fine, but I cannot get the custom event registered with the addEventListener. I get the following error message: 1119: Access of possibly undefined property USER_SUBMIT through a reference with static type Class. Any thoughts? It works properly when I use it as is in MXML form, but not when I try to create the object using AS. private function openWindow():void { win = view.UserForm(PopUpManager.createPopUp(this, UserForm, false)); PopUpManager.centerPopUp(win); win.addEventListener(UserEvents.USER_SUBMIT, onSubmit); } -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Newbie question: Custom Components and Custom Events
Did you import UserEvents? Yep... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical xmlns:local=* xmlns:view=view.* mx:Script ![CDATA[ import view.UserForm; import events.UserEvents; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.managers.PopUpManager; [Bindable] private var users:ArrayCollection = new ArrayCollection(); private var win:UserForm = new UserForm(); private function onSubmit(event:UserEvents):void { users.addItem(event.user); } private function openWindow():void { win = view.UserForm(PopUpManager.createPopUp(this, UserForm, false)); PopUpManager.centerPopUp(win); win.addEventListener(UserEvents.USER_SUBMIT, onSubmit); } ]] /mx:Script mx:DataGrid dataProvider={users}/ view:UserForm userSubmit=onSubmit(event)/ mx:Button label=click me click=openWindow()/ /mx:Application -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Newbie question: Custom Components and Custom Events
This is the entire UserEvents class as the example showed me how to build it. I'm guessing that the declaration for my event is supposed to be in here, but in the demo we actually created it in the component we were loading. How and where do I add it to the UserEvents class and why does it work when I call it from MXML but not from AS? //File: UserEvents.as package events { import flash.events.Event; import vo.User; public class UserEvents extends Event { public var user:User; public function UserEvents(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); } } } //Script Code from Component mx:Metadata [Event(name=userSubmit, type=events.UserEvents)] /mx:Metadata mx:Script ![CDATA[ import vo.User; import events.UserEvents; import mx.managers.PopUpManager; private function onClick():void { var event:UserEvents = new UserEvents(userSubmit); var user:User = new User(); user.fname = fname.text; user.lname = lname.text; user.email = email.text; event.user = user; dispatchEvent(event); } ]] /mx:Script -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Re: Newbie question: Custom Components and Custom Events
A!!! Bingo, thanks everyone... Coming from the a very linear programming background the OO stuff is getting me... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Is it better easier to learn Flex3 AS3 via a book or videos?
Is Chocolate Ice Cream Better than Vanilla? It's really more of an opinion than a provable fact. I've done both, read a bunch of books and watched some of the videos on Lynda.com. I found them both very helpful, the videos more so than the books at the beginning and the books more helpful now that I know some flex. However, it may have been that the videos had the newbie more in mind than the books did, or at least the books I had at the time. I would recommend checking out Lynda.com and going through the basic Flex training, then getting several of the Flex books that appeal to what you want to get out of Flex. HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
[flexcoders] Flex 3/ LCDS / Coldfusion RTMP Issues
Hey All, I'm just trying to play around with some of the LCDS / Flex 3 / Coldfusion samples by Tom Jordahl. I've managed to get them all working, but I cannot get them to use the cf-rtmp channel, it always switchs back to cf-polling-amf. When I comment that out, it connects but fails to subscribe. I have updated the services-config.xml and un-commented the channel definition for cf-rtmp. I added it as the first channel for the ColdFusionGateway in the messaging-config.xml channels channel ref=cf-rtmp/ channel ref=cf-polling-amf/ /channels I'm running this on my local machine (WinXP SP3, IIS, Coldfusion 8.01) I'm kind of stuck, is there some additional config I need to alter? Are there log files I can check to see if the RTMP is throwing and error? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Flex 3/ LCDS / Coldfusion RTMP Issues
Hmm... scratch that... apparently sending this email made it work... I launched it again and this time, consumer.channelSet told me it was using cf-rtmp Magic... =\ -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] What is a fair price - Opinions Please.
Fair is a complicated subject. When figuring out what you should charge for something you should look at a number of factors: - What is your time worth to you? - This can be measured by any number of personal measuring sticks. How much free time do you generally have available, how interesting does this project look to you, do you think you can re-use this code for anything ever, will you achieve some level of personal / professional satisfaction from it. - Personally, if I don't have a lot of extra free time, or if the project looks to be a pain, I charge considerably more. If that kills the project, so be it, if not, WOOHOO! - As for calculating an actual billable rate, one way to figure out what your professional time is worth is to take your annual salary at work, divide it by 2000 and that very roughly what you make an hour. I typically double it to cover taxes and then charge that. So for example you earn $50,000 a year at your main job, you basically earn $25 an hour, So a good starting point for charging for your time is $50 an hour. Using the How much do I like this project scale, you can then adjust that rate accordingly. If the project is going to be a pain, bump it up, if it's going to be fun maybe lower it. - What can the person afford to pay? - This is one of the hardest parts of any job, you may come up with what is a reasonable amount to do the job, but the client may choke. Great sales people have a sixth sense for the threshold a client has for a job ($$$). With one off freelance jobs it can be hard to guess what a person has available to spend. I've been offered projects where the client wants to build a competitor to eBay and has about $500 to spend... - Depending on your relationship with this client, you might just want to ask what they have available to spend on the project upfront. Then go back and determine if it's enough for you to get it done. HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Re: Database Viewer
Dude, 4get that! Lita is where it¹s at. http://www.dehats.com/drupal/?q=node/58 HollA!!! Alan If the DB is SqlLite you can use Christophs Coenraet's application http://coenraets.org/blog/2008/02/sqlite-admin-for-air-10/
Re: [flexcoders] Re: Weborb
One cool thing about WebORB vs AMFPHP is that is how the services-config is handeled. I belevie that if an app is built with AMPFP, your tied to that implementation, whereas WebORB s deployment is more modular. My 2c... I use WebORB with PHP. Alan
Re: [flexcoders] Re: Variable SampleDataEvent is not defined.
make sure you have the latest version of flash player 10... this was an issue with early releases of fp10 - Alan On Wed, Mar 25, 2009 at 11:30 AM, valdhor valdhorli...@embarqmail.comwrote: I can't imagine that would be the problem - SampleDataEvent is in SDK 3.0, 3.1, 3.2 and 3.3 (At least, according to the manuals for each). --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, flexcoder99 haritha.moos...@... wrote: Check the Flex SDK used. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, valdhor valdhorlists@ wrote: Maybe clean the project? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Aaron Hardy aaronius9er@ wrote: Hey everyone. A couple months ago I worked on an AIR project where we made use of the SampleDataEvent class to generate dynamic audio. Today I came back to the project and ran it and am getting the following run-time error: ReferenceError: Error #1065: Variable SampleDataEvent is not defined. It is thrown in the first instance where we are referencing the SampleDataEvent class: addEventListener(SampleDataEvent.SAMPLE_DATA, sampleDataRequestHandler); I get no compile-time error. I have an import statement of import flash.events.SampleDataEvent; The project does reference other libraries and I have made sure they are all using the same SDK (I've tried both 3.2 and 3.3), however they do have SWCs in them that may have been built using an older SDK. My co-worker is able to run the project without any error being thrown and I have actually copied the SDKs from his machine to my machine and it hasn't made any difference. I HAVE re-installed Flex Builder since the last time the project worked for me. I've tried everything I can think of to no avail. Does anyone have any ideas of what might be going on? Thanks! Aaron -- Alan Queen 404-964-7618
Re: [flexcoders] ADG to .csv - Not finding any solutions out there
When I did this, I just looped though the dataprovider, concatenating values to a string, then save it as a file with a .csv extension. No problem with that. It doesn¹t even matter what kind of component you are using. - you could do it from a combobox. Alan I've seen several solutions for doing this with a standard DataGrid,
Re: [flexcoders] How much actionscript 3 do you need to know in order to develop in Flex 3
As another total newbie to Flex and AS, Flex is a great way to learn AS. You can totally build a Flex app using nothing but MXML, it'll be limited, but you can do it. Once you get into and start following the tutorials out there you'll pick up the AS pretty quickly. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] AMFPHP Question
Last time I made a data driven app with AMFPHP. I used PHP and MySQL. I did all of what your describing within PHP and MySQL. Everytime I querried the database, I always sent back the same kind of object to Flex. The object always had two properties, a success¹ property and a message¹ property. IF the query succeeded, then my object that I created in PHP would be: success¹ = true; message¹ = query executed successfully. Or if it failed it would be. success¹ = false; message¹ = [enter your custom error message here. I.e. record already exists¹] I suggest making your remote object responses in a format that you repeat, like this: mx:RemoteObject id=myRemoteObject mx: method name =insertRecord result =¹_onInsertRecordResponse(event)/ mx:RemoteObject/ private function _onInsertRecordResponse (evt:ResultEvent) : void { if(evt.result.success) // remember I¹m returning an object with a success¹ and a message¹ { Alert.show(event.result.message) // output query execurted seccessfully¹ } Else if (!evt.result.success) { Alert.show(event.result.message) // outputs record already exists¹ // my custom error message I made in PHP } } This way, every result handler, from every remote object is in my app is structured the same way. Alan
Re: [flexcoders] Re: flex + mysql unicode support
Yes. Guy and Gordon are correct - going with system default is probably the safest. Using custom fonts with international apps will require further testing. There is Arial Unicode which is a Microsoft font, and is included with the default installation of Windows. OS X is different, somehow, but does include international fonts by default as well. I don't know about Linux systems. Alan We have an app with multilingual support and we just use the default system font. Don't some device fonts (e.g., Arial on Windows?) include glyphs for large portions of Unicode?
Re: [flexcoders] flex + mysql unicode support
If your app is set to use a unicode font, then you will have n0 problem. Alan I am displaying data from mySql database. This data some unicode text which I want to display in a datagrid in uncide. Is this possble?
Re: [flexcoders] Re: flex + mysql unicode support
Can you please provide information on this? Google embedding fonts with Flex. But keep in mind that the entire Unicode library is something like 30 megs. Also Google about localizing flex apps. Alan
Re: [flexcoders] Login in an XML File
I want to store my website login and password in an xml file. This xml file will be on the server. Where to put this xml file to be invisible for the exterior of the website ? In short... Anything accessed and consumed by the client ( a web browser ) will be exposed to the client. When a user accesses a XML file, she is downloading the file and parsing it. This is whey a server side language, such as PHP, is used. With PHP, a request is sent to the server and a response is sent back. While the request and response can be monitored, the script it self is not exposed. Alan
Re: [flexcoders] Flex 3 Tree - Moving Nodes
Ok.. I'm going to confess.. Being a total newbie... I'm not sure if I am implementing this AS file correctly. I added the file to a folder under my project root and then imported it as such import TreeEx.TreeEx; Now, since it's imported and overriding several protected methods, it should just apply that to my already included mx:tree component, correct? Do I need to do anything to the tree? include or not include certain attributes. Here is my Tree mx:Tree id=myTree x=13 y=36 height=546 width=615 borderStyle=inset dragEnabled=true dropEnabled=true dragDrop=handleDragDrop(event); dragMoveEnabled=true click=showMenu(event); labelField=@Title iconFunction=loadIconClass showRoot=true dataProvider={treeData.page}/ Thank you for your help on this guys. I'm really trying to learn it, but I only get to work on it occasionally at work... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
[flexcoders] HTTPService POST method weirdness
I make a request to a service using URLLoader and everything works fine. I try the same thing with HTTPService and I get back an error telling me that only POST method is allowed. (My server-side friend tells me that Apache saw it as a GET.) In both cases I am setting the method to POST and sending the exact same data in the request. The service url is an https url. Can that have anything to do with this? -A
Re: [flexcoders] Flex 3 Tree - Moving Nodes
BINGO! Thank you everyone! =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
[flexcoders] Flex 3 Tree - Moving Nodes
Hey All, I am trying to build a Flex based tree for our content management system here at work. It needs to represent all of the pages on a given site. I already have a good working prototype using XML as the dataprovider and i have a good chunk of the drag and drop functions working well. The problem I am having is around the dragdrop handler. I need to be able to move any page to anywhere on the tree, including below (as a child of) any other page in addition to being able to reorder pages on the same level (same parent node) I can get it to do one or the other but not both at the same time. As far as I can tell, Flex doesn't recognize the difference between a drop on a node and a drop between two nodes. As I think this would solve my problem. Has anyone tackled this problem before? I basically need a simple way for my very non-technical users to drag pages for one of two operations, re-ordering within a section or moving a page to another section. This ExtJS example is almost exactly what I want my Flex tree to do http://www.extjs.com/deploy/dev/examples/tree/reorder.html Except I need to treat every item on the tree as a folder. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Flex 3 Tree - Moving Nodes
Yeah, I tried something similar, but since all of my nodes are essentially the same (all pages) and can all be a parent or a child (leaf or branch as it were) but the problem I'm running into is how do I discriminate between intent, in other words how do I know if the user wanted to move the page between two pages on the same level (re-ordering) or if they wanted to move the page to be the child of the page is was dropped onto. That ExtJS example seems to be doing what I want (albeit, you cant drag a file to another file, only folders) I have to believe Flex can do this as well, I really don't want to do it in Ext... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Flex 3 Tree - Moving Nodes
Good to know Alex, I'm still a little (ok, a lot) green can you point me at a good tutorial / example to start from? =] On Mon, Mar 9, 2009 at 2:48 PM, Alex Harui aha...@adobe.com wrote: There might be a way to use a custom ITreeDataDescriptor to turn every child into a “branch”. Open but empty folders have a middle drop zone for dropping “into”. Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Alan Rother *Sent:* Monday, March 09, 2009 12:34 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex 3 Tree - Moving Nodes Hey All, I am trying to build a Flex based tree for our content management system here at work. It needs to represent all of the pages on a given site. I already have a good working prototype using XML as the dataprovider and i have a good chunk of the drag and drop functions working well. The problem I am having is around the dragdrop handler. I need to be able to move any page to anywhere on the tree, including below (as a child of) any other page in addition to being able to reorder pages on the same level (same parent node) I can get it to do one or the other but not both at the same time. As far as I can tell, Flex doesn't recognize the difference between a drop on a node and a drop between two nodes. As I think this would solve my problem. Has anyone tackled this problem before? I basically need a simple way for my very non-technical users to drag pages for one of two operations, re-ordering within a section or moving a page to another section. This ExtJS example is almost exactly what I want my Flex tree to do http://www.extjs.com/deploy/dev/examples/tree/reorder.html Except I need to treat every item on the tree as a folder. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Flex 3 Tree - Moving Nodes
Thanks Jim, Thats not exactly what I was looking for, but it's a great example of how to use some of the Tree components, which I've been struggling with... =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] try, catch, finally ...
This sounds like the try-catch is not being used as ( how I see ) intended. As Alex mentioned, they are costly so unless you need it, skip it. I suggest just adding an IOErrorEvent listener/handler to the caller, and if/when the call is complete then remove the listener(s) for GC. In the try, catch¹ scenario, your code is always checking¹ for the error. Alan Try-Catch blocks are an absolute necessity as without them, you are putting the operation of your software into the hands of user input errors, http errors, unintended consequences as well as the myriad of things that exist outside the ³Happy Path².
Re: [flexcoders] Re: Help the Flex Team by taking our survey!
It all worked great for me. Alan
Re: [flexcoders] Generate PDF files
http://alivepdf.bytearray.org/ Hello, How to generates PDF Files from a flex application ? Thank you, Christophe
Re: [flexcoders] Who have YOU used for outsourcing mid to large Flex/CF projects?
Three words John C Bland http://www.johncblandii.com/ He's a friggin Flash / Flex / CF / .net genius. Also a former Flash Platform User Group Manager here in Phoenix and now an Adobe Community Expert. My company has used him many times on big important projects. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] how to use a preloader?
http://www.adobe.com/devnet/flash/articles/preloader.html http://www.adobe.com/devnet/actionscript/articles/lightweight_as3_print.html
Re: [flexcoders] Unicode Normalization in flex
I don¹t know anything about the technologies you were referring to, but I created a Flex app on OSX and I had 15 different languages displayed. German being one of them. I had no problems. I just set the app to use Arial MS Unicode. Alan Because of this issue my i was not able to display the German characters properly on my flex application.S
Re: [flexcoders] HTML editor for Flex Builder 3?
Download Eclipse PDT and install Flex Builder as a Plug in. You will have code hinting and debugging for HTML, XML, PHP as well as other nifty stuff. http://www.eclipse.org/pdt/release-notes/pdt2_0.php Alan
Re: [flexcoders] Sign function
Do you mean 'sine'? Math.sin(180); Alan need to find the sign of a number is there a sign function or method available such as; var mySign:number = sign(-123)
Re: [flexcoders] Upload images
http://weblog.cahlan.com/2006/12/flex-upload-component.html Hello, I want to Upload images from the user computer into my flex application. Which instruction to use to upload images ? Thank you, Christophe,
Re: [flexcoders] Login / Password Form
No, you can use a PHP file, for example, to hold and check against. Hello, I am searching a code source exemple for a classical login / password form in a flex application. Did I need absolutely a database to store Passwords ? Thank you, Christophe,
Re: [flexcoders] How to instantiate a weak reference
I don't understand. Event pointers can be instanciated as weak. Do you mean an object with a weak reference to another? e.g var foo:Object = 'First'; var bar:Object = foo; // destroy object foo // foo still exists because of object bar Alan However, I cant seem to find any way to instantiate a weak reference, how can I do this in ActionScript?
Re: [flexcoders] *** Security Sandbox Violation *** ?
I'm confused, if the app runs fine, then what is the problem? Your getting a sandbox error because your trying to grab data from somewhere besides the host application's home. Alan I get the error message when I debug a application.the application works fine, but I get the message in debug console.
Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)
I¹d rather know how to add the feature it myself. https://bugs.adobe.com/jira/browse/FB-16764 Alan
Re: [flexcoders] Go and Vote for beter Flex builder! (Cache Buster)
Anyone have any suggestions of good places to learn about using ANT, particularly in context of Flex's compiler? Alan I'm not sure if it is necessary to change FlexBuilder to do this. Have you tried a ant script running as a builder before your flex build.
Re: [flexcoders] Announcing a Flex Community Feedback Forum
My impression is that this meeting will be about how the open source Flex SDK 'works'. If anyone here is interested in contributing to the SDK, or has input on making the open source SDK more successful, this is the place to go. The meeting is open, free and it will cool to hear people's thought on improving Flex. Alan On Jan 23, 2009, at 3:23 AM, Gregor Kiddie wrote: But is there any guidance on what questions are off limits, area’s to focus on, etc, as I think a lot of people will come wanting to talk about AIR / Flash Player rather than the SDK strictly.
Re: [flexcoders] Debugger hosed
Don't forget... RIght Click on windowed file Debug As Debug Configurations. Check your settings there as well. On Jan 23, 2009, at 12:56 AM, Alex Harui wrote: My FlexBuilder quit debugging today. For a bunch of descriptions and ideas on this, please see:
Re: [flexcoders] Stupid Question - Flex width and height
It would seem to me that Application.application.stage.width only exists when using the Flex framework. Without Flex your just dealing with the 'default' Flash display list. Alan On Jan 12, 2009, at 3:48 PM, Wally Kolcz wrote: Application.application.stage.width
Re: [flexcoders] Re: Flash Remoting Options
Resonably - there are no options regarding AMFPHP. PHP 4 is really old. Your host should offer an upgrade to at least PHP 5. Alan On Jan 10, 2009, at 11:44 PM, Amy wrote: Any options for earlier php versions?
Re: [flexcoders] Flash Remoting Options
What version PHP does your shared hosting have? I can't run AMFPHP on my shared hosting 'cause they use PHP version 5.2.2. adn AMFPHP default needs 5.2.3. Alan On Jan 10, 2009, at 2:43 PM, Amy wrote: but when I uploaded it to my web host, the Service Browser for AMFPHP wouldn't work.
Re: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex
Try FDT as well, or at least the trial. Im a big fan and many heavyweight flash devs out there use FDT for Flash and Flex work - it's like having Flash CS4 and Flex Builder, but better than both 'cause Flash's code IDE is only a setup up from a text editor and Flex Builder is not to my standards for and IDE. Try the FDT plugin for eclipse. Also check out Lee's 'Pimp my Eclipse' parts 1, 2 and 3 http://theflashblog.com/?p=483 Alan
Re: [flexcoders] Generating Random key
What makes me cringe is the anonymous function there, the tertiary expressions, and inline typing and instantiating. Variables get moved to the top of the function anyway - so why give your self the headache of creating them inline. 4-5 extra lines wont kill ya will it? On Jan 5, 2009, at 9:48 PM, Josh McDonald wrote: Stupid ECMAScript... It'd be much more readable in Ruby/Lisp/Ioke/ etc :)
Re: [flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?
Thanks, I should be more clear. The dataProvider would be like a Tree's, so for example an array where some of the elements are leaves (- buttons in the bar) and some are arrays (- dropdown lists in the bar) (no deeper arrays, and no folder names). I want the user to be able to choose a single leaf item from the set, either by clicking one of the buttons or by choosing an item in one of the dropdown lists. -A On Tue, Dec 30, 2008 at 2:31 AM, Manish Jethani manish.jeth...@gmail.comwrote: On Tue, Dec 30, 2008 at 5:46 AM, Alan Shaw noden...@gmail.comnodename%40gmail.com wrote: Requesting advice on how to get started making this custom component. A combo box is not exactly a button, so my first question is, how is this ToggleButtonBar with ComboBox going to behave exactly? Manish
Re: [flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?
Thanks! -A On Fri, Jan 2, 2009 at 1:56 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Fri, Jan 2, 2009 at 11:06 PM, Alan Shaw noden...@gmail.comnodename%40gmail.com wrote: The dataProvider would be like a Tree's, so for example an array where some of the elements are leaves (- buttons in the bar) and some are arrays (- dropdown lists in the bar) (no deeper arrays, and no folder names). I want the user to be able to choose a single leaf item from the set, either by clicking one of the buttons or by choosing an item in one of the dropdown lists. All I can say is that you'll have to extend the NavBar class and implement something like a ToggleButtonBar that uses ComboBox as a nav item in a sophisticated way. It's doable. Essentially what you're looking for is a cross between a MenuBar and a ToggleButtonBar, so I would draw inspiration from those two components. Manish -- http://manishjethani.com/
[flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?
Requesting advice on how to get started making this custom component. Thanks... -A
[flexcoders] - Tree Component Styling issue
Hey all, I am building a sitemap tool in Flex 3. I want to be able to control all of the icons at runtime based on the data provided back to Flex from ColdFusion (XML). I have managed to get the leaf nodes icons controlled by the data provider, but I cannot find a way to affect the folder icons at run time only globally. By that I mean, I can set each and every leaf to any icon I choose, but I can only get my folders to have one global look. I need to be able to define what icon to use for each folder, as in this case each folder represents a parent page and will have a status associated with it (active, locked, publishing, etc...) Any one found a way to handle it ? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] - Tree Component Styling issue
NEVERMIND... Always happens... As soon as I send an email to the list, I find the answer... http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_8.html private function loadIconClass(item:Object):Class { var type:String = item.icon; if (type == Whatever) { return pdfIcon; } return docIcon; } =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] Re: Write file to server
Do something like this server side: ?php header('Content-type: text/csv'); // $csvData = ($_POST['csvdata']) ? $_POST['csvdata'] : $_GET['csvdata']; $csvData = $_POST['tsvString']; echo $csvData; ? csvdata and tsvString are vars ( strings) that I set in my flashvars Alan On Dec 22, 2008, at 8:56 AM, valdhor wrote: You need to send your data to some kind of server side code (Eg. PHP). From your code, you are sending data to a text file. A text file has no idea what to do with the data you are sending it (Actually, the text file doesn't even see the data - text files are very unintelligent as files go) so does nothing. Your code does exactly what you told it to. It made the request to load the file. Once the request is made the complete event fires and you get your message.
Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...
It's all Flash, why is there any notion of Flash vs. Flex. It's like saying 'Should we use PHP or Zend?'. Rather it should be 'Do we need Flex in our Flash app?' Unless you Flex as newer? Flex came out 5 years ago. ActionScript 3 was publicly released in June 2006. Although Flex is now AS3, still the notion that Flex is 'newer' doesn't make any sense to me. It's all Flash and soon Flex will have a new name so. On Dec 18, 2008, at 3:27 PM, devenhariyani wrote: This restricts us to Flash or Flex. Flex being the newer technology it made sense to try flex, especially for our plans to have more interactive widgets in the future.
Re: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...
I wouldn't call this 'simple' but I do think your doubts are well founded. Looking at this example, I don't see any real use of Flex. You have what looks like some animated state changes and a few navigation components - skipping Flex in this case might be easier. I do small and large scale Flash dev, sometimes widgets, sometimes database crunching translation tools. I only use Flex when I am manipulating lots of data records. BTW gang, don't forget, t's all ActionScript ;) Alan On Dec 16, 2008, at 9:36 PM, devenhariyani wrote: Thanks for the advice so far. If I follow the advice not to use the Application tag, *and* if I also remove all the MXML and re-write the app to use only ActionScript do you think I can get the size down to under 200KB? I think Flex is a great technology, but if its not the right tool for the job I will sadly have to go to Flash.
[flexcoders] Compiler Argument Resource
Found this and it's great, anyone have any comments on it http://kunjanos.wordpress.com/2008/10/17/flex-3-compiler-arguments/ Alan
Re: [flexcoders] Re: AMFPHP and Value Objects
AMFPHP and Zend_Amf are two different code bases. http://wadearnold.com/blog/?p=112 On Nov 11, 2008, at 9:35 AM, valdhor wrote: Are you using AMFPHP 1.9 or the new version included with Zend Framework 1.7?
[flexcoders] Hslider skin
Hey All, I'm a total newb at making things look right in flex. I've gotten ok at making them work. Now I've been tasked with re-inventing the wheel at work and building a video player to be used in one of our products... Anyhow, the designers have insisted I use a volume control that looks like a speaker with vertical lines growing progressively larger as they get further away from the speaker, then, based on the volume percentage in action more or less them the lines would be visible. Does anyone have a good example of this or how to build this? I assume I will need to extend the Hslider to make it work... Sorry, I just don't know where to start =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Re: [flexcoders] AMFPHP and Value Objects
Is it creating a problem for you? It shouldn't. From what I remember you don't even really need VOs with AMFPHP. Are you getting those warning that say something like unable to bind to property 'X '. Unfortunately, no one really knows what's going on with AMFPHP :) Wade said he's actually rewriting the enter code base for AMFPHP 2. IF you are getting the warnings, or if data is not binding properly, let us know. Alan On Nov 10, 2008, at 5:41 PM, Amy wrote: Hi, all; I have some VO's that I've created to work with AMFPHP. When I call the service, I'm getting an array of untyped objects. Is there a rule against either of these things with AMFPHP?
Re: [flexcoders] AMFPHP and Value Objects
On my last AMFPHP project my PHP and Flex VOs were: package com.mydomain { [Bindable] [RemoteClass(alias=UserVO)] public class UserVO { public var id :int; public var username :String; public var password :String; public var last_login :String; public var user_id :int; public var usertype_id :int; public var project_id :int; public function UserVO() { } } } PHP /// ?php class UserVO { var $id; var $username; var $password; var $last_login; var $user_id; var $usertype_id; var $project_id; // explicit actionscript package var $_explicitType = UserVO; } ? On Nov 10, 2008, at 6:07 PM, Fotis Chatzinikos wrote: Might be completly irrelevant (have not used AMFPHP) but are you using Remote class Metas?
Re: [flexcoders] Do you use a Mac?
I use a mac, but I've been using Apple products since 1979 OSX is Unix based, and a lot of devs like the Unix- ish features. My experience with designing and developing on a mac is that it's more straight forward to use. If you love to inker with your OS and hardware, go Microsoft, for a more straight forward enviroment go OSX. Apple has an very large market share of US laptops - and gaining fast. Alan On Oct 23, 2008, at 1:48 PM, Matthew Shirey wrote: Do most Flex developers work on Mac?
Re: [flexcoders] Flash Player 10 debug?
I haven't add any problems. Alan On Oct 15, 2008, at 5:31 PM, Peter Witham wrote: s it OK to install the debug version of Flash Player 10 and still work with Flex 3 and Flash CS3,
[flexcoders] BSS is Looking someone
Hey y'all. The company I work for, Big Spaceship, is looking for someone who is well versed in code that is NOT Flash - PHP, AJAX, JavaScript. If anyone would like to apply, send me a resume or link to a resume and I will pass it on to the senior coder. Alan
Re: [flexcoders] AMFPHP tutorial
http://www.friendsofed.com/book.html?isbn=9781430209935 On Oct 9, 2008, at 4:06 PM, hworke wrote: where can I find some good AMHPHP tutorials
Re: [flexcoders] flex and amfphp
http://www.amazon.com/Essential-Guide-Source-Flash-Development/dp/1430209933 On Oct 7, 2008, at 7:46 PM, karthikeyan.sivanantham wrote: Can someone suggest a good tutorial on flex and amfphp. I
Re: [flexcoders] Learning Flex and AMFPHP
I ironically, I have found WebOrb's site http://www.themidnightcoders.com/weborb/php/ to be very helpful for any Flex remoting info - regardless if your using amfphp or not. In their tutorials, they have an example of a remote object , constructed in action script, connecting to a php service. Alan On Sep 25, 2008, at 12:52 AM, timgerr wrote: Hello all, hope you all are doing good. I have a question on how to build the Flex RemoteObject method in action script. I am having troubles doing this. Here is my RemoteObject:
Re: [flexcoders] Amfphp version update? Dataservices and rtmp
ZendAMF will probably displace AMFPHP. http://theflashblog.com/?p=441 Especially since Wade ( current 'parent' of AMFPHP ) is spending his time on ZendAMF instead. ZendAMF is also officially supported by Adobe, AMFPHP is not, and never will be. Alan On Sep 25, 2008, at 7:48 AM, Sajid Hussain wrote: Guys . I m realy waiting about amfphp's new version to with dataservice suuport and maybe rtmp too I heard about amfphp2 but never see its link to have it(download). Sajid
Re: [flexcoders] Not to harp on about it....
What does PV3D have to do with Flex? PV3D is just am API of interactive geometry. Flex is a framework of components to display and mange data - an RIA. Right...? Alan On Sep 25, 2008, at 11:28 AM, Samuel Colak wrote: I don't think papervision has anything on it - And its all written in Flex :)
Re: [flexcoders] Amfphp version update? Dataservices and rtmp
No need to migrate projects, if it uses AMFPHP - keep using it. AMFPHP will probably still be used by those who don't want to mess with Eclipse. ZendAMF ( as it sounds now ) is going to be a plug-in for Eclipse and Flex Builder. On Sep 25, 2008, at 12:12 PM, Sajid Hussain wrote: Wow , so it mean amfphp projects have to see migration possibilities with zendamf
Re: [flexcoders] Flex, BlazeDS, AMFPHP, LiveCycle Data Services
On Sep 18, 2008, at 2:43 AM, timgerr wrote: 2. Is AMFPHP a good tool to communicate to my backed? How hard is it to learn? What are the benefits of using it? I used AMFPHP for a project and was nice. It's easy to install, the service browser is not as good as WebOrb, but good enough. WebOrb is a good alternative as well. Also try using a PHP service application capture like Charles. There is nothing to 'learn'. Drag and drop the files onto your server, and whenever you create a Remote Object component in Flex, just point the destination to the gateway.php file. Other notes: you'll need to use a services-config.xml file crossdomain.xml There's documentation on all this online. 3. What is better for future Flex/Air development? I am creating a web app that a user has to authenticate to, session information has to be kept and that sort of stuff They are pretty much the same. One lives in a browse and one lives on you local computer. Alan
Re: [flexcoders] Inspection and debug tool for Flex
Looks cool, thanks for sharing. Alan On Sep 17, 2008, at 4:22 AM, Kohinoor Revel wrote: There is a new Flex developer toy on the market, it is called KapInspect
Re: [flexcoders] Hi..
http://www.totaltraining.com/?c=linksharen=affiliate http://www.lynda.com/ On Sep 8, 2008, at 2:51 AM, Ajay dalal wrote: Hi, I am a new starter in Flex. I know the basics but could anybody give me any tutorial to build a full featured RIA using Flex in very quick time.
Re: [flexcoders] SEO and Flash content
I had a meeting with ( forgot his name ) from Adobe and he gave me the scoop. You will not be able to determine ( legally ) if and when your .swf is being indexed. You can't even get a report on how successful / unsuccessful the spider was in crawling your .swf There are no 'best practices' just don't try to 'cheat'. Apparently, Adobe and the other search providers have developed methods ( both separately and together ) to 'punish' those who spam their content. My opinion of the whole thing It's a Joke, don't waste your time. Remember that community effort to get ( i think it was ) Flexalicious to pop up in google. Well it failed nicely. Alan On Sep 8, 2008, at 8:54 PM, arieljake wrote: I was wondering what it takes for the server to realize that a request is coming from Google's indexing machines so that text can be output instead of a Flex app. Also, do we need to be careful doing this to not get in trouble with Google? Are their best practices to follow when we output the text?
[flexcoders] File uploader / downloader suggestions
Hey y'all, I'm hoping to get some opinions from you all. I would like to create an upload / download app for fun / practice. Basicaly, people log in, get a directory listing of files on the server and can upload and download to the directories. I'm gonna use a MySQL database to keep track of the files, who uploaded what file and when. Any other suggestions of what I can / should track. I've just started playing with Coldfusion, is that really applicable? I've been using AMFPHP and WebOrb and want to try something else. What is the best way to visually show a servers directory listing. Any ideas on how I would 'scan' a directory and show that in a component. Now that I think of, perhaps it wold be best not to think of it as a simple FTP thing, but rather an interface where options are presented to 'tag' a file with keywords, and then one can search for those keywords and then choose file to dl that match the key words. Anyone have any ideas / tfeatures they think would be cool to have?
Re: [flexcoders] Who is Rxxxx Txxxxxx?
I think singling out someone like this is inappropriate. Especially since on the web our names pop up enough on the web. On Sep 2, 2008, at 10:29 AM, nathanpdaniel wrote: Since he seems to be in EVERY thread... and why should we (not) listen to what he has to say? Just curious...
[flexcoders] FlexBuilder FDT I don' git it....
So all the huff n puff goin' on, I've been playing with FDT and also googled about it - and found Jesse's blog post http://flashartofwar.com/2008/04/24/flexbuilder-3-vs-fdt-3/ So far all I can gather is that FDT is just a different IDE for Flex. Does it just have more bells and whistles? Jesse mentioned in his post about templates and code hinting... That's the LAST thing I want. Hell, I try to code as much as possible in Textmate ( ill post about this ). I want to write my own code - not big brother writing it for me. Plus, for me, that's the best way to learn an API - by having to know the components and their respective utilization. I mean right...? Alan
Re: [flexcoders] Adobe has no love for Mac users?
Thank you Howard That is all I needed. I don't mind so much if a feature is not implemented, I would; however, like some more explanation as to why features are omitted. Imagine my disbeleif when I open up the wizard and only see this: http://www.alanklement.com/blog_img/doh.jpg How about instead, something to the effect of Coldfusion 8 does not yet support this feature for OSX. You can visit link to adobe labs to learn more on setting up a Coldfusion project for Flex C'mon this is a no brainer here. Hell, once I figure out how to do this myself, I write my own blog post on how to do it. Take that muahahah ( evil laugher ). Alan On Aug 31, 2008, at 8:13 AM, Howard Fore wrote: I've been told by a source at Adobe that the wizard problem has to do with the Extensions for ColdFusion that are an optional install with FB, that the root of the problem lies within ColdFusion, and that the solution is targeted for the next release of ColdFusion.
Re: [flexcoders] Re: flex interface with coldfusion
http://www.adobe.com/devnet/coldfusion/articles/adobetv_cfpwrdflex.html On Aug 31, 2008, at 8:17 AM, Howard Fore wrote: What is it that the wizard does for you anyway? I've setup several CF/Flex apps on my Powerbook with no problems.
Re: [flexcoders] Problems installing the Flex Component Kit for Flash CS3
I donno off the top of my head. Perhaps this helps. I've done it with PS and it wasn't tough. http://www.adobe.com/devnet/flex/articles/skins_styles.html Alan On Aug 31, 2008, at 10:58 AM, florian.salihovic wrote: But when i start flash, wether the templates apear nor the 'Convert Symbol to Flex Component' and 'Convert Symbol to Flex Container' were added. I'm pretty clueless at the moment. Any hints, pointers?
Re: [flexcoders] Question about Best Practices for Applications with many views using Cairngorm
I have been exploring using modules. I have never made an app big enough to warrant such nested view stacks, but I don't see why one would want to change a container in a view stack. Do you mean changing during development or at runtime? So far I create various views and then create my own components that may host other 'views'. I haven't tried to make nested view stacks - mostly cause that sounds scary. On Aug 31, 2008, at 2:19 PM, j301c wrote: If this is wrong please correct me, because I feel like there must be a better way. If anyone knows a better way to deal with many views (whether using cairngorm or some other solution) please let me know what that is. Thanks.
Re: [flexcoders] Flex scheduling framework
I also have been curious about the framework - my impression is that it has been 'lead out to pasture' . Perhaps it's become obsolete or there isn't any demand for it. No doubt the Flex team is over-burdened ( what dev team isn't ) and working on more pressing issues. Maybe Adobe's management can be persuaded to allow the team to put together some basic 'getting started' articles and document the API. I think that's the best we can hope for. Alan On Aug 30, 2008, at 1:38 AM, hworke wrote: I guess Adobe Consulting team should guide us with some good examples, articles and with good documentations so that this projects do not like a useless piece of code. I personally do like this a lot and believe that it has all the potential to become one of the most used compone
Re: [flexcoders] Re: flex interface with coldfusion
cough As long as you don't have a mac ( reference to Coldfusion Application wizard not being supported on mac ) sigh Alan On Aug 30, 2008, at 9:19 PM, rachelmaxim wrote: There are many tutorials on Adobe's website that show the basics of using Flex and ColdFusion together.
[flexcoders] Adobe has no love for Mac users?
So.. I'm all excited about integrating Flex and Coldfusion, only to find out there are features that don't exist on the mac. So far I've found Flex / Coldfusion Project set up is not supprted Coldfusion query builder For the love of God why? Alan
Re: [flexcoders] Re: dealing with apostrophes in text saved to Sqlite from an AIR app
I JUST had this problem. I fixed it by URL encoding my data. So when I send it: encode(yourstring) Then whenever it comes back from the Database: decode( your string ) Alan On Aug 23, 2008, at 5:42 PM, Andrew Wetmore wrote: I understand that. But the recommended method is not working. I am trying to do a find and replace of all apostrophes: var myPattern:RegExp = new RegExp('', g); var titleVar:String = noteTitleFLD.text; titleVar = titleVar.replace(myPattern, '); but it is not working Jeez, it's hard to read all those ' thingies... -- Andrew Wetmore User Experience Director Open Learning Exchange - www.ole.org 978-319-7324
Re: [flexcoders] [video included] Datagrid recycle issue? How can I 'force' it to re-render
Thanks for taking the time to respond, I have been debugging it, but any other debugging suggestions would be welcomed. While debugging, I put a breakpoint at my data provider variable, and the break point is tripped whenever new data is loaded, the datagrid is instaciated etc...; however, the breakpoint is not tripped when that phenomenon of the datagrid 'refreshing' as in the video. So it's not accessing the data provider. Do you mind suggesingt some other events / variables I should watch while debugging. How can I see what events are being dispatched when I am interacting with other UI objects - can someone suggest a good in depth reference I can read up on debugging with Eclipse. Thanks On Aug 22, 2008, at 1:24 PM, Alex Harui wrote: You will have to debug your situation. There’s no way to tell from a video what events are firing. If the dataProvider or any of a number of properties change, the DG will update all the rows. The real question is whether you’ve handled recycling correctly or if there is some other problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alan Sent: Friday, August 22, 2008 9:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] [video included] Datagrid recycle issue? How can I 'force' it to re-render Link to video: http://www.alanklement.com/download/datagrid.mov I understand that the datagrid is recycling cells, makes sense. I've checked out Alex's blog, but can't find a solution to this situation. Oddly enough, you can see that the datagrid refreshes correctly when I interact with display objects other than the grid itself. What events are being fired by the other display objects that are causing the grid to 'refresh'. Thanks for your time: Alan
[flexcoders] How long to build a Flex app....
I know this is a pretty broad question... I'm new to Flex, and having fun with it, but I'd like to get an idea how long these things take to make. Instead of me trying to pitch a hypothetical situation, maybe anyone interested in answering could very breifly describe an app they made and how long it took and maybe even some juicy gossip about crazy clients. Thanks, Alan
Re: [flexcoders] Is it possible to listen to *all* events without hacking the SDK?
Add an event listener to the system manager. Every event tat bubbles will hit the system manager. On Jul 16, 2008, at 11:11 PM, Josh McDonald wrote: Hey guys, Is it possible to listen to all events that bubble to / are dispatched from a certain component? Don't worry, I don't actually plan on using this in any actual code! I'm just interested in doing some extremely verbose logging to gather information for a blog post I have in mind ;-) -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Flash/Flex/ActionScript/Video ClearSpring?
On Jul 9, 2008, at 7:18 AM, Mike Schinkel wrote: So my questions are: In a nutshell, what's the difference between Flash or Flex or ActionScript? (After much googling I still can't find a definitive answer.) ActionScript is an ECMA standard Programming language. Until about 3 years ago it was a hackish language similar to Javascript, referred to as Actionscript 2. Adobe took it over, and rewrote the VM. It now is adn Object Orientated - event driven language, closer in behaviour and structure to Java, it is reffered to as Actionscript 3 . Actionscript is the prgramming language that the technology Flash is build on. There is a program that is often referred to as Flash whose current version is Flash CS3 (yes it is confusiing). The word Flash in general usage, can refer to a technology and an IDE. Flex is a framework of prebuilt Flash (the technology) components. When using Flex, you use a language called MXML (which in turn refers to components built with Actionscript), which is just an XML language, whose tags refer to Actionscript(Flash the technology) components. Flash (the IDE whose current version is CS3) is more suited for designers who draw and arrange animations. There is an option to write classes and code an application, but it haslimited supporting features like code hinting, variable searching etc. Flex (the framework) is most suited to make RIAs, not websites. Generally, people use Flex Builder (an IDE) or download the Flex SDK and use it as a plug-in for Eclipse. If more than one of the above, what do I use each for? Which Adobe Software would I need to buy for this? You don't need to buy anything. Websites and RIAs can be built with SDKs that can be downloaded from Adobe http://opensource.adobe.com/wiki/display/site/Home You can download a free full working version and it will last 60 days. You can buy Flex Builder for 300 dollars, and you don't have to go through any possible integration problems with using it with Eclipse. If you are new to Flash (the technology) and need to build an RIA, Flex Builder is the way to go. To build a Flash website that does not use the Flex Framework ( i.e with no prebuilt components) You download the SDK from adobe and can use a simple text editor to write your code, then you need to use a compiler (which can be dl for free) to compile the program. Are there free or open-source versions of software that would give me what I need? (I'm not making that much on the project so I'd hate to have to drop drop US$1000+ for an Adobe product .) Are there any books you'd highly recommend for what I need? For beginners, Learning Actionscript http://oreilly.com/catalog/9780596527877/ IF you understand programming pretty well already http://oreilly.com/catalog/9780596526948/?CMP=AFC-ak_bookATT=Essential+ActionScript+3.0 For beginning Flex http://www.amazon.com/gp/product/1590599500
Re: [flexcoders] Flash/Flex/ActionScript/Video ClearSpring?
When you say build a Flash website are you talking about one where there is a single HTML file and a single SWF file, or something else? Just curious. Here is an example. Right now one of the projects my company is working on is the website for the new Bond Movie. Me and another developer are working on it. It is inciudes a typical movie showcase (pictures, movie clips, trialers, story background) as well as a multiplayer game. The tools being used for this are an AMFPHP websever, Photoshop, Flash CS3, and TextMate. The designers are making graphics in Photoshop, and animations in Flash CS3. The developers are using Textmate to write the code. Two weeks ago, I split off and started to build an RIA app with Flex Builder. Because the Bond site is going to be deployed in many different languages at the same time, it was decided to go ahead and build an application that would allow us and translators all over the world to translate any of our projects into any language. This could have been done without using Flex, but it will be much faster and easier to do. If you are new to Flash (the technology) and need to build an RIA, Flex Builder is the way to go. Since emailing you I came across FlashDevelop (http://www.flashmagazine.com/reviews/detail/flashdevelop_20/ ). Do you or anyone else have opinions on it as an alternative to FlexBuilder? I've never used it, but have heard good things. Textmate is very popular, but it is mac only. Lastly, can I confirm that to build a simple video player SWF that can retrieve it's .FLV video file name from a REST-based (HTTP GET) web service I would be able to use Flex? I'm 90% sure the answer is yes, but I'm just checking. Yes.
Re: [flexcoders] What is best way to get data from MySQL database?
I' read the same about the speed also, but aparrently the new webORB 3.0 has been made all fancy pants fast. WebORB claims it is 300% faster.but I'm guessing that now it's as fast as AMFPHP. Also the idea that a team of people are on it now. AMFPHP has been at 1.9 for something like a year? WHo knows if the guy who claimed to have taken it over will actually do anything. FOr starting out, I'd go with the one that seems to have a more likely future. Alan On Jul 7, 2008, at 12:20 AM, dnk wrote: Yeah it does look better to the new person. Apparently amfphp is faster from what I have read on the net(but maybe this gap is closing?) for larger data sets. I have found I can get an AMFPHP result with less code (from the tutorials I looked at). But it is all preference. I don't use the code generators, so that is not a large factor for me). d On 6-Jul-08, at 6:57 PM, Alan wrote: Thanks, I've been tinkering around with AMFPHP all yesterday some today. I've checking out WebORB since this afternon. So far I prefer WebORB. Mostly cause I'm new and the documentation is insanely better. Plus the service browser for WebORB is tremendously better, I can manger my MySQL database, generate codeand this is stuff I just got into in the last hour.