Hi FlexCoders,
Got a question again.
I am embedding my SWF object in an ASPX page.
The HTML markup for the aspx page is shown as below:
object id='mySwf'
classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
No, sorry, there is NO code blocking in AS/Flex. You MUST do the work in
result handler. Resistance is futile.
It takes some getting used to but with a bit of thought, driven by
necessity, you will find a way to re-arrange your functionality to work
within the asynchronous, non-blocking
Yes. I typically centralize all of my data within a model. Using the
singleton pattern makes this very convenient.
One more option is to use the AsyncToken to make data available in the
result handler.
Tracy Spratt,
Lariat Services, development services available
_
From:
private function filterRepRankDtlChnl(item:Object):Boolean{
if(item.results.record.chnl_cd == PREM) return true;
else return false;
}
Filter is not filtering and I think it maybe item.results.record.chnl_cd - the
item:Object is in this format:
item
...results
..record
No, no, no, this will not work. You must use the event mechanism.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nick Middleweek
Sent: Wednesday, August 26, 2009 7:33 PM
To:
It is simply a different way of thinking. Whatever you need to do, you can
do within the constraints of the async/non-blocking coding paradigm.
This is a hurdle that almost all new Flex developers must get over.
Tracy Spratt,
Lariat Services, development services available
_
Break the code into smaller pieces and debug to see what is wrong.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of chigwell23
Sent: Thursday, August 27, 2009 2:40 AM
To:
Certainly, but it is a very complex subject with many solutions. Few of
them are implemented in Flex alone. How secure is secure? Where and how do
you want to maintain your list of user/passwords? Do you need to hash them
or will you send them in clear text? Do you need to use https?
I
Hello,
I have a combobox using an itemrenderer.
On change I want to display the same itemrenderer ( class )
as the selected item in the combobox.
e.g.:
a combobox with a colors list
on change: show the selected color in stead of the color value
Hope it makes sense : )
Thanks!
Hello lolveley,
I am a beginner as well, I use sometimes flash files into my flex proyects
and I just drag and drop the swf in to my flex panel and it works, I hope I
can help you, Good Luck!
2009/8/26 lolveley lolve...@yahoo.fr
hello,
I have already send this message but there's no
In his article gonzalo huerta put an example, where he open an
existing pdf file and add dynamicaly the javascript in it before
open it in air application.
I've try his example but got an error when opening an existing
pdf file. :(
I send him an email to see what i can do.
Alban
inudor a
Hi all,
I was wondering if anybody has come across the following error, or better
still a solution.
When using the coldfusion wizard to generate an application everything works
fine. However, if we try the exact same process to produce an AIR
application we are geting the following error
On Wednesday 26 Aug 2009, Richard Rodseth wrote:
He's using the command line and invoking the MXML compiler with the
-version option. In FlexBuilder, you can right-click on a project,
shrug He asked about the SDK :-)
--
Helping to confidentially empower third-generation B2C internet sticky
I wonder if is even possible to use the filter function with hierarchical XML,
as all of the examples I have seen are of array collections or flat XML?
This I think is the problem - the complete data provider is being passed into
the item parameter of the filter i.e. the xml hierarchy in its
Hi
Is is possible to have conditional breakpoints in Flex Builder 3? Either via
the editor or action script.
It would be cool if I could go
if(ShouldBreak())
Debugger.Break();
Is there anything like this? or hacks?
Thanks in Advance.
On Thursday 27 Aug 2009, Matt Chotin wrote:
We are not releasing an updated Flex Builder, but the DMV download is
available from
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk
*ohh* :-)
--
Helping to quickly architect communities as part of the IT team of the
year, '09
Hi Tracy,
Thanks for the insight.
I think this is one big hurdle (and one which would prevent some developers
from embracing Flex).
I am already getting used to Flex, but only for those which comprises of only
single transactional call to the database.
I still can't think of a way like to
what I do is something like this.
if(shouldBreak){
trace(Break point);
}
I then put a break point on the trace line.
Its the only way round I know about.
Regards,
Wesley Acheson.
On Thu, Aug 27, 2009 at 8:20 AM, Michael Ridland rid...@gmail.com wrote:
Hi
Is is possible to have
import flash.debugger.enterDebugger;
if(ShouldBreak())
{
enterDebugger()
}
--
Best regards,
Andriy Panas
Why won't it work? I can't see why it wouldn't... I'm still learning Flex so
perhaps I've overlooked something.
I do agree, it is bad coding but I can't see why it wouldn't work.
The boolAlertContinue variable is in affect acting like semaphore...
Cheers,
Nick
2009/8/27 Tracy Spratt
Hello,
I am searching an html website template that launch 2 flex applications.
Thank you,
Christopher,
that's pretty funny. :)
--- In flexcoders@yahoogroups.com, Paul Hastings paul.hasti...@... wrote:
Nick Middleweek wrote:
Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc
-version*
it means tom lives in cave writes his code by banging together two rocks
while
Hi,
I just downloaded and installed DMV 3.4.0 with Flex SDK 3.4.0. I compared
the sources of DMV 3.3.0 and 3.4.0 and it seems pretty close to nothing has
changed. For example even a closed bug from Adobe Bug Issue Management
System that was supposed to be fixed in April are not included in DMV
It's impossible with FB3. But you can have it in Flash Builder 4, though it's
still beta.
Ivan
- Original Message -
From: Michael Ridland
To: flexcoders@yahoogroups.com
Sent: Thursday, August 27, 2009 2:20 PM
Subject: [flexcoders] Flex Builder 3 - Conditional Debugging
Hi,
What i would like to do is display both area and line chart on the same
graph with same coordinate axis but not sure if that's possible and how to
do it. I googled a bit but couldn't find any useful example so if someone
can give me few hints or maybe provide an example i would really
HiTimHoff,
I tried with headerHeight = 0, but it still throws the error
here is my piece of code...for better understanding...
and please let me know where i can make changes to achieve this..
mx:DataGrid id=dtgLegTopics
headerHeight=0 showHeaders=false
Flex chart can hold different series.
You can just use one areachart, and in its series, add both line series and
area series, that's it. Have fun :)
- Original Message -
From: |Mirko
To: flexcoders@yahoogroups.com
Sent: Thursday, August 27, 2009 9:31 PM
Subject:
Use a Cartesian chart with a Line Series and Area Series
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE 68154
http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of |Mirko
Sent:
--- In flexcoders@yahoogroups.com, Mika Kiljunen mkintens...@... wrote:
Hi,
I just downloaded and installed DMV 3.4.0 with Flex SDK 3.4.0. I compared
the sources of DMV 3.3.0 and 3.4.0 and it seems pretty close to nothing has
changed. For example even a closed bug from Adobe Bug Issue
Hi all , i need help please..I've suceeded to show progressbar upon
loading modules within FlexMDI Window,but i haven't figured out how to
hide the progressbar upon ModuleEvent.READY.. I pu the codes here my
codes http://www.pastebin.org/12640 ..Thanks a lot...
Hi,
I use the following code to reset disabledRanges for DateField,but it doesn't
work.Can you help me to fix this.
Thanks
mk
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
private var year:Number = 2009;
On Thursday 27 Aug 2009, Mika Kiljunen wrote:
Hi,
I just downloaded and installed DMV 3.4.0 with Flex SDK 3.4.0. I compared
the sources of DMV 3.3.0 and 3.4.0 and it seems pretty close to nothing has
changed. For example even a closed bug from Adobe Bug Issue Management
System that was
You have to remember that flex renders according to the component lifecycle.
There's a global timer that runs independent of everything else (according
to the FPS the movie is playing) that more or less watches the objects in
the display list and with each timer tick will re-render the objects
--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:
We are not releasing an updated Flex Builder, but the DMV download is
available from http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk
FB3 unfortunately won't support 3.5 since they broke something on us last
Use a change event on startDate to reset the disabled date range on end
date.
Beau
On Thu, Aug 27, 2009 at 8:51 AM, markflex2007 markflex2...@yahoo.comwrote:
Hi,
I use the following code to reset disabledRanges for DateField,but it
doesn't work.Can you help me to fix this.
Thanks
mk
Does not need to be that secure. Will be sending a randomized link (ex:
www.example.com/FSDF3453459324_234hn) directly to client.
I don't even have to deal with usernames, just one password that would make the
dashboard functional.
I will check out your website. Thanks for your time.
Hi,
I have a concern about possible race conditions in our Flex
application. I've read in Essential ActionScript 3.0 that the Flash
runtime will not interrupt the execution of an event handler to update
the screen. I'm wondering if there are any similar guarantees about
the order in which two
Sorry... hit send before I had a chance to paste code in:
mx:Script
![CDATA[
private function resetEndDateRanges():void
{
endDate.disabledRanges = getDisabledRanges();
}
private function getDisabledRanges():Array
{
return
Where is DMV 3.4.0 available for download?
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Tom Chiverton
Sent: Thursday, August 27, 2009 11:14 AM
To: flexcoders@yahoogroups.com
Cc: Matt Chotin
Subject: Re: [flexcoders] Flex DMV
I don't use ADG all that much, but the filter functions should get a
record node for each call of the filter function. Have you used
toXMLString() to trace out the item? Inside the filter function you can use
any e4x expressions to traverse the xml, down into the child nodes or even
up to parent
Apply event.prevent default always, store any necessary information in a
model, then in the result handler, update the dataProvider or not.
Sure, there are always trade-offs. You could develop in C++ and you would
not have this problem.
Tracy Spratt,
Lariat Services, development services
Here
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk
Is really open-source? Didn't saw any official news.
Regards
Igor
On Thu, Aug 27, 2009 at 1:21 PM, Battershall, Jeff
jeff.battersh...@dowjones.com wrote:
Where is DMV 3.4.0 available for download?
Flex procedural code is essentially single threaded. The loop will stop all
other processing, the handler will never get called, and the loop will never
stop.
There is NO sleep or delay or pause or anything like that in Flex. You must
use events.
Tracy Spratt,
Lariat Services,
You can't predict order, but you can be assured that there is no parallel
processing of actionscript code. I don't know the internals of the flash
player well enough to say in detail but there are rules that control what
code is processed when.
If you need to know that two async processes
I'm sure that you tried this yourself, but take out showHeaders=false
and leave in headerHeight=0.
-TH
--- In flexcoders@yahoogroups.com, Satish Chowdary chinnu_...@...
wrote:
HiTimHoff,
I tried with headerHeight = 0, but it still throws the error
here is my piece of code...for better
You can add line series to an area chart, but you are better off using
a cartesian chart as it doesn't have any functionalities are are chart type
specific that can cause problems. Be aware that if the area series are going
to be stacked, that you need to put them in an AreaSet, or they will
Does DMV refer to the data visualization package? IF so, what does the
M stand for?
I didn't see any news about it becoming available for free either. For
the record, I checked my Flex Builder 3 install and the source code for
the Data Visulization components is available in the 'pro' add
Tracy/ Beau...
Thanks for your replies...That's helped me understand how things work a bit
more...
I'm going to try it though! haha :-)
Cheers,
Nick
2009/8/27 Tracy Spratt tr...@nts3rd.com
Flex procedural code is essentially single threaded. The loop will stop
all other processing,
Nick
There is a way to achieve what you are doing... Without hogging CPU
cycles...
callLater(method:Function, args:Array)
This executes on the next redraw cycle. In effect its a cheap way to
incur a Mutliwait facility.
So to do what you are thinking about... You could do...
var
--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote:
Does DMV refer to the data visualization package? IF so, what does the
M stand for?
I didn't see any news about it becoming available for free either. For
the record, I checked my Flex Builder 3 install and the source
All this said... there are hacky ways to visually emulate it... It's
effectively the same as using separate methods, but visually looks like what
you're after. There are some scope caveats to it (this references the
global scope rather than the current class, duplicate named variables are
But, if I have the ActionScript source code why would I need to do
that? Can't I just compile my own swc?
I feel like I'm missing a piece of the puzzle.
tntomek wrote:
Previously for 3.3 you had to run a java command that looked at your
flex builder license file
--
Jeffry
thanks for your time Tracy, yes absolutely the whole shooting match is sent to
the _one_ call to the function i.e. lstRepRankDrill, which is actually more
than the dataprovider which is {lstRepRankDrill[0].record}. I know that the
fact there is only one call to the filter is significant, but do
Lets clarify terminology. dataProvider must always be a list of some
kind, like an array, and XMLList an ArrayCollection or an XMLListCollection.
It can not be a single XML node.
This expression should return an XMLList: lstRepRankDrill[0].record
If you
Thanks Tim now its working thanks a lot
సతీష్
From: turbo_vb timh...@aol.com
To: flexcoders@yahoogroups.com
Sent: Thursday, 27 August, 2009 12:48:00 PM
Subject: [flexcoders] Re: Data Grid ShowHeaders property problem
I'm sure that you tried this
--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote:
But, if I have the ActionScript source code why would I need to do
that? Can't I just compile my own swc?
I feel like I'm missing a piece of the puzzle.
tntomek wrote:
Previously for 3.3 you had to run a
Entering your license key into FB was supposed to automatically run the
extraction too (although sometimes this didn't work and you had to manually
run the extraction to get at the source). But yeah, now it seems like you
just download the 3.4 DMV zip file from the official adobe website.
On Thu,
Thanks, Tracy. I'm not principally concerned with knowing when two
operations have completed. I'm more concerned about checking the
status of a global variable in event handler A' and then having that
variable's value changed by event handler B' before A' is finished
executing. In Java you might
Try using colorpicker.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Webdevotion
Sent: Thursday, August 27, 2009 12:40 AM
To: flexcoders@yahoogroups.com
Because actionscript is single-threaded, your scenario cannot happen.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Jon Gunnip
Sent: Thursday,
You can add trace statements to the app to see if it does load or not
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Angelo Anolin
Sent: Wednesday, August
i see that you create a singlton to dispatch and addeventlistener. that makes
sense.
but what is this class EventListener?
thanks!!
c
nathanleewei-2 wrote:
public class MessageEventBus extends EventListener {
public static getInstance(): MessageEventBus {
}
}
//
public
Any ideas how to simulate scroll bar arrow clicks? I.E. moving a lists element
one - by - one and not by 'page' as scrolltoindex does.
By page i mean the following:
list contains 5 elements
scroll to index 0-5 does nothing visually, while scroll to index 6 brings 6 as
the first element and you
increment horizontalScrollPosition?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of fotis.chatzinikos
Sent: Thursday, August 27, 2009 4:18 PM
To:
Are there any resources that describe the internals of the Flash player?
Is there a spec like there is for the Java runtime?
Unfortunately, no. About the closest thing is a spec for the SWF file format.
But that spec doesn't really explain how the Player loads and executes a SWF
file.
-
I have a datagrid with an Array dataprovider. A user double clicks on a row
which takes them to a new state where they can do things with that data item
including an action that should remove it from the original array.
I was planning on using the selectedIndex property to index into the array
Alex,
Thanks. Just to be clear, are you saying that once event handler A'
begins executing, another event handler B' will not begin executing
until A' finishes?
Even in a single-threaded environment, not knowing how the flash
player works, it is possible that the player could decide to pause
an
Hi Paul,
If you use an ArrayCollections as the dataProvider for the DataGrid
instead, you can remove an item like so:
myArrayCollection.removeItemAt( myDataGrid.selectedIndex );
The DataGrid's selectedIndex is the same as the index of the item in the
ArrayCollection.
-TH
--- In
Yes, that is what Alex is saying. Handler B will not begin before handler A
finishes. Event handlers don't get paused. Furthermore, when you (or the
Player) calls dispatchEvent(), all the event handlers listening for that event
execute before dispatchEvent() returns.
Gordon Smith
Adobe Flex
69 matches
Mail list logo