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
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.
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
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
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
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
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
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
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
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
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
I had to change it to CloseEvent rather than Event, but yeah, that
worked. Thanks.
--- 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
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:
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
--- 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
--- 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
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
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.
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
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
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
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.
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
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()
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
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
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
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
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
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.
={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
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
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
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
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
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.
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
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
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
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
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
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.
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:
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
% 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
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.
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:
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
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
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
, 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
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:
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
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
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
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
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
--- 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
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
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.
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
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.
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
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
65 matches
Mail list logo