ha
Sorry - I am looking to change them after the app has loaded.
dynamically.
Jeff
- Original Message -
From: Abdul Qabiz [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, May 23, 2005 10:47 PM
Subject: RE: [flexcoders] Possible to setStyle on the entire application?
Jeff,
mx.core.Application.application.setStyle(themeColor, 0xCC) should
give you some joy...
Unfortunately at runtime you can only change one style at a time, so if
you're parsing a stylesheet it can be quite strenuous on the client
machine's processing load, especially if you're changing a
Hi Stephen,
A few people have asked a similar question to yours and we're still thinking
about the best solution. Here's one way
If you create the ViewHelper yourself, as in the example you gave, the
initialized() method will not be called - the Flex Framework calls that
method at component
Matt:
Thanks for the response, I am trying to pass a list of
the ones that are checked..values in the checkboxes
are going to be passed to a cfc to get data from query
and returned to datagrid.
so I guess that you are saying to build an array out
of the checkboxes (if they are checked) and then
Hello flexcoders,
I have a flex project and want to precompile the mxml files. I was wondering if I need to re-compile the mxml files in case for example I fix a bug in the business logic of a remote object method.. ( not method signature changes ).
So, when do I need to recompile the mxml
Tracy,
Thank
you very much the info. I have a question for you about the NOTE you mentioned
in earlier mail. Are you referring editcell event and editField( ) method with
reference to new row or in general any cell? To my surprise I did not trap editcell
event and did not call
Thank you Jim!
It will be very useful for me and I really appreciate the job you have done.
Thanks again!
Beck
On 5/23/05, Tracy Spratt [EMAIL PROTECTED] wrote:
There are about three dependencies you will need to modify/comment out,
and it will run just fine.
Tracy
-Original
Hi,
Any changes to MXML associated AS files would require
recompilation. Any changes to backend logic (POJO, EJB) doesn't require flex app
recompilation, unless you have use Model/XML tag to fetch data from
backend.
Data of Model/XML tags get compiled in flex application, so
you need
Good morning. I'm working through chapter 2 of the flexbook and came
across an error message when trying to do the exercise.
2 Errors found.
Error /TheBook/myBlogReader.mxml:5
URI is unknown! The namespace must either be defined via a manifest,
or specified in package syntax (prefix.* or * for
Hi All,
One small and very simple question I can not figure it out how - How
to get the value from a cell of datagrid?
I am tried the following but in vain. Please some one help me out. Thanks in
advance.
Function setData(event:Object)
{
Hi,
I believe the code in book corresponds to Flex 1.0 version. However, you
can modify it work under Flex 1.5.
Add this xmlns=* to Application tag and it would work.
mx:Applcation xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
///rest of code
/mx:Application
-abdul
Yep, thats what Im saying.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Craig Newroth
Sent: Tuesday, May 24, 2005 7:56
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] can I
bind more that one checkbox to a send requ est?
You need to tell it which row of data you want
myDataGrid.getItemAt(rowNum).column Name
At 10:07 AM 5/24/2005, you wrote:
Hi All,
One small and very simple question I can not figure it out how - How
to get the value from a cell of datagrid?
I am tried the following but in vain. Please
Jeff,
Thanks for response, you mean
Var dataValue =
myDataGrid.getItemAt(event.itemIndex).getColumnAt(event.columnIndex).columnN
ame;
I don't want the name of the column user is modifying but I want the value
entered by the user. I am sorry if I confused you. If you have an example
code
Thanks Abdul. Do I need to re-compile mxml files in case I made some changes to flex-config.xml?
Thanks again,
Valy
Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi,
Any changes to MXML associated AS files would require recompilation. Any changes to backend logic (POJO, EJB) doesn't require flex
When the back-end is using validated XML value objects (using Castor to
convert XML to Java objects, and since they are XML with an XSD, they can
validate the data), how can Flex validate this data as well? I've dug and
haven't seen anything that allows HTTPService or XML, or even the XML
Thank you very much.
Jeff
- Original Message -
From: Richard Butler [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, May 24, 2005 2:24 AM
Subject: RE: [flexcoders] Possible to setStyle on the entire application?
Jeff,
Craig,
I have a specific example on FlexAuthority. Visit:
http://www.flexauthority.com/samplesIndex.cfm?sampleID=23
I have multiple checkboxes that pass along their checked state to a CFC that
returns XML to populate a chart.
Let me know if that does not answer your specific question.
Jeff
Try this. Put this code in your Application:
function setupAppColor()
{
if(appColor == blue)
{
setStyle(themeColor, haloBlue);
}
else if(appColor == orange)
{
setStyle(themeColor, haloOrange);
}
else if(appColor == green)
{
setStyle(themeColor, haloGreen);
}
else
Hi,
Not sure, depends on your requirements.
Some of the settings like
generate-profile-swfs
generate-debug-swfs
optimize
actionscript-classpath
lib-path
cache
fonts
might require recompilation of swf...
May be someone who is more familiar with this stuff,
comment.
-abdul
From:
Abduls right, depends what you
change in the flex-config.xml but I think for the most part a change to
flex-config is probably meant to affect the SWF unless youre only
changing the whitelist for one of the proxies. So Id generally
re-compile. Its not like flex-config needs to change
I have a sticky situation that seems easy to solve. Each time a row
of a dataGrid (bound to webserviceA) is selected, a request to web
serviceB is made.
The sticky part is that each unique result from webserviceB (from a
unique row selection), must be saved in order to be used by another
Hi,
I have a Flex application that is embeded in a HTML page. When the
application is referenced using 'appname.mxml.swf' I have noticed that
the flash player is not being detected.
If I visit 'appname.mxml' directly from the browser, the version
detection takes place. How do I enable the
My perception of Castor and the reason to use it is based on the ability to
validate your data/value objects in Java, thus ensuring that if your data is
valid, and another system has problems using it, it is the other system and
not the base Java code.
Furthermore, the use of XSD's for data
ok, try this:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
creationComplete=initApp()
mx:Script
![CDATA[
var schedAdj_do:Array;
function initApp(){
var item1:Object = new Object();
item1.name = Jeff;
One of the sample pages has a clip on it and its written like this
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
mx:MediaPlayback width="300" height="300" contentPath="../assets/clip.flv" controllerPolicy="on"/
/mx:ApplicationWhat I want
Hi Jeff,
Thank you very much for the help and the code. That helped me a lot in
understanding getColumnAt() and getItemAt(). Thanks agin.
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jeff tapper
Sent: Tuesday, May 24, 2005 11:55
Title: Message
You need Flash MX 2004 Pro and the Flash
Video Exporter, which you can grab from macromedia.com, which you can then use
to export movies to FLVsfrom programs such asAfter Effects. Sorenson
Squeeze is also an exceptional tool for streaming media.
Cheers
Rich
How much do these programs cost
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
No, that's not the problem. I did notice how I had the missing 's'
after the fact, but in my code, it is calculateWidths(). If you would
just create a tree component and try it, you will see calculateWidths
() always returns NaN.
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL
How much do these programs cost
If you're not already familiar with it, http://froogle.google.com is a
good place to start shopping for software prices. Enter appropriate
product to search for (eg: sorenson squeeze) and have fun!
Cheers,
Blake
Yahoo! Groups Links
* To visit your group
I have a problem where the mouse doesn't fire off the correct
MouseDown event. It only happens when the mouse doesn't move and a
new container with a mouseDown event is loaded under it. It seems to
remember the last container's mouseDown area and fires that event. I
am trying to figure out how
Hello folks,
I'm sorry if this topic has already been covered but when searching
the list I was unable to find what I am looking for.
I'd like to put together a *minimal* set of tasks for deploying a Flex
app in Tomcat. Specifically I'm looking for what jars need to be
where and what deployment
There is also a free encoder here http://www.rivavx.com/
We ended up with Sorenson for quality reasons, but Riva is a good
starting point.
As for playing video in Flex, its pretty simple just explore the API
of MediaPlayback, MediaDisplay and MediaController.
Yahoo! Groups Links
* To
Hey Jim,
I have a question: What is the dataProvider property in the Class
ComboBoxCellRenderer2?
Thanks.
On 5/23/05, Jim Laing [EMAIL PROTECTED] wrote:
Hey Beck,
I've done exactly what you're looking for (plus a lot of other stuff
you might not want), through digging into the DataGrid
Tracy,
Here
is my code. If you don't mind can you help me out in resolving this issue.
Thanks!
mx:DataGrid
id=myDataGrid width=100% dataProvider={schedAdj_do}
textAlign=left height=250 headerHeight=50
editable=true cellEdit=updateData(event)
mx:columns
mx:Array
I have a question: What is the dataProvider property in the Class
ComboBoxCellRenderer2?
Ignore! I know what it is.
Thanks.
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:
Yes, the MediaPlayback and MediaDisplay only support one type of video file. it has to be an FLV file.
You can use any file format you want such as the following video types:
WMV, AVI, MPEG as the video type. You then need to convert one of the
aforementioned video types to an FLV. You can use
Well,
basically I'd just want to validate that the MXML files can be compiled...
With MTASC I compile .as files just to get error messages, nothing
more ! (then I can see flex mx.core classes have duplicates getter
definitions ;-) )
And I'd like as well to have an eclipse-based MXML error
Hello All,
I am converting a Flash MX app into a Flex App - but am super confused
as to which Containers I should select, and which method I should use
when creating a Data Model. One that can collect information from
multiple Forms - which are from separate MXML files that get loaded into
each
Mike,
If you look at the Cairngorm Store sample that we shipped with
Cairngorm 0.99 recently, you'll see the ModelLocator pattern
that we advocate.
Essentially, the ModelLocator provides you with a single place
in your application where client-side state (the model) is
held, and easily accessed
I'm trying to build a media player application with a playlist. I would
like to change the dataProvider property of the mediaDisplay
dynamically when a song ends. Can someone help me.
Thanks
Yahoo! Groups Links
* To visit your group on the web, go to:
We have a detection filter set to run for
the mxml files. If you want it to run on SWF files as well youll
need to adjust the filter settings in web.xml. Im not an expert in
that but I dont think it should be too hard if youre familiar with
J2EE.
Matt
From:
Check out the docs on the Asynchronous Completion
Token (ACT) pattern. You can use the call object to keep track of the appropriate
array index and then in the result handler store the result in the right slot.
Or something similar
Matt
From: flexcoders@yahoogroups.com
Hi ,
I have a main.mxml where I have this DataGrid
function initListener(){
addEventListener(statusChanged,
mx.utils.Delegate.create(this, onStatusChange));
}
function onStatusChange(e){
mx.controls.Alert.show(listener is Listening); }
Try this. Add this property to your button tag:
trackAsMenu=true
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kaibabsowats
Sent: Tuesday, May 24, 2005 12:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Panel Mouse Down
What is working, and what is not working?
Implement your UpdateData() function in
the sample app I provided. See if that works.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR
Sent: Tuesday, May 24, 2005 1:31
PM
To:
I have a request for an application that presents data as various
kinds of charts and graphs. The user would like thye ability to save
specific charts as a jpeg, for later use in a powerpoint slide.
Is this possible, I have a feeling it is not, I know how to print out,
but to save as a jpeg?
I would use the editField() method to update the dataProvider as you go.
When you are ready to submit, iterate through the dataProvider, check
the value of the field you updated with editField. If it is true, push
an element on a new array. Submit the new array.
Or, create a new submit array on
When you get the complete
event thats when it has reached the end of the media. You can then set
the contentPath again and restart it playing.
Matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of venkat_berkly
Sent: Tuesday, May 24, 2005 4:10
PM
To:
Huh? I can always be wrong, but I did not
think that editable fields automatically updated a dataProvider. I will go
test this now.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR
Sent: Tuesday, May 24, 2005 9:06
Hey guys and
gals,
I've stumbled upon
a quirky behavior I'm hoping you can help me resolve.
The ProgressBar
component does not appear to work properly if the graphic asset being loaded is
in the browser's cache. The simple example below illustrates this problem. The
first time this app
Its the ComboCellRenderer
dispatching the statusChanged event? In that case the addEventListener is on
the wrong thing because its not main dispatching the event. I think if
the ComboCellRenderer does listOwner.parentDocument.dispatchEvent({type: statusChanged})
then it will execute on
Never mind, I was solving the wrong problem. Tract
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday, May 24, 2005 6:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] can I bind more that one checkbox to a
OK, it's a bug. Here's a class that you can use that fixes the problem. I
didn't spend too much time testing it but the basic algorithm worked. I'll
file this too.
class FixedTree extends mx.controls.Tree
{
/**
* Returns the recommended width of the control based on its
Im completely wrong! Holy crap, I
have to go back an fix a lot of apps!
Hari, Ill work on your issue in the
other thread.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
Spratt
Sent: Tuesday, May 24, 2005 6:34
PM
To:
Here I made it simplier:
?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
mx:Panel id=panel1 title=Some Panel width=210 height=320
mouseDown=mx.controls.Alert.show('You have Clicked Me!')
Hi Matt,
Thanks , that worked.
Mohanraj
--- Matt Chotin [EMAIL PROTECTED] wrote:
It's the ComboCellRenderer dispatching the
statusChanged event? In that
case the addEventListener is on the wrong thing
because it's not main
dispatching the event. I think if the
ComboCellRenderer does
Hi
guys,
I just
started with Cairngorm 0.99 and am running into the following error. Did
everything by the book. Any help will earn my thanks. :)
Error /com/littler/ourpeople/business/Services.mxml:11
Namespace http://macromedia.com/2003/mxml has not been
associated with component
I can not help but feel I have ran in to more problems than neccessary because my flex applicaitons forget variables. I mean I know from a code standpoint I am doing the right thing when I write my code but I think it forgets variables and I think this is causing me more stress than need be.
Hi Agha,
Copy the Flex-Config file from the source files that came with either
the Login sample or Store sample that came with the cairngorm
download.Copy it over your existing Flex-Config file
Best,
DaveOn 5/24/05, Mehdi, Agha [EMAIL PROTECTED] wrote:
Hi
guys,
I just
started with
http://www.convertzone.com/net/cz-adshareit%20swf%20to%20video%20converter%20pro-swf-jpg.htm
On 5/24/05, greenfishinwater [EMAIL PROTECTED] wrote:
I have a request for an application that presents data as variouskinds of charts and graphs. The user would like thye ability to savespecific charts
Did that just now. Same error. I restarted flex services
but didn't work.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dave
buhlerSent: Tuesday, May 24, 2005 7:43 PMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm
error
Hi Agha,Copy the
Can you be more specific about what you
mean when you say it keeps forgetting, or post a tiny but complete
mx:Application that demonstrates the problem?
The meanings of 'var age' in your two
examples are very different. Your second example would forget that
you set age to 23, because
I will set a variable to be a certain amount in one function then call it in a later function and its completely forgotten it
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL
It is 99.% likely that you have a
coding error, but I can't tell you what it is if you won't post malfunctioning
code. : )
It certainly sounds like you are declaring
a local variable when you should be using an instance variable.
- Gordon
From:
66 matches
Mail list logo