I haven't tried loading the SWZs from AIR. Darrell's our expert on RSLs so
maybe he'll respond. I would think you wouldn't want to pick up the SWZs from
the network, but I would think you could put them in one central spot on the
client computer.
Alex Harui
Flex SDK Developer
Adobe Systems
Hi.
Im trying to get a child component to listen for an event that happens on
tabchange in the parent.
The parent is an application with a TabNavigator object.
When the tabchanges I want the the child component to carry out some stuff.
In the parent Ive got:
mx:Metadata
I was able to get the event happening by changing the component code to be:
private function postInit():void {
Application.application.addEventListener(buttonLabelEvent,
buttonLabelHandler);
}
but now the event seems to trigger 3 times for every tab change but doesnt
trigger on the first
Hi,
how to create complex selectable shape in flex.
For example if I make Europe map. And There is countries like Germany, Italy,
Greece etc. They all have their boundaries. And I want to create application so
that user can select Greece for example but only selectable in her boundaries.
If I
You'd be better listening to some property in your model and update that
property when tabs are changing. Your approach doesn't convince me.
But then, maybe I didn't get it right...
C
From: edencane lukevanderfl...@gmail.com
To: flexcoders@yahoogroups.com
If I want to add swf modules or a compiled css file that are all extern (ie
there is no explicit reference to them in the actual application code) and will
be loaded at run time to an AIR package how do I do it?
Just to clarify, I can run the app just fine at the moment so long as I
manually
Include them in the root of your package and when your app runs, check for
them in the install directory. If they are not there, move them there.
Here's some code that I use to do this with an included DB file in an AIR
app:
try
Ian,
No, it's not an AIR application. I'm using Flexbuilder 3, lifecycle 2.5.
Is there a way to get around to it?
Thanks
nhid
On Tue, Sep 15, 2009 at 6:19 PM, Ian Thomas i...@eirias.net wrote:
If it's an AIR application, you can use the .orderToFront() method of your
WindowedApplication.
You want to add the listener to the thing that dispatches the event, the
application, and declare the handler in the component.
Application.application.addEventListener(buttonLabelEvent,
buttonLabelHandler);
You will need to import the custom event.
Tracy Spratt,
Lariat Services,
If it has already fired then your event handler will have run.
--- In flexcoders@yahoogroups.com, dfalling dfall...@... wrote:
Is there a publicly-exposed property on components that can be inspected to
determine if they have finished creation yet? I know I can listen for
Or, set the return type of the function to array and return the array.
--- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote:
Store the array in a bindable variable inside the class instead of in the
function
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE
Thanks,
However I understood that for security reasons AIR apps are prevented from
writing to the application installation directory?
--- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote:
Include them in the root of your package and when your app runs, check for
them in the
This article should help:
http://jonathanbranam.net/solutions/filter-hierarchicalcollectionview-parent-child-data
and possibly this one:
http://jonathanbranam.net/flex3anatomy/class/HierarchicalCollectionView
--- In flexcoders@yahoogroups.com, kaushal.shah05 kshah0...@... wrote:
Here is
I should probably clarify a bit.
You could create your own creationComplete flag.
private var thisComponentIsComplete:Boolean = false;
then set it in your creationComplete event handler
private function onCreationComplete():void
{
thisComponentIsComplete = true;
}
--- In
I'm not sure on that but it may be correct. The model variables I
references in the code below were set as follows in my app:
public static constDATABASE_PATH :
String=
File.applicationStorageDirectory.nativePath;
public static
Man, I'm doing a terrible job communicating my problems.
So I want way for other components to inspect each other to see if they've
completed. I can't just listen to the event, because the creation could have
happened before I ever had a reference to the component to start listening.
I'm
In flexbuilder, to get those files into your .air package, try the
following :
Either
tick copy non embedded files to output folder in
project|properties|flex compiler, and with a bit of luck when you
publish your .air from FB they will appear in the Air file contents
screen included files
Do what Valdhor explains:
public var compCreated:boolean = false ;
creationComplete()
{
compCreated = true ;
}
now when ever needed check if compCreated == true
On Wed, Sep 16, 2009 at 5:13 PM, dfalling dfall...@gmail.com wrote:
Man, I'm doing a terrible job communicating my problems.
So, I still don't understand. How would you create a component without having a
reference to it?
Also, if you have a public var thisComponentIsComplete:Boolean in your
component that gets set when the creationComplete event fires, why can't you
just ask the component if it has been created?
I have a custom tab navigator that will be attached to a viewstack. It needs
to know if the viewstack's children have been created or not. This could
happen before it is attached to the viewstack or some time after due to
creationPolicy, so I absolutely can't just listen for the
Thanks!!!
This really helped.
Actually I found that even with copy non-embedded files checked FB wouldn't
copy content from linked folders only direct 'physical' folders under 'src' so
I had to use your 'hit the back button' trick in the export screen, as you say
a PITA but works!
--- In
Yeah. Turns out that the folks at Stack Overflow didn't like the idea of the
riacowboy tag. So you can still ask the question with sensible tags and then
post a comment on my Ask the RIA Cowboy blog so that I know where to find it.
Thanks.
-James
From: flexcoders@yahoogroups.com
Check out the ImageMap component in FlexLib
http://flexlib.googlecode.com/svn/trunk/docs/flexlib/controls/ImageMap.html
It works the same way in imagemap works in html, and you can use any of the
tools used to define imagemap coords for html, to define the coords. Fireworks
for example.
---
The info below is a result from remote object that is put into an
arraycollection. How can I use actionscript to create an array fom all
the PROFILEIDs within the ATTENDEEINFO Object. This array needs to be
passed into another remote object.
ATTENDEELIST
0 - ATTENDEEID
DATE
var attendeeProfileIdArray:Array = [];
for each ( var attendee:ATTENDEE in ATTENDEELIST )
{
attendeeProfileIdArray.push( attendee.ATTENDEEINFO.PROFILEID );
}
You might want to consider changing the name of your classes and
properties to follow standard naming conventions. Using all
Hi, all;
I have a component that extends Panel. The panel title is bound to a private
bindable variable that I set in commitProperties. The title variable updates,
but the titleTextField.text doesn't update, so the title always lags behind.
I haven't done Flex on a regular basis in a few
Anyone have any suggestions on the best way to import png files and keep the
file size down?
I have an app that can have up to 1000 imported png images with alpha
backgrounds in my app. These images are 1 of 40 icons we offer in our app.
These images were created in illustrator (web 2.0
I've got an object that descends from List, and uses an itemRenderer. Recently,
I tried adding datatips to it, but nothing shows up. When I set it to use a
datatipFunction, the function never gets called.
If, however, I remove the itemRenderer, datatips show up properly. Has anybody
seen this
Just finished my first ever Flex app (yay!) and deployed it to my tomcat server
and it is behaving differently there compared to when I run it within the IDE.
During the execution the Flex app makes an HTTPService call which returns a 404
if no data is found. My fault handler:
if
Hi -
I have a Label with truncateToFit set to true and a maxWidth. However, the
htmlText I assign is concatenated a la:
ipText = 'b' +endPointData.ipLabel+ '/b: ' + endPointData.ipValue;
I've researched online and found that truncateToFit() has problems dealing with
concatenated Strings; my
Carl, if you're on here my reply to you was bounced as it didn't
recognize your domain. Please contact me again, hopefully with a
known working email :-)
Having a central EmbeddedAssets class that the views bind to works well. You
can also reduce the image size by saving the png files as flattened pngs.
-TH
--- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote:
Anyone have any suggestions on the best way to import png files and
How do I get the browser's height and width,
not the swf's height and width, but the browser's height and width,
can I get it without using javascript (external interface)?
thanks,
We were showing our product [written entirely in Flex BTW] to a web developer
who commented that he could [with about as much trouble] duplicate our
application via JQuery.
I am not a web developer, so I am not qualified to agree or disagree with his
comment. I'm not even sure its a valid
I don't think it has a problem with concatenated Strings... that would be very
surprising if it did. But I don't think it works properly with htmlText.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Matthew
Sent: Wednesday, September 16, 2009 3:52 PM
// Plain text gets truncated with a // HTML text simply gets
clipped, because it is difficult // to skip over the markup and truncate
only the non-markup. // But both plain text and HTML text gets an
automatic tooltip // if the full text isn't visible.-TH
--- In flexcoders@yahoogroups.com,
Haven't checked it, but this looks like it might work for htmlText:
http://skovalyov.blogspot.com/2007/02/text-control-with-truncatetofit.ht\
ml
http://skovalyov.blogspot.com/2007/02/text-control-with-truncatetofit.h\
tml
-TH
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
//
The renderer is responsible for showing datatips. You can see how it is done
in the default renderer and decide how you want to implement it in your custom
renderer.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From:
You pretty much have to get it using JS.
hth!
B.
On Wed, Sep 16, 2009 at 5:02 PM, luvfotography
ygro...@all-digital-links.com wrote:
How do I get the browser's height and width,
not the swf's height and width, but the browser's height and width,
can I get it without using javascript
39 matches
Mail list logo