[flexcoders] Moving ROs CFCs from Flex - Flash CS3

2008-03-26 Thread qnotemedia
So I'm experimenting with moving my RemoteObject development to Flash CS3 instead of Flex. My main reasoning for this is filesize (300KB min with Flex vs 15KB min with Flash). Here's my problem. I currently use CFCs. With Flex, as long as the swfs are on the same server, I can set my CFCs

[flexcoders] DataGridColumn - vertical styling...

2007-10-22 Thread qnotemedia
How can I set a selction style that runs vertically AND horizontally in a DataGrid? i.e. selecting a cell by default selects the entire row. I want one that selects both the row and the column.

[flexcoders] Re: DataGridColumn - vertical styling...

2007-10-22 Thread qnotemedia
Yikes...project is due today...nothing for Flex2? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: AdvancedDataGrid in Moxie. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Monday

[flexcoders] Effect on VBox with Repeater...

2007-10-18 Thread qnotemedia
Stupid question here probably, but I've been struggling with effects and generally doing visual design in Flex. OK - I have Vbox. Within it is a repeater. The component repeated is just a line of text and an image. I have rollOver and rollOut styles applied that will highlight the text by

[flexcoders] Detect text wrap?

2007-05-03 Thread qnotemedia
I have a collection of vertically placed TextInput and TextArea boxes. I'm using a resize function that manually resizes each of the boxes' heights depending on the amount of text that is in each, so that there's never any extra space, and all of the text is always displayed. Since these are

[flexcoders] Re: How to have a SWF load a different SWF

2007-04-20 Thread qnotemedia
In the case of the swf being loaded is a Flex2 app, you can use the SWFLoader control. Check out: Flex 2 Developer's Guide Building User Interfaces for Flex Applications Using Controls SWFLoader control If the swf is Flash 8, I believe you use the loadMovie function to load swfs. - Chris

[flexcoders] Re: Event Dispatching through more than one component

2007-03-23 Thread qnotemedia
and destruction since you are going to addEventListener on systemManager instead of the actual popups. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Wednesday, March 21, 2007 4:44 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Event Dispatching through more than one component

2007-03-22 Thread qnotemedia
having to watch for their creation and destruction since you are going to addEventListener on systemManager instead of the actual popups. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Wednesday, March 21, 2007

[flexcoders] Re: Event Dispatching through more than one component

2007-03-21 Thread qnotemedia
OK, I understood the other responses, but not this one. Agreed that I tried setting bubbles to true in my customEvent, and then each event instance, and the dispatched event did not pass through embedded windows. But I've never used systemManager, nor do I entirely understand bubbling. Can

[flexcoders] Event Dispatching through more than one component

2007-03-20 Thread qnotemedia
I'm still messing around with custom events. If I have a popup embedded within another popup and want to dispatch an event from the top-most component down to the parent application, do I have to dispatch it to the first popup, and then redispatch the same event to the parent app? Is there

[flexcoders] Simulating clicking the X of a TitleWindow

2007-03-16 Thread qnotemedia
I have a popup TitleWindow where I've added a listener for clicking the X-close button so that I can do something on-close...i.e.: myPopup.addEventListener(CloseEvent.CLOSE,postPopupFunction); My popup has other methods of closing tho - a cancel button and listening for the ESC key. How do I

[flexcoders] Re: Simulating clicking the X of a TitleWindow

2007-03-16 Thread qnotemedia
I had to change it to CloseEvent rather than Event, but yeah, that worked. Thanks.

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-15 Thread qnotemedia
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you saying that myAC[0] was modified so that the sub AC was removed? I'd go find out what actually got changed. Actually no - I was simply reading the subAC, and when checking it a second time, the subAC was not

[flexcoders] Custom Event Handler from Popup?

