You should probably implement the IMXMLObject interface. Override the
initialized method where you can set the class instance (to 'this').
The getInstance() method can create a default class instance if it's null
and return it.
Don't save references to the class instance in the classes that need
What do you mean with "on the application"?
If you mean added to the stage, then you can't find this out in the
constructor. Make sure your class is a subclass of DisplayObject and listen
to the "added" or "addedToStage" events.
Haykel Ben Jemia
Allmas
Web & RIA Development
http://www.allmas-tn.
You could probably look by using the Application.application instance
to access the Application object, then look through the children using
numChildren and getChildAt in a loop.
I have to ask though, why? It doesn't sound like a neat solution -
maybe you could pass in the Application instance whe
I have a class on the application like this:
How do I find out inside that class in the constructor if that class is on
the Application?
dorkie dork from dorktown™
I wnt to get the TimeCode of a movie like this
HourHours:MinMin:SecondsSeconds:FramesFrames
How is it possible
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
Whilst I'm debugging I see this key or id in next to each instance name:
com.flexcapacitor.managers.LinkManager (@455ff629)
How do I get that string (@455ff629)?
dorkie dork from dorktown
Thanks Errol, your blog is very useful. I found FlexUnit most discussed and
endorsed by Adobe, that's why assumed it's a leader of the pack, I didn't do
any tech research on it though.
Maciek, thanks for your feedback on FlexMonkey, it definitely gives me
enough confidence to give it a go.
Alen
You have to assign an instance of your class, not the class itself
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Amy
Sent: Friday, January 09, 2009 2:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Wierd error 1067 on extended DefaultDataDescriptor
I'm stumped. I'm trying to create a singleton class that is also an MXML
class.
creates one instance obviously. But another
class needs to reference this class. So class 2 calls
SingletonClass.getInstance(). It's possible that class 2 will be created
before the MXML SingletonClass instance.
It's
After wasting a ton of time trying to get nested array data from my
JSON decode I found Nate Ross' DataGrid extension, NestedDataGrid...
Works great, no labelFunction crap or any other cryptic work around,
it just sets up like a regular DG or ADG with the great exception of
dataField unders
On its (child2) creationComplete.
--- In flexcoders@yahoogroups.com, Gordon Smith wrote:
>
> When does child2 call parent.addEventListener()?
>
> Gordon Smith
> Adobe Flex SDK Team
>
> From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000
> Sent: Fri
Hi,
I think that lists do that automatically, had the same problem with trees...
Does your example work in Internet explorer? My problems where on
Firefox...Have not gotten back to it yet as i am doing other staff at the
moment but at least in my case i think it has to do with the wrapper html
pag
When I have a data provider like
[ { category : foo, val : 1 }, { category : bar, val : 2 },{ category :
baz, val : 3 } ]
and graph this on a BarChart as category vs. val, the values are graphed
bottom to top. That is, category foo is on the bottom, then bar, then
baz at the top. Is there a way t
Hi guys
I'm trying to generate a series of random colours, but would like to
exclude certain colour and closely related shade.
For example, i'd like create any colours except red or similar shades.
Anyone know of how I could do this. It's a really subjective thing I
know.
Help really apprecia
For what it's worth, it's true that FlexMonkey is not a unit testing
framework (it's more about generating functional tests for the UI), but
it's fantastic (especially 0.6+). I first found out about it from this
list earlier this week, and about a day later, I started moving our
tests to it (from F
> We use Prana dependency injection with Cairngorm to wire
> production/mock/whatever service locator implementations at runtime.
> Elegant, powerful and not too difficult to set up.
I haven't looked at Prana so can't comment on how well it works. I have to
admit that I am not entirely convinced
> After a brief search on flex unit testing I found that
> FlexUnit is supposed to be the leader of the pack.
I am interested in why you think FlexUnit is the leader of the pack. I know
that Adobe have adopted it but its syntax for asserts and assert options are
limited. On my blog
(http://kiwi-e
I have begun tinkering around with various frameworks and thought I
would start with Cairngorm. I am refactoring a small application to
use Cairngorm, but ran into a snag. All of the examples I found just
bound an item in the view to a property of the ModelLocator, and thus
automagically updated
yeah, one of the downsides of using the signed rsl is that you can't easily
monkey patch. I'm not sure what happens if you try to load your code in a
different RSL AFTER the framework RSL has been loaded... But in general if
you want to use the cached framework RSL you're committed to using the
cla
When does child2 call parent.addEventListener()?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of markgoldin_2000
Sent: Friday, January 09, 2009 7:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Release a child
I am not exactly sure what you are trying to do. Are you trying to test
the data Item to see if it is the root node of the tree?
What is the dataProvider? If it is xml, you could test for parent() ==
null.
If it is nested collections then your connections would need to exponse
a parent
I have a class, LazyLoadingDataDescriptor, which extends
DefaultDataDescriptor. I'm getting a compiler error 1067: Implicit
coercion of a value of type Class to an unrelated type
mx.controls.treeClasses:ITreeDataDescriptor.
Since this is extending a class that implements ITreeDataDescriptor2,
Something like:
http://blogs.msdn.com/noahc/archive/2006/10/19/register-a-custom-url-protocol-handler.aspx
I like that idea to use something like to launch application from AIR
and then let the handler check if it's coming from an AIR application ;)
You can't really use ActiveX objects from some other different then IE.
Firefox, Opera don't support it. Ofcourse, also it's only support under
Windows. What you could consider is let the ActiveX (if possible)
register an url scheme and use that to trigger it somehow together.
Maybe you should looking using a LocalConnection? Basically you would embed
a small swf in your application to handle communication with your Flex / AIR
application, via the LocalConnection or two if you want it to be
bi-directional.http://learn.adobe.com/wiki/display/Flex/Local+Connections
http://
The swz are signed files that only Adobe can compile.
On Fri, Jan 9, 2009 at 10:45 AM, luvfotography <
ygro...@all-digital-links.com> wrote:
> Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and
> placed it in my 'src' folder under the folders 'mx', then 'controls',
> then 'vide
I have a custom tree item renderer that is working out great except one
little small problem. In my item renderer I have some actions for adding /
removing / renaming directories. The only time I don't want the remove or
rename context menu items is when its the home directory. I know that I can
ha
I've a numericStepper bound to a value in a component. When I
Alert.show() it's value it reports the correct value - but it's
inputField is NOT; it's inputField is showing the last values before
the user cancels (and flips to a different view). Upon the user
hitting 'New' -- this is where
Pratik: I've gotten this to work on my own projects (for example, to
load data into Excel). But ONLY with Internet Explorer (on Windows, of
course). I doubt it would ever work cross-browser (or with AIR),
because the browser needs to implement support for instantiating
ActiveX objects and to call m
I recently used Alistair Rutherford's version with good success. Try
that version.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of sachin kothe
Sent: Frida
Jim have you got a bit more info in regarding your blues here within
PureMVC?
Are your named constants within your modules facade?
Is the problem accessing constants from one modules facade in another?
As its PureMVC related the forums @ http://forums.puremvc.org/ are
very lively with PureMVC
I didn't know that. Amy, I'm stealing that for a tip :D
On Fri, Jan 9, 2009 at 12:01 PM, Amy wrote:
> --- In flexcoders@yahoogroups.com , John
> McCormack wrote:
> >
> > dnk wrote:
> > > Hi there i have written a very simple class in AS that has ben
> added
> > > to a personal library (
HI,
I am using Flex builder 3 and tried to run the below example of "Mixing HTML
and Flex using IFrame" however i could not get the expected output. Anyone has
the working example of IFrame in flex which can run in Flex 3.
Example:
http://www.themidnightcoders.com/blog/projects/flexhtml/srcv
--- In flexcoders@yahoogroups.com, John McCormack wrote:
>
> dnk wrote:
> > Hi there i have written a very simple class in AS that has ben
added
> > to a personal library (SWC).
> >
> > Now in mxml I can reference the classes and components easily by
> > putting a:
> >
> > xmlns:mycomps="*"
>
Ok, thanks. Someone was saying that this was part of a flex
installation. So, maybe I need to go into the library definition and
somehow add this folder. I have used package definitions like this
but when the text I was following didn't have this particular folder
structure.
I'll try to add t
Hello,
I was wondering if you folks could recommend some of the best Flex
development shops to work for? Preferably in the SF Bay Area or the
Denver area. I'm familiar with EffectiveUI, they seem to be pretty
cutting edge.
I'm hoping to apply to a shop where I will work on a team of Flex
develo
Yes. If you are not already, use a result handler.
What RPC protocol are you using? What resultFormat?
If you trace(myDG.dataProvider.length); What do you get?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoo
Whenerver I hear "ViewStack problem", I think "deferred instantiation".
But if the DG is showing rows, then that is probably not the issue. Are
you doing anything clever, like dynamically building the DG columns?
If you have rows but no visible data, then the problem is probably with
the c
If the object doesn’t exist yet, it can’t be listening, and one object needs to
be created before the other. It is rare to dispatch events from a constructor
for that reason. There are plenty of other lifecycle events you can use.
However, often the better solution is to have a central data mo
- Original Message -
From: "markgoldin_2000"
To:
Sent: Friday, January 09, 2009 3:36 PM
Subject: [flexcoders] Re: Release a child again
> No, child2 adds a listener to its parent - the Container. Child1
> dispatches the event, the event bubbles up, Container handles it, but
> see
You can also use the Sequence class.
http://blog.flexexamples.com/2008/04/23/sequencing-effects-in-flex-using-the-mxsequence-tag-redux/
Has a great example of this.
On Fri, Jan 9, 2009 at 10:02 AM, Ward Loockx wrote:
> Just use the effectend event.. small quick and dirty example included ;)
>
Just a wild stab - I ran into something that sounds similar using
TitleWindow and found it font related. The data is there, but it's not
rendering it due to some sort of font issue. Are you importing a font
or using device fonts?
-Original Message-
From: flexcoders@yahoog
The systems that I write are traditional data entry types of systems.
I do everything within panels within modules. I have had users ask if
they could expand the size of the panel in order to read them better
due to poor eyesight, high res monitors and the like.
Are there any existing panel lik
I have used this before and it works very well.
You will need a crossdomain.xml file at the root level of the server.
If that is a problem you will have to proxy the web service calls
through another script on the server.
--- In flexcoders@yahoogroups.com, Blair Cox wrote:
> I just read a blog
Just use the effectend event.. small quick and dirty example included ;)
Greets,
Ward Loockx
private var fadeBIn:fade;
private var fadeBOut:fade;
private var fadeAIn:fade;
private var fadeAOut:fade;
private function creationcomplete():void
{
fadeAOut.alphaTo = 0;
fadeAOut.alphafrom = 1;
I'm receiving a very peculiar error. I've boiled it down to a simple
reproducible test. Given the following two files:
GenericTest.mxml:
http://www.adobe.com/2006/mxml"; layout="absolute">
TestStyle.as:
package
{
import mx.core.UIComponent;
[Style(name="color", type="uint", f
I have two custom controls which I want to fade in and out in response
to a button click, so, control A is showing, press the B button, A
fades out and control B fades in. I know how to set show and hide
effects but they seems to happen simultaneously, which is really ugly.
How do I make B's fade
Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and
placed it in my 'src' folder under the folders 'mx', then 'controls',
then 'videoClasses' and it picks up the change no problem.
If I then change my project to use 'runtime shared library' it's not
picking up my changes.
What d
How do you instantiate a new data grid dynamically ? Does it make sense to use
Modules ? I was thinking to implement the results data grid as a module and
load a new module instance as requested.
--- On Thu, 1/8/09, valdhor wrote:
From: valdhor
Subject: [flexcoders] Re: multiple instances of
On 9-Jan-09, at 8:41 AM, dnk wrote:
>
>
> Ok, to add to this, I found a reference at:
>
> http://digitalmedia.oreilly.com/pub/a/oreilly/digitalmedia/helpcenter/programmingflex3/chapter20.html?page=8
>
> And it gave me some clarification. But I am still having issues with
> the following error:
>
>
On 8-Jan-09, at 2:27 PM, dnk wrote:
> Hi there... i have a swc library I have been developing for personal
> use. I have thus far been just keeping my classes and components in
> the root.
>
> I used to run my compiler as so:
>
> ./compc -source-path /Users/me/Zend/workspaces/DefaultWorkspace/sgL
No idea, new territory for me. I¹m just going on what I¹ve found in the
documentation and the options shown when creating a new project.
Lets switch the topic slightly: How would you go about creating an
application where the server data is handled by someone else and you have
very little to no co
Thanks to all who replied on this one!
Much appreciated.
d
If you select a server in the New Flex Project wizard then you will
need a local server.
My server(s) are not local so I create a New Flex Project without
specifying a server and then create RemoteObjects in ActionScript
targeting my server.
WebORB just makes it easy to connect with a back end se
instead of just calling openTree(), need to actually use:
callLater(openTree);
http://www.cflex.net/showFileDetails.cfm?ObjectID=570
If only I'd found it sooner... :D
--- In flexcoders@yahoogroups.com, "nathanpdaniel"
wrote:
>
> I'm attempting to open all nodes in a Tree control (expandItem o
I don't believe it does (Though I could be wrong). It may require a file
share on the server however, but not that it be the same machine.
I gave up on those server settings in FB though, they wound me up a
treat :-(
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@y
There's no problem with running both versions technically - they are
completely seperate from the app's perspective.
What's the error? And out of curiosity - what does telling FB3 what
server tech you use get you anyway?
2009/1/10 valdhor :
> You can use the Mac version of Flex Builder to build a
I only thought I required the Windows version because when you start a new
project and select ASP.net as the server, it requires the dev server or IIS
to be local. I would like to stay away from third-party add-ins for
communicating with the ASP server. I have to follow the rules of the
client¹s IT
I'm attempting to open all nodes in a Tree control (expandItem on
everything possible). There's plenty of code out there explaining
how to do it - works GREAT on static data. But, I'm loading XML data
from an external source and deriving an XML Tree from that data at
runtime. I set my Tree c
There is a Yahoo group specifically targeted to Flex jobs at
http://tech.groups.yahoo.com/group/flexjobs/messages .
--- In flexcoders@yahoogroups.com, Ganesh Suyampirakasam
wrote:
>
> HI
>
> This is Ganesh.I am having 1+(14 Months) of Experiance in Adobe flex
as a Developer.
>
> I am searching
You can use the Mac version of Flex Builder to build a SWF that
connects to ASP.NET using WebORB.
Why do you need the Windows version of Flex Builder?
--- In flexcoders@yahoogroups.com, Blair Cox wrote:
>
> Installation on multiple machines
>
> If you own, or are the primary user of a single-u
wrote:
>
> According to your original explanation the only event handler for
> "remoteDateEvent" is added to the parent container. All the forms
do is
> issue events.
>
> If you really are doing addEventListener to child2, then
> child2.removeEventListener("remoteDateEvent", remoteClickHandle
During WebDU 2007 I presented a similar solution only using Ruby
instead. If you want you can have it.
As part of the example during the presentation I used one of those Palm
GPS mouses. But it should work with all GPS devices which support NMEA
standard.
Bruce
I'll see if I can explain it.
The xmlns (XML Namespace) is used by mxml to state where component(s)
are located. It is basically the same as using an import statement in
Actionscript.
In the namespace (Or import statement) think of the dots as directory
(or folder) delimiters. So, in your
Hi, thnx a lot for your answers, as for the devices I have no
attachment to a specific brand or something, at this point we are
doing the research first so, any known device with appropriate support
for this kind of application will be just fine, hopefully someone here
know about such devic
You should also check out Andrew Trice's Adobe MAX 2008 session
(AIR++).
http://www.cynergysystems.com/blogs/page/andrewtrice?
entry=content_from_max_air
Code for MerapiGPS he developed - with code. Probably as close to
your solution you will find! :D
One thing you should also keep in mind -
Installation on multiple machines
If you own, or are the primary user of a single-user Adobe product that is
installed on a computer at work, you can also install and use the software
on one secondary computer of the same platform at home or on a portable
computer. However, you may not run the sof
Hi folks,
Bit of an issue here. We have a project that requires us to begin
working with an ASP.net server. I'm currently using the Mac version of
FB3 and so far I haven't been able to determine how to continue using
the Mac version while creating a new project tailored to ASP?
When we purchased
Hey Bruce
I'm adapting the gallery to use an xml file as source, and have
already built an AIR app to manage albums, resize images, and output
the xml file. The Gallery component its self will be available for
purchase, but I'll make the AIR app's source available.
Yuri
--- In flexcoders@yahoogro
I have a simple XML file that is the dataprovider for a datagrid, and it
all works fine.
However.
When I put the datagrid in a viewstack, no data is rendered.
When you hover over the grid, you see that it has four rows active (with
mouseover highlight) but you can't see any data.
Does anyone k
Yes, I figured that out for dates etc... based on their formatting.
For numerical values, I was thinking of using temporary sorting in
order to get the biggest value without looping. Of course, sorting
involves looping but there are optimized algorithms. Hopefully, the
Sort() of the flex framewor
Hi
I have 2 components. These two components both extends the core component
"abilist".
When abi:CourseList dispatches a custom event
"AbiListEvent.COURSECHANGED" it doesnt caught by abi:CourseChapterList by
addEventListener in the constructor of the abi:CourseChapterList. I can
catch it , if
dnk wrote:
> Hi there i have written a very simple class in AS that has ben added
> to a personal library (SWC).
>
> Now in mxml I can reference the classes and components easily by
> putting a:
>
> xmlns:mycomps="*"
>
>
> Now what I would like to know is how would I reference a class that is
What is the event.result? you need to stick a breakpoint when your
displayResult function is called and see what is being returned and
change that into an arraycollection. You're line of code is effectively
saying that event.result is an arraycollection which I doubt (but I do
not know what CF can
when i use the hardcode relative link it works, so i guess the data
return from the cfc is wrong. bt thats odd the query seems to be
correct. may be its something to do with my arraycollection. please
take a look at the array collection and see if there's something wrong.
"dataAr"
[Bindable]
Hello!
We have a question concerning the delivery and installation of
LiveCycle Data Services ES web applications.
Within an LCDS application the LCDS jar files (flex-messaging-
common.jar,
) and config files (data-management-config.xml,
) are
needed and have to be within the same WAR(or EAR)
I do not know CF but there is 2 things I'd check first.
1 - use an absolute path first and not the relative one just in case its
wrong. I'm presuming you'd have checked an absolute path when testing
the image in a browser. So when testing change your image line to
something like http://newsimg.bb
You could try various filters on the image.
Check out http://merhl.com/flex2_samples/filterExplorer/ and try something like
the glowFilter. This would be a quick and easy way to do it.
Kenneth.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of vinod kumar
hi guys am having problems with my tilelist itemrenderer. it shows the
text but not the image from my server. am using coldfusion backend to
query database and pass the result to the tilelist. here is my
itemrender and cfc
"itemrender"
http://www.adobe.com/2006/mxml";>
79 matches
Mail list logo