Thanks Alex! We were hoping for that elusive "disableNow" function to add to
the invalidateNow(), validateNow() family. ;)
--- In flexcoders@yahoogroups.com, Alex Harui wrote:
>
> Don't call factory.create() until the first time you go to that tab.
>
>
>
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 wa
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
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
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
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. Segment/of
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 html5/javascript
Tried this and got the same 1009 error in the same place.
--- In flexcoders@yahoogroups.com, Alex Harui wrote:
>
> Try passing in just systemManager instead of systemManager.getSandboxRoot
>
>
> On 7/2/10 11:11 AM, "jamesfin" wrote:
>
>
>
>
>
&g
gt; Is the loaded SWF also built with 3.5?
>
>
> On 7/2/10 10:18 AM, "jamesfin" wrote:
>
>
>
>
>
>
> Follow-up...
>
> As a test, I set loadForCompatibility=false. Voila, everything works. This
> indicates a clear defect in the loadForCompa
oders@yahoogroups.com, "jamesfin" 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'
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
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.
trace("no");
--- In flexcoders@yahoogroups.com, Brendan Meutzner wrote:
>
> Do you use the compiler argument -optimize=true ?
>
>
>
> On May 28, 2010, at 10:59 AM, "jamesfin"
> wrote:
>
> > I have the Flex4 Eclipse Plugin installed and I&
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 respons
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 ht
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 ht
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 f
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 li
_
> From: Alex Harui
> To: "flexcoders@yahoogroups.com"
> Sent: Wed, 28 April, 2010 21:49:52
> Subject: Re: [flexcoders] XMLListCollection DataGrid Performance vs Any Other
> DataProvider Type
>
>
>
>
> Convert the XML to Class instances.
>
>
&g
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 Rendere
got me there
https://store4.adobe.com/cfusion/store/index.cfm?&store=OLS-US&view=ols_prod&category=/Applications/FlashBuilderPremium&distributionMethod=FULL&nr=0#view=ols_prod&category=/Applications/FlashBuilderPremium&store=OLS-US&loc=en_us
--- In flexcoders@yahoogroups.com, "djhatrick" w
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 n
Here's a complete working example to start with...
http://www.adobe.com/2006/mxml"; layout="absolute"
applicationComplete="TabOnglet()">
--- In flexcoders@yahoogroups.com, Nini7016 Nini7016 wrote:
>
>
> Hello
>
>
> I would like to
It would appear as if you never call createHandlers.
Try this version...
http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="createHandlers(event)">
--- In flexcoders@yahoogroups.com, "fred44455" wrote:
>
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
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 engineer
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 r
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 working
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:
http://puremvc.org
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 that
same SDK, it will work, but as soon as the
> parent gets a newer SDK, 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" wrote:
>
load call before setting loadForCompatiblity
>
>
> On 2/2/10 10:41 AM, "jamesfin" wrote:
>
>
>
>
>
>
>
>
> Forgot to include the error. This error only appears if I have framework.swc
> being used via RSL in the child subapplication.
\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" wrote:
>
&g
cancelable);
_someText = someText;
}
}
}
--- In flexcoders@yahoogroups.com, "jamesfin" wrote:
>
> Understood! I'll add that to my blog.
>
> Thanks again.
>
> --- In fle
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 th
n does not support re-using an appdom. LoadForCompatibility
> refreshes the loaderContext before each load.
>
>
> On 2/1/10 4:01 PM, "jamesfin" wrote:
>
>
>
>
>
>
> And...
>
> With what use-case would the loaderContext be used?
>
> --
And...
With what use-case would the loaderContext be used?
--- In flexcoders@yahoogroups.com, "jamesfin" wrote:
>
> Thanks for the feedback. Ironically, I had just found the
> systemManager.getSandboxRoot() reference and was putting it in to test!
>
> Whil
Dialog():void{
> var test:TestView =
> PopUpManager.createPopUp(systemManager.getSandboxRoot(), TestView, true) as
> TestView;
> PopUpManager.centerPopUp(test);
> }
>
>
>
> On 2/1/10 11:32 AM, "jamesfin" wrote:
>
>
>
>
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 a
Tweak: Application.application of the main application means nothing to the
subapplication.
--- In flexcoders@yahoogroups.com, "jamesfin" wrote:
>
> Thanks for the tips. The caveat here is that Application.application means
> nothing to a multi-versioned subapplication.
code examples?
--- In flexcoders@yahoogroups.com, "myflexdownloads"
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.co
to its sandbox as it
> is clipped to that area.
>
>
> On 1/29/10 7:42 PM, "jamesfin" wrote:
>
>
>
>
>
>
> In addition...
>
> Depending on where the loader is in the display list, the popup seems to move
> around relative to it.
>
>
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 DataGrid
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
--- In flexcoders@yahoogroups.com, "jamesfin" wrote:
>
> I've been studying the sub appl
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. Th
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;
impor
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...
http://www.adobe.com/2006/mxml";
creationCom
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 prin
close...use this
myButton.toolTip = null;
--- In flexcoders@yahoogroups.com, "taude1" wrote:
>
> That doesn't work, it then creates the tooltip from the label value.
>
> --- In flexcoders@yahoogroups.com, "Ariel J" wrote:
> >
> > i believe you can do this by setting the tooltip text to t
I've used this in this pasta bit more verbose but does the trick.
http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="createJunk()">
package {
public class junk1 {
import mx.controls.Alert;
public var dF1:Functi
This is another starting point
http://anirudhs.chaosnet.org/blog/2008.06.20.html
--- In flexcoders@yahoogroups.com, "Karthik Kailash" wrote:
>
> Hi all,
>
> I was trying to retrieve binary data over HTTP for my Flex application, and
> was running into some stumbling blocks. HTTPServic
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 se
This example refines the image down to 80x80. SmoothImage is derived from
Image. I tested it against a 7000x6000 8.5mb jpg with no problems. It also
scales to the smaller side if they aren't equal.
main code...
private var uploadReference:FileReference = new FileR
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"
wrote:
>
> I
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 noth
rks 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.
>
>
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 easie
/mxml";>
--- In flexcoders@yahoogroups.com, "jamesfin" wrote:
>
>
>
> Copy / paste this and it will help you along...
>
>
Copy / paste this and it will help you along...
http://www.adobe.com/2006/mxml";>
t; >>
> > >>
> > >> by using a filter funtion can return you the array with
> isSenior==true;
> > >>
> > >> but i need an arry of id's only.
> > >> in this case,
> > >> i need an returned array like this:
> &
private function seniorsOnly(person:*, index:int, arr:Array):Boolean{
return (person.isSenior == true?true:false);
}
private function init():void{
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" wrote:
>
> I've declared a [Bindable] private var changeme:Boolean;
>
> Is there a way to execute a function whenever this var chan
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.
ReportHorizontalList(this.parent
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
You can always do this where the right / top is constraining the item.
http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="init()">
--- In flexcoders@yahoogroups.com, "dennis" wrote:
>
> Hello people.
This was of help to me a while back...
http://thanksmister.com/index.php/archive/flex-truncating-html-text
--- In flexcoders@yahoogroups.com, "luvfotography" wrote:
>
> If the Label control size is smaller than its text, the text of the Label
> control is truncated using a localizable string
ee if using states
> takes care of this if it is some weird timing/updating issue.
>
> --- In flexcoders@yahoogroups.com, "jamesfin" wrote:
> >
> > Move the setImage into commitProperties and you should be good to go...
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" wrote:
>
> I have a componen
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" wrote:
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 the
var repeat:RepeatBackground = new RepeatBackground();
addChild(repeat);
repeat.percentHeight = 100;
repeat.percentWidth = 100;
package
{
import mx.containers.Canvas;
import flash.displ
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;
72 matches
Mail list logo