2007-03-14 Thread qnotemedia
So I'm still trying to dig through all of this OO stuff. Its been tough! I've made a couple of custom events from views. The handling I've learned is usually like this: view:CustomComp somethingReturned=handler(event)/ But I have one that is a popup. The popup is invoked like this:

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-14 Thread qnotemedia
Got it! It appears that selectedItems is dependent on the data being *absolutely identical* to the dataProvider. And while I thought my data was identical, it really wasn't. In the debugger, if you look at a variable, its always: Array (@123456). What I found was that although the data was

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-14 Thread qnotemedia
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: If you want to set the selection based on data, you'll have to loop through all the items, inspect whether each item has the data you want, and select it if so. I actually tried something like that. But

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-14 Thread qnotemedia
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Arrays in Flex and Flash are not watched for changes. After you mutate the array you have to set it again. var tmp:Array = myGrid.selectedItems tmp += item; myGrid.selectedItems = tmp; OK - I've retried specificaly

[flexcoders] Getting selectedItems to properly *select*...

2007-03-08 Thread qnotemedia
I have a very odd problem, related to some other unanswered posts here. An application has a popup window called on click that is using data from a custom event. The popup has a datagrid. The get all data for the grid is coming from a simple data management component, called inside the

[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-08 Thread qnotemedia
To truly express my frustration, I've put together this shot of some code: qnotemedia.com / wontwork.gif ...note that in the above example, only arSecondSelection actually works. The others select nothing.

[flexcoders] Re: ArrayCollection to comma-delimited list?

2007-03-01 Thread qnotemedia
could put a function in a text property. --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Couldn't quite figure this one out. I have a multi-level arraycollection and I need to write it out in flex as two separated lists - i.e. itemA[0]: 1, 2, 3, 4 itemB[1]: 5, 6

[flexcoders] Re: CF/Flex OOP Question - based on Matt Boles' Tutorial

2007-03-01 Thread qnotemedia
from flexGrocer, so its a bit tought to compare. Sorry for the length. - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Hi all, I've developed a number of Flex projects in the past few months, but as I started to make bigger ones, I've run into a lot

[flexcoders] ArrayCollection to comma-delimited list?

2007-02-26 Thread qnotemedia
Couldn't quite figure this one out. I have a multi-level arraycollection and I need to write it out in flex as two separated lists - i.e. itemA[0]: 1, 2, 3, 4 itemB[1]: 5, 6 itemC[2]: 7, 8 I'm currently using two repeaters with mx:Text to properly view the data, but of course, that just ends

[flexcoders] CF/Flex OOP Question - based on Matt Boles' Tutorial

2007-02-24 Thread qnotemedia
Hi all, I've developed a number of Flex projects in the past few months, but as I started to make bigger ones, I've run into a lot of problems. I went back through a hands-on tutorial I had taken that was hosted by Matt Boles at MAX, and I think its time to move up to the advanced table.

[flexcoders] java.lang.Runtime complete message?

2007-02-06 Thread qnotemedia
So I'm developing a simplified Flex2 application that allows a user to upload video, and a serverside conversion is made to flv via ffmpeg. The back-end code is windows-based CFMX7. Basically, after the video is uploaded I'm running a cfc function that takes the filenames and runs it through

[flexcoders] Re: java.lang.Runtime complete message?

2007-02-06 Thread qnotemedia
I'm looking at java's waitFor(). When I use it in a CFC though, I think its just looping forever. Here's what I have so far: cfset var myObject = createObject (java, java.lang.Runtime).getRuntime() cfset startProcess = myObject.exec(someSoftware.exe) cfset checkProcess = myObject.waitFor()

[flexcoders] hostmysite, mySQL5, CF7, WebService, and Flex2 problems...

2007-01-11 Thread qnotemedia
I have two Flex apps using all of the above that perform flawlessly on my localhost, but after moving them to hostmysite.com, they have sporadic issues. Its always an error statement that I have created, in a Flex Alert.show fault return, though I'm not entirely sure if where the actual error

[flexcoders] Re: hostmysite, mySQL5, CF7, WebService, and Flex2 problems...

2007-01-11 Thread qnotemedia
that the problem here is that simple? Thanks, - Chris --- In flexcoders@yahoogroups.com, Patrick Mineault [EMAIL PROTECTED] wrote: You should try using ServiceCapture or Charles debugging proxy to inspect the data being sent over the wire when an error occurs. Patrick qnotemedia a écrit : I

[flexcoders] Re: Filter as you type - two comboboxes?

2006-12-13 Thread qnotemedia
return a single result at the end of the function. --- In flexcoders@yahoogroups.com, qnotemedia qnotemedia@ wrote: Hi all - I have two questions to post today, but will keep them separate. I'm using some filter as you type code from Ben Forta and cflex.net. The following code

[flexcoders] Filter as you type - two comboboxes?

2006-12-11 Thread qnotemedia
Hi all - I have two questions to post today, but will keep them separate. I'm using some filter as you type code from Ben Forta and cflex.net. The following code is basically an InputText search box along with a combobox, and they both are filtering a datagrid's arraycollection. What I want

[flexcoders] Processing Filedata / Filereference with a CFC instead of CFM?

2006-12-11 Thread qnotemedia
I'm using a component from eFlex, called Uploader. Has anyone else run into this? Its really quite brilliant and was a breeze to implement and customize for my own needs: Go here: http://www.everythingflex.com/ and search for Uploader. But, from what I understand, the cfm processing for

[flexcoders] Simple Flex2 Security?

2006-12-07 Thread qnotemedia
I have an application that has two states (View and Edit), and one button toggles between the two states. There are a few components, but none of them are required for the non-logged-in state. Can someone recommend a methodology for implementing some very simple security in he main app? i.e.

[flexcoders] Re: TitleWindow Component...help!

2006-12-06 Thread qnotemedia
={cbTestData.selectedItem.field1}/ mx:Text text={cbTestData.selectedItem.field2}/ mx:Text text={cbTestData.selectedItem.field3}/ /mx:Application --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Concerning this last post - I even changed the combobox to a datagrid, nothing else changed

[flexcoders] Re: TitleWindow Component...help!

2006-12-06 Thread qnotemedia
an ArrayCollection binding with a combobox? - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: I've developed a test mxml file of the current combobox note updating problem at hand. In the following example, click Fill Data. The combobox's data fills up. Choose

[flexcoders] Re: TitleWindow Component...help!

2006-12-05 Thread qnotemedia
PROTECTED] wrote: Hi. Why don't your pop up dispatch some event (e.g. submitData) and you listen to it? R. On 12/5/06, qnotemedia [EMAIL PROTECTED] wrote: OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something

