I have Flash Player 8 installed, but when I try to access the demos
from the http://labs.macromedia.com/wiki/index.php/Showcase it seems
to not recognize that I have Flash 8 and pops up a dialog box to
install Flash 8.
Any ideas why it does not recognize that my PC already has Flash 8?
On 10/18/05, Robert Thompson [EMAIL PROTECTED] wrote:
It sounds like below you are talking about a online presentation of the
technology.
Do you happen to have the URL -- I find Macromedia's presentations very good
and would like to see this.
Here's an overview article on the labs site:
opinion on mailing list and combobox
I think the mailing list should remain as is. Keep everything
together. If its split up, most active users will end up just
subscribing to all categories (so no gain). But the archive search
could be better.
--
private function initCellRenderer() : Void
Hi,
Can anyone tell me whether is is possible to navigate the accordion
using actionscript rather that via button clicks.
these are the options I have tried:
_root.accordionname.selectedIndex=1;
_parent.accordionname.selectedIndex=1;
I am executing the code after listening to a broadcast event
Use selectedChild instead of selectedIndex if possible.
Working example below.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
width=100% height=100% initialize=initApp();
mx:Script
![CDATA[
function initApp() {
*acc.selectedChild
I am trying to figure out a way to load an image dynamically without coding in relative paths. I tried the following with little luck:mx:Loader source=@ContextRoot()/{object.imagePath} width=40 height=58/
The same code works if I replace the @ContextRoot() with the relative path i.e.
If you look at the 4 showcase examples, one of which
is the Flickr example, which are on this page,
http://labs.macromedia.com/wiki/index.php/Showcase
, you will find that only the last one has a link that
says Download the Source.
AsFusion Feed Reader
View the AsReader Application
Zorn
I put a customized component which extends mx:Panel on a mx:Canvas.
Although this component is visible on the mx:Canvas, i'd like it to be
hidden when user clicks 'outside of the component' - it's still on the
mx:Canvas.
I thought mouseDownOutside event of mx:Panel should be the event.
However
Hi,
I tried this too, but it seems that all the Tabs in every TabNavigator on the application share the same style properties.
It's a headache
Regards,
Jose
2005/10/19, Sreejith Unnikrishnan [EMAIL PROTECTED]:
Maybe you should consider creating a custom style for each of
I was getting ready to delve into a .NET object for PayPal and then integrate that object into Flex 2.0, but now I'm questioning whether I need to do that.
Is there a particular PayPal WebService that is best used with MXML?
-r
Yahoo! Music Unlimited - Access over 1 million songs. Try it
Not sure if you've already solved the problem, but apparently you need to have JDK 1.4 rather than 1.5 to make it work:
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=582threadid=1068843enterthread=y
SpikeOn 10/18/05, Paul Hastings [EMAIL PROTECTED] wrote:
Spike
Thanks for those pointers Phil -- it still gives me a base class not found
error in the AS file (on the class definition) when I try to make it
public. I've got my updated code below.
The strange thing is that if I do an import of mx.effects.* first and
extend TweenEffect it doesn't give
Hi there,
i'm inserting a swf file in the mxml file using
mx:Image source=@Embed('map.swf') /
i have a method inside he map.swf file
function setlocation(x,y){
latitude=x;
longitude=y;
}
i want to invoke this function from the mxml file and pass parameters
for this function...
please
I've seen that name on the list a lot. Guess its time to look into it. Thx Jimmy.On 10/19/05, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:
Once you are done building
simple Flex applications and ready to move on, you should take a look at the
Cairngorm framework, follow the link below.
Not sure if anyone else notiuced this, but in Opera
8.5, the latest Flash Player 8.x appears to have a
vertical sizing (adjust to resize) issue.
This doesn't happen in NS, IE or FF.
If you drag a window corner, the auto-layout of the
sample at,
http://www.asfusion.com/reader/
Does not re-size
Matt mentions in his Breezo that post-alpha we'll be able to do
transitions between states -- though I think Kevin Lynch already showed
that at his web 2.0 presentation. Is it not yet in there?
Waldo Smeets also has his presentation on Flex available:
Hi,
I am trying to do the following:
I have an SWF file that contains a movieclip that
have other sub movieclips. I would like to be able to colour these sub movie
clips through actionscript.
I assume that I have to create a component, but since
I never really did this before I
Just wondering, does anyone know if its
possible to use the new Filters in applications compiled by Flex 1.5?
I dont need it to be tag based, AS
is fine
Thanks,
t
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Spike wrote:
Not sure if you've already solved the problem, but apparently you need
to have JDK 1.4 rather than 1.5 to make it work:
yeah i know, found out the hard way made tom j suffer accordingly ;-)
Yahoo! Groups Sponsor ~--
Most low income
That's because they forgot to include some .css.
If I'm not mistaken, xhtml requires that if you set width and/or height to 100%
on a container, it has to be set on all containers
surrounding it, all the way up to the 'html' container.
In other words, the following is missing:
html, body {
I've found that going to Google and prepending flexcoders to your
search string works really well. I don't know if it's worth the time
to improve the archive search when there already are so many search
engines out there.
--- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote:
But
I solved this using a stylesheet, a TabBar and a Viewstack.
I'm new to Flex so there may be a better way but this works for me.
- Christy
Here's an example:
mx:Script
function setTabStyles2()
{
//this can be inside a loop to avoid hardcoding of indices.
:-)On 10/20/05, Paul Hastings [EMAIL PROTECTED] wrote:
Spike wrote: Not sure if you've already solved the problem, but apparently you need to have JDK 1.4 rather than 1.5 to make it work:yeah i know, found out the hard way made tom j suffer accordingly ;-)
Yahoo!
Try something like this
mx:Image source=@Embed('map.swf') id=mySwf/
mx:Button click=mySwf.content.setlocation(1,2)
/
If youre going to do this a lot,
you should check out yesterdays MAX presentation by Waldo Smeets (www.waldosmeets.com) which outlines how
to create a Flash
Kind of...
http://www.macromedia.com/devnet/flex/articles/fp8_features.html
- Original Message -
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, October 20, 2005 6:56 AM
Subject: [flexcoders] FP8 Filters + Flex 1.5?
Just wondering, does
anyone know if
Naw, like this:
var sourceArray = [ {label: "hello", data: ["one",
"two", "three"]}];
yourDataGrid.dataProvider =
sourceArray;
You then have a customCellRenderer for one of the
DataGrid columns. That cellRenderer, sets the item, 2nd parameter in the
setValue function, as a dataProvider
Great point, Robert.
BTW, the Flickr sample that was on the page that Muzak pointed to is an
entirely different application than the one I showed on the demo. :-)
I agree that we should post more source. We're working on it!
-Sho
-Original Message-
From: Robert Thompson
The transitions that we did for the demo that Kevin / I did
are very basic. More complex choreography will be available
post-alpha.
-Sho
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
ElstSent: Thursday, October 20, 2005 3:23 AMTo:
I don't know. I haven't personally used the file upload functionality in
FP8 yet.
Meanwhile, I believe that some folks from our developer relations team
are cooking up a Flickr API. I'll try to find out if/when this is
happening and get back to you.
-Sho
-Original Message-
From: Robert
I haven't looked at Flex 2 yet, but don't you wish Macromedia would
include a best-practices framework with the product, even if it's
optional for the look what I can do in one small file crowd? I'm new
to Flex, and have adopted the ideas in Ch 20 of the i2 book, but
haven't explored Cairngorm
I'm doing some Flex 2.0 doodling right now to learn my way around. Is there any way to develop quick applications independent of a project or a way to automatically set the most recently created app as the default fro running. Not a major prob but just curious if there's another more efficient
Thanks Sho...btw,
I want to begin looking into implementing the Flickr
File Upload API; is there any particular caveat in
FLEX 2.0 to look out for when doing RFC Upload File
Posts? I mean is it as simple as a input type=file
and name=file1 etc. as in HTML RFC Posting?
-r
--- Sho Kuwamoto
Hi Richard,
Cairngorm is mostly a formalisation of what Steven and I produced in Chapter
20 of the book. Cairngorm does, however, add strategies for managing the
flow of data between your model and your views, by adding more detail using
the ModelLocator and ViewHelper strategies.
You should
Hi,
Ihave userobject (using Remote object)in actionscript bodyin my login.mxml page after authentication .after storing user object in variable how to retrieve that object in other mxml pages andchecking user is still in session.
Please provide any sample code regarding this..
thanks,
Try re-assigning the dataProvider to the tree in a result handler
function.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jrab2999
Sent: Thursday, October 20, 2005 10:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem
If you use the mx:Image or mx:Loader tags
to show your swfs and include an id(mySwf), you can access their public members
through the content property.
mySwf.content.color = whatever
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
If you use the mx:Image or mx:Loader tags to show your swfs and include
an id(mySwf), you can access their public members through the content
property.
mySwf.content.setlocation(0,1)
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
Just guessing, but try:
source=[EMAIL PROTECTED]()}
+ / + object.imagePath}
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kashif Noorani
Sent: Thursday, October 20, 2005
12:53 AM
To: flexcoders@yahoogroups.com
Subject:
Are you sure you are using
the TreeDataProvider API calls to do your update and not the low level node
functions?
You can also just re-assign
the dataProvider to the tree When you are done updating it. That is sure to
force a complete refresh.
Tracy
From:
Title: Right click and popup window
Beware of scope issues.
Not sure exactly how in your specific case,
but you should probably use a Delegate. I suspect that handleContext is
running in a scope that is unaware of showFormWin.
Tracy
From: flexcoders@yahoogroups.com
If this was 1.5, I's say, call the removePopUp from a doLater().
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Wednesday, October 19, 2005 4:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2: Popup Error
I want to expand my web services object design tools
and was wondering what FLEX 2.0 coders out their
recommend as the best Java Environment?
Since I love Macromedia products already, is there
anything special about JRun and what is the best IDE
for use with JRun (if it even matters; I've used
Thanks, Alistair. And congratulations on the book. I find it well-organized and -written.
- RichardOn 10/20/05, Alistair McLeod [EMAIL PROTECTED] wrote:
Hi Richard,
Cairngorm is mostly a formalisation of what Steven and I produced in Chapter
20 of the book. Cairngorm does, however, add
I am working with macromedia flex in my current project,i am saving
one document to database by entering the data on two mxml files.
after saving to database i am closing tne two mxml files.when i try to
update the above document how can i display the original two files
with the original data
Great to hear Sho!
- Peter
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Can someone point me to where I can get info on the Timer Class. The
livedocs just ether say see the new Timer Class, or for the Timer Class
it just says TBD :/
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome
Title: Request: please indicate Flex version prominently in posts
Unless you know it is not relevant.
Either the subject(ideal) or early in the post body. If we can remember, it will make keeping up with the list easier, and will lessen wasted time.
Tracy
--
Flexcoders Mailing
Oops:
source=[EMAIL PROTECTED]()
+ / + object.imagePath}
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
Spratt
Sent: Thursday, October 20, 2005
12:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Using
Jagadeesh,
I usually have 1 page per application but if I had to use several it wouldn't
be a problel. I use Coldfusion and when I log in in flex, I authenticate using
SetCredentials on my RemoteObject. If I had to check in another mxml file, I
just would call a remote Object (Upon
In the end I solved it by just writing my own code using the example
in Flex2 Sample Explorer. Thing is every example of sending data to
a popup I have found usually instead shows returning data :/
But I have a way I can easily send and recieve from a popup.
Here is the code im using.
This
I believe the removePopUp method is being
called twice You will find if you click anywhere in the header of the
titlewindow, the window will fire the click event (Which is set to close the
window) and if you click on the close button, it fires the event twice. You
get the null error
Ah. Very interesting. I just gave up on the X and did a
close button, which effectively did the same thing as figureing out
how to get it not to do that double click.
--- In flexcoders@yahoogroups.com, Mercer, Dustin
[EMAIL PROTECTED] wrote:
I believe the removePopUp method is
This is a repost since we can't edit something we already did. I just
wanted to clerify the subject line.
Flex 2 docs say the old timer functions have been removed and there is
a Timer Class. However in the docs for the Timer Class there is a
blank page.
Does anyone know where I can read
Yes, very very sneaky Flex 2.0. I think
MM is just trying to make sure we are paying attention J Good workaround though
Dustin Mercer
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
Sent: Thursday, October 20, 2005
10:21 AM
To:
Is there a way to make remote object calls in a synchronous fashion?
I'm thinking of something like a modal Add User dialog or wizard. I
suppose one can submit the data, dismiss the dialog, and supply the
error alert later. But then the user must reopen the Add User dialog.
If anyone can point
We're trying to create an (associative) array of images in
actionscript. Is there a way to embed an image using an inline
syntax? The best I've been able to do is this which is a bit cumbersome.
[Embed(source=assets/blank.gif)]
static var blank:String;
...
images[blank] = blank;
This
Has anyone had any luck figuring out this issue with
Christophes IFrame component - http://coenraets.com/viewarticle.jsp?articleId=95?
It works fine in the latest versions of IE and Firefox on PC
and Mac, but in Safari, the IFrame seems to flicker. Almost like
it keeps losing its
Thank you
It worked, I am positive I tried this approach and had some problem,
maybe I missed something..
Regards
Rajesh J
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
width=100%
- Original Message -
From: Rajesh Jayabalan [EMAIL PROTECTED]
To:
Ah, you must be using Flex 1.5? In Flex 1.5 percentWidth/percentHeight
are read only and you want to do something like:
myButton.width=100%;
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rajesh Jayabalan
Sent: Thursday, October 20, 2005
Yes I am using 1.5 and I found I can set width=100% and it works but
when I try the same for height=100% for a VBox it does not all the
components in it are overlapping each other.
Rajesh J
--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
Ah, you must be using Flex
Hi,
Sorry its not working, I was too fast with the reply I gusess..
when I set it to height=100% it does not take it into consideration
for a vbox, all the components inside it are overlapping each other.
But for some reason width=100% seems to work.
Rajesh J
--- In
Hm, I think I need some sample code to show what is going wrong before I
can help you out more. Are the children of the VBox themselves using
percentage based sizes? Do any of the children have explicit x, y
positions set?
-Original Message-
From: flexcoders@yahoogroups.com
setInterval() still exists; it's now a function in the flash.util
package. But we do want folks to move to use Timer instead. Here's a
Flex 2.0 example of using Timer:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
mx:Script
![CDATA[
Hi
I tried that and get an error
Type mismatch in assignment statement: found Number where Function is
required
also in the documentation it says its a readonly field
Regards
Rajesh J
--- In flexcoders@yahoogroups.com, Ashish Goyal [EMAIL PROTECTED] wrote:
There is a property called
Hm. Will take a look at that as well. Would always be better to
use an pure internal doubleclick even. Will check it out when I
check out the mouse stuff as I would want it to detect if you moved
the mouse (to prevent the clicking two rows of a datagrid so quick it
registered a double).
I have a component that displays a map in a nice little VBox with
rounded corners. In one corner is a checkbox. This checkbox calls a
function in the parent to disable the entire component. This works
great. However, I'd like the checkbox to stay active so I can click it
again to re-enable the
If you get this to work, please let us
know!
- Original Message -
From: Tracy Spratt
To: flexcoders@yahoogroups.com
Sent: Thursday, October 20, 2005 1:13 PM
Subject: RE: [flexcoders] Using @ContextRoot() with
Loader
Oops:
source=[EMAIL PROTECTED]()
+ / + object.imagePath}
This is just a though, but is the CheckBox part of the Map component? It
might be easier to separate them out and put your Map component in a
Canvas so you can explicitly position a CheckBox atop the Map wherever
you'd like. The CheckBox and Map can refer to each other just as any
other set of
Hi,
The VBox contains a repeater which creates a bunch of comboboxes.
mx:VBox id=attributesBox height=100% width=100%
mx:Repeater id=att
dataProvider={mx.utils.ArrayUtil.toArray(dataObject.Attributes.Attribute)}
mx:HBox
mx:Label id=attLb
No, you cannot do RemoteObjects
synchronously. You must use a handler on the result event. Or bind.
Note that most data service calls return
so quickly that the user will think it is synchronous. Leave the dialog up
until the result returns.
Tracy
From:
Sounds like a bug, guys, Id report
it.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin
Sent: Thursday, October 20, 2005
1:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Flex2: Popup Error
Yes,
Hi Rajesh -
So using your code and dummying up the dataProviders, I still can't
reproduce! I can set the VBox to pixel dimensions and percentage-based
dimensions and it always redraws correctly and the children re-layout
correctly.
But, I have a few ideas. First, try changing the width/height
Just guessing! Judging by who responded,
I would bet my lunch (2 cups Ramen and a Coke) this wont work.
What if instead, in the mxml, you did
this:
mx:String
id=strContextRoot@ContextRoot()/mx:String
Then:
source={ strContextRoot +
/ + object.imagePath}
Tracy
Keep in mind, that's not really an empty SWF, that's a full-fledged
mx.core.Application and the framework necessary to do all sorts of stuff
like focus management, scrolling, yadda yadda.
On the other hand, -this- is a small app:
--tiny.as--
package
{
import flash.util.trace;
import
Every component -referenced- is included. Unreferenced components are
-not- included.
-Roger
Roger Gonzalez
mailto:[EMAIL PROTECTED]
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of moyosaned
Sent: Monday, October 17, 2005 6:37 AM
To:
Naw, I meant if Kashif got it
working, hehe! Haven't had the time to test this yet, figured he'd beat me
to it.
- Original Message -
From: Tracy Spratt
To: flexcoders@yahoogroups.com
Sent: Thursday, October 20, 2005 5:12 PM
Subject: RE: [flexcoders] Using @ContextRoot() with
I'm using this syntax to call a WS:
var params = new Object();
params.specification = new Object();
params.specification.PanDirection = None;
params.specification.ZoomLevel = currentZoom;
Does anyone know, or have, any resources, tutorials,
sample code, or otherwise getting started
information on this simple model:
1. Flex 2.0 calling a custom Web Service
2. The custom Web Service example code in Eclipse J2EE
IDE (recommendations on J2EE IDE?)
I'm trying to gain momentum in the
You CAN do this in AS:
private function getEmployees():Void
{
var sOperationName:String = getList; //Put the operation name in a
var
var oRequest:Object = employeeWS[sOperationName].request; //get a
reference to the operations request object
oRequest.deptId = dept.selectedItem.data; //put
Hi,
-
You need import the class your
subclassing.
- Effects API has changed a little,
there are some changes in method
signatures.
- You need override keyword while overriding a method
in subclass.
- _rotation is changed to
rotation
- You need to surrounding mx:Effects tag
anymore
-
So in Flex 1.5 I would say that youre
better off using value objects because the XML objects in Flex 1.5 are not that
flexible for display in a DataGrid. But with Flex 2 the answer is: use XML by
all means, thats what e4x is for! Unfortunately you cant do it
in the alpha quite yet, but
Im not sure that Akamai supports
RemoteObject like access on their edge servers right now but I could be wrong.
Their support of Flex might be distributing the SWF only but not the data
access. Can you point me at where you saw their description of support?
Matt
From:
Are you serving the SWF from 70.97.113.6?
If not, do you have crossdomain.xml in the root of that machine?
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Monday, October 17, 2005
7:45 PM
To: flexcoders@yahoogroups.com
Subject:
Are you using Axis? I think you usually link
that up through your wsdd file that the Axis servlet is going to load up.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Athaullah Athul
Sent: Wednesday, October 19, 2005
3:10 PM
To:
Honestly I think this is as good as any
solution for 1.5. I believe were gonna try to support single cell
selection a little better in 2.0 (though Im not sure youd see
that in the alpha).
Matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of bhaq1972
I *think*
its myButton.getStyle(mouseDownEffect) but that will just
return the name of the effect. Youll need to then instantiate the
effect yourself and if you had defined the effect in your mx:effects
tag this is not really possible. It might be easier to go ahead and do
Yeah, as I said in an earlier response you’re
gonna need to do this work in the ComboBoxCellRenderer yourself (make a
subclass that does this work).
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Plesse
Sent:
CursorManager.BUSYCURSORSYMBOL
Embed your asset, assign the above the
symbolName of that asset.
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Thursday, October 20, 2005
7:27 AM
To: flexcoders@yahoogroups.com
Subject:
It looks like we only do the
mouseDownOutside event when the Panel was popped up via the PopUpManager. I
think youre going to need to use the mouseDown in your Canvas to catch
this instead.
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Couldnt you just do this in an
Assets object?
class Assets
{
[Embed()]
public var blank:String;
}
var images:Assets = new Assets();
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Raymond
Sent: Thursday, October 20, 2005
Did the MXML files get the data from the
database originally? If your MXML file updated the database I would expect the
next time you load the MXML to see the new values, not the old values. Sorry,
Im not really following how your setup works.
Matt
From:
In your project you can right click on the
MXML file and add it to the application list. Then when you press the run
button the next time it should run that one. Though this behavior may only be
in the plugin, the standalone version might only support running the default
application if
I think the restaurant finder sample went
out with the alpha, it uses a WebService except that the code for that
webservice is sitting on a server somewhere and wasnt shipped. But if
you look at the Flex 1.5 samples in FlexStore you can see how to set up a Java
webservice (look at the
Title: RE: [flexcoders] Timers
Hi,
Using Timer class is simple:
import flash.util.Timer;
var timer:Timer = new Timer(500);
timer.addEventListener(TimerEventType.TIMER, handleTimerEvent);
private function handleTimerEvent(event:TimerEventType)
{
//your code
if(condition)
{
Hi,
We declared a metadata before class defination. If compiler
while parsing MXML code sees it, it generates the required actionscript code for
you, which you had to do yourself in Flash.
Not sure, why isn't it workin for you? Can you post the
code.
Any component extending UIComponent
Title: RE: [flexcoders] Timers
Two corrections... The event handler
argument type would be TimerEvent, not TimerEventType, and you'd start with
timer with timer.start() rather than Timer.start() because start() is an
instance method.
I posted a working example of using Timer
earlier
96 matches
Mail list logo