Thanks very much for your response.But i am not aware of this dataFunction.Can
you provide me with an example.The link you sent is just showing the signature
of the method.
Thanks in Advance,
Poornima
From: Michael VanDaniker [EMAIL PROTECTED]
To:
What's the difference in terms of security between declarative and
programmatic SWFLoaders? In the ff. code, loader1 throws a security
exception while loader2 does not.
public someFunction(source:String):void
{
var loader1:SWFLoader = new SWFLoader();
loader1.load(source);
loader2.source
Le 24 oct. 08 à 03:48, Dimitrios Gianninas a écrit :
#2 because your app is simple..#1 if you want to be a purist.
start simply and add complexity as you go along, thats my rule.
That's a good rule !
If your 2 components in your view are in the same component, let's say
whatever Panel or
Le 23 oct. 08 à 21:20, Matt Chotin a écrit :
So a lot of us on the Flex team now have Macs. One reason is
because we have a lot of designers who use Macs anyway. Another is
because we obviously build software for Macs, and in running Macs we
can actually do tests on both Mac and
I think he meant I'm not coding any more :)
On Fri, Oct 24, 2008 at 6:19 PM, Farid SALAH [EMAIL PROTECTED] wrote:
Le 23 oct. 08 à 21:20, Matt Chotin a écrit :
So a lot of us on the Flex team now have Macs. One reason is
because we have a lot of designers who use Macs anyway. Another is
That will only work for XML based Trees, if you are not using xml but
arraycollections then you would have to get to selectitem, find it in the
dataprovider arraycollection and then try to find its parent, what i usually
do have a reference parent inside the data model ie:
class TreeNode
{
the following sample code will not display a counter but 40...
A for loop will run these repetitions in nearly no time...
Use a timer function with a delay:
[Bindable]
var s:String ;
...inside the timer driven function update the String:
{
...
s = counter.ToString() ;
}
then to display
I guess you are having the flash movie embeded in a flex wrapper. Expose a
public start (or something)function from there (from the flash movie). Just
call that on the state change interception.
HTH,
Claudiu
- Original Message
From: John [EMAIL PROTECTED]
To:
Cool, thanks for that.
I now can intercept the change of state within the ViewStack, so any
ideas how I can then tell the SWF file in the component how to play
from frame 1?
TIA
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
Le 24 oct. 08 à 10:27, Josh McDonald a écrit :
I think he meant I'm not coding any more :)
That's what happens when one thinks one thinks he can read and
understand english as one's native language.
Maybe I'll start a new thread on this...
Thanks,
Farid from Paris, France
I have been moving towards OSX three years ago. Only I have the feeling
you replacing the BSOD with annoying rotating beachballs.
You are having a lot of beachballs under OSX sometimes at odd times.
Anyways, beside of things like Disco, QuickSilver and TextMate
are nice applications which ain't
pls can one help me
what is Preinitialize?
what is Initialize?
what is creation complete?
what is application complete?
I also vote for #2. Seems strange for me to have a boolean in the
ModelLocator that is specific to this UI context. I always thought the
ModelLocator should only have data that is potentially global to the app
(like your list of users), and find it strange that many online Cairngorm
examples put
Pls any one can send MVC exampls?
I am trying to add a calendar component to my application and am
trying to solve it in the following manner. I am using the Cairngorm
framework.
I created a custom component that extends the TitleWindow. In this
component, I have a public variable that I set called id. This is
used to
I have my XML set up like this:
people
person name=Person 1
project title=Project 1
project month=Jan projectedHours=20 actualHours=21/
project month=Feb projectedHours=21 actualHours=23/
project month=Mar projectedHours=22 actualHours=24/
project month=Apr projectedHours=23 actualHours=25/
--- In flexcoders@yahoogroups.com, pratikshah83 [EMAIL PROTECTED]
wrote:
Hello Guys,
I am currently embedding the font I need for label rotation. Its
getting included at compile time. I am using unicodeRange to reduce
the size of the swf with the font.
Would loading the font at
--- In flexcoders@yahoogroups.com, Rajeev [EMAIL PROTECTED] wrote:
I have multiple columns in an AdvancedDatagrid that contains
statuses.
I would like to display an icon for each status, so I am using a
custom
item renderer. I am having trouble figuring out which column I am
in
from my
I would suggest reading the documentation available at
http://www.adobe.com/support/documentation/en/flex/
Especially the Developer Guide, Language Reference and Building and
Deploying.
Your specific question is answered starting on page 92 of the Building
and Deploying manual.
--- In
Looks like I jumped the gun on this. This seems to work, but as
always I'd love to hear if there's better ways to work this out.
mx:AdvancedDataGrid x=0 y=0 id=aDG width=100% height=100%
mx:dataProvider
mx:HierarchicalData source={myData} childrenField=project/
/mx:dataProvider
Well, since you've picked the car analogy...
There are plenty of things that you can play with in OS X. You can even play
with stuff that Apple says isn't supposed to by played with. But don't be
surprised if the next upgrade replaces something you've tinkered with. Just
like you wouldn't be
PureMVC has examples with code all over their site.
http://puremvc.org/
On Fri, Oct 24, 2008 at 3:09 AM, srikanthkpn [EMAIL PROTECTED] wrote:
Pls any one can send MVC exampls?
I'm still wondering how to get this working. The underlying ArrayCollection
data is being changed with each reload but the charts are staying the same. The
data
is updated via remoting wiht a Java method, by the way. How do I get the
binding to work properly?
Here is my method which is
While computer mfg/OS affiliations are akin to a religion, computers are
tools nothing more.
I have no comment on the issue since this comes up on flexcoders about every
other month but this statement is what I was telling myself when reading
some of these posts, this has been the only fact
Hi:
Thanks!
Regards,
Michael.
On Thu, Oct 23, 2008 at 7:55 PM, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Michael Wagner [EMAIL PROTECTED]
wrote:
Hi:
I have a question.
I would like to get a portion of the Flex Stage/Screen
I add children, and only Text or Spacer, to a vbox.
After I have added them, I want to get the height of the vbox.
However, when I call vbox.height, it gives me 0.
If I call the measure() method, same problem, measuredHeight, same
problem.
Any ideas?
vbox.validateSize();
if that doesn't work:
vbox.validateSize(true);
or
vbox.validateNow();
then go for vbox.height
On Fri, Oct 24, 2008 at 11:11 AM, tchredeemed [EMAIL PROTECTED] wrote:
I add children, and only Text or Spacer, to a vbox.
After I have added them, I want to get the
Hello guys,
I am utterly frustrated trying to debug flex/AS project in Flex
Builder 3, I get the following message (even when I pick run, not
debug) all the time:
I am so tired of this message...
where is the debugger or host application running?
*Localhost
*Other Machine
Enter IP
Help! I've spent three days on this problem now with no luck! The Flex
app sends an image to a servlet which then resizes it and writes it to
the disk. It also updates the database with the image name for that
record.
I'm still trying to update the image in a datagrid row when the user
uploads
I want to show a time I'm getting from a server as that server's time,
rather than my local time. When I display it in Flex though, it seems
to automatically convert it to show it in my timezone. How can I show
a date/time for another time zone?
The format I'm getting back from the server is
Blair,
You would be filtering (or sorting) the ListCollectionView used as a
data provider, and not the chart itself, so this should work regardless
of how you're displaying it. You can update the filterFunction property
on a ListCollectionView (I believe you may also need to call
refresh()--you
Hi - So, I know how to append a text node to an (parent) element, and how to
replace a text node with a new text node (based on a specified string), but
how do I set text on a text node?
In my situation it is very important that the reference to the text node
object is the same before and after
Timer will work, but using callLater() will probably be more efficient,
since it will only wait a single frame.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Fotis Chatzinikos
Sent: Friday, October 24, 2008 6:20 AM
To:
does this do it?
parentElement.text()[index] = newText;
- Daniel Freiman
On Fri, Oct 24, 2008 at 11:48 AM, Mark Carter [EMAIL PROTECTED] wrote:
Hi - So, I know how to append a text node to an (parent) element, and how
to
replace a text node with a new text node (based on a specified
grrr! same problem!
Let me give an example of what I am doing!
Keep in mind I am typing this very fast, and it most likely will have
spelling mistakes, but it should give you an idea!
?xml version=1.0 encoding=utf-8?
mx:VBox
xmlns:mx=http://www.adobe.com/2006/mxml;
In your code, validateNow() would come right before you call drawStripe(),
but...
I'd use the structure and invalidation that's already built into Flex
UIComponents:
?xml version=1.0 encoding=utf-8?
mx:VBox
xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
override protected function
one problem..
the children do not get added until I request for them to, via an
eventListener that does not get dispatched until much after the
creationComplete event...
this is probably the problem :(
Got the same problem.
You can work around it by debugging in the Flash Player itself, not
the browser plugin.
Hit the arrow next to the debug button. Select 'Other...'. Then you'll
see a window with all your applications. If the one you want to debug
is not yet selected, do so now.
On the right
I thought I would post one more time in case someone has an answer.
What I need is a way to change the default width of a component in
design mode, so that flexbuilder's (eclipse) will display the
component correctly in design mode.
Paul
--- In flexcoders@yahoogroups.com, aceoohay [EMAIL
Has anyone gotten the youtube chromeless video player to load/work in Flex?
thanks,
the example at:
http://code.google.com/apis/youtube/flash_api_reference.html
uses the createEmptyMovieClipLoader to load the player? is there an
equivalent in FLEX?
thanks,
mike
That should do it, but the reference requirement is tricky. It depends
on what the OP is trying to do. There is not a text node for an
element node, there can be many text nodes, and if you append a text
node then it is new text node and not a changed text node.
If you had an element node
Unfortunately not.
I tried this:
public static function setTextNodeText(textNode:XML, newText:String):void {
var parentElement:XML = textNode.parent();
parentElement.*[textNode.childIndex()] = newText;
}
The textNode's parent is non-null before calling this method, but null
after. Its
yeah, thanks, have that. Its much better than a couple of years ago.
Probably plenty good enough for a bushwhacker like me if I just took
some time with it.
J
Guy Morton wrote:
Inkscape is a reasonable Illustrator-replacement, and it's free.
I should have mentioned that my elements have mixed content.
Basically I have HTML (dynamically generated from some XML) in a TextArea.
If some part of the text area is selected then I keep a reference to the
corresponding text nodes (or subsets of text nodes), so that after the XML
text has
Module Loader and Application
We use module loader to load our modules. In one of my case,
one module loader (mod1) needs to communicate with the other module loader
(mod2), so I am using Interface, ModuleLoadEvent.ready to do it.
mod2 has a view stack and has 3 children. When module 1
Module Loader and Application
We use module loader to load our modules. In one of my case,
one module loader (mod1) needs to communicate with the other module loader
(mod2), so I am using Interface, ModuleLoadEvent.ready to do it.
mod2 has a view stack and has 3 children. When
--- In flexcoders@yahoogroups.com, srikanthkpn [EMAIL PROTECTED]
wrote:
pls can one help me
what is Preinitialize?
what is Initialize?
what is creation complete?
what is application complete?
preinitialize Dispatched when the component has been attached to its
parent container, but
Bump. The silence is deafening.
I'm still hoping someone has some best practices or ideas to share, if not
necessarily and actual code examples.
TIA,
Jim
--- In flexcoders@yahoogroups.com, jim.abbott45 [EMAIL PROTECTED]
wrote:
Hello fellow Flexers:
I'm having a hard time finding reliable
--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:
That will only work for XML based Trees, if you are not using xml
but
arraycollections then you would have to get to selectitem, find it
in the
dataprovider arraycollection and then try to find its parent, what
i
Okay, I guess here is where I¹m stuck or confused about what to do exactly.
Could you suggest a couple of resources I could refer to? Thanks.
--
Blair
From: Tim Hoff [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
Date: Thu, 23 Oct 2008 19:30:02 -
To: flexcoders@yahoogroups.com
I still use both forms extensively. I have a development PC, which I am
slowly de-commissioning and a dell laptop that is primarily used for
off-site work.
My new development machine is actually a 2Gb 24 iMac (am awaiting delivery
of the additional 2Gb). Apart from the big screen, the main reason
This is how I¹m retrieving data. I¹m not sure how or where to define the
Date() property. What I would like to maintain is a single call to the
required table and have all data returned.
MXML:
mx:RemoteObject id=myservice source=WorkingDemo destination=amfphp
fault=faultHandler(event)
Ideally, in the result function, the dto would be cast to an associated
AS class as a VO; making it strongly typed. This can be done
automatically by using [RemoteClass(alias=com.myDTO)] in a VO class;
but that's a more involved topic. So, let's take this one step at a
time. What is the data
alright, but I still think I'd put the graphics code into the
updateDisplayList function.
On Fri, Oct 24, 2008 at 12:22 PM, tchredeemed [EMAIL PROTECTED] wrote:
one problem..
the children do not get added until I request for them to, via an
eventListener that does not get dispatched until
//Allways set to null first else you get filter inside
the filter!
myArrayCollection.filterFunction=null;
Cato,
Can you give an example of this? I tried the following and
var foo:ArrayCollection = new ArrayCollection([1,2,3,4]);
trace(foo);
foo.filterFunction = function(num:int):Boolean {
The docs have the usage. In short, the item is the object from your
collection you want to operate on and the fieldName is the field the
chart wants to know about. In your case you would have something like
this:
public function myDataFunction(series:Series, item:Object,
fieldName:String):Object
I working on a VideoScreen component, which at this point just extends
UIComponent and contains a Video object as its first child. After the
Video is added to the stage, I create an overlay using a Sprite object.
The overlay isn't added to the stage until the user does a
MouseEvent.ROLL_OVER the
Many thanks Tim! I dropped the DateField component and tried a simple text
box, plus your suggestion and it works. So even though the database table
field is defined as a Date, the AMFPHP is bringing it in as a string. The
key part to this was .toString()
Okay, so now back to an original dilemma.
Maybe it's not possible. At this point I'd go into the Tamirin code and see
how it's handling xml text nodes. Another clue might be Alex's response to
a question I asked a while ago:
http://tech.groups.yahoo.com/group/flexcoders/message/114156
- Daniel Freiman
On Fri, Oct 24, 2008 at 1:06 PM,
Aye. A longtime mantra of mine is that you can never have too much RAM or
hard disk, doesn't matter which platform. :-)
On Fri, Oct 24, 2008 at 1:52 PM, Jatin Nanda [EMAIL PROTECTED] wrote:
I could do with more RAM though
--
Howard Fore, [EMAIL PROTECTED]
The universe tends toward maximum
Hi Max,
Thank you for your help. When I follow the steps you suggested ie make
flex open file with standalone flash player, but it still prompts me
with the same old window where is the debugger or host aplication
installed, then I have to pick localhost and hit Connect and then
I can see trace
Hi, all;
I have a function that can take either an object or an XMLList as an
argument. I'm using for each (var prop in argument). This works great
when the argument is an object, but when it is an XMLList, I'm having a
hard time, because it's not taking the node name as prop. Instead,
isNaN should work.
http://www.adobe.com/livedocs/flex/2/langref/package.html#isNaN()
On Fri, Oct 24, 2008 at 12:08 PM, Amy [EMAIL PROTECTED] wrote:
Hi, all;
I have a function that can take either an object or an XMLList as an
argument. I'm using for each (var prop in argument). This works
Too bad, the iMac 20 has a terrible LCD display which lacks the ability to
display grayscale reasonable.
On Fri, 24 Oct 2008 18:52:15 +0100, Jatin Nanda [EMAIL PROTECTED]
wrote:
I still use both forms extensively. I have a development PC, which I am
slowly de-commissioning and a dell laptop
Here's simple example on how to set the text value of node in AS3
Not sure if that what you're looking for as far as with the reference to
the node:
var doc=
book
toc/
toc/
pageAbc/page
page123/page
pageXYZ/page
pageLast page/page
index /
index /
/book;
var
In case you missed it.
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo
rer.html#
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl
orer.html
Tracy
Wow,
Very nice.
But the page's title remains Flex 2, :D
Regards,
PS
On Fri, Oct 24, 2008 at 6:41 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
In case you missed it.
*
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#
Thanks, somehow I missed it and am so glad to find the v3.
Peter.
On Fri, Oct 24, 2008 at 3:41 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
In case you missed it.
*
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#
I cant figure out how to remove the border from a button!
mx:Button
Any help!?
Actually I'm messed up again now that I changed my XML to this:
people
person name=Person 1
projects title=Project 1
project month=Jan projectedHours=20 actualHours=21/
project month=Feb projectedHours=21 actualHours=23/
project month=Mar projectedHours=22 actualHours=24/
project month=Apr
Just make the variable bindable and give it as a data source...
Pseudocode:
[Bindable]
data:ArrayCollection ;
resultHandler:void
{
data = event.result ;
//you can also retrieve the event result and preprocess it it first if
you need before assigning it to data
}
It works ! Thank you.
the .php is optional... Its just there to convert the binary bites of the
pdf to an actual file (actually not convert - just write the file to disk)
you can do it in any backend system, you just get a byte stream and write it
to a file...
On Fri, Oct 24, 2008 at 8:03 PM, Gustavo Duenas
[EMAIL
Mark:
Amy set me on to this post, which I found very helpful:
http://dispatchevent.org/roger/as3-e4x-rundown/
This assumes you are using format as e4x
just my also-a-newbie suggestion:
using children() and child() methods made it possible for me to drill
down into quite a bit more nested XML
Thanks John, but I'm not having a problem with my XML I'm having
problems getting deeper nodes into the advanced data grid. Any ideas
on that?
Thanks,
Mark
--- In flexcoders@yahoogroups.com, john fisher [EMAIL PROTECTED] wrote:
Mark:
Amy set me on to this post, which I found very helpful:
Before I reinvent the wheel, anyone know of a faq application written in
flex ?
searching for it just brings up faqs about flex.
See how messy this gets; when dates are represented as strings. Look
into AMFPHP serialization/deserialization. If you get back a date,
instead of a sting, you don't have to jump through these hoops. I only
say this because the amount of time it takes to setup the integration is
sometimes
--- In flexcoders@yahoogroups.com, Steve Mathews [EMAIL PROTECTED] wrote:
isNaN should work.
Thanks. :-) I wound up using parseInt.
Hi I am facing this out of memory error:
An out of memory has occurred
I searched and saw that some one suggested to
make some changes on FlexBuilder configuration
Settings file. Now my file configuration file
contains the followings:
creationComplete only gets dispatched when the 2nd child is created. The
show event should work for subsequent times.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Easy
Flexing
Sent: Friday, October 24, 2008 9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
TileList does not support focus in its renderers. (List, Tree, DataGrid do).
If you look at the code in List or DataGrid you'll see how tabbing is handled.
You can probably try to subclass TileList and add it in there, but it will be
significant work.
Tabloops in Flex are more or less
I would've expected a rollout the moment you stick the overlay under the mouse.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
jwebbsuccess
Sent: Friday, October 24, 2008 11:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why Isn't MouseEvent.ROLL_OVER/OUT
Start here: http://blogs.adobe.com/aharui/2007/03/modules.html
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
pratikshah83
Sent: Thursday, October 23, 2008 5:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Optimizing the swf size and performance
Hi Guys,
I
83 matches
Mail list logo