[flexcoders] Re: TitleWindow Component...help!

2006-12-05 Thread qnotemedia
coupling. So wrong? No. Best practice? It depends. Think ahead. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Tuesday, December 05, 2006 12:19 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: TitleWindow Component...help!

2006-12-05 Thread qnotemedia
Concerning this last post - I even changed the combobox to a datagrid, nothing else changed, and it works perfectly fine. What gives? What's so different about the two? - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: I hear ya Tracy. Been browsing it from

[flexcoders] TitleWindow Component...help!

2006-12-04 Thread qnotemedia
OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a button, Window pops up. 2) User types into a text box in the window, clicks Submit. 3) Text typed in appears in the main app.

[flexcoders] Re: Calendar...visually show selection for related data?

2006-11-28 Thread qnotemedia
Never really found an answer to this. Anyone know where I can find more primers on extending Components? I've gone through a few, but none of them seem to really apply to this particular dilemma. - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Sorry

Re: [Jõnk E-Mail - LOW] [flexcoders] Flex2 Sensitive Data Security Thoughts?

2006-11-16 Thread qnotemedia
So how about this? If you CTRL-Click on a default Datechooser in MXML, you get the built-in DateChooser.as. I'm particularly interested in the section on the showToday property, which of course has its own style for a specific date. I would think that maybe this could perhaps be edited to

[flexcoders] Calendar...visually show selection for related data?

2006-11-07 Thread qnotemedia
I have a calendar component and an ArrayCollection of data that is filtered depending on the selected date of the calendar. Selecting a date brings up a list of items in the array. Is there any way that I can visually extend the calendar component to show markers where dates not selected have

[flexcoders] Re: Calendar...visually show selection for related data?

