Perfect thanks! Forgot all about outerDocument :-)
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Try outerDocument
On 5/25/10 10:16 PM, jmfillman jmfill...@... wrote:
I have an itemRenderer:
mx:DataGridColumn headerText= dataField=remove width=20
I'm trying to implement a tri-state checkbox. I found a previous implementation
which was way to complicated for my taste. I have the implementation mostly
done, but there's one issue which I'm having a hard time with:
I created a Sprite which draws the mid-state indicator over the checkbox
I just created a Flex4 swf with IntelliJ. When I load the swf, a lot of other
stuff is loaded like:
- textLayout_swf
- osmf_flex.4...swf
- framework ... swf
- spark swf
- sparkskins ...swf
- rpc swf
If I try to run my swf offline, it doesn't load at all. Is this a bug in Flex4
You should be able to cast this as a strongly typed 'Person' object.
var object:Object = new Object();
object.name = name;
object.address = address;
person:Person = object as Person;
trace ( person.name ); //name
trace ( person.address ); //address
On Sat, May 8, 2010 at 9:18 PM, anagnost68
BlazeDS is open source so you could grab the code and make the changes
yourself. It should just be a case of removing the check.
Hello :)
I have a menu item et i would like to store these information in CookiesI
didn't work with Cookies before :( :( ...Do you have any example please please
...
there is a code for the menu item :
menuitem label=Option icon={newproject}
menuitem
On 27/05/2010 07:34, Harbs wrote:
I'm trying to implement a tri-state checkbox. I found a previous
implementation which was way to complicated for my taste. I have the
implementation mostly done, but there's one issue which I'm having a
hard time with:
I created a Sprite which draws the
Hi,
Cookies are pretty easy to use, I did something very similar, storing the
selected value from a Menu.
First things first, download the CookieUtil library and plug it into your
project.
Then you can use CookieUtil.setCookie and CookieUtil.getCookie to set and
get the values.
Hope that
You use a flash SharedObject. Google for example there are plenty of them like
this one
http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html
C
From: Nini7016 Nini7016 nahloulaha...@hotmail.com
To: flexcoders@yahoogroups.com
Sent: Thu, May 27,
I'm not sure I explained myself well enough.
I extended the basic CheckBox component. The only visual elements that I added
was the Sprite which draws the middle state indicator above the checkbox icon.
This Sprite is added at creationComplete (to make sure it's added after all the
icons,
Channel Disconnected Before An Acknoledgement was recicved!
at createView_clientsResult.token = ...
Anyone advise notice something wrong?
protected function manageClientData(event:ClientEvent):void
{
// build client view object to add or update.
var obj:View_clients = new
Thank you very much Nick
Could you give an example which shows how do you have done to restore your
selected value please :) It will be very helpful for me :)
Thank you very much
To: flexcoders@yahoogroups.com
From: n...@middleweek.co.uk
Date: Thu, 27 May 2010 10:51:00 +0100
Subject: Re:
On 27/05/2010 11:17, Harbs wrote:
I'm not sure I explained myself well enough.
I extended the basic CheckBox component. The only visual elements that
I added was the Sprite which draws the middle state indicator above
the checkbox icon. This Sprite is added at creationComplete (to make
Yeah sure...
/**
* Resets the ADG zoom feature to the browser-cookie stored
value or to 100%
* if there isn't one and then saves 100% to the browser-cookie.
*
* @param event The Event Object.
* @return void
Hello,
I have a viewstack with several children. Sometimes i get the following error
when i switch views, but the problem is that sometimes it happens once every
4-5 switches sometimes the error goes away for several days...
Any ideas on how to debug?
TIA,
Fotis
TypeError: Error #1009:
Hello
I am trying to create a drop-in extension for mx:image that supports
an URLRequest for source property. The reason is that the (server)
images should be retrieved using a POST and some custom headers added to
the HTTP request.
I have something that somewhat works but seems far from
In FB4 if I have this checked it doesnt seem to have any effect.
I still cant debug into the framework.
Is this only available with certain SDK's?
I am currently using 3.2.
If it doesnt work with 3.2 is there a way to get the debug version of 3.2 RSLs?
Thanks
I was afraid of that... Where (if anywhere) do I find the source code of the
CheckBox component?
Harbs
On May 27, 2010, at 1:53 PM, Paul Andrews wrote:
On 27/05/2010 11:17, Harbs wrote:
I'm not sure I explained myself well enough.
I extended the basic CheckBox component. The only visual
Never mind. The source code is available by hitting F3 in FB. I'll see if I can
find the answer there...
On May 27, 2010, at 1:53 PM, Paul Andrews wrote:
On 27/05/2010 11:17, Harbs wrote:
I'm not sure I explained myself well enough.
I extended the basic CheckBox component. The only
Hello,
I want that a customCursor with a fixed y position value.
But the field mouseX is read only.
How to limit the movements of the custom cursor ?
Thank you,
Christophe,
Hello,
When I load my SWF application, there is a BusyCursor during one minute before
to access to the application.
Why there is a busy cursor and how to cancel it ?
Thank you,
Christophe,
It seems that the problem is here:
private function setPosFromValue():void
{
var n:int = _thumbCount;
for (var i:int = 0; i n; i++)
{
var thumb:SliderThumb = SliderThumb(thumbs.getChildAt(i));
thumb.xPosition = getXFromValue(values[i]);
You can compile them yourself (not the signed ones I suppose). The RSLs are
compiled from corresponding SWCs. Here's just a copy-paste of my RSL config:
flex-config
compiler
!--
!!! IMPORTANT !!!
MUST UPLOAD NEW SIGNED RSLS to CLOUDFRONT
Switching to build 14159 (aka release Flex SDK 4.0)
NOTE
Hello
I have a menu item in my interface, it will be that checked (or selected by the
user) :
menuitem label=Option icon={newproject}
menuitem label=View icon={newproject}
menuitem label=Proprities icon= id=18
type=check toggled=false/
This would usually mean that you are not specifying a correct URL of where
you are trying to connect to doesn't exist, or you are offline :) or some
other major error not related to processing of data, but to its delivery.
You should really try Charles web proxy. It shows all the communication
To: flexcoders@yahoogroups.com
From: nahloulaha...@hotmail.com
Date: Thu, 27 May 2010 13:58:34 +0200
Subject: [flexcoders] How to store information of selected value in Cookies ???
Any help :( Please your help :( --could you see very quickly my code
I tried to follow the implementation, and I'm not much clearer on what's going
on.
The best I can figure is that there's something about updateAfterEvent() or
changing the phase which is causing this.
There's a roll out handler which changes the phase and calls
updateAfterEvent()...
Harbs
Just thinking out loud...
I am assuming that the event listeners for MOUSE_OVER and MOUSE_OUT are
attached to the checkbox. When a MOUSE_OVER triggers you move your sprite over
the checkbox. A MOUSE_OUT will never trigger on the checkbox. You would need to
attach the MOUSE_OUT event listener
You can have a structure, a bounding box. All you do is just get the mouseX
or mouseY on movement. If they are out of your bounding box. Then stop
dragging.
So basically :
function callMeOnMouseMove(e:mouseEvent){
if(e.mouseX myBox.rightBound || e.mouseY myBox.leftBound ||
e.mouseY
Nice thought, but I traced the events and both the events fire.
I did some further checking and if I change MOUSE_OVER to ROLL_OVER, it does
not work at all. I'm assuming because MOUSE_OVER fires later than ROLL_OVER.
Harbs
On May 27, 2010, at 3:40 PM, valdhor wrote:
Just thinking out loud...
Anyone know if there are any emulators for Android 2.2 that the beta of
Flash Player 10.1 and AIR for Android can be installed on so we can
start to play?
I opened device central CS5 and it has, at least, the flash player 10.1
emulator. Still would like to play with AIR emulator for Android
The android tools will download it for you if you sync them up.
Christophe wrote:
When I load my SWF application, there is a BusyCursor during one minute
before to access to the application.
Why there is a busy cursor and how to cancel it ?
The busy cursor is because your swf is still downloading, and not
ready to use. It should appear only over the
I am trying to animate (slide down) the list that pops up when in the open
state of the ComboBox or DropDownList in Spark.
I am defining a custom Skin for that and I guess should deal with the popUp of
the PopUpAnchor. Since the PopUpAnchor is attached to the root, when
animating it is fully
http://flexpearls.blogspot.com/2008/02/row-background-color-in.html
I'll give a try but there is no alpha in the solution above.
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Have you tried using an item renderer?
Hi,
When we create a composite component, such as an itemRenderer, based on an
HBox and there's a button and TextInput inside, those sub-components are
public, is there a way to specify they're private?
Thanks,
Nick
--
Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, blog:
Lets say you have a root folder, with 20 subfolders (ie created by a camera),
each containing images. Click 'Upload' on the root directory and all the
subimages are uploaded.
Is there a (Flex) component that will do this?
Thanks,
Philip
--- In flexcoders@yahoogroups.com, Mark mark.pusat...@... wrote:
I need to draw an animated arc in Flex. So I have 2 points and the arc needs
to draw over a period of about 1.5 seconds or so. I can't even find a good
demo for Flash, let alone Flex. Does anyone know how to go about doing
Hi Nick,
The best option is to create your composite components in Action Script. This
gives you direct control over the scope of the children, and they can be
referenced within the component by the name of the var. For MXML composite
components, if you don't give the children id's, they
Thanks for all the suggestions!
Once I wrapped my head around how the CheckBox component works, it was pretty
easy to find the solution.
There's no need to add event listeners.
The correct way to go about it was to override the updateDisplayList function.
updateDisplayList() adds the icons to
Thank you guys for the quick responses and great examples. I was thinking I
wouldn't get something like this in a Flex app. I'll be working on this over
the weekend.
-M
Are you talking about an AIR app, or a browser app? In AIR this should be
possible, but I don't think there is a component for it. In a browser app I
don't think this is possible due to security restrictions.
On Thu, May 27, 2010 at 10:09 AM, method_air loudj...@hotmail.com wrote:
Lets say you
I must be having some crazy brain cramp right now, I'm having a devil of a time
with getting a loop to work properly. I have an ArrayCollection that I need to
get to data a level or two down (rootitemassociatedfKey). When I loop thru
it it's fine unless there's only one item in there.. then I
Is it possible to define a component's skin within the component itself
along the lines of:
s:Button xmlns:fx=http://ns.adobe.com/mxml/2009;
s:skinClass
fx:Component
s:SparkSkin xmlns:s=library://ns.adobe.com/flex/spark
...
/s:SparkSkin
/fx:Component
/s:skinClass
/s:Button
Well... why did you use ArrayCollection to loop through XML??? There's E4X,
light years faster and more convenient. Besides, don't put complex
expression in condition or iteration part of the loop, they are evaluated
each time.
var xml:Xml =
root
item
id1/id
associated
fKey2/fKey
fKey3/fKey
Nope. Or maybe I don't know how, and maybe someone will correct me. I think
this was one of the first feature requests after Spark framework was
released.
I have the following situation: I have n bitmapdata objects of the same width
and height. Each bitmapdata object have some black pixels (0x00) and the
rest of the pixels are of different colors.
The position of the black pixels is different in each bitmapdata object.
I want to be able to
First threshold the non-black areas to transparent and then draw one
bitmapdata into another? Or maybe merge? Haven't tested it, just a guess.
This is currently for a flex browser app, but may also be implemented in an air
app.
To: flexcoders@yahoogroups.com
From: happy...@gmail.com
Date: Thu, 27 May 2010 12:39:21 -0700
Subject: Re: [flexcoders] Upload subfolder images component
Are you talking about an AIR app, or a browser
if there's only one item then flex xml to object conversion doesn't know if
it's an array of items or a string. it defaults to string if there is only
one item. so check if ( stories[i].associated.fKey is String ) // do
something different
or just use e4x like what oleg said.
On Thu, May 27, 2010
Thank you.
Now that some time's gone by, what is the best way in Flex 4 to get the
coordinates of a specific character? I would like to highlight keywords in a
RichEditableText component - very much like this example:
http://flexdevtips.blogspot.com/2010/05/highlight-scrollbar-track.html (view
source
Is there any way to get the URL that the user typed in to get to the
website?
For example, if the user loads IE, Chrome, etc... and goes to
http://www.mysite.com http://www.mysite.com/ is there anyway that I
can pull that information in FB?
I know I could do this in Apache but I want do
Application.url?
On 5/27/10 8:49 PM, Scott h...@netprof.us wrote:
Is there any way to get the URL that the user typed in to get to the website?
For example, if the user loads IE, Chrome, etc… and goes to
http://www.mysite.com http://www.mysite.com/ is there anyway that I can pull
that
Highlights are just graphics drawn into the TextLines. The TextLines should be
children of the RichEditableText and you can use TextLine APIs to find
atom/character positions.
On 5/27/10 6:48 PM, Baz li...@thinkloop.com wrote:
Now that some time's gone by, what is the best way in Flex 4
Flex 4 configures to use RSLs by default. Selected the “merged into code”
option if you don’t want to use them.
On 5/25/10 8:28 AM, Lieven l.card...@televic.com wrote:
I just created a Flex4 swf with IntelliJ. When I load the swf, a lot of other
stuff is loaded like:
-
57 matches
Mail list logo