, this, alertListener, null, Alert.NO);
event.preventDefault(); // Prevent default here
}
private function alertListener( eventObj: CloseEvent) :void {
if (eventObj.detail= =Alert.NO) {
closeTab(); // Really close the tab here
}
}
--
Laurent Cozic
Flash, Flex and Web
to
it, and if it's already there, it's going to be pushed on top of all the other
sprites.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 2/20/09, civilu007 civilu.gro...@gmail.com wrote:
From: civilu007 civilu.gro...@gmail.com
Subject: [flexcoders
No, there's no pointers. All the objects are passed to functions by reference,
except for the basic types (Number, String, etc.) which are passed by value.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 2/20/09, christophe_jacquelin
but you're kind of expected to make more efforts
to use it - i.e. read the doc, search Google. Once you are used to it though,
it's just as good as the paid equivalents.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 2/20/09, Jeffry Houser j
/
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Wed, 2/18/09, Andrew roly...@gmail.com wrote:
From: Andrew roly...@gmail.com
Subject: [flexcoders] Reading an UTF-8 document
To: flexcoders@yahoogroups.com
Date: Wednesday, February 18, 2009, 10:19 PM
the drawing on yourSprite.graphics here
addChild(yourSprite);
}
]]
/mx:Script
/mx:Image
Also, if you need to clear the image, just set Image.source to null.
--
Laurent Cozic
Flash, Flex and Web Application
, xmlLoaded);
function xmlLoaded(event) {
var xmlString = event.currentTarget.data;
// and parse the XML here
}
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Thu, 2/19/09, christophe_jacquelin christophe_jacque...@yahoo.fr wrote:
From
Here: http://www.google.com/search?q=country+list
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Wed, 2/18/09, christophe_jacquelin christophe_jacque...@yahoo.fr wrote:
From: christophe_jacquelin christophe_jacque...@yahoo.fr
Subject: [flexcoders
in PHP:
http://email.about.com/cs/phpemailtips/qt/et031202.htm
Then in Flex, just use URLLoader to call the PHP script.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Wed, 2/18/09, Simon Bailey si...@newtriks.com wrote:
From: Simon Bailey si
be document.location.href - not sure which one is right.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Wed, 2/18/09, kuntamayu kuntam...@yahoo.com wrote:
From: kuntamayu kuntam...@yahoo.com
Subject: [flexcoders] Re: is it possible to track visitors / the page
You could make the app ping the server every 5 minutes. Then if the server
doesn't receive the ping, assume that the user closed the browser and log him
out.
Another simpler solution would be to put a timeout on the session.
--
Laurent Cozic
Flash, Flex and Web Application development
http
Have a look at mx.utils.ObjectUtil.copy()
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 8/22/08, piotrchruscielewski [EMAIL PROTECTED] wrote:
From: piotrchruscielewski [EMAIL PROTECTED]
Subject: [flexcoders] How to copy each property of object
Open the Task Manager while your are making changes and check if one of the
processes is taking too much CPU.
Now and then, I have one of the svchost.exe processes taking 99% CPU each time
I press a key in Flex. Once I kill the process everything goes back to normal.
--
Laurent Cozic
Flash
;
button.width = newWidth;
button.height = newHeight;
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Thu, 8/14/08, Rico Leuthold [EMAIL PROTECTED] wrote:
From: Rico Leuthold [EMAIL PROTECTED]
Subject: [flexcoders] Resize from left to right
To: flexcoders
Hi, you need to stop the event propagation so that it doesn't reach the canvas.
You do that in your button event handler:
private function traceButton( evt:MouseEvent) :void
{
evt.stopPropagation();
trace(trace button + evt.target + / +
evt.currentTarget) ;
}
--
Laurent Cozic
Flash
to check that lineHolder is not null
before creating it.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Thu, 8/14/08, Regert, Michael [EMAIL PROTECTED] wrote:
From: Regert, Michael [EMAIL PROTECTED]
Subject: RE: [flexcoders] Displaying custom items
Not sure but I think you need to make your login variable (whather that is)
bindable, so that, when it changes, the showName label is notified:
[Bindable]
private var login:String; // just guessing the declaration. The important part
is the [Bindable] tag
--
Laurent Cozic
Flash, Flex
);
if (c is Container) {
checkAllButtons(c);
} else {
if (c is Button) {
// Do your changes here
}
}
}
Then start the process by passing the application as a parameter:
checkAllButtons(Application.application);
--
Laurent Cozic
Flash, Flex and Web
it might compile, it
won't make any sense once you convert the AS file.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Tue, 8/12/08, litesh_b321 [EMAIL PROTECTED] wrote:
From: litesh_b321 [EMAIL PROTECTED]
Subject: [flexcoders] Class file in flex
necessarily
match the way it is stored internally. I think it's true of any framework
including .NET and Java.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Tue, 8/12/08, Dale Cook [EMAIL PROTECTED] wrote:
From: Dale Cook [EMAIL PROTECTED]
Subject
Check the outgoing HTTP calls using Live HTTP headers for Firefox. You
probably have a redirection from https to http at some point. I remember having
had a similar issue and it had to be fixed server side (can't remember the fix
though).
--
Laurent Cozic
Flash, Flex and Web Application
You need to go through the dataProvider to change the value of the selected
item. For example:
comboBox.dataProvider.setItemAt(newItem, comboBox.selectedIndex);
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Mon, 8/11/08, Joshua Jackson [EMAIL
I don't think you need to worry about security for loaded contents. The Flash
player does that very well already and there's probably no way a Flash file
could do anything malicious.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Thu, 8/7/08
are trying to do.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Berkay Unal [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, August 6, 2008 3:25:53 PM
Subject: [flexcoders] Returning value inside a nested functions
,
how?
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
Try savingMessage.validateNow() - it should force an update of the text area.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Paul Steven [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, August 5, 2008 9:33
(test.yourFunction()); // abcd
test.yourFunction = function() {
return 1234
}
trace(test.yourFunction()); // 1234
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: arieljake [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent
, textArea_textInput);
protected function textArea_textInput(event:TextEvent) {
if (textArea.textHeight textArea.height - textArea.getStyle(fontSize)) {
event.preventDefault();
}
}
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
I haven't checked but I guess that the TextEvent.text property is empty if you
are deleting text. If that's the case, then don't cancel the event.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: tchredeemed [EMAIL
. You might also want
to save and restore the caret position as well (see selectionStartIndex and
selectionEndIndex)
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: tchredeemed [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Add the mx_internal declarations at the top of your class:
import mx.core.mx_internal;
use namespace mx_internal;
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: flexawesome [EMAIL PROTECTED]
To: flexcoders
This would only return the SWF file URL, not the URL of the page within which
it is embedded. To do that, you'll have to use javascript and the
ExternalInterface class:
ExternalInterface.call(document.location);
--
Laurent Cozic
Flash, Flex and Web Application development
http
Hi,
You need to use an embedded font in order for the fade effect to work. Simply
create a new style for your text, then tick the Embed this font check box in
the style properties.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
there's not
much we can do about it. If I'm not mistaken, this limitation will be gone in
Flash 10 though.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: cesarerocchi [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent
approach.
In this case, a better way would be to directly create an instance of your
embedded object and add it to the display list. I think the syntax would be:
var image:BitmapAsset = new _moveGroupImage() as BitmapAsset ;
this.addChild(image);
--
Laurent Cozic
Flash, Flex and Web
a Flex object.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Jason [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, August 1, 2008 6:49:50 PM
Subject: [flexcoders] Re: problem adding images to UIComponents using
Did you try putting your assets directory inside src? I think that should
work fine.
-- Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: jamalwally [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, July 31
Normally, the way to pass parameters to the item renderer is through its data
property. So just make sure that your data provider contains whatever
information you need to set the item renderer position.
-- Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
How about:
sNaN(mynumber) ? 0 :
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
- Original Message
From: Blair Cox [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, July 31, 2008 5:19:46 PM
Subject: Re: [flexcoders] NaN
Within which context? If you need to know which component has
triggered an event, you can use event.currentTarget, as in:
yourRepeatedComponent click=clickHandler(event) /
Then in a script block:
function clickHandler(event) {
var yourComponenet = event.currentTarget;
// From then you can
40 matches
Mail list logo