2006-11-07 Thread qnotemedia
that I can apply this property to only a specfic collection of dates through something like a for loop? i.e. loop through the ArrayCollection, and for each date found, underline the specific matching date in the component, but leave the others alone. --- In flexcoders@yahoogroups.com, qnotemedia

[flexcoders] Re: hostmysite.com...RemoteObject not working

2006-11-05 Thread qnotemedia
them anyway and apply the pressure. :) Thanks -Pat On 11/4/06, qnotemedia [EMAIL PROTECTED] wrote: Hi all - back from MAX, and I'm finally using RemoteObject! I have a simple calendar application. All is working fine with my dev copy of ColdFusion, but when I put it up

[flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread qnotemedia
Hi all - back from MAX, and I'm finally using RemoteObject! I have a simple calendar application. All is working fine with my dev copy of ColdFusion, but when I put it up on hostmysite.com it fails to connect - error follows at the end of this post. The remoteobject looks like this.

[flexcoders] Re: Time Validating

2006-10-06 Thread qnotemedia
Thanks Tom - very nice stuff. Just goes to show that there's so many different ways to do the same darn thing. I really need to learn Reg Exp's! - Chris --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: In the same spirit, here's an untested regexp:

[flexcoders] Re: Time Validating

2006-10-04 Thread qnotemedia
Having the same problem here. IMHO, this is so much easier in CF7 Flash Forms with the mask property (mask=99:99 always forces four numbers with a colon in the middle), and I'm not sure why it has to be as complicated as it is in Flex2. The closest I've gotten is by using a number validator

[flexcoders] Re: Time Validating

2006-10-04 Thread qnotemedia
% text=12:00 / /mx:HBox --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Having the same problem here. IMHO, this is so much easier in CF7 Flash Forms with the mask property (mask=99:99 always forces four numbers with a colon in the middle), and I'm not sure why it has

[flexcoders] Dynamic Button Icon

2006-09-30 Thread qnotemedia
The icon property of a button appears to require an embedded object. Is there any way to make it dynamic - i.e. using say a URL to a gif? Tried icon=http://URL; but it comes back as not being able to parse the value of type Class. Also tried giving it a URL from a datasource - same issue.

[flexcoders] Re: As you type Grid Filtering with Textinput and Combobox

2006-09-30 Thread qnotemedia
New question - how do I add a second combobox? -- 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:

[flexcoders] CF/Flex2 connectivity differences between DataGrid and Tree

2006-09-30 Thread qnotemedia
I'm working on a new Flex2/CF app. My first had a tree that received XML, and I had it setup to edit each node, and one button would send the entire Tree back to CF. I'm having a little trouble doing something similar with a DataGrid. In the new app, I'm seing a query from a datasource as an

[flexcoders] As you type Grid Filtering with Textinput and Combobox

2006-09-28 Thread qnotemedia
Hi all - I'm trying to mix together two blocks of code: Ben Forta's As you type Grid filtering: http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-Flex Filter a Grid with Combobox: http://www.cflex.net/showFileDetails.cfm? ObjectID=415Object=FileChannelID=1 I have successfully

[flexcoders] Re: As you type Grid Filtering with Textinput and Combobox

2006-09-28 Thread qnotemedia
Crazy - already got this to work. Code follows below. Its ugly, but it works. New question - how do I add a second combobox? private function processFilter(item:Object):Boolean { var result:Boolean=false; if(item.objName.length == 0 || item.objName.toUpperCase

[flexcoders] Re: Customizing Default Drag with List Components

2006-09-10 Thread qnotemedia
, qnotemedia [EMAIL PROTECTED] wrote: I have implemented a very simplistic drag/drop with a single Tree component (dragEnabled=true dropEnabled=true) and would like to keep it as simple as possible. But is there any way to limit items within the component that can or can not drag

[flexcoders] Flex2 and Breeze syncSWF

2006-09-10 Thread qnotemedia
Is there any way to dispatch/receive breeze syncSWF functions in Flex2? Other than loading the extension, is there anything else I need to do to get started in Flex? http://www.adobe.com/devnet/breeze/articles/intro_sync_swf.html - Chris -- Flexcoders Mailing List FAQ:

[flexcoders] Customizing Default Drag with List Components

2006-09-04 Thread qnotemedia
I have implemented a very simplistic drag/drop with a single Tree component (dragEnabled=true dropEnabled=true) and would like to keep it as simple as possible. But is there any way to limit items within the component that can or can not drag or be dragged to? i.e. in my case, my tree will

[flexcoders] Re: Flex Books? Suggestions...

2006-09-01 Thread qnotemedia
This is a great topic that needs to stay alive, as books and tutorials are just now showing up now that Flex2 has been officially released. lynda.com has a Flex2 Essential and I sat through most of it. It might be too noob for some, but it covers the bases really well. Looks like the

[flexcoders] Success!!! But I still need help!! (RE: Custom scrolling with TileList)

2006-09-01 Thread qnotemedia
Well - never received a reply to this thread, but I've figured out how to get the look, feel, and interactivity that I wanted via lots of nested Canvas', HBox's, VBox's, etc...Here's what I've basically done. Again, the goal was to make a vertical TileList with component itemRenderer, that

[flexcoders] Custom scrolling with TileList

2006-08-31 Thread qnotemedia
I have a vertical scroll-only TileList. Is there anyway to: 1) remove the scrollbar, and 2) Use buttons at the top and bottom of the TileList that scroll the list while mouse over? As a test, so far, I have a skinny and short TileList with a bunch of items in it. When you mouseover a button

[flexcoders] Re: Custom scrolling with TileList

2006-08-31 Thread qnotemedia
Still fudging my way through the Flex2 reference...here's another possibile method to do this? mx:Sequence id=scrollDown mx:AnimateProperty property=verticalScrollPosition fromValue=1 toValue={maxVerticalScrollPosition} duration=1000 / /mx:Sequence ...which I can bind from

[flexcoders] Re: Refresh Tree from HTTPService

2006-08-29 Thread qnotemedia
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I'd use a result handler and assign the result to a {Bindable}global variable, then bind to that. That way you can trace ou the data to see what is happening. Didn't have a chance to try that - but it makes sense. In

[flexcoders] Re: Component access to dynamic application variable

2006-08-29 Thread qnotemedia
So create a variable (rootURL) in main application. When you create dataProvider for TileList, pass this variable to thumbnails via dataProvider. Abdul - could you show me some basic code for this? To be clear, in the main app, I currently have: a) HTTPService, retrieves xml file (layed out

[flexcoders] ArrayCollection...how can I edit the data?

2006-08-28 Thread qnotemedia
Hi all - I'm still running around in circles trying to get a certain type of functionality from CF/Flex2. I have a Coldfusion CFC sending data to Flex2. I've been fine doing this in a number of ways - HTTPService read from xml built by CF, or a WebService reading an array return from CF, etc.

[flexcoders] Refresh Tree from HTTPService

2006-08-26 Thread qnotemedia
I have an HTTPService that imports a multi-level xml file, and a tree with dataprovider={httpservice.lastResult}. How can I refresh the tree when the XML data changes? I've tried just rerunning httpservice.send() via a resulthandler or a refresh button but neither seems to work. The changed

[flexcoders] Component access to dynamic application variable

2006-08-25 Thread qnotemedia
I'm currently learning how to utilize components. In a slideshow app, I have a thumbnail component (image) that is rendered by a TileList in the main application. dataProvider in the TileList is being used to supply the path, image name, etc, by sending a repeating node of an xml file.

[flexcoders] Re: Send Tree data to CF

2006-08-23 Thread qnotemedia
Flex2 and CF7.02. Worked great - moving right along... Thanks, - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: ...could someone write me some basic cfc code (and/or mxml if needed) that can receive this data and place it in a CF array - or at least lead me

[flexcoders] Send Tree data to CF

2006-08-22 Thread qnotemedia
Hi all - a bit of a newbie here, but I'm coming along with some basics in Flex2 / CF7.02. I went quite far with CF Flash Forms, and am ready to dig deep into flex. I've successfully learned how to load XML data to a tree and make it look right (using httpservice). The original external xml