You can always just move the Alert yourself...
private function popUpAlert():void{
var myMenu:Menu = new Menu();
var popUpButton:PopUpButton = new PopUpButton();
addChild(popUpButton);
popUpButton.x = this.width / 2;
var repeat:RepeatBackground = new RepeatBackground();
addChild(repeat);
repeat.percentHeight = 100;
repeat.percentWidth = 100;
package
{
import mx.containers.Canvas;
import
There isn't a way to do this. You can simulate a progress bar but for whatever
reason, this functionality doesn't exist. If you have a look at speedtest.net,
they show download progress nicely but their upload progress is simulated.
I've thought about making another (different) request to
This also assumes you are trying to upload text vs. binary depending on how
your server is configured.
This is an example that you might be able to leverage if you have binary.
http://www.adobe.com/devnet/flex/articles/file_upload_05.html
--- In flexcoders@yahoogroups.com, stinasius
Move the setImage into commitProperties and you should be good to go...
override protected function commitProperties():void{
super.commitProperties();
setImage();
}
--- In flexcoders@yahoogroups.com, mattgarland2000 al...@... wrote:
I have a
of this if it is some weird timing/updating issue.
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finnigan@ wrote:
Move the setImage into commitProperties and you should be good to go...
override protected function commitProperties():void
This was of help to me a while back...
http://thanksmister.com/index.php/archive/flex-truncating-html-text
--- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote:
If the Label control size is smaller than its text, the text of the Label
control is truncated using a localizable
You can always do this where the right / top is constraining the item.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=init()
mx:Script
![CDATA[
import
It depends on what you want to display. If you put up some kind of progress or
other status UI then immediately jump into your sync. operation, it's unlikely
the status UI will have been rendered by the time you entered it. No different
than an infinite loop in the flash player.
A couple of
I had a similar predicament recently...
In my renderer code, I setup a listener to respond to external data changes.
In my case, I just needed to call invalidateDisplayList but you could reset
your sizes/etc. based upon the new data.
This should get you on your way...
http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html
--- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote:
I've declared a [Bindable] private var changeme:Boolean;
Is there a way to execute a function whenever this
private function seniorsOnly(person:*, index:int, arr:Array):Boolean{
return (person.isSenior == true?true:false);
}
private function init():void{
?
jamesfin-2 wrote:
private function seniorsOnly(person:*, index:int,
arr:Array):Boolean{
return (person.isSenior == true?true:false);
}
private function init():void{
var ac:ArrayCollection = new ArrayCollection([
{id
Copy / paste this and it will help you along...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:VBox backgroundColor=0xff
mx:HBox backgroundColor=0x00ff00
mx:Button label=Test 1/
mx:Button label=Test 1/
dataTipPrecision=0 /
/mx:Application
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
Copy / paste this and it will help you along...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:VBox backgroundColor
I have to concur with Chris. I've been using PureMVC and took a stab at
Cairngorm and Mate in the beginning but felt they were too tightly coupled with
Flex, especially Mate. I'm not an MVC expert but will say that I have enjoyed
having the strict decoupling which makes managing the code
it works for you), but I don't really get the
significance of the fact that it's not Flex-specific. We're developing Flex
apps.
One complaint I have about Mate is that the lack of strong typing in the
event map can certainly trip you up.
On Tue, Dec 1, 2009 at 10:31 AM, jamesfin james.alan.finni
I've got a really strange issue tonight that I've never seen before...
I've been working on a project for months and everything has been compiling
fine. I can debug/etc. Something changed and the compiler won't flag any
problems in some mxml/as files. I can enter asdf into the file and
After trying different things to no avail, I started editing each file
in my project and voila, everything starts working again! Clearly an
issue with the FlexBuilder environent.
Anybody ever experienced this issue?
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@...
wrote
A reminder that pre 3.5sdk there is a bug where the responder can get called
twice.
Bug SDK-22883 Incorrectly Functioning HTTPService responders are called twice
Steps to reproduce:
1. Run HTTPServiceTest.mxml from the attached zip file. It calls one service
that should succeed and one
This is another starting point
http://anirudhs.chaosnet.org/blog/2008.06.20.html
--- In flexcoders@yahoogroups.com, Karthik Kailash kart...@... wrote:
Hi all,
I was trying to retrieve binary data over HTTP for my Flex application, and
was running into some stumbling blocks.
I've used this in this pasta bit more verbose but does the trick.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=createJunk()
mx:Script
![CDATA[
import mx.controls.Alert;
close...use this
myButton.toolTip = null;
--- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote:
That doesn't work, it then creates the tooltip from the label value.
--- In flexcoders@yahoogroups.com, Ariel J arieljake@ wrote:
i believe you can do this by setting the
I've spent two days researching and playing with printing in Flex 3.4. I was
somewhat excited to learn this area of Flex which I had not previously explored
but have only one word (for now): Disappointing.
Primarily because there are many, many unresolved defects with various parts of
the
Unfortunately, the Inspectable metatag only works for mxml. Here's a more
reuseable solution so you can use the same strings when coding in AS3 too. It
also will do compile time checking on your selection in either case.
MAIN APPLICATION...
?xml version=1.0 encoding=utf-8?
Here's a Java based PFS...a flash-player bug seems to still exist though...
https://bugs.adobe.com/jira/browse/FP-1866
package
import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.InterruptedIOException;
I've been studying the sub application functionality lately and have a question.
If a multi-versioned sub application wants to put up a popup via the popup
manager, it all works well except that the centerPopUp doesn't seem to work
correctly in that it isn't centered in the Main application.
In addition...
Depending on where the loader is in the display list, the popup seems to move
around relative to it.
// AS3
loader = new SWFLoader();
addChild(loader);
// MXML
mx:SWFLoader id=loader/
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
I've been
Here's what I've done in the past...
// add this in your init code...
myDataGrid.addEventListener(ListEvent.ITEM_EDIT_END, editEnd);
private function editEnd(evt:DataGridEvent):void{
// get a reference to the datagrid
var grid:DataGrid = evt.target as
as it
is clipped to that area.
On 1/29/10 7:42 PM, jamesfin james.alan.finni...@... wrote:
In addition...
Depending on where the loader is in the display list, the popup seems to move
around relative to it.
// AS3
loader = new SWFLoader();
addChild(loader);
// MXML
mx:SWFLoader
examples?
--- In flexcoders@yahoogroups.com, myflexdownloads myflexdownlo...@...
wrote:
I normally just create the popup as a child of Application.application and
that way cenetering is perfect.
Web Admin
FlexDownloads.com
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finnigan
Tweak: Application.application of the main application means nothing to the
subapplication.
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
Thanks for the tips. The caveat here is that Application.application means
nothing to a multi-versioned subapplication
I've been trying to center a dialog in a sub application but haven't had any
success. All SubApplication experts can pitch-in here...
Backgrounder...SubApps are cool because two SWF's can be compiled with
different SDK's and can still work together.
The upper/left-hand corner of the dialog
(), TestView, true) as
TestView;
PopUpManager.centerPopUp(test);
}
On 2/1/10 11:32 AM, jamesfin james.alan.finni...@... wrote:
I've been trying to center a dialog in a sub application but haven't had any
success. All SubApplication experts can pitch
And...
With what use-case would the loaderContext be used?
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
Thanks for the feedback. Ironically, I had just found the
systemManager.getSandboxRoot() reference and was putting it in to test!
While on the same
. LoadForCompatibility
refreshes the loaderContext before each load.
On 2/1/10 4:01 PM, jamesfin james.alan.finni...@... wrote:
And...
With what use-case would the loaderContext be used?
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
jamesfin
For any Multi-Versioned SubApplication, what are the hard and fast rules about
using RSL's?
I tried making the parent (3.4sdk) and child subapplication (3.2sdk) both use
RSL's but it fails miserably which doesn't surprise me considering the
complexity of what's going on already.
However, if
@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
Understood! I'll add that to my blog.
Thanks again.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
TopLevelSystemManager is might be used by a sub-app of that sub-app to get
to its parent sub-app if they are both
\galaga\frameworks\projects\framework\src\mx\core\RSLItem.as:233]
at
mx.core::CrossDomainRSLItem/loadBytesCompleteHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:396]
--- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote
setting loadForCompatiblity
On 2/2/10 10:41 AM, jamesfin james.alan.finni...@... wrote:
Forgot to include the error. This error only appears if I have framework.swc
being used via RSL in the child subapplication.
TypeError: Error #1009: Cannot access a property or method
, you will start to see verify errors.
You could also set the source property instead of calling load and then order
wouldn't matter.
On 2/2/10 12:11 PM, jamesfin james.alan.finni...@... wrote:
I didn't see that small note to move the loadForCompatibility before the
load. Now
My apologies in advance...I realize this is a Flex forum but the Adobe AIR
forum over at http://forums.adobe.com/community/labs/air2?view=discussions
doesn't have the expertise that exists here. There doesn't seem to be any
Adobe AIR Engineers monitoring the forum too well either. Hear
For you PureMVC/AS3 Folks...
There's a new PureMVC Port in town...JavaScript. Well sort of. There's really
an update using MooTools which will really move JavaScript along in the
AS3/PureMVC developers toolbox.
Base Project:
http://trac.puremvc.org/Demo_JS_BoxSplash
Demo:
Hi Nick,
This will get ugly quickly as this isn't as easy as it sounds, pardon the pun.
;)
You need to do some pitch-shifting to the audio stream before sending it along
to play.
Here's a good discussion on it
http://www.dspdimension.com/admin/pitch-shifting-using-the-ft/
Here's a
Here's a starting point for you.
To get a leg up on this the next time around you need to do something special
like this, dive into the base class source code (menubar.as in this case) and
look around to get a feel for what is happening within the default component.
For this question, I dove
This is an open-ended question but I'll give it a whirl...
I don't see Flex per se as the linchpin in defining a niche market. I see it
as a vehicle to help bring real-world software engineering practices to
web-based applications.
I've spent over twenty-five years in strict software
I'd like to know what the definition of a lightweight framework is so we can
better determine an optimal solution.
Fastest? Most Efficient?, Smallest Code?, Easiest-to-learn? Easiest on the
fingers? Portable? Proven?
I had a similar requirement recently for a HTML5/JS project and ended up
It would appear as if you never call createHandlers.
Try this version...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=createHandlers(event)
mx:Script
![CDATA[
import mx.controls.Alert;
Here's a complete working example to start with...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
applicationComplete=TabOnglet()
mx:Script
![CDATA[
import
The oldIndex is the tab that was current before you click on another tab. So
if you have two tabs (like in the demo) with the indices of 0 and 1 and you
click on the second tab, the oldIndex will be zero (0) and the new tab will be
one (1). If you then click on tab 1, oldIndex will be 1 and
got me there
https://store4.adobe.com/cfusion/store/index.cfm?store=OLS-USview=ols_prodcategory=/Applications/FlashBuilderPremiumdistributionMethod=FULLnr=0#view=ols_prodcategory=/Applications/FlashBuilderPremiumstore=OLS-USloc=en_us
--- In flexcoders@yahoogroups.com, djhatrick
Here's the scenario...
Simple datagrid with XMLListCollection data provider.
Average collection size is 200 rows of XML (shown below)
10 columns in the datagrid with a unique item renderer for each. 1 Column can
display 1 of 10 embedded images depending on an xml attribute.
AS3-only
, 2010 21:49:52
Subject: Re: [flexcoders] XMLListCollection DataGrid Performance vs Any Other
DataProvider Type
Convert the XML to Class instances.
On 4/28/10 10:06 AM, jamesfin james.alan.finnigan @gmail.com wrote:
Here's the scenario...
Simple datagrid
Based upon the Steve Jobs thread, we all have an opinion on what we believe is
the Holy Grail for creating/deploying cloud applications.
This begs the question...In a perfect world (a do-over), what would the
perfect cloud-based application development platform/deployment architecture
look
I agree with Rick. For all net calls, I have a timer going and a simple queue
that is populated when sending each request. When and if they return sometime
later, they are removed from the queue. If requests aren't received by some
set timeout, they are ignored.
I employ the use of tokens
Does anyone have any knowledge of how to detect whether or not a simple REST
call to a server (java/php/etc.) is from the Flash Player (flex app)?
It would appear that application/x-shockwave-flash can be detected by the
server in the HTTP_ACCEPT header as long as the type is defined in the
Does anyone have any knowledge of how to detect whether or not a simple REST
call to a server (java/php/etc.) is from the Flash Player (flex app)?
It would appear that application/x-shockwave-flash can be detected by the
server in the HTTP_ACCEPT header as long as the type is defined in the
I have the Flex4 Eclipse Plugin installed and I'm noticing that the trace
statement seems to be ignored. A breakpoint can't be put on any trace
statement nor does any output appear.
My Flex 3 Eclipse Plugin works great.
I can debug in both versions no problem.
trace(waiting for your
trace(no);
--- In flexcoders@yahoogroups.com, Brendan Meutzner bmeutz...@... wrote:
Do you use the compiler argument -optimize=true ?
On May 28, 2010, at 10:59 AM, jamesfin
james.alan.finni...@... wrote:
I have the Flex4 Eclipse Plugin installed and I'm noticing that the
trace
Using Flex4, I'd like some suggestions on how to paint the Panel Container
title bar area with a gradient rather than a single color choice.
It would appear that there is a 'chrome-color' style but only takes a single
color value.
I believe there is an anomaly within the ActiveX Flash Player that is causing a
1009 error when trying to center a simple popup.
This logic runs fine on all non-IE OSX and Windows browsers thus causing me to
think it's specific to ActiveX Flash.
One thing that may be unique here is that we are
@yahoogroups.com, jamesfin james.alan.finni...@... wrote:
I believe there is an anomaly within the ActiveX Flash Player that is causing
a 1009 error when trying to center a simple popup.
This logic runs fine on all non-IE OSX and Windows browsers thus causing me
to think it's specific to ActiveX
...@... wrote:
Is the loaded SWF also built with 3.5?
On 7/2/10 10:18 AM, jamesfin james.alan.finni...@... wrote:
Follow-up...
As a test, I set loadForCompatibility=false. Voila, everything works. This
indicates a clear defect in the loadForCompatibility functionality
Tried this and got the same 1009 error in the same place.
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Try passing in just systemManager instead of systemManager.getSandboxRoot
On 7/2/10 11:11 AM, jamesfin james.alan.finni...@... wrote:
Sorry bout
As a devoted flex developer of over five years now, I'm getting the nudge by
management to get as comfortable with HTML5/Javascript as I currently am with
MXML/Actionscript. Not my decision.
That said, I figured this forum would be better suited to answer a few
questions about
As a devoted Flex Developer, Flex has been very, very good to me. I also know
that technology advancements require change (I say additions). I can remember
when programming in 8086 assembler wondering when I wouldn't need to use that
silly old segment/offset hack, er, architecture.
Using a simple two tab TabNavigator, two modules are loaded via
ModuleManager.load. A bitmap is being generated for each tab as a preview to
what content exists on each tab.
The first visible tab displays the bitmap normally. The second tab (not yet
clicked on or shown) bitmap comes up empty
A module is being loaded by a simple ModuleManager.load.
In debug mode, there is output like this...
[Unload SWF] View.swf/[[DYNAMIC]]/307 - 632 bytes after decompression
[Unload SWF] View.swf/[[DYNAMIC]]/308 - 632 bytes after decompression
[Unload SWF] View.swf/[[DYNAMIC]]/309 - 632 bytes after
Follow-up #1...
Use a simple 100ms timer so each tab is selected programmatically. Each tab is
rendered normally although the tab stays visible throughout the rendering
process and switches to the next tab when completed. A workaround is to hide
the tabnavigator and restore visibility at the
We have up to 30 small modules that are getting loaded at startup and notice
that the accumulative perceived loading effect is slow when creating the
modules via...
_module.factory.create() as IVisualElement;
... as all of the modules are competing for CPU to draw themselves.
So, is there a
Thanks Alex! We were hoping for that elusive disableNow function to add to
the invalidateNow(), validateNow() family. ;)
--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:
Don't call factory.create() until the first time you go to that tab.
On 4/9/12 11:16 AM, jamesfin
71 matches
Mail list logo