[flexcoders] Re: Combobox like on http://www.bombaysapphire.com

2009-08-11 Thread Bjorn Schultheiss
I'd say its custom.
Really nice though.

--- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote:

 Hi all,i wonder does anyone ever before create combobox like the one
 here  bombaysapphire.com born detail combobox
 http://www.bombaysapphire.com  .What did the creator used?Thanks a
 lot..





[flexcoders] Re: Bitmap downsampling

2009-07-02 Thread Bjorn Schultheiss
Can't believe this cost me 9 hours of brain time and the answer was in a 
constant all along.

StageQuality.BEST

Where's the documentation for this
No-one is using, not even Aviary.


thanks anyway Timmaay..


--- In flexcoders@yahoogroups.com, Tim Rowe tim.r...@... wrote:

 Bjorn,
 Does the current method you're using appear to have any anti-aliasing at all?
 
 In the past, resizing with Image using img.resize((height, width), 
 Image.ANTIALIAS) (where img is mx.controls.Image) has worked - I'm sure 
 there'd be a similar method for BitmapData.  Of course, if you're not 
 specifying antialiasing and the method call doesn't assume it by default, 
 then yeah, you're going to get horrible image quality on downsize as a 
 typical algorithm will pick nearest-neighbor to the new target pixel.
 
 --Tim
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Bjorn Schultheiss
 Sent: Thursday, 2 July 2009 2:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Bitmap downsampling
 
 
 
 
 Hi,
 
 I'm having a lot of trouble with down-sampling a bitmapData.
 
 I tried the smoothing option first
 
 public function produceResizedBitmapData(image:DisplayObject, 
 transform:Matrix):BitmapData
 {
 var temp:BitmapData = new BitmapData(image.width, image.height, true, 
 0x00FF);
 temp.draw(image);
 
 var clone:BitmapData = new BitmapData(image.width*transform.a, 
 image.height*transform.d, true, 0x00FF);
 clone.draw(temp, transform, null, null, null, true);
 
 temp.dispose();
 return clone;
 }
 
 except the quality was poor, once the image was of a certain size.
 For example scaling a 2500px image down to 200px.
 
 I've tried using clevrLib plus a pixelBender bilinear sampler but no go.
 I've noticed it works in picnik so it must be possible.
 
 Can anyone push me in the right direction.





[flexcoders] Bitmap downsampling

2009-07-01 Thread Bjorn Schultheiss
Hi,

I'm having a lot of trouble with down-sampling a bitmapData.

I tried the smoothing option first

public function produceResizedBitmapData(image:DisplayObject, 
transform:Matrix):BitmapData
{
var temp:BitmapData = new BitmapData(image.width, image.height, true, 
0x00FF);
temp.draw(image);

var clone:BitmapData = new BitmapData(image.width*transform.a, 
image.height*transform.d, true, 0x00FF);
clone.draw(temp, transform, null, null, null, true);

temp.dispose();
return clone;
}

except the quality was poor, once the image was of a certain size.
For example scaling a 2500px image down to 200px.

I've tried using clevrLib plus a pixelBender bilinear sampler but no go.
I've noticed it works in picnik so it must be possible.

Can anyone push me in the right direction.



[flexcoders] Is SDK 3.4.0 a stable release?

2009-06-04 Thread Bjorn Schultheiss
Its bundled in the 4 beta but i cant find any documentation or a changes list 
for it.



[flexcoders] Re: GoogleMat� Sample Application

2009-06-04 Thread Bjorn Schultheiss
Would be nice with flex 4 and catalyst : )

--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 Hi all,
 
 For any of you interested in learning more about the Mat� framework,
 I've created a sample http://timothyhoff.com/blog/  that's publically
 available.  It's a simple AIR application, but hopefully those that want
 to learn more about MVC, will get some benefit out of it; especially
 those that engaged in the recent discussions concerning VO's.
 
 Cheers,
 -TH





[flexcoders] Re: GoogleMat� Sample Application

2009-06-04 Thread Bjorn Schultheiss
Yeah that's pretty cool.
Cant wait to give catalyst a crack.


--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 Coming, but the only thing that will be different will be the view code.
 :)
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
 bjorn.mailinglists@ wrote:
 
  Would be nice with flex 4 and catalyst : )
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
  
   Hi all,
  
   For any of you interested in learning more about the Mat�
 framework,
   I've created a sample http://timothyhoff.com/blog/ that's
 publically
   available. It's a simple AIR application, but hopefully those that
 want
   to learn more about MVC, will get some benefit out of it; especially
   those that engaged in the recent discussions concerning VO's.
  
   Cheers,
   -TH
  
 





[flexcoders] Re: Flex Framework Cache Statistics

2009-05-14 Thread Bjorn Schultheiss
good question.
I would also like to know

--- In flexcoders@yahoogroups.com, Nayan Savla nayansa...@... wrote:

 Hi All,
 
 I am just wondering if there is some data on the percentage of Flash
 players which would already have a the flex framework cache. Our
 application without the cache is 456Kb and when i use framework
 caching its 256Kb and the swz file is around 500kb.
 
 In this scenario if the user doesn't already have the framework
 cached, it won't make any sense to use framework caching. We don't
 have a high percentage of returning users yet.
 
 So if there is any data which gives an idea about the percentage of
 Flash players out there with the Flex framework cache, it will be
 really helpful.
 
 Thank you
 Nayan





[flexcoders] Re: Are you using the Marshall Plan?

2009-05-06 Thread Bjorn Schultheiss
Our current Modules are all in sdk 3.3
So far all is good.

We hope that if we decide to introduce modules later down the track the were 
solely built using sdk 4+ that this would not be painful.

We hope that we will not have to use the 4+ sdk to compile our 3.3 modules 
against in this scenario?


Have I been to vague? even if this is not the issue you were directly referring 
to?


Thanks,

Bjorn

--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

 I wouldn't say there's an exact methodology.  We have some elements of agile 
 (like iterations, unit tests, ability to respond to feedback and adjust), but 
 as a platform we also need to make sure we have specifications, assigned 
 Quality Engineers, schedules, etc.  So if you're looking for we use scrum 
 you won't get that, it's a combination of practices necessary for a team that 
 works with a large number of stakeholders.
 
 Matt
 
 
 On 5/6/09 12:10 PM, Vivian Richard kanps...@... wrote:
 
 
 
 
 
 
Matt just a question regarding your software development process-
  what exact methodology do you guys(you flex team) follow to develop
  the Flex platform?
 
 On Wed, May 6, 2009 at 1:23 PM, Matt Chotin mcho...@... 
 mailto:mchotin%40adobe.com  wrote:
 
 
  Are you building apps in a modular fashion where those modules need to
  support different Flex versions? Do you have nightmares where Alex is
  explaining SecurityDomains and ApplicationDomains and
  SWFLoader.loadForCompatibility?
 
  Please let me know (email me at mcho...@... mailto:mchotin%40adobe.com ), 
  we're trying to evaluate
  some pain points and whether I need to bribe the Player team to solve them
  ASAP or if it can wait a release.
 
  Matt
 
 





[flexcoders] Re: create a thumbnail dynamically from large image using flex

2009-04-17 Thread Bjorn Schultheiss
--- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote:

 any help guys?


http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/



[flexcoders] Re: New Adobe forums coming!

2009-04-08 Thread Bjorn Schultheiss
the threading not even working in gmail.

a subject prefix would be nice aswell [adobeflexforum] or something, like 
[flexcoders]

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Paul Hastings paul.hastings@ wrote:
 
   As for threading, do you know which header is missing?  I notice that 
  
  speaking of bunnies:
  
  http://jochem.vandieten.net/2009/03/31/the-new-adobe-forums-unfulfilled-potential/
 
 
 If the only thing that they have to do to enable this for nntp is replace the 
 email header with an nntp header, why don't they just give us back nntp?
 
 I'm really curious about what's been going on on the Flex forum, but not 
 curious enough to put myself through a web interface or wind up with 
 thousands of e.mails.





[flexcoders] Re: New Adobe forums coming!

2009-04-08 Thread Bjorn Schultheiss
Who pays you to spend 10-20 hours a week?

How do you afford this luxury?



--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Sam Lai samuel.lai@ wrote:
 
  I'm not on the forums, but they should be sending out the mailing-list
  header in each email which allows you to create a filter to apply
  labels to in Gmail.
 
 If I am not interested in using a web interface to visit a forum, why would I 
 be interested in using a web interface to get the e.mails that are being sent 
 instead of enabling nntp?
 
 NNTP automatically handles threading and putting the groups into their own 
 separate folders, so it feels to me like Adobe has scrapped something that 
 worked well for power forum users, and replaced it with something that's only 
 going to be usable for occasional users.
 
 I'm actually thrilled to pieces with the change, because I used to spend 
 10-20 hours a week reading and responding to posts on there, and now I have a 
 huge chunk of time left every day that I didn't have before.
 
 -Amy





[flexcoders] Re: New Adobe forums coming!

2009-04-02 Thread Bjorn Schultheiss
Will the forums replace flexcoders?


--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

 Hi all,
 
 If you've been using the Adobe forums via the web interface recently you
 probably saw notices that we're introducing a huge upgrade to the forum
 system.  We're combining the user-to-user forums (adobeforums.com) and the
 adobe.com forums into a single forum system.  We're going to have some great
 features in there like email participation, RSS feeds, moderation supported
 by community members (on specific forums, if appropriate), better text entry
 support (including some levels of code formatting), and user ratings.  This
 has me pretty excited as I think it will be a huge improvement over what we
 have.
 
 The forums are going to be down starting on Friday at 3pm PDT so we can
 migrate the last 36 months of content over to the new system.  We expect the
 new system to come up by Monday.  Once they're up I hope folks will check
 things out and become active participants.  I'll be curious to see what you
 think, I'm hoping we might even look into combining some of our separated
 forums under the system if it can meet folks' usability needs.
 
 So stay tuned!
 Matt





[flexcoders] Re: Ribbon in FLEX

2009-04-01 Thread Bjorn Schultheiss
Agreed..

Welcome flexcoders-scott-barnes
http://groups.yahoo.com/group/flexcoders-scott-barnes

I didn't really feel like it fit under the tech category so i placed it under 
online relationships.

Enjoy

We now have a place for all of our Scott Barnes loves Adobe conversations.




--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote:

 Can we perhaps have a separate flexcoders-scott-barnes list to discuss
 whether or not Scott Barnes should be allowed to post to flexcoders and
 to what extent? Every post by Scott generates three to five posts
 discussing whether or not his commentary/evangelism is welcome
 here--this is unarguably more off-topic noise than his actual
 contributions.
 
 -Maciek
 
 
 -Original Message-
 From: Cole Joplin cole_jop...@...
 Reply-to: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Ribbon in FLEX
 Date: Wed, 1 Apr 2009 14:41:10 -0700 (PDT)
 
  More importantly, I have a concern. There is plenty of room in RIA and
  Microsoft-oriented forums and groups to make their case. I'm even fine
  with some open debate in Flexcoders. What I don't want to see is
  Microsoft's Rich Platforms Product Manager, let alone other
  Microsofties, spamming our Flex group with spin on thread after thread
  after thread. 
  Given the traffic on this list, I hardly think that the 2-3 on-topic
 posts I've seen from Scott in the past week classify as spam.  
 -- 
 Jeffry Houser, Technical Entrepreneur
 
 Jeffry, no fair editing out the next sentence:
 
 More importantly, I have a concern. There is plenty of room in RIA and
 Microsoft-oriented forums and groups to make their case. I'm even fine
 with some open debate in Flexcoders. What I don't want to see is
 Microsoft's Rich Platforms Product Manager, let alone other
 Microsofties, spamming our Flex group with spin on thread after thread
 after thread. I'm not saying we are there, I'm saying I'm concerned
 about it. Just reading the language, the last couple of posts are
 certainly exploring that territory. I think there are more appropriate
 venues for that than Flexcoders.
 
 Being on-topic does not change the nature of the content. Take the third
 example. Looking over the body of threads of this group, I can't recall
 seeing a nice bullet-formatted explanation like the one offered by Scott
 of why IE does not want to support SVG. I'm not saying this was a
 copy-paste thing, but it is visually very different. Adobe, Microsoft,
 and others have plenty of propoganda (or spam) posts, and no one is
 arguing that point. But I'm not going to pretend this particular content
 is of the same casual nature of the posts typical members of this group
 make. Scott uses Microsoft's participation in standards bodies and
 knowledge of gui research that clearly expresses an authority posture to
 legitimize his point. The typical posts here are overtly subjective
 developer opinions taken with a grain of salt. Clearly not the same
 content. 
 
 Secondly, this is not a response from a Flex developer, doing Flex stuff
 every work day. (...imagining Scott with a Flex sticker on his laptop as
 Steve Ballmer walks by...) This is a corporate-sounding explanation,
 from actual Microsoft management, on an Adobe Flex group, suggesting we
 use ribbons in Flex, ignore SVG and thank Microsoft for their h.264
 standards compliance. Any part of that sentence not accurate? I'm sure
 Scott is not programming in Flex, and could not possibly be confused as
 a member of the Flex community or an objective observer. Therefore, his
 responses in this group must be viewed in the approriate context, in a
 truthful light. Clearly not a typical poster. 
 
 If Flexcoders' threads become an active corporate information outlet for
 Adobe competitors, I don't think that's a good thing for the group. That
 is my point, and I think it's a perfectly legitimate one.





[flexcoders] Re: Ribbon in FLEX

2009-03-30 Thread Bjorn Schultheiss
Good point,

Its difficult in an application with so many functions though.

Take CS4, the tools panel in Photoshop seems to work for trained designers, but 
when it got introduced into Flash CS4 with the collapsed panels, its difficult 
to know which icon to click when they're not all familiar.

Personally i dont think most web applications should borrow their design from 
MS Office. 
Although the UI may be familiar to the user base, a web application can usually 
be made more simple by restricting functionality related to the task at hand. 
eg, thermo's HUD.

Mobile UX designers seem to do a good job at this.
Take the IPhone. I prefer less obvious, more intuitive controls over a 
cluttered workspace any day.



--- In flexcoders@yahoogroups.com, Gleb Dolgich gleb...@... wrote:

 Ribbon is not a good UI, IMHO. It  comes from Microsoft's idea that  
 every command must have a corresponding icon, which in the past made  
 for some of the most cluttered UIs out there. It's really hard to find  
 what you need in the new Office ribbons, and I would think twice  
 before following this trend. If you feel you need a ribbon in your  
 application, maybe it's time to rethink your UI.
 
 -- 
 Gleb Dolgich
 Twitter: @gbd
 Web: http://www.pixelespressoapps.com
 
 On 30 Mar 2009, at 20:41, Scott Barnes wrote:
 
  Just a note. The true power of Ribbon isn't necessarily just a tab/ 
  hbox navigation, it's also about context in that the navigation  
  reacts to elements you may have with your application. Thus  
  producing contextual sensitive additional menu items where the end  
  user invokes sensitive areas.
 
 
 
 
 
  On Fri, Mar 13, 2009 at 1:11 AM, Thibaud Van Vreckem thibaudm...@... 
   wrote:
 
  I know I could do it using tabs and panels, but an existing FLEX  
  version could save me a lot of time.
 
  that ribbon design  is a perfect example of what flex shines for.
  it's nothing more than tabs and canvas/Hbox panels. that's probably  
  about 5 sec setup.
  I'm not sure I understand what you would you need a component for ..
 
  On Fri, Mar 13, 2009 at 9:29 AM, Claudio M. E. Bastos Iorioselecter...@... 
   wrote:
 
  Thanks for your answer and links.
 
  The silverlight version looks really great. Check this online demo  
  (silverlight 
  required):http://silverlight.services.live.com/invoke/60108/SilverlightRibbon/iframe.html
 
 
  I�m not trying to copy exactly the ribbon. Just the concept.
 
  I know I could do it using tabs and panels, but an existing FLEX  
  version could save me a lot of time.
 
  If I don�t find any FLEX version, the silverlight version will help  
  me a lot, thanks.
 
  I wish I could use silverlight + .NET, but this is an AIR project L
 
 
 
  __
 
  Claudio M. E. Bastos Iorio
 
 
 
  From: flexcod...@yahoogroups.com[mailto:flexcod...@yahoogroups.com]  
  On Behalf Of Sam Lai
  Sent: Friday, March 13, 2009 3:53 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Ribbon in FLEX
 
 
  http://office.microsoft.com/en-us/products/HA101679411033.aspx?pid=CL100796341033#2
 
  Kind of like the toolbar for picking controls in Adobe Dreamweaver
  (unless they've changed it in recent versions).
 
  Unfortunately I haven't heard of any Flash implementations, only
  Silverlight implementations. You could implement it yourself using a
  TabNavigator and Panel controls inside each tab for groups, and
  buttons inside them. It's the styling that will be a pain - the
  official specs are available from Microsoft for free though, with some
  conditions attached
  (http://msdn.microsoft.com/en-au/office/aa973809.aspx). You could also
  use the images and even code if you know XAML from the Silverlight
  version - http://silverlightribbon.codeplex.com/
 
  Personally I'd be making my own interpretation of the ribbon control
  instead of following the Microsoft version to the dot, especially
  seeing as they have changed a few bits in Windows 7 which will
  probably filter down to Office in Office 2010 (e.g. the confusion with
  the File menu - the Orb in the top corner is now gone).
 
  2009/3/13 Tracy Spratt tspr...@...:
   I am not familiar with that control, can you describe it?
  
  
  
   Tracy Spratt,
  
   Lariat Services, development services available
  
   
  
   From:  
  flexcod...@yahoogroups.com[mailto:flexcod...@yahoogroups.com] On
   Behalf Of Claudio M. E. Bastos Iorio
   Sent: Friday, March 13, 2009 2:13 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Ribbon in FLEX
  
  
  
   Hi,
  
   Is there any component (free or paid) similar to the office 2007  
  ribbon
   control?
  
  
  
   TIA
  
  
  
   __
  
   Claudio M. E. Bastos Iorio
  
  
  
  
 
 
 
 
 
 
 
 
  -- 
  Regards,
 
  Scott Barnes
  Rich Platforms Product Manager
  Microsoft.
 
  http://blogs.msdn.com/msmossyblog
 
 
 





[flexcoders] Re: I want to use Flex Builder 3 to develop Flash Games

2009-03-30 Thread Bjorn Schultheiss
Using swc's for your assets is great because it it also makes compiling a lot 
quicker.

With organisation i would suggest a few more categories.

 - assets
 - component (eg. spaceship) logic
 - component factories.
 - main
 - main factories
 - main logic

these separate swcs/swfs make your compiling time even quicker.
The factories are basically used to instantiate everything your main game will 
require.


Bjorn

--- In flexcoders@yahoogroups.com, Axonn theax...@... wrote:

 
 Hi Doobie!
 
 You said:
 You might want to organize things differently.  Assuming that Game.as is 
 your main class that you compile for the game, you may not want to 
 compile this with Flash if you're trying to use Flex Builder.
 
 The way I organize is to break down my stuff into 2 categories - the 
 main game, and the objects/assets used by the game.
 
 Since yesterday, I guess I found a bit of balance! I found a thread on the
 FlashDevelop forum which goes something like this (I'm just telling you the
 main idea): You have Game.swc. You then do this:
 
 public class Game_New extends Game
 {
 public function Game_New()
 {
   super();
   trace('And here, I can add my component-related code for Game.swc');
 }
 }
 
 So as you can see, this way we can modularize code PER-COMPONENT. This is
 the perfect way for me: I can code stuff for each component without actually
 going into Flash. I can modularize my component-related code for each SWC
 and I also can have the main compiled class contain the main logic.
 
 You said:
 There is no way you'll build a game 
 even in the Flash IDE without grouping your art into some form of 
 Movieclip or Sprite.
 
 I've been doing computer programming for 11 years now (C#, C++, VB6, PHP),
 so I know what you're saying and I agree completely. I even did ActionScript
 quite a lot, but that was 5 years ago and it was AS 1.0, so it's like...
 another lifetime *laugh*. But no, I wasn't even remotely thinking to work in
 such a disorganized way! My designer has about 5 years of Flash behind so
 she knows her shit ::- D. But even so, of course I already am establishing
 the hierarchical structure of the assets with her. There's no way a good
 project would live without lots of good and planned order!!! For example if
 you have planet, space ship, man and helmet, there would be no way
 in hell I want them lying on the stage for me to stich up together. That
 would be a huge waste of time indeed ::- D.
 
 
 Axonn.
 
 
 ---
 The objects and assets I use are usually pretty simple.  I like these as 
 SWCs because I can give them a little logic, and maybe a animated 
 timeline if need be.  Typically if you keep these simple, you'll rarely 
 have to touch the code, and just have to update with any art changes.
 
 The main game class, however (what I'm assuming you're calling Game.as), 
 is something that you'll update constantly throughout the lifecycle of 
 your game.  So this is easier to leave as just some code, and don't 
 compile into a SWC, just let Flex compile with each build of the game.
 
 You can organize stuff however you like though - you could completely 
 ignore what I said, there's no right way to do it.  The above just 
 happens to be what works for me.
 
 You also talked about your artist not liking having to dig into 
 movieclips and symbols in the library.  Honestly, they should really 
 learn some organization.  Movieclips are the basic building blocks for 
 interactivity in the Flash IDE.  There is no way you'll build a game 
 even in the Flash IDE without grouping your art into some form of 
 Movieclip or Sprite.
 
 If your artist can only draw on the main stage, it'll end up being your 
 job to figure out how to organize things into the movieclips as you need 
 them and just do the production work yourself.  The downside of this, is 
 having to do this production work everytime the art gets updated.  I've 
 been through this it's not fun.  It's easier to do a bit of pre-planning 
 surrounding your game and get a dialog going with your artist on how to 
 best organize the assets.  If you both stick to the plan, they can work 
 in Flash independently and just give you an updated SWC every so often 
 while you work in Flex Builder, updating the logic surrounding the game.
 
 But like I said - people prefer different stuff - I'm sure once you get 
 a little experience with this workflow, you'll have your own opinions.
 ben
 
 Axonn wrote:
 
 
  Hi Doobie and thanks for your answer!
 
  I just managed to get my first SWC into Flex ::- D. *rejoices*. However, I
  can't do anything with it ::- (... I have this Game.swc. In CS3, I set
  Game.as to its class. Game.as is in the same folder as Game.swc. After
  importing it in Flex, I modified Game.as. I added a trace. But nothing
  shows when I run it with Flex ::- ( ... please don't tell me I need to
  recompile the SWC if I modify the AS. As far as I understood so far that's
  the whole thing 

[flexcoders] Re: Flex Builder Compiler Performance Benchmarking

2009-03-25 Thread Bjorn Schultheiss
How long has it been since the compile time has been taking that long?

--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

 We clearly need to see your application and understand your system 
 configuration.  This is obviously something going very wrong, I can't imagine 
 your compilation taking more than 30 seconds, and even that would hopefully 
 be very high.
 
 Can you provide the source for your app to us (you can mail me offlist)?  
 Also send your system specs.
 
 Matt
 
 
 On 3/25/09 8:07 PM, edlueze edlu...@... wrote:
 
 
 
 
 Hi Folks:
 
 Can somebody tell me what a reasonable compile-time for a Flex Application 
 is? A clean build for my application will take about 2 hours, and an 
 incremental compile after I've changed several files will often take an hour. 
 If I've only changed one file then an incremental compile will usually take 
 less than a minute.
 
 I'm using Flex Builder 3.0 in Eclipse and it would be typical for me to see 
 the same error message repeated a dozen times (presumably the compiler has 
 passed through the same file that many times).
 
 I was new to Flex when I started this project and I've been working on it for 
 about 6 months. I have no idea how many lines of code I've got, but how big 
 could it be if it's only been me working on it?! There are about 100 files of 
 all sorts and I've cleared out most of the other projects.
 
 After reading others complain about compilation times of only 40 seconds (my 
 dream!) I started getting worried that I've fundamentally botched the way 
 I've set things up. Any feedback would be very welcome!
 
 Thanks,
 
 Ted.





[flexcoders] Re: Modules, Cairngorm and Garbage Collection

2009-03-25 Thread Bjorn Schultheiss
Hey Jeff,


I did this in an app I built early last year.

Basically its like a tearDown in a unit test.

The trick is it has to work top down.
You have to reset child module model data,
prior to resetting parent module model data,
prior to shell model date.
That way hopefully your views are refreshed.

That app was cairngorm and used modules.
it also helps to remove the CairngormEventDispatcher singleton.

Basically we never unloaded.
We just made sure the data was fresh.

Even with the profiler it is near impossible to keep track of all your 
references, even without Cairngorm.


Bjorn


--- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... 
wrote:

 Bjorn,
 
 It's not ignorant if it is true.  And it seems like retro-fitting
 Cairngorm to support modules is a work in progress.  
 
 I came across a blog posting where Alistair spoke of better support for
 modules in Cairngorm in the future, but it looks like there's been no
 published evolution of Cairngorm in a couple of years.  Meanwhile
 PureMVC seems to have leapfrogged Cairngorm in this department.
 Unfortunately, I don't think migrating my app to PureMVC is an option at
 this point.
 
 So the question becomes whether it is worth it.  My app is currently
 built to unload modules when the user logs out.  The concept is that
 when someone logs in, in a particular app instance, they will get a
 completely fresh data model, fresh set of modules based on their
 profile, etc. The quick and dirty solution is to close down the instance
 on logout.  That would be expeditious, but it bugs me that I'd have to
 do that.
 
 Jeff
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Bjorn Schultheiss
 Sent: Tuesday, March 24, 2009 7:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Modules, Cairngorm and Garbage Collection
 
 
 Here's my ignorant statement for the week.
 
 Having a module that is built using Cairngorm unload cleanly is not
 worth the effort required to make it work.
 
 
 
 
 --- In flexcoders@yahoogroups.com, claudiu ursica the_braniak@
 wrote:
 
  I'm loading module via a command, so that it can be loaded form 
  various places... So far I have used a Module Loader... And I use 
  interfaces foe communicating with the modules and the shell. I don't 
  know how you work with module but you can inject your pieces of data 
  from the mx:app in the loader and into module when the as soon as the 
  ready event fires. U can also use BindingUtils to set bindings which 
  in turn returns a change watcher. use that to call unwatch upon when 
  module unloads and so you make sure you performed celanup and 
  unbinding before unload ...
  
  Claudiu
  
  
  
  
  
  From: Battershall, Jeff jeff.battershall@
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, March 24, 2009 10:47:22 PM
  Subject: RE: [flexcoders] Modules, Cairngorm and Garbage Collection
  
  
  Thanks
  Pedro,
   
  As I
  said in my previous post, I'm also wondering about the effect of a
 module's 
  component consuming a dataprovider via binding to a singleton object
 and 
  the possibility of that preventing GC.  I guess this touches on the
 whole 
  issue of best practices of using ModelLocator with modules.  PureMVC
 has 
  it's 'Pipes' utility to inject data objects into a module, but I'm
 using 
  Cairngorm and I'm wondering how something similar could be achieved
 with that 
  framework. 
   
  Jeff
  -Original Message-
  From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. 
  com] On Behalf Of Pedro Sena
  Sent: Tuesday, March 24, 2009 3:06 PM
  To: flexcod...@yahoogro ups.com
  Subject: Re: [flexcoders] Modules,  Cairngorm and Garbage Collection
  
  The GC is not called when  the component is remove from the screen.
  
  Most people think this occurs,  but it's not truth.
  
  The GC is called when its required, but WHEN it is  required is 
  another point.
  
  If you are using just a small piece of your  available mamory, don't 
  expect the GC to be  called.
  
  Regards,
  
  PS
  
  
  On Tue, Mar 24, 2009 at 2:09 PM, claudiu ursica the_braniak@ 
  yahoo.com wrote:
  
  Hi, why do you bind module to the model locator?
  
  If by any  chance you have embedded CSS in the module it won't garbage
 
  collect  ...
  
  Claudiu
  
  
  
  
  
   From: Battershall, Jeff  jeff.battershall@ dowjones. com
  To: flexcod...@yahoogro ups.com
  Sent: Tuesday, March 24, 2009 5:37:58  PM
  Subject: [flexcoders]  Modules, Cairngorm and Garbage Collection
   
  
  
  I've been working on optimizing an AIR application I'm currently  
  working on that utilizes modules. In the modules there are controls 
  bound  to ModelLocator data items.
  
  What I'm seeing during profiling that  removing a module from the 
  display list doesn't seem to result in the  module being GC'ed. I'm 
  suspecting binding between

[flexcoders] Re: Modules, Cairngorm and Garbage Collection

2009-03-24 Thread Bjorn Schultheiss
Here's my ignorant statement for the week.

Having a module that is built using Cairngorm unload cleanly is not worth the 
effort required to make it work.




--- In flexcoders@yahoogroups.com, claudiu ursica the_bran...@... wrote:

 I'm loading module via a command, so that it can be loaded form various 
 places... So far I have used a Module Loader... And I use interfaces foe 
 communicating with the modules and the shell. I don't know how you work with 
 module but you can inject your pieces of data from the mx:app in the loader 
 and into module when the as soon as the ready event fires. U can also use 
 BindingUtils to set bindings which in turn returns a change watcher. use that 
 to call unwatch upon when module unloads and so you make sure you performed 
 celanup and unbinding before unload ...
 
 Claudiu
 
 
 
 
 
 From: Battershall, Jeff jeff.battersh...@...
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, March 24, 2009 10:47:22 PM
 Subject: RE: [flexcoders] Modules, Cairngorm and Garbage Collection
 
 
 Thanks 
 Pedro,
  
 As I 
 said in my previous post, I'm also wondering about the effect of a module's 
 component consuming a dataprovider via binding to a singleton object and 
 the possibility of that preventing GC.  I guess this touches on the whole 
 issue of best practices of using ModelLocator with modules.  PureMVC has 
 it's 'Pipes' utility to inject data objects into a module, but I'm using 
 Cairngorm and I'm wondering how something similar could be achieved with that 
 framework. 
  
 Jeff
 -Original Message-
 From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
 Behalf Of Pedro Sena
 Sent: Tuesday, March 24, 2009 3:06 PM
 To: flexcod...@yahoogro ups.com
 Subject: Re: [flexcoders] Modules,  Cairngorm and Garbage Collection
 
 The GC is not called when  the component is remove from the screen.
 
 Most people think this occurs,  but it's not truth.
 
 The GC is called when its required, but WHEN it is  required is another point.
 
 If you are using just a small piece of your  available mamory, don't expect 
 the GC to be  called.
 
 Regards,
 
 PS
 
 
 On Tue, Mar 24, 2009 at 2:09 PM, claudiu ursica the_braniak@ yahoo.com 
 wrote:
 
 Hi, why do you bind module to the model locator?
 
 If by any  chance you have embedded CSS in the module it won't garbage 
 collect  ...
 
 Claudiu
 
 
 
 
 
  From: Battershall, Jeff  jeff.battershall@ dowjones. com
 To: flexcod...@yahoogro ups.com
 Sent: Tuesday, March 24, 2009 5:37:58  PM
 Subject: [flexcoders]  Modules, Cairngorm and Garbage Collection
  
 
 
 I've been working on optimizing an AIR application I'm currently  working
 on that utilizes modules. In the modules there are controls bound  to
 ModelLocator data items.
 
 What I'm seeing during profiling that  removing a module from the display
 list doesn't seem to result in the  module being GC'ed. I'm suspecting
 binding between the ModelLocator and  the module's controls are causing
 the behavior. 
 
 Has anyone seen  this and can suggest approaches to address this?
 
 Jeff  Battershall
 Application Architect
 Dow Jones Indexes
 jeff.battershall@ dowjones. com
 (609) 520-5637  (p)
 (484) 477-9900 (c)
 
 
 
 
 -- 
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java  Programmer 
 * Sun Certified Web Component Developer
 */





[flexcoders] Re: AMF and sending/receiving pictures

2009-03-06 Thread Bjorn Schultheiss
Yes, AMF3 supports the ByteArray class. Images can be written into a ByteArray 
and then sent over Amf.

Bjorn

--- In flexcoders@yahoogroups.com, Weyert de Boer w...@... wrote:

 Does anyone know if there are any solutions to allow sending pictures 
 from the AMF server-side to the Flash/Flex client? Or do I need to go 
 the Base64 or supply as image url way instead?





[flexcoders] Re: Scale To Fit

2009-03-05 Thread Bjorn Schultheiss
I've got a measuring class to do it.

Scale to fit, fill, stretch and center.
it return a matrix of the values.




--- In flexcoders@yahoogroups.com, pliechty pliec...@... wrote:

 Does Flex have a scale to fit mechanism?  I would like to scale a component 
 to fit in the visible screen space.





[flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Bjorn Schultheiss
In my experience try/catch blocks have been most useful in dealing with sdk 
component life-cycle errors.

It is useful to throw custom errors for debugging purposes but rarely do i need 
to handle them in a production environment and run another process.

Bjorn



--- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I guess the other thing to consider is where you are using them. If  
 you put them in code that's called frequently it's probably more of a  
 problem than if you are using them in code that's called occasionally.
 
 
 On 05/03/2009, at 10:42 AM, Sam Lai wrote:
 
  I thought Alex said before that exceptions don't appear for users
  running the standard Flash Player (i.e. not the debug one). Hence the
  user won't even know something went wrong; rather the app will
  probably just enter some unknown/unusable state and effectively
  freeze.
 
  There are cases for using try-catch when there is no other option. But
  when there are, e.g. testing the type of a variable before casting it
  or using a fault handler, try-catch should not be used. That could
  make the code a bit convoluted though, so in cases where errors can
  occur at many points (e.g. processing data files from an external
  server) a try-catch may be preferable, not only for code style, but
  also because you are unlikely to be able to pre-empt and mitigate all
  the errors that might occur.
 
  2009/3/5 Weyert de Boer w...@...:
   I respectfully disagree with not handling exceptions and let them  
  raised
   in the player. Of course, eating exceptions is terribly bad. Yes,
   raising exceptions because user input is bad is a long stretch.
  
   Hi Kevin,
  
   Try-Catch blocks are an absolute necessity as without them, you are
   putting the operation of your software into the hands of user input
   errors, http errors, unintended consequences as well as the  
  myriad of
   things that exist outside the Happy Path.
  
   I respectfully disagree.  IMHO, try-catch is only useful in rare
   situations; like file IO in an Air app.  User input should be  
  handled
   with restict and validators and http errors should be handled  
  with a
   fault handler.  What I'm saying is that well written/tested code
   rarely needs the overhead and verboseness of a try-catch block.  In
   the event of un-caught errors, I personally want the Flash window  
  to
   popup.  While the dialog could be more elegant, the stack trace  
  makes
   it easier to locate the problem and fix the bug quickly.  Again,  
  just
   my opinion.
  
   -TH
  
   --- In flexcoders@yahoogroups.com, Kevin Benz kbenz@ wrote:
   
Try-Catch blocks are an absolute necessity as without them, you  
  are
putting the operation of your software into the hands of user  
  input
errors, http errors, unintended consequences as well as the  
  myriad of
things that exist outside the Happy Path. As functions/ 
  methods only
give you one return object, it is common practice to throw custom
errors/exceptions as they are a great mechanism for handling  
  dynamic
environments.
   
   
   
To answer your second question about a try-catch without  
  statements in
the catch block. If this method is nested inside of another try- 
  catch
block, then an exception here will be swallowed and not be  
  caught in the
calling objects try-catch.
   
   
   
KFB
   
   
   
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com 
  ] On
Behalf Of SJF
Sent: Tuesday, March 03, 2009 6:54 PM
To: flexcoders
Subject: [flexcoders] try, catch, finally ...
   
   
   
Technically, it's good practice/professional to use try-catch- 
  finally
blocks in your actionscript logic. This ensures a robust, easily
debugg-able application.
   
However, can anyone comment if they actually use try-catch- 
  finally or
whether anyone is for or against it's use.
   
I ask because I've received an application (which streams  
  vidoe) that
was blowing out numerous users CPUs to 100%. Upon further  
  investigation,
it appears that a netstream event is firing 20 times a second,  
  and
within the listener (listener function that is) for the event,  
  there is
a try-catch-finally block. I removed the try-catch-finally and  
  CPU usage
halved on my machine.
   
Anyone care to comment for or against try-catch-finally and  
  it's use.
   
   
   
Steve.
   
   
   
   
--
This message has been scanned for viruses and
dangerous content by MailScanner http://www.mailscanner.info/ 
   , and is
   
believed to be clean.
   
  
  
  
  
  
   
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/ 
  flexcodersFAQ.txt
   Alternative FAQ location: 
   https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
   Search Archives: 
   

[flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-03 Thread Bjorn Schultheiss
Application.creationComplete should be fine.

on your Loaders try Event.INIT

I'm passing flashVars from shell to modules fine, don't see why there would be 
any hurdles with sub-applications.

--- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote:

 I just did a quick trace test, and the messages were written to the console
 in the following order:
 
 1) SWFLoader load complete (registers listener for app complete)
 2) embedded application creation complete handler
 3) embedded application app complete handler
 4) host app handler for embedded app app complete
 
 So presumably if one is setting parameters in 4) they can't be read in 3)...
 
 Tracy, are you following the recipe here (2nd answer)?
 
 http://stackoverflow.com/questions/407858/passing-flashvars-style-
 parameters-to-a-loaded-swf
 
 Seems to me this could only work if the loaded app is not accessing the
 parameters until some subsequent user gesture.
 
 
 On Tue, Mar 3, 2009 at 11:53 AM, Richard Rodseth rrods...@... wrote:
 
  It was on creation complete.
 
  On Tue, Mar 3, 2009 at 11:17 AM, Alex Harui aha...@... wrote:
 
 Not sure when  you tried the code that didn�t work, but application is
  not available right away
 
 
 
  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 *Richard Rodseth
  *Sent:* Tuesday, March 03, 2009 10:47 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Re: Passing params (flashvars) to
  sub-applications
 
 
 
  Thanks for the example, Amy. I was able to do this (on application
  complete in the host):
 
  loadedApp = event.target.application
  as Application;
  loadedApp[configid] = Default;
 
  and see the value in the loaded application.
 
  public function set configid(id:String):void {
  this.config_id = id;
   }
 
 
  I was also able to pass a parameter in the url, and access it in the
  loaded app's creationComplete via
 
  this.parameters[config_id] (not
  Application.application.parameters[config_id]
 
  But I have not been able to get this to work:
 
  loadedApp = event.target.application
  as Application;
  if(!loadedApp) throw new Error();
  loadedApp.parameters[config_id] =
  Default;
 
  Loaded app's onCreationComplete()
 
   this.config_id =
  Application.application.parameters[config_id];
 
 
 
 
   On Tue, Mar 3, 2009 at 6:35 AM, Amy amyblankens...@...
  wrote:
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Richard
  Rodseth rrodseth@ wrote:
  
   I'm experimenting with loading sub applications using SWFLoader. I've
  read
   numerous posts about this, but for the life of me can't figure out
  how to
   pass flashvars to the sub application. In particular, the technique
   described here (the second one) doesn't work for me
  
   http://stackoverflow.com/questions/407858/passing-flashvars-style-
  parameters-to-a-loaded-swf
  
   Surely there's a definitive way to do this?
 
  Have you thought about just setting up getters and setters on your base
  class and calling those? This doesn't use getters and setters, but a
  getter or setter is just a function, so you can see how it would work:
 
  http://flexdiary.blogspot.com/2009/01/example-of-casting-contets-of-
  swfloader.html
 
 
 

 
 
 





[flexcoders] Re: Flex 3.3 SDK and AdvancedDataGrid

2009-03-03 Thread Bjorn Schultheiss
From the release notes

A new version of the data visualization libraries needs to be downloaded and 
installed into the SDK 3.3 installation to leverage features such as charts and 
the Advanced DataGrid. The library can be downloaded from the main Flex 
download page:
http://www.adobe.com/products/flex/flexdownloads/

To install the library and related assets do the following:-

   1. Unzip ‘datavisualization_for_SDK3.3.zip’ onto the SDK 3.3 folder 
(e.g. C:\Program Files\Flex Builder 3\sdks\3.3.0). This will extract the 
following into the SDK 3.3 installation
 1. datavisualization.swc into the frameworks\libs folder
 2. datavisualization__3.3.0.4852.swz and 
datavisualization__3.3.0.4852.swf into the frameworks\rsls folder
 3. datavisualization_rb.swc into the appropriate 
frameworks\locale\locale folder
 4. DMV-source.jar into the lib folder
   2. Open a command prompt or command shell and go to the ‘lib’ 
subdirectory in the SDK 3.3 directory tree e.g. C:\Program Files\Flex Builder 
3\sdks\3.3.0\lib
   3. Extract the sources for the data visualization components from 
DMV-source.jar by running the command ‘java â€jar DMV-source.jar 
license.properties directory ../’ e.g. java â€jar DMV-source.jar  
C:\Documents and Settings\All Users\Application Data\Adobe\Flex NOTE: the 
folder named ‘projects’ and the file ‘dmv_automation_build.xml’ will be 
extracted into the fbpro folder


--- In flexcoders@yahoogroups.com, Troy A. Binford troy.binf...@... wrote:

 Hi,
 
 I updated to 3.3 today and now AdvancedDataGrid is not found. Is there 
 something I am missing?
 
 Thanks.





[flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-03 Thread Bjorn Schultheiss
The question begs.
Why would you want to use the untyped params object to pass values between swf 
applications.

why not just create a setter on the sub application and when its loaded the set 
the value on it via the parent application.
use a common interface to get the setter method signature.

Bjorn

--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:

 Those traces tell me it should be working, that the embedded app is ready
 when the host app attempts to communicate with it.
 
  
 
 Tracy
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Richard Rodseth
 Sent: Tuesday, March 03, 2009 6:42 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Passing params (flashvars) to sub-applications
 
  
 
 I just did a quick trace test, and the messages were written to the console
 in the following order:
 
 1) SWFLoader load complete (registers listener for app complete)
 2) embedded application creation complete handler
 3) embedded application app complete handler
 4) host app handler for embedded app app complete
 
 So presumably if one is setting parameters in 4) they can't be read in 3)...
 
 Tracy, are you following the recipe here (2nd answer)?
 
 http://stackoverflo
 http://stackoverflow.com/questions/407858/passing-flashvars-style-
 w.com/questions/407858/passing-flashvars-style-parameters-to-a-loaded-swf
 
 Seems to me this could only work if the loaded app is not accessing the
 parameters until some subsequent user gesture.
 
 
 
 On Tue, Mar 3, 2009 at 11:53 AM, Richard Rodseth rrods...@gmail.
 mailto:rrods...@... com wrote:
 
 It was on creation complete. 
 
  
 
 On Tue, Mar 3, 2009 at 11:17 AM, Alex Harui aha...@adobe.
 mailto:aha...@... com wrote:
 
 Not sure when  you tried the code that didn't work, but application is not
 available right away
 
  
 
 Alex Harui
 
 Flex SDK Developer
 
 Adobe Systems Inc. http://www.adobe.com/ 
 
 Blog: http://blogs. http://blogs.adobe.com/aharui adobe.com/aharui
 
  
 
 From: flexcod...@yahoogro mailto:flexcoders@yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders@yahoogroups.com ups.com] On
 Behalf Of Richard Rodseth
 Sent: Tuesday, March 03, 2009 10:47 AM
 To: flexcod...@yahoogro mailto:flexcoders@yahoogroups.com ups.com
 Subject: Re: [flexcoders] Re: Passing params (flashvars) to sub-applications
 
  
 
 Thanks for the example, Amy. I was able to do this (on application complete
 in the host):
 
 loadedApp = event.target.application as
 Application;
 loadedApp[configid] = Default;
 
 and see the value in the loaded application. 
 
 public function set configid(id:String):void {
 this.config_id = id;
  }
 
 
 I was also able to pass a parameter in the url, and access it in the loaded
 app's creationComplete via
 
 this.parameters[config_id] (not
 Application.application.parameters[config_id]
 
 But I have not been able to get this to work:
 
 loadedApp = event.target.application as
 Application;
 if(!loadedApp) throw new Error();
 loadedApp.parameters[config_id] =
 Default;
 
 Loaded app's onCreationComplete()
 
  this.config_id =
 Application.application.parameters[config_id];
 
 
 
 
 
 On Tue, Mar 3, 2009 at 6:35 AM, Amy amyblankenship@
 mailto:amyblankens...@... bellsouth.net wrote:
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Richard Rodseth rrodseth@ wrote:
 
  I'm experimenting with loading sub applications using SWFLoader. I've 
 read
  numerous posts about this, but for the life of me can't figure out 
 how to
  pass flashvars to the sub application. In particular, the technique
  described here (the second one) doesn't work for me
  
  http://stackoverflo
 http://stackoverflow.com/questions/407858/passing-flashvars-style-
 w.com/questions/407858/passing-flashvars-style-
 parameters-to-a-loaded-swf
  
  Surely there's a definitive way to do this?
 
 Have you thought about just setting up getters and setters on your base 
 class and calling those? This doesn't use getters and setters, but a 
 getter or setter is just a function, so you can see how it would work:
 
 http://flexdiary.
 http://flexdiary.blogspot.com/2009/01/example-of-casting-contets-of-
 blogspot.com/2009/01/example-of-casting-contets-of-
 swfloader.html





[flexcoders] Re: Getting ByteArray.uncompress() to work in Flash - looking for an example tex

2009-03-01 Thread Bjorn Schultheiss
ASCompress supports GZIP
http://code.google.com/p/ascompress/

--- In flexcoders@yahoogroups.com, David Adams dpad...@... wrote:

 On Sun, Mar 1, 2009 at 9:06 PM, Cato Paus ca...@... wrote:
  go here
  http://onrails.org/articles/2007/11/27/flash-utils-bytearray-compressing-4-1mb-
to-20k
 
 Thanks for the link! I couldn't get the AIR app to compile, but
 realized it pointed out an obvious strategy: use Flash to
 encode/decode the test string. I've got that going now so I can sort
 out a byte comparison with my server-side encoder's.
 
 I also found an old bug report that indicates that Flash only
 understands 'zlib' and does not understand deflate, at the moment.
 That's a bit of a help but 'zlib' covers a bit of ground, as far as I
 can tell (?)
 
 Thanks again.





Re: [flexcoders] Best browser for debugging on Mac OSX?

2008-11-25 Thread Bjorn Schultheiss
Camino is supposed to be pretty fast.

Its a little bit more difficult to set up your proxies but it is possible.

I was using Camino but I currently use Firefox.

On Wed, Nov 26, 2008 at 10:45 AM, Guy Morton [EMAIL PROTECTED] wrote:

   Anyone got a recommendation?

 I've been using Firefox, but it seems to bloat memory-wise the longer
 it runs - often consuming 500Mb after a while. As FB3 also is a
 memory hog, this makes it hard to run on a 2Gb machine.

 All I really need it a lightweight browser that can load the Flash
 plugin.

 Guy
  



Re: [flexcoders] Best browser for debugging on Mac OSX?

2008-11-25 Thread Bjorn Schultheiss
Any performance increase with Opera?

Debugging for me has also become painfully slow.

Could it have to do with the FB 3.0.2 upgrade?


On Wed, Nov 26, 2008 at 1:14 PM, Guy Morton [EMAIL PROTECTED] wrote:

   I find Camino a lot slower than Firefox, and it's probably an even worse
 memory hog.

 I'm going to try Opera for a while.


 On 26/11/2008, at 11:11 AM, Bjorn Schultheiss wrote:

 Camino is supposed to be pretty fast.

 Its a little bit more difficult to set up your proxies but it is possible.

 I was using Camino but I currently use Firefox.

 On Wed, Nov 26, 2008 at 10:45 AM, Guy Morton [EMAIL PROTECTED] wrote:

 Anyone got a recommendation?

 I've been using Firefox, but it seems to bloat memory-wise the longer
 it runs - often consuming 500Mb after a while. As FB3 also is a
 memory hog, this makes it hard to run on a 2Gb machine.

 All I really need it a lightweight browser that can load the Flash
 plugin.

 Guy




  


[flexcoders] Re: Bi-directional binding

2008-08-18 Thread Bjorn Schultheiss
Here's another example of bi-directional binding..
check example 3.

http://www.quietlyscheming.com/blog/components/a-couple-of-samples-from-max-no-not-that-one/

--- In flexcoders@yahoogroups.com, shaun [EMAIL PROTECTED] wrote:

 Durres76 wrote:
  hi, is this possible. var arr : ArrayCollection;
  
  textfield text='{arr.someProperty}'
  
  I know the textfield text will change everytime the ArrayCollection
  updates, but can the ArrayCollection update when a user types in the
  textfield. essentially binding the array propety to the textfield
  value
 
 You can do something like:
 textinput id=ti text={a.b} change=a.b=ti.text /
 
 cheers,
   - shaun





[flexcoders] Re: Flash Player 10 RC

2008-08-18 Thread Bjorn Schultheiss
Where did you get it from?

I've got debug version 10,0,0,525 running ok.
downloaded from
http://opensource.adobe.com/svn/opensource/flex/sdk/tags/trunk_4.0.0.2432/in/player/10/mac/

I'm assuming its a beta 2 player and not rc though. RC version number
look like 10.0.2.x


--- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote:

 anyone?
   - Original Message - 
   From: Sherif Abdou 
   To: flexcoders@yahoogroups.com 
   Sent: Saturday, August 16, 2008 7:20 PM
   Subject: [flexcoders] Flash Player 10 RC
 
 
 
   Anyone Having trouble with the Debugger? When I was using the
Beta2, The Debugger was 10. Now with the RC Flash Player the Debugger
is not 10 but 9r115.





[flexcoders] Re: 3.1 changelog?

2008-08-17 Thread Bjorn Schultheiss
I saw this blog post the other day.

differences between Flex 3.1.0 and Flex 3.0.0
http://shigeru-nakagaki.com/index.cfm/2008/8/16/20080816-diff-between-Flex310-and-Flex300

Bjorn

--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Hey Guys,
 
 Is there a changelog for 3.1? I can't seem to find anything via google.
 
 -Josh
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: 3.1 changelog?

2008-08-17 Thread Bjorn Schultheiss
Quote from the doc
The Marshall Plan will only support 3.1 Flex applications working in
Flex 4 and beyond.
http://opensource.adobe.com/wiki/display/flexsdk/Marshall+Plan

In terms of bug-fixes, haven't seen one yet..
Mind you haven't look much either.


--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Yeah just found that :) That's pretty much only API changes though,
I was
 wondering if there's anything official listing bugfixes / changes in
builder
 (if any), etc...
 
 Did the Marshall Plan stuff go into 3.1 or is it 3.2?
 
 -Josh
 
 On Mon, Aug 18, 2008 at 2:54 PM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
  I saw this blog post the other day.
 
  differences between Flex 3.1.0 and Flex 3.0.0
 
 
http://shigeru-nakagaki.com/index.cfm/2008/8/16/20080816-diff-between-Flex310-and-Flex300
 
  Bjorn
 
  --- In flexcoders@yahoogroups.com, Josh McDonald dznuts@ wrote:
  
   Hey Guys,
  
   Is there a changelog for 3.1? I can't seem to find anything via
google.
  
   -Josh
  
   --
   Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: josh@
  
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: A very simple component in AS :(

2008-06-29 Thread Bjorn Schultheiss
Basically thats not how to create a component for flex.
The value for title has not been set at the time the constructor runs.

You should look at Flex's component invalidation cycle.

createChildren();
commitProperties();

Its all in the docs.

--- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote:

 
 Hey there,
 
 I was trying to create a very simple component in as, there was no error
 in compiling. However, I was unable to see the text. :( can you take a
 quick look? thank you
 
 === AS 
 
 package
 {
   import mx.controls.Text;
   import mx.core.UIComponent;
 
   public class Footer extends UIComponent
   {
public var title:String;
private var _txt:Text;
 
public function Footer()
{
 super.setActualSize(50 , 20 );
 
 _txt= new Text();
 _txt.text = title;
 addChild( _txt );
}
   }
 }
 
  in main.mxml ===
 
 local:newText title=asdfasdfa /





[flexcoders] Re: AS3 interface question

2008-06-27 Thread Bjorn Schultheiss
Runtime checking is all we get.

public static function isImplementationOf(clazz:Class,
interfaze:Class):Boolean {
  var result:Boolean;
  if (clazz == null) {
result = false;
  }
  else {
var classDescription:XML = describeType(clazz) as XML;
result = (classDescription.factory.implementsInterface.(@type ==
getQualifiedClassName(interfaze)).length() != 0);
  }
  return result;
}

--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 As far as I know, Adobe plans to follow the emerging Ecmascript 4
 standard. We're unlikely to support covariant return types in
 ActionScript unless ES4 has them.
 
  
 
 Gordon Smith
 
 Adobe Flex SDK Team
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick Winscot
 Sent: Thursday, June 26, 2008 10:30 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] AS3 interface question
 
  
 
 By the way... there is an open issue in the Adobe bug-base regarding
 this. Vote for it! NOW!
 
  
 
 http://bugs.adobe.com/jira/browse/ASC-3442
 http://bugs.adobe.com/jira/browse/ASC-3442 
 
  
 
 Rick Winscot
 
  
 
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Ralf Bokelberg
 Sent: Thursday, June 26, 2008 9:22 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] AS3 interface question
 
  
 
 Yep, it's a language feature, which is not there. I think it is called
 covariant return types.
 Afaik, all you can do is check the type and cast.
 Cheers
 Ralf.
 
 On Thu, Jun 26, 2008 at 3:14 PM, diehlryan [EMAIL PROTECTED]
 mailto:rdiehl%40docfinity.com  wrote:
  I'm running into a wall when trying to use extension with interfaces.
  The example I'm about to provide works using Java, so I believe the
  OOP practices behind it are valid. But I can't figure out how to
  accomplish the same thing in Flex, I keep running into compiler
  issues. The example is a condensed version of something I'm working
  on, for simplicity sake.
 
  Let's say you have a bunch of events that all have some common
  functionality, like the ability to have a nextEvent. Also, a subset
  of those events also have additional functionality, they can be
  filtered by a type of criteria. We'll call them search events.
 
  Now, there are some parts of the application that can work with any
  type of search event, and any type of criteria. But when the
  individual searches are executed, that implementation expects a
  specific type of search event and search criteria. That's my end goal
  here.
 
  Here are the interfaces I'm using:
 
  public interface ICriteria
  {
  // just a marker
  }
 
  public interface ICustomCriteria extends ICriteria
  {
  function get name():String;
  function set name(name:String):void;
  }
 
  public interface IEvent
  {
  function get nextEvent():IEvent;
  function set nextEvent(event:IEvent):void;
  }
 
  public interface ISearchEvent
  {
  function get criteria():ICriteria;
  function set criteria(criteria:ICriteria):void;
  }
 
  So far, so good. And now the implementing classes:
 
  // would like to make this an abstract class, but not supported in AS
  public class BaseEvent implements IEvent
  {
  private var _nextEvent:IEvent;
 
  public function set nextEvent(event:IEvent):void
  {
  this._nextEvent = event;
  }
 
  public function get nextEvent():IEvent
  {
  return this._nextEvent;
  }
  }
 
  // would like to make this an abstract class, but not supported in AS
  public class BaseSearchEvent extends BaseEvent implements ISearchEvent
  {
  private var _criteria:ICriteria;
 
  public function set criteria(criteria:ICriteria):void
  {
  this._criteria = criteria;
  }
 
  public function get criteria():ICriteria
  {
  return this._criteria;
  }
  }
 
  Those base classes are fine and compile correctly. Now if you
  remember from the requirements, there are some places that can work
  with any type of ISearchEvent, and some places that can only work with
  an individual subclass. Here is where the compiler errors come in.
  Doing what I am about to do works in Java, and I'm wondering if there
  is a way to accomplish it in AS3.
 
  public class CustomSearchEvent extends BaseSearchEvent
  {
  private var _criteria:ICustomCriteria;
 
  public override function get criteria():ICustomCriteria
  {
  return this._criteria;
  }
 
  public override function set criteria(criteria:ICustomCriteria):void
  {
  this._criteria = criteria;
  }
  }
 
  The above class does not compile because the method signatures for
  get/set criteria are different than those specified in the interface.
  But from an OO perspective, I think this is a valid thing to want to
  do. If you're working with an ISearchEvent instance, you should be
  able to subclass the base class and provide custom behavior. The
  ICustomCriteria is a subclass of ICriteria, so you should be able to
  substitute them in this context. Is there another way to accomplish
  this? Or is this just a 

[flexcoders] Re: multidimentional ArrayCollections and collectionEvent....

2008-06-19 Thread Bjorn Schultheiss
the change event would still be dispatching from the myOtherArr though.
perhaps in your view or whatever is listening to the change event for
myArr you can loop through its items, check if any are
arrayCollections and then listen to their change events as well.

--- In flexcoders@yahoogroups.com, Durres76 [EMAIL PROTECTED] wrote:

 Hi,
 collectionEventKind.Update does not seem to fire when subitems within
 a collection change, i.e.. 
 myArr = new ArrayCollection();
 myOtherArr = new ArrayCollection();
 myArr.addItem(myOtherArr);
 
 the update event does not fire if myOtherArr changes. it does if myArr
 changes.





[flexcoders] Re: Cairngorm Event Question

2008-06-18 Thread Bjorn Schultheiss
I'm assuming Binding would be the easiest solution.
If your binding directly from your model to the advancedDataGrid
binding should take care of the updating for you..


--- In flexcoders@yahoogroups.com, donvoltz [EMAIL PROTECTED] wrote:

 I have been building on my cairngorm experience and have come up to a
 snag.
 
 I understand the whole idea about using the controller to trap and
 respond to events, however, how do I deal with custom view components
 that need to respond to an event.
 
 For example, I have a custom component that contains an advanced data
 grid. I am filling the modelLocator with data from the server and
 using this as the data provider for the advanced data grid. The
 problem I have is when the user selects a different date, I generate a
 cairngorm event to load new data from the server. This information is
 dealt with in the controller, however, I am not able to send the event
 to the custom component to refresh the advance data grid and display
 the data.
 
 Would someone help me to understand how I can use the events, or
 generate a new custom event to trigger some activity within a custom
 view component
 
 Thanks for the help
 
 Don





[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Bjorn Schultheiss
Just some random thoughts.

It seems most of the posts on the list are general help questions.

Alex and the other guys have been a great help when it comes to asking
questions where the answers weren't bleedingly obvious to me in the
documentation.

Sometimes I have more abstract questions that I ask myself in terms of
design and architecture that I do not feel would be appropriate to ask
on this list.
It seems that because of the volume of questions most of the answers
are short and to the point.
Sometimes I would be looking for feedback and to build on ideas or
concepts and I get the feeling a more advanced list would be appropriate.

I've done a lot of work that I simply haven't published (mostly
because i don't own the IP), but i would love a forum to discuss some
of these new ideas I have.

If new lists gets the backing from adobe, farata, UM and others I
think this could encourage a new wave in community involvement.


regards,

Bjorn




--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:

 I plan on gathering a complete archive of the list over the next week
 and doing some analysis. I'll post the full dataset once I get it
 compiled to let others play with it too. I'm working on a variety of
 ways to get a compiled list of all messages, but I think between
 either scraping the mail archive site and scraping the yahoo group
 site I should have it figured out in another week.
 
 Then of course I'll build some flex apps to crunch some of the data :)
 
 Doug
 
 On Tue, Jun 17, 2008 at 6:20 PM, Matt Chotin [EMAIL PROTECTED] wrote:
  As far as stats, we've had about 100 people join in the last week.
I don't
  know how many folks unsubscribed, that seems to be a little harder
to track
  easily and I don't have time to read through all the logs (if
someone would
  like to write some scripts to go through the logs and build up
these kinds
  of stats let me know and I'll get you access). Also hard to know
how many of
  the folks who joined are spammers, but I don't think that many :-)
 
  This is a tough position for me to comment on because we want the
community
  to thrive and have a life of its own that isn't controlled by
Adobe. That
  said, we clearly want to see it succeed and will involve ourselves as
  necessary to try to make that happen.
 
  Based on the comments I'm seeing in this thread I don't see the
big clamor
  to divide the list. I see folks who have figured out workflows
that work for
  them, and suggestions for how to make things more manageable. That
said, the
  issue that Anatole raises is whether we are preventing new users from
  getting help, or preventing advanced users from participating.
Most of those
  folks who have been hurt we can assume are folks who are not on
the list
  anymore, so it's difficult to really know without some sort of
data as to
  why they left the list. If people are willing to wait a few weeks,
maybe we
  could work on trying to gather that data and make a decision
after. Another
  piece of data we could use is an analysis of the kinds of posts
that have
  happened recently, perhaps compared to posts from a year ago, and
see if the
  skill level of posters is increasing, how many threads are going un
  answered, semi-subjective view of signal vs. noise. This would help us
  understand if there is meaning behind the low rate of increase in
total
  number of members, as well as the generally flat nature of posts
per month.
 
  Does doing this kind of analysis interest anyone? Are the folks
who advocate
  separating the list interested in waiting for this kind of
analysis? For me,
  it seems kind of critical to have real data before making this kind of
  decision, as we're going with hunches as to what's really
happening here.
  I'd have a hard time getting behind a real split when we don't
know if doing
  so would actually improve things.
 
  Matt
 
  On 6/17/08 3:15 PM, Anatole Tartakovsky [EMAIL PROTECTED]
  wrote:
 
  Doug,
  As far as I know, I am the only one in the NY office who did not
unsubscribe
  from the group. Looks at the stats ( provided by Tim) or just go
to the
  group page. Also, the number of users if I remember it correctly
has been in
  9K for at least 6 month - meaning you have the same number of
people in and
  OUT - obviously you need to ask Matt if he has more detailed stats on
  unsubscribes count.
  Regards,
  Anatole
 
  On Tue, Jun 17, 2008 at 5:35 PM, Doug McCune [EMAIL PROTECTED] wrote:
  Actually, this is worth going back to, because your initial email
said that
  the group was stagnant and has plateaued with the number of new
users and
  questions. Except your reason for bringing it up is that the
traffic has
  gotten too much for you to read every message. So clearly the level of
  traffic isn't stagnant. Unless what you're saying is that about 6
months ago
  the traffic reached a critical level where you couldn't deal with the
  traffic but then it stopped growing.
 
  So I guess I'm saying I question the 

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Bjorn Schultheiss
 Also, to Bjorn, that's a point I hadn't thought of.  The idea of
having an
 arch/concepts list might be interesting.  The two questions I would have
 would be: 1) would the questions on this list have any connection to
Flex

Anatole mentioned it earlier in a 'Best Practices' list.

For example at MAX thy had that Best Practices panel and some
interesting topics were brought up and discussed.

From my point of view I'm always learning. 
It would be an interesting read for me.











--- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote:

 I agree that a FAQ seems like a good idea no matter what.  Is anyone
against
 this idea independent of the argument of whether or not to split the
list?
 
 As far as splitting lists, I still think if people want to propose
potential
 new lists, they need to be much more explicit about what the list
will be
 for.  I'll take the enterprise example.  Let's assume for a second
it has
 only one correct meaning (which is an assumption I agree with, but many
 people disagree with me on that).  Enterprise has become a
buzzword with
 many different commonly understood meanings, and most of those
meanings are
 vague.  There's no way for everyone on the list to be sure that we're
 talking about the same thing unless someone explicitly spells out
what we
 are talking about (I'm not going to because I'm against having a
 enterprise list given every way I know to interpret the word). 
And if we
 don't have a common understanding of the proposal we can't efficiently
 criticize/support/amend the proposal.  I'm not saying there has to
be a fine
 line separating the lists, but it should at least be a fuzzy line.
 
 Also, to Bjorn, that's a point I hadn't thought of.  The idea of
having an
 arch/concepts list might be interesting.  The two questions I would have
 would be: 1) would the questions on this list have any connection to
Flex
 other than the fact that the users code in Flex (I think it probably
would)
 or would it just be piggybacking on the user base; 2) Will it avoid
 stratification of the user base (i.e. will it be practically
accessible to
 users of all skill levels)?
 
 Lastly, I'm going to reiterate my opinion that we shouldn't separate the
 lists based on skill/level difficulty.  The distinction is too fuzzy
(Too
 much cross-posting and too much posting to the wrong list). 
Sometimes you
 don't know if you're question is advanced or not until you get the
answer.
 I've had a few times where I've asked what I thought was a simple
question
 and the response from Gordon was I talked to a guy on the player
team...
 If a question has a one line answer it can't be complex...unless the one
 line required going through the player or compiler code to understand it
 (sorry for the overstatement).
 
 - Daniel Freiman
 
 On Tue, Jun 17, 2008 at 10:31 PM, Douglas Knudsen [EMAIL PROTECTED]
 wrote:
 
Having been on this list since 2004, yeah back when the Iteration
  folks were not Adobe Robe Wearers yet, I've seen this discussion come
  up a few times. I've asked for a associated FAQ a few times, but
  there was no interest from the Iteration folks on this or splitting up
  things, no offense Alistair or Stephen you more than rocked with
  helping this community. I'd certainly agree to a good FAQ be made
  available and sent to the list monthly for all to be reminded and have
  it linked at the footer.
 
  Bjorn has a good point later in this thread about the idea that
  answers are terse due to volume.
 
  Matt, I do agree with your #1, but #2 and #3 sounds too much like list
  mommies or invitations for list mommies. Something quite uncommon to
  the best of my recollection on flexcoders is the real need for list
  mommies.
 
  I'm in Anatole's camp on this, having multiple lists could be
  beneficial to all as well as the community. Do we know this for a
  fact? Nope, my crystal ball isn't helping, but it has with many other
  topics in the past. Conversely it may have hindered others, but
  perhaps because the introduction of split lists was premature, who
  knows. Hey, there are already multiple lists, besides flexcomponents
  there is HOF_Flex for one and the India based list too, I'm sure there
  are others.
 
  I suggest we start off with a couple very generic variants.
  flexcoders_enterprise seems ok to me, those that work with enterprise
  tools would find it obvious. leave flexcoders as is, add in a
  designer centric list, and a advanced list and go from there, revisit
  in a few months to see how it went.
 
  Oh, BTW there are other email readers that do threaded tricks like
  GMail...though I don't use them. :)
 
  DK
 
 
  On Tue, Jun 17, 2008 at 1:48 PM, Matt Chotin
[EMAIL PROTECTED]mchotin%40adobe.com
  wrote:
   Hey folks, let's calm down a little here, K?
  
   Alright, based on what I've been seeing people say, here's my
suggestion.
  
   1) Let's get an FAQ going that can be edited by moderators or
members of
  the
   community. This will 

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Bjorn Schultheiss
cool.

This discussion needs some resolving though.

I'm all for the creation of another 15 lists.
With all the cross-posting, subject-meta, gmail, stats,
my-left-arm-is-longer-than-my-right arguments, my vote is still with
the split.

best-practices, architecture, components, unit-testing, deployment,
flash-flex, remote services, java-flex architectures, design ux,
announcements, etc..

lets do it.


--- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote:

 I think of Best Practices and Architecture/Concepts as separate but
 overlapping categories so I guess that's why I thought no one else
brought
 it up.
 
 On Tue, Jun 17, 2008 at 11:57 PM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
 Also, to Bjorn, that's a point I hadn't thought of. The idea of
  having an
   arch/concepts list might be interesting. The two questions I
would have
   would be: 1) would the questions on this list have any connection to
  Flex
 
  Anatole mentioned it earlier in a 'Best Practices' list.
 
  For example at MAX thy had that Best Practices panel and some
  interesting topics were brought up and discussed.
 
  From my point of view I'm always learning.
  It would be an interesting read for me.
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Daniel
  Freiman FreimanCQ@ wrote:
  
   I agree that a FAQ seems like a good idea no matter what. Is anyone
  against
   this idea independent of the argument of whether or not to split the
  list?
  
   As far as splitting lists, I still think if people want to propose
  potential
   new lists, they need to be much more explicit about what the list
  will be
   for. I'll take the enterprise example. Let's assume for a second
  it has
   only one correct meaning (which is an assumption I agree with,
but many
   people disagree with me on that). Enterprise has become a
  buzzword with
   many different commonly understood meanings, and most of those
  meanings are
   vague. There's no way for everyone on the list to be sure that we're
   talking about the same thing unless someone explicitly spells out
  what we
   are talking about (I'm not going to because I'm against having a
   enterprise list given every way I know to interpret the word).
  And if we
   don't have a common understanding of the proposal we can't
efficiently
   criticize/support/amend the proposal. I'm not saying there has to
  be a fine
   line separating the lists, but it should at least be a fuzzy line.
  
   Also, to Bjorn, that's a point I hadn't thought of. The idea of
  having an
   arch/concepts list might be interesting. The two questions I
would have
   would be: 1) would the questions on this list have any connection to
  Flex
   other than the fact that the users code in Flex (I think it probably
  would)
   or would it just be piggybacking on the user base; 2) Will it avoid
   stratification of the user base (i.e. will it be practically
  accessible to
   users of all skill levels)?
  
   Lastly, I'm going to reiterate my opinion that we shouldn't
separate the
   lists based on skill/level difficulty. The distinction is too fuzzy
  (Too
   much cross-posting and too much posting to the wrong list).
  Sometimes you
   don't know if you're question is advanced or not until you get the
  answer.
   I've had a few times where I've asked what I thought was a simple
  question
   and the response from Gordon was I talked to a guy on the player
  team...
   If a question has a one line answer it can't be complex...unless
the one
   line required going through the player or compiler code to
understand it
   (sorry for the overstatement).
  
   - Daniel Freiman
  
   On Tue, Jun 17, 2008 at 10:31 PM, Douglas Knudsen douglasknudsen@
 
   wrote:
  
Having been on this list since 2004, yeah back when the Iteration
folks were not Adobe Robe Wearers yet, I've seen this
discussion come
up a few times. I've asked for a associated FAQ a few times, but
there was no interest from the Iteration folks on this or
splitting up
things, no offense Alistair or Stephen you more than rocked with
helping this community. I'd certainly agree to a good FAQ be made
available and sent to the list monthly for all to be reminded
and have
it linked at the footer.
   
Bjorn has a good point later in this thread about the idea that
answers are terse due to volume.
   
Matt, I do agree with your #1, but #2 and #3 sounds too much
like list
mommies or invitations for list mommies. Something quite
uncommon to
the best of my recollection on flexcoders is the real need for
list
mommies.
   
I'm in Anatole's camp on this, having multiple lists could be
beneficial to all as well as the community. Do we know this for a
fact? Nope, my crystal ball isn't helping, but it has with
many other
topics in the past. Conversely it may have hindered others, but
perhaps because the introduction of split lists was premature, who
knows

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Bjorn Schultheiss

 could argue that at times it's certainly not helping my productivity
 :)

Agreed.. 

I'm using apple mail and achieving something similar..
Mail seems to render the rss html better than gmail.

Ion's cool.. but no offline support.





--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:

 Out of morbid curiosity, am I the only one who has multiple email
 lists all being filtered into the same mega-list? I have flexcoders,
 flexcomponents, apollocoders, papervision, degrafa, flexlib, and
 flexjobs all dropped into a mondo folder in gmail. I color code each
 list accordingly so I can at a glance see which list a message is
 from, but typically I read them all in the master list. Nobody else
 does this? Somehow I can stay on top  of it all, although I'm sure you
 could argue that at times it's certainly not helping my productivity
 :)
 
 Doug
 
 On Tue, Jun 17, 2008 at 9:17 PM, Bjorn Schultheiss
 [EMAIL PROTECTED] wrote:
  cool.
 
  This discussion needs some resolving though.
 
  I'm all for the creation of another 15 lists.
  With all the cross-posting, subject-meta, gmail, stats,
  my-left-arm-is-longer-than-my-right arguments, my vote is still with
  the split.
 
  best-practices, architecture, components, unit-testing, deployment,
  flash-flex, remote services, java-flex architectures, design ux,
  announcements, etc..
 
  lets do it.
 
  --- In flexcoders@yahoogroups.com, Daniel Freiman FreimanCQ@
wrote:
 
  I think of Best Practices and Architecture/Concepts as
separate but
  overlapping categories so I guess that's why I thought no one else
  brought
  it up.
 
  On Tue, Jun 17, 2008 at 11:57 PM, Bjorn Schultheiss 
  bjorn.mailinglists@ wrote:
 
Also, to Bjorn, that's a point I hadn't thought of. The idea of
   having an
arch/concepts list might be interesting. The two questions I
  would have
would be: 1) would the questions on this list have any
connection to
   Flex
  
   Anatole mentioned it earlier in a 'Best Practices' list.
  
   For example at MAX thy had that Best Practices panel and some
   interesting topics were brought up and discussed.
  
   From my point of view I'm always learning.
   It would be an interesting read for me.
  
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Daniel
   Freiman FreimanCQ@ wrote:
   
I agree that a FAQ seems like a good idea no matter what. Is
anyone
   against
this idea independent of the argument of whether or not to
split the
   list?
   
As far as splitting lists, I still think if people want to
propose
   potential
new lists, they need to be much more explicit about what the list
   will be
for. I'll take the enterprise example. Let's assume for a
second
   it has
only one correct meaning (which is an assumption I agree with,
  but many
people disagree with me on that). Enterprise has become a
   buzzword with
many different commonly understood meanings, and most of those
   meanings are
vague. There's no way for everyone on the list to be sure
that we're
talking about the same thing unless someone explicitly spells out
   what we
are talking about (I'm not going to because I'm against having a
enterprise list given every way I know to interpret the word).
   And if we
don't have a common understanding of the proposal we can't
  efficiently
criticize/support/amend the proposal. I'm not saying there has to
   be a fine
line separating the lists, but it should at least be a fuzzy
line.
   
Also, to Bjorn, that's a point I hadn't thought of. The idea of
   having an
arch/concepts list might be interesting. The two questions I
  would have
would be: 1) would the questions on this list have any
connection to
   Flex
other than the fact that the users code in Flex (I think it
probably
   would)
or would it just be piggybacking on the user base; 2) Will it
avoid
stratification of the user base (i.e. will it be practically
   accessible to
users of all skill levels)?
   
Lastly, I'm going to reiterate my opinion that we shouldn't
  separate the
lists based on skill/level difficulty. The distinction is too
fuzzy
   (Too
much cross-posting and too much posting to the wrong list).
   Sometimes you
don't know if you're question is advanced or not until you
get the
   answer.
I've had a few times where I've asked what I thought was a simple
   question
and the response from Gordon was I talked to a guy on the player
   team...
If a question has a one line answer it can't be complex...unless
  the one
line required going through the player or compiler code to
  understand it
(sorry for the overstatement).
   
- Daniel Freiman
   
On Tue, Jun 17, 2008 at 10:31 PM, Douglas Knudsen
douglasknudsen@
  
wrote:
   
 Having been on this list since 2004, yeah back when the
Iteration
 folks were not Adobe Robe Wearers yet, I've seen this
  discussion come
 up a few times

[flexcoders] Re: Flex Css Html Css

2008-06-16 Thread Bjorn Schultheiss
Do you have any examples??

--- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote:

 i just did something even more complicated today using degrafa and
css, with a few lines of code, and i'm IMPRESSED!
 
 
 - Mensaje original 
 De: Bjorn Schultheiss [EMAIL PROTECTED]
 Para: flexcoders@yahoogroups.com
 Enviado: lunes, 16 de junio, 2008 5:33:41
 Asunto: [flexcoders] Re: Flex Css  Html Css
 
 
 Have you seen degrafa?
 You can do all this via CSS.
 http://blog. benstucki. net/?p=46
 
 --- In [EMAIL PROTECTED] ups.com, Michael Schmalle
 teoti.graphix@ ... wrote:
 
  Hi,
  
  Well.. you can't really unless you create a custom skin. There are
 some open
  source stuff out there that allows you to use a background repeat
 algorithm.
  
  There is no background position styles either.
  
  So really, what you want to do cannot be done with Flex3 css.
  
  Mike
  
  On Mon, Jun 9, 2008 at 1:27 AM, xaero xaero@ wrote:
  
 And then How can I set the page's background like in the HTML Css?
   That is:
   background-repeat: repeat-x;
   background-Position X: left;
   background-Position Y: bottom;
  
   --- In [EMAIL PROTECTED] ups.com flexcoders% 40yahoogroups. com,
 Michael
   Schmalle
  
   teoti.graphix@  wrote:
   
No, you can't do this.
   
Flex CSS is not 'real' css and does not conform to WC3.
   
Mike
   
  
   
  
  
  
  
  -- 
  Teoti Graphix, LLC
  http://www.teotigra phix.com
  
  Teoti Graphix Blog
  http://www.blog. teotigraphix. com
  
  You can find more by solving the problem then by 'asking the
question'.
 
 
 
 
 
   __ 
 Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.





[flexcoders] Re: Error : Type Coercion failed: cannot convert mx.utils::ObjectProxy to Array

2008-06-16 Thread Bjorn Schultheiss
what object are you casting to an array?
take a look at ::object_proxy

--- In flexcoders@yahoogroups.com, ajayakiti [EMAIL PROTECTED] wrote:

 TypeError: Error #1034: Type Coercion failed: cannot convert
 mx.utils::[EMAIL PROTECTED] to Array.
 at

com.brookeside.enact.view.navigation.company::HomeComponent/::loyaltyLevelLineMonitorResult()
 at

com.brookeside.enact.view.navigation.company::HomeComponent/__loyaltyLevelLineMonitorService_result()
 at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at

mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
 at

mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
 at mx.rpc::Responder/result()
 at mx.rpc::AsyncRequest/acknowledge()
 at ::DirectHTTPMessageResponder/completeHandler()
 at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/flash.net:URLLoader::onComplete()





[flexcoders] Re: How to debug

2008-06-16 Thread Bjorn Schultheiss
When I get lost I start removing code until i can get a working build.
Provided you can you adl to debug other apps this approach should help.

--- In flexcoders@yahoogroups.com, Josh Millstein [EMAIL PROTECTED] wrote:

 I've got an application that I'm building that just started crashing
adl.
 Is there anyway to debug something like this?  I have traced the
issue to a
 semi-specific area of my code, but when it crashes I can't use any
of the
 debug stuff to get a closer look at the problem.
 -- 
 [EMAIL PROTECTED]
 785-832-9154





[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Bjorn Schultheiss
I like the idea of splitting topics into different lists.
I also like Anatole's suggestions for list types.

Flexcoders has become to over-bloated.. 

I would be in favour for looking at topics that I'm interested in.

Perhaps this will get more of the experienced contributors back on the
list.

Imagine if OSFlash had only one mailing list.





--- In flexcoders@yahoogroups.com, Anatole Tartakovsky
[EMAIL PROTECTED] wrote:

 Dear All,
Flexcoders has huge problem. In the last 15 month it is very much
 stagnant in terms of message count and participation. It is not
growing and
 dropping members as fast as it gets them.
 
I believe this group has overgrown the optimal size about a year
ago and
 needs to be divided in more focused smaller groups. My mail box get 100+
 messages a day on all kinds of topic - unless I can spend 30+
minutes that
 day to sort them out it goes directly into garbage can. Most people
in the
 company unsubscribed from it 18 month ago. Most of veteran
developers I know
 either unsubscribed or stopped looking in this mess greatly
diminishing the
 quality of the responses. As a result group mostly host new
developers and
 looses most of experienced ones after very short period of time.
 
 Further delay of breaking this group hinders usefulness of the group
for all
 of us as now we have significant amount of users that are being
forced out.
 I believe it is time to archive flexcoders and branch (12?) targeted new
 user groups
 
 I would like to see people suggesting user subgroups and WiKi topics for
 Flex community site to go with each group - providing best posts in more
 systematic way.
 
 I suggest the following Yahoo groups ( created couple for your
 convenience).
 
 Flex101: http://tech.groups.yahoo.com/group/flex101/
 
 Post message: [EMAIL PROTECTED]
 
 Subscribe: [EMAIL PROTECTED]
 
 Unsubscribe: [EMAIL PROTECTED]
 
 List owner: [EMAIL PROTECTED]
 
 EnterpriseFlex: http://tech.groups.yahoo.com/group/enterpriseflex/
 
 Post message: [EMAIL PROTECTED]
 
 Subscribe: [EMAIL PROTECTED]
 
 Unsubscribe: [EMAIL PROTECTED]
 
 List owner: [EMAIL PROTECTED]
 
 FlexUI
 FlexDesign
 
 FlexSDK
 FlexDeployment
 
 FlexFlash
 
 FlexFrameworks
 
 FlexBestPractices
 
 EnterpriseFlex:
 
 FlexBlazeDS:
 
 weborb:
 
 Sincerely,
 Anatole Tartakovsky
 Farata Systems





[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Bjorn Schultheiss
  1. 101
Is creating a new group for this necessary or is flexcoders already
handling this?

  2. Coding (AS3/MXML)
The name seems too abstract, what area are we targeting?
Is is to show off new ideas or syntax questions.

  3. Design and UI ( Flash/Components/CSS/Skin)
Love it! Can we replace UI with UX : )

  4. Enterprise/Best Practices/Frameworks
Does this include WebOrb/Blaze/LCDS ?

  5. AIR - not big yet, but definitely a separate group of folks 
Apollocoders exists. not sure what the traffic is like.





--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 That's not a bad list of categories at all Anatole.
 
 It would be best if there's still some sort of (read-only?)
meta-list that
 shows all messages, and if it were smart enough that you could read the
 all list and replies went to the correct lists it'd be a pretty good
 common ground I think. I'm no mailing-list-guy though, so no idea if
that's
 feasible.
 
 -Josh
 
 On Tue, Jun 17, 2008 at 1:37 PM, Anatole Tartakovsky 
 [EMAIL PROTECTED] wrote:
 
Matt,
 
   Splitting the last 500 topics in groups it would be:
  1. 101
  2. Coding (AS3/MXML)
  3. Design and UI ( Flash/Components/CSS/Skin)
  4. Enterprise/Best Practices/Frameworks
  5. AIR - not big yet, but definitely a separate group of folks there
 
  Thank you
  Anatole Tartakovsky
  Farata Systems
 
  On Mon, Jun 16, 2008 at 11:28 PM, Matt Chotin [EMAIL PROTECTED] wrote:t
  Practices/Frameworks
 
 I do think 12 is way too high a number BTW. Would recommend
capping at
  5 absolute max.
 
 
  On 6/16/08 8:28 PM, Matt Chotin [EMAIL PROTECTED]mchotin%40adobe.com
  wrote:
 
  Hey guys,
 
  If you think that splitting the lists is the right thing to do
for the
  larger community then I'm not going to stop you. I think we were
right in
  the past to recommend against the split, but I can see Anatole's
point that
  traffic has stagnated and we'd certainly like the community to
thrive. We'll
  certainly try to pay attention to as much as possible (not like
it's me
  doing much but you know some Adobe folks are quite active), but no
  guarantees on how it will go. The Adobe forums themselves are
definitely
  lacking, primarily because we can't access them via email. There is a
  project going on within Adobe to improve the experience
drastically, and we
  definitely intend to split forums there (and hopefully convince
everyone to
  come back over and move away from Yahoo Groups); but it's still a
number of
  months away at the earliest. I would hope that folks will
continue to help
  users of all levels, and we'll need moderators to handle whatever
new lists
  are created.
 
  Matt
 
  On 6/16/08 8:17 PM, Bjorn Schultheiss
[EMAIL PROTECTED]bjorn.mailinglists%40gmail.com
  wrote:
 
  I like the idea of splitting topics into different lists.
  I also like Anatole's suggestions for list types.
 
  Flexcoders has become to over-bloated..
 
  I would be in favour for looking at topics that I'm interested in.
 
  Perhaps this will get more of the experienced contributors back
on the
  list.
 
  Imagine if OSFlash had only one mailing list.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
mailto:
  flexcoders%40yahoogroups.com
flexcoders%2540yahoogroups.commailto:
  flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com ,
Anatole
  Tartakovsky
  anatole.tartakovsky@ wrote:
  
   Dear All,
   Flexcoders has huge problem. In the last 15 month it is very much
   stagnant in terms of message count and participation. It is not
  growing and
   dropping members as fast as it gets them.
  
   I believe this group has overgrown the optimal size about a year
  ago and
   needs to be divided in more focused smaller groups. My mail box
get 100+
   messages a day on all kinds of topic - unless I can spend 30+
  minutes that
   day to sort them out it goes directly into garbage can. Most people
  in the
   company unsubscribed from it 18 month ago. Most of veteran
  developers I know
   either unsubscribed or stopped looking in this mess greatly
  diminishing the
   quality of the responses. As a result group mostly host new
  developers and
   looses most of experienced ones after very short period of time.
  
   Further delay of breaking this group hinders usefulness of the
group
  for all
   of us as now we have significant amount of users that are being
  forced out.
   I believe it is time to archive flexcoders and branch (12?)
targeted new
   user groups
  
   I would like to see people suggesting user subgroups and WiKi
topics for
   Flex community site to go with each group - providing best
posts in more
   systematic way.
  
   I suggest the following Yahoo groups ( created couple for your
   convenience).
  
   Flex101: http://tech.groups.yahoo.com/group/flex101/
  
   Post message: [EMAIL PROTECTED]
flex101%40yahoogroups.commailto:
  flex101%40yahoogroups.com flex101%2540yahoogroups.commailto:
  flex101%40yahoogroups.com flex101%2540yahoogroups.com

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Bjorn Schultheiss
Existing
- FlexCoders
- FlexComponents
- ApolloCoders
- FlexJobs

New
- EnterpriseFlex
- FlexUIDesign
- FlexAnnouncements
- ActionscriptCoders

?



--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

   1. 101
 Is creating a new group for this necessary or is flexcoders already
 handling this?
 
   2. Coding (AS3/MXML)
 The name seems too abstract, what area are we targeting?
 Is is to show off new ideas or syntax questions.
 
   3. Design and UI ( Flash/Components/CSS/Skin)
 Love it! Can we replace UI with UX : )
 
   4. Enterprise/Best Practices/Frameworks
 Does this include WebOrb/Blaze/LCDS ?
 
   5. AIR - not big yet, but definitely a separate group of folks 
 Apollocoders exists. not sure what the traffic is like.
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Josh McDonald dznuts@ wrote:
 
  That's not a bad list of categories at all Anatole.
  
  It would be best if there's still some sort of (read-only?)
 meta-list that
  shows all messages, and if it were smart enough that you could
read the
  all list and replies went to the correct lists it'd be a pretty good
  common ground I think. I'm no mailing-list-guy though, so no idea if
 that's
  feasible.
  
  -Josh
  
  On Tue, Jun 17, 2008 at 1:37 PM, Anatole Tartakovsky 
  anatole.tartakovsky@ wrote:
  
 Matt,
  
Splitting the last 500 topics in groups it would be:
   1. 101
   2. Coding (AS3/MXML)
   3. Design and UI ( Flash/Components/CSS/Skin)
   4. Enterprise/Best Practices/Frameworks
   5. AIR - not big yet, but definitely a separate group of folks there
  
   Thank you
   Anatole Tartakovsky
   Farata Systems
  
   On Mon, Jun 16, 2008 at 11:28 PM, Matt Chotin mchotin@ wrote:t
   Practices/Frameworks
  
  I do think 12 is way too high a number BTW. Would recommend
 capping at
   5 absolute max.
  
  
   On 6/16/08 8:28 PM, Matt Chotin mchotin@mchotin%40adobe.com
   wrote:
  
   Hey guys,
  
   If you think that splitting the lists is the right thing to do
 for the
   larger community then I'm not going to stop you. I think we were
 right in
   the past to recommend against the split, but I can see Anatole's
 point that
   traffic has stagnated and we'd certainly like the community to
 thrive. We'll
   certainly try to pay attention to as much as possible (not like
 it's me
   doing much but you know some Adobe folks are quite active), but no
   guarantees on how it will go. The Adobe forums themselves are
 definitely
   lacking, primarily because we can't access them via email.
There is a
   project going on within Adobe to improve the experience
 drastically, and we
   definitely intend to split forums there (and hopefully convince
 everyone to
   come back over and move away from Yahoo Groups); but it's still a
 number of
   months away at the earliest. I would hope that folks will
 continue to help
   users of all levels, and we'll need moderators to handle whatever
 new lists
   are created.
  
   Matt
  
   On 6/16/08 8:17 PM, Bjorn Schultheiss
 bjorn.mailinglists@bjorn.mailinglists%40gmail.com
   wrote:
  
   I like the idea of splitting topics into different lists.
   I also like Anatole's suggestions for list types.
  
   Flexcoders has become to over-bloated..
  
   I would be in favour for looking at topics that I'm interested in.
  
   Perhaps this will get more of the experienced contributors back
 on the
   list.
  
   Imagine if OSFlash had only one mailing list.
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 mailto:
   flexcoders%40yahoogroups.com
 flexcoders%2540yahoogroups.commailto:
   flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com ,
 Anatole
   Tartakovsky
   anatole.tartakovsky@ wrote:
   
Dear All,
Flexcoders has huge problem. In the last 15 month it is very much
stagnant in terms of message count and participation. It is not
   growing and
dropping members as fast as it gets them.
   
I believe this group has overgrown the optimal size about a year
   ago and
needs to be divided in more focused smaller groups. My mail box
 get 100+
messages a day on all kinds of topic - unless I can spend 30+
   minutes that
day to sort them out it goes directly into garbage can. Most
people
   in the
company unsubscribed from it 18 month ago. Most of veteran
   developers I know
either unsubscribed or stopped looking in this mess greatly
   diminishing the
quality of the responses. As a result group mostly host new
   developers and
looses most of experienced ones after very short period of time.
   
Further delay of breaking this group hinders usefulness of the
 group
   for all
of us as now we have significant amount of users that are being
   forced out.
I believe it is time to archive flexcoders and branch (12?)
 targeted new
user groups
   
I would like to see people suggesting user subgroups and WiKi
 topics for
Flex community site to go with each group - providing best
 posts

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Bjorn Schultheiss
- FlexCodersAnnouncements
- FlexCodersRemoteServices
- FlexCodersUserExperience
- FlexCodersBestPractices


--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Drop actionscriptcoders and rename enterprise to RPC (or FlexRemoting or
 something), and I'm in. 95% of funky flex question are actionscript
 questions - unless it's an advanced actionscript list for things
like VM
 internals stuff, in which case case perhaps it just needs a name change.
 
 Everybody likes to think what they're doing is enterprise. What we're
 doing definitely counts (Oracle *loves* us), but we're all SOAP - we
don't
 use LCDS at all, so if people think enterprise is mainly for LCDS stuff
 we're going to get confusion.
 
 Didn't know about ApolloCoders, I think I'll go subscribe :)
 
 Definitely like the idea of an announce list, it could be moderated
or you
 could subscribe to it as a daily / weekly digest.
 
 -Josh
 
 On Tue, Jun 17, 2008 at 2:10 PM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
Existing
  - FlexCoders
  - FlexComponents
  - ApolloCoders
  - FlexJobs
 
  New
  - EnterpriseFlex
  - FlexUIDesign
  - FlexAnnouncements
  - ActionscriptCoders
 
  ?
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Bjorn
  Schultheiss
 
  bjorn.mailinglists@ wrote:
  
 1. 101
   Is creating a new group for this necessary or is flexcoders already
   handling this?
  
 2. Coding (AS3/MXML)
   The name seems too abstract, what area are we targeting?
   Is is to show off new ideas or syntax questions.
  
 3. Design and UI ( Flash/Components/CSS/Skin)
   Love it! Can we replace UI with UX : )
  
 4. Enterprise/Best Practices/Frameworks
   Does this include WebOrb/Blaze/LCDS ?
  
 5. AIR - not big yet, but definitely a separate group of folks
   Apollocoders exists. not sure what the traffic is like.
  
  
  
  
  
   --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com, Josh
  McDonald dznuts@ wrote:
   
That's not a bad list of categories at all Anatole.
   
It would be best if there's still some sort of (read-only?)
   meta-list that
shows all messages, and if it were smart enough that you could
  read the
all list and replies went to the correct lists it'd be a
pretty good
common ground I think. I'm no mailing-list-guy though, so no
idea if
   that's
feasible.
   
-Josh
   
On Tue, Jun 17, 2008 at 1:37 PM, Anatole Tartakovsky 
anatole.tartakovsky@ wrote:
   
 Matt,

 Splitting the last 500 topics in groups it would be:
 1. 101
 2. Coding (AS3/MXML)
 3. Design and UI ( Flash/Components/CSS/Skin)
 4. Enterprise/Best Practices/Frameworks
 5. AIR - not big yet, but definitely a separate group of
folks there

 Thank you
 Anatole Tartakovsky
 Farata Systems

 On Mon, Jun 16, 2008 at 11:28 PM, Matt Chotin mchotin@ wrote:t
 Practices/Frameworks

 I do think 12 is way too high a number BTW. Would recommend
   capping at
 5 absolute max.


 On 6/16/08 8:28 PM, Matt Chotin
mchotin@mchotin%40adobe.com
 wrote:

 Hey guys,

 If you think that splitting the lists is the right thing to do
   for the
 larger community then I'm not going to stop you. I think we
were
   right in
 the past to recommend against the split, but I can see
Anatole's
   point that
 traffic has stagnated and we'd certainly like the community to
   thrive. We'll
 certainly try to pay attention to as much as possible (not like
   it's me
 doing much but you know some Adobe folks are quite active),
but no
 guarantees on how it will go. The Adobe forums themselves are
   definitely
 lacking, primarily because we can't access them via email.
  There is a
 project going on within Adobe to improve the experience
   drastically, and we
 definitely intend to split forums there (and hopefully convince
   everyone to
 come back over and move away from Yahoo Groups); but it's
still a
   number of
 months away at the earliest. I would hope that folks will
   continue to help
 users of all levels, and we'll need moderators to handle
whatever
   new lists
 are created.

 Matt

 On 6/16/08 8:17 PM, Bjorn Schultheiss
   bjorn.mailinglists@bjorn.mailinglists%40gmail.com
 wrote:

 I like the idea of splitting topics into different lists.
 I also like Anatole's suggestions for list types.

 Flexcoders has become to over-bloated..

 I would be in favour for looking at topics that I'm
interested in.

 Perhaps this will get more of the experienced contributors back
   on the
 list.

 Imagine if OSFlash had only one mailing list.

 --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com
   mailto:
 flexcoders%40yahoogroups.com
   flexcoders%2540yahoogroups.commailto:
 flexcoders%40yahoogroups.com
flexcoders

[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-16 Thread Bjorn Schultheiss

 Now, how do we go about some sort of process to see what kind of support
 there is on the list?

A corresponding wordpress blog/website for each list updated with info
by the moderators and contributors.
It wouldn't have to be an InsideRIA style blog, just info relating to
the list.





--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 I like it :)
 
 FlexCodersBestPractices could be a very useful forum. Although there
might
 be some crossover between UserExperience and the existing FlexComponents
 list?
 
 Now, how do we go about some sort of process to see what kind of support
 there is on the list?
 
 Also, if we don't have the support of the Adobe cats that post here, the
 idea is definitely dead in the water. They're a *big* help and have
the kind
 of inside information that takes the rest of us quite a while to
replicate
 :)
 
 -Josh
 
 On Tue, Jun 17, 2008 at 2:44 PM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
- FlexCodersAnnouncements
  - FlexCodersRemoteServices
  - FlexCodersUserExperience
  - FlexCodersBestPractices
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Josh
  McDonald dznuts@ wrote:
  
   Drop actionscriptcoders and rename enterprise to RPC (or
FlexRemoting or
   something), and I'm in. 95% of funky flex question are actionscript
   questions - unless it's an advanced actionscript list for things
  like VM
   internals stuff, in which case case perhaps it just needs a name
change.
  
   Everybody likes to think what they're doing is enterprise.
What we're
   doing definitely counts (Oracle *loves* us), but we're all SOAP - we
  don't
   use LCDS at all, so if people think enterprise is mainly for
LCDS stuff
   we're going to get confusion.
  
   Didn't know about ApolloCoders, I think I'll go subscribe :)
  
   Definitely like the idea of an announce list, it could be moderated
  or you
   could subscribe to it as a daily / weekly digest.
  
   -Josh
  
   On Tue, Jun 17, 2008 at 2:10 PM, Bjorn Schultheiss 
   bjorn.mailinglists@ wrote:
  
Existing
- FlexCoders
- FlexComponents
- ApolloCoders
- FlexJobs
   
New
- EnterpriseFlex
- FlexUIDesign
- FlexAnnouncements
- ActionscriptCoders
   
?
   
--- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com,
  Bjorn
Schultheiss
   
bjorn.mailinglists@ wrote:

   1. 101
 Is creating a new group for this necessary or is flexcoders
already
 handling this?

   2. Coding (AS3/MXML)
 The name seems too abstract, what area are we targeting?
 Is is to show off new ideas or syntax questions.

   3. Design and UI ( Flash/Components/CSS/Skin)
 Love it! Can we replace UI with UX : )

   4. Enterprise/Best Practices/Frameworks
 Does this include WebOrb/Blaze/LCDS ?

   5. AIR - not big yet, but definitely a separate group of
folks
 Apollocoders exists. not sure what the traffic is like.





 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  flexcoders%40yahoogroups.com, Josh
 
McDonald dznuts@ wrote:
 
  That's not a bad list of categories at all Anatole.
 
  It would be best if there's still some sort of (read-only?)
 meta-list that
  shows all messages, and if it were smart enough that you could
read the
  all list and replies went to the correct lists it'd be a
  pretty good
  common ground I think. I'm no mailing-list-guy though, so no
  idea if
 that's
  feasible.
 
  -Josh
 
  On Tue, Jun 17, 2008 at 1:37 PM, Anatole Tartakovsky 
  anatole.tartakovsky@ wrote:
 
   Matt,
  
   Splitting the last 500 topics in groups it would be:
   1. 101
   2. Coding (AS3/MXML)
   3. Design and UI ( Flash/Components/CSS/Skin)
   4. Enterprise/Best Practices/Frameworks
   5. AIR - not big yet, but definitely a separate group of
  folks there
  
   Thank you
   Anatole Tartakovsky
   Farata Systems
  
   On Mon, Jun 16, 2008 at 11:28 PM, Matt Chotin mchotin@
wrote:t
   Practices/Frameworks
  
   I do think 12 is way too high a number BTW. Would recommend
 capping at
   5 absolute max.
  
  
   On 6/16/08 8:28 PM, Matt Chotin
  mchotin@mchotin%40adobe.com
   wrote:
  
   Hey guys,
  
   If you think that splitting the lists is the right
thing to do
 for the
   larger community then I'm not going to stop you. I think we
  were
 right in
   the past to recommend against the split, but I can see
  Anatole's
 point that
   traffic has stagnated and we'd certainly like the
community to
 thrive. We'll
   certainly try to pay attention to as much as possible
(not like
 it's me
   doing much but you know some Adobe folks are quite active),
  but no
   guarantees on how it will go. The Adobe forums

Re: [flexcoders] Re: closing and reopening windows in Air App

2008-06-15 Thread Bjorn Schultheiss

how are you closing it?

On 16/06/2008, at 9:00 AM, Omar Fouad wrote:


Why no one is answering?

On 6/13/08, Omar Fouad [EMAIL PROTECTED] wrote:
 Hi list,
 I got a small application that opens a window.
 I used another mxml (AboutWindow.mxml) file that has  
mx:WIndowBla bla

 blamx:WIndow/ in it.

 In the Main mxml file I have a button and when I click to this  
button I

 open() it by:

 private var AboutWin:AboutWindow = new AboutWindow();
 pivate function ShowAboutWindow():void {
 AboutWIn.open();
 }

 This works great, when I click the button in the main Application  
the
 AboutWin Shows, and When I close it, it closes perfectly. But if I  
re-click

 the Icon again the AboutWin would not open again.

 Is there something that I am missing?

 Thanks
 **

 --
 Omar M. Fouad - Digital Emotions
 http://www.omarfouad.net

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be  
copied,
 disclosed to, retained or used by, any other party. If you are not  
an

 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender. Thank you.


--
Sent from Gmail for mobile | mobile.google.com

Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.






[flexcoders] Re: Flex Css Html Css

2008-06-15 Thread Bjorn Schultheiss
Have you seen degrafa?
You can do all this via CSS.
http://blog.benstucki.net/?p=46


--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:

 Hi,
 
 Well.. you can't really unless you create a custom skin. There are
some open
 source stuff out there that allows you to use a background repeat
algorithm.
 
 There is no background position styles either.
 
 So really, what you want to do cannot be done with Flex3 css.
 
 Mike
 
 On Mon, Jun 9, 2008 at 1:27 AM, xaero [EMAIL PROTECTED] wrote:
 
And then How can I set the page's background like in the HTML Css?
  That is:
  background-repeat: repeat-x;
  background-PositionX: left;
  background-PositionY: bottom;
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Michael
  Schmalle
 
  teoti.graphix@ wrote:
  
   No, you can't do this.
  
   Flex CSS is not 'real' css and does not conform to WC3.
  
   Mike
  
 
   
 
 
 
 
 -- 
 Teoti Graphix, LLC
 http://www.teotigraphix.com
 
 Teoti Graphix Blog
 http://www.blog.teotigraphix.com
 
 You can find more by solving the problem then by 'asking the question'.





[flexcoders] Re: Sandbox violation running from Builder. How did I get this and how do I fix it?

2008-06-05 Thread Bjorn Schultheiss
Are you sure its not a security settings related issue..
www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html



--- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED]
wrote:

 Also. where is the project 'physically' located? I would strongly
recommend
 making sure that the project is inside your workspace. Are there any
 compiler options like -use-network=false present?
 
  
 
 Rick Winscot
 
  
 
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tracy Spratt
 Sent: Thursday, June 05, 2008 9:03 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Sandbox violation running from Builder.
How did I
 get this and how do I fix it?
 
  
 
 Very strange.  There was a similar thread a couple days ago and we
did not
 find a solution, as far as I know.
 
  
 
 Did you create the new project by don't New Project and then copying
in the
 files, or did you import the other project? (the first, I know, but
maybe
 try the second?)
 
  
 
 Maybe try removing the application from the project's application
list and
 then re-adding it?
 
  
 
 Tracy
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Josh McDonald
 Sent: Thursday, June 05, 2008 8:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Sandbox violation running from Builder. How
did I get
 this and how do I fix it?
 
  
 
 I've checked out a project into the same directory as all my other
projects,
 and now I'm getting a security sandbox violation trying to load a
local file
 even when running from Flex. What could cause this? And how do I get
it back
 to behaving the way it should for all builder projects?
 
 -J
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Flash Player 10 is in prerelease!

2008-05-16 Thread Bjorn Schultheiss
http://blog.tengerstudio.com/2008/05/16/flash-player-10-class-browser/

--- In flexcoders@yahoogroups.com, VELO [EMAIL PROTECTED] wrote:

 Any word on API?
 
 VELO
 
 On Thu, May 15, 2008 at 3:25 AM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
Is there a new api to play with?
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Gordon
  Smith gosmith@ wrote:
  
   http://labs.adobe.com/technologies/flashplayer10/
  
  
  
   Gordon Smith
  
   Adobe Flex SDK Team
  
 
   
 





[flexcoders] Re: Flash Player 10 is in prerelease!

2008-05-15 Thread Bjorn Schultheiss
Is there a new api to play with?

--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 http://labs.adobe.com/technologies/flashplayer10/
 
  
 
 Gordon Smith
 
 Adobe Flex SDK Team





[flexcoders] Re: Classes defined in MXML - are they dynamic? Can they be?

2008-05-14 Thread Bjorn Schultheiss
In run into this problem once with the array class back in the day.
I changed a var from ArrayCollection to Array and had over 100 errors
that were not caught at compile time since the Array is dynamic.



--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 IMHO, dynamic is quicksand for consumers of your framework.  One
 mis-typed property name and you'll spend hours sloshing around trying to
 find it.  I wrote a ton of AS code for the Flash MX 2004 components and
 the dynamic nature was a real pain in the ass.  It was a huge step
 forward to go back to working with stricter languages.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Josh McDonald
 Sent: Tuesday, May 13, 2008 9:08 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Classes defined in MXML - are they dynamic?
 Can they be?
 
  
 
 Thanks for that.
 
 Yeah it's not something I'm planning on doing right now, I'm just sort
 of thinking out loud about a framework I really need to get off my ass
 and write in my spare time :) And I'm just growing ideas as to how I go
 about it.
 
 -J
 
 On Wed, May 14, 2008 at 1:59 PM, Alex Harui [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
 
 They are not dynamic by default.  I'm not sure if there is a way to make
 them dynamic.  IMHO, it is not a recommended practice, and there is
 usually some other way.
 
  
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
 On Behalf Of Josh McDonald
 Sent: Tuesday, May 13, 2008 8:41 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
 Subject: [flexcoders] Classes defined in MXML - are they dynamic? Can
 they be?
 
  
 
 Like I'm an unpopular Digger, Title says it all.
 
 -J
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
 thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
 thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]





[flexcoders] Re: Memory leak in UIDUtil.createUID()

2008-05-12 Thread Bjorn Schultheiss
I hope not.

I'm using it everywhere!


--- In flexcoders@yahoogroups.com, shlomic_thailand [EMAIL PROTECTED] wrote:

 Hi
 
 i ran the following simple application in flex builder 3 profiler
 and found that this method (createUID) is leaking memory.
 looking at its content seems its ok - any ideas
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
 layout=absolute
   
   mx:Script
   ![CDATA[
   import mx.utils.UIDUtil;
   import mx.collections.ArrayCollection;
   
   private function onCC():void{
   var s:String = UIDUtil.createUID();
   
   
   
   }
   
   
   
   ]]
   /mx:Script
   
   mx:Button click=onCC() label=clickme
   
   /mx:Button
   
 /mx:Application





[flexcoders] shared code issue

2008-05-12 Thread Bjorn Schultheiss
I'm getting this error

TypeError: Error #1034: Type Coercion failed: cannot convert
com.qmecom.common.events::[EMAIL PROTECTED] to
com.qmecom.common.events.UploadAssetsModuleEvent.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()

i'm loading a shared code module before this error occurs.

var m:IModuleInfo = ModuleManager.getModule(sharedCodeModule_url);
m.addEventListener(ModuleEvent.READY, 
function (event:ModuleEvent):void
{
trace('READY');

I'm importing my class into my shared code module.

private var uploadAssetsModuleEvent:UploadAssetsModuleEvent;



What have I missed here
The debugging for these types of problems is lacking severely!




[flexcoders] Re: shared code issue

2008-05-12 Thread Bjorn Schultheiss
my bad..
shared code module wasn't compiling due to a weird compiler error.
it wasn't displaying in my problems panel for some reason.



--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 I'm getting this error
 
 TypeError: Error #1034: Type Coercion failed: cannot convert
 com.qmecom.common.events::[EMAIL PROTECTED] to
 com.qmecom.common.events.UploadAssetsModuleEvent.
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
 
 i'm loading a shared code module before this error occurs.
 
 var m:IModuleInfo = ModuleManager.getModule(sharedCodeModule_url);
 m.addEventListener(ModuleEvent.READY, 
   function (event:ModuleEvent):void
   {
   trace('READY');
 
 I'm importing my class into my shared code module.
 
 private var uploadAssetsModuleEvent:UploadAssetsModuleEvent;
 
 
 
 What have I missed here
 The debugging for these types of problems is lacking severely!





[flexcoders] Re: Help with Module strategy

2008-05-09 Thread Bjorn Schultheiss
Whether the figures are correct or not i don't see how it affects your
modular decision.

Framework caching will only effect the size of your shell not your
modules.
If your modules are optimized for your shell they will not include the
framework classes used by the shell.



--- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote:

 After doing a bit of analysis, it doesn't seem that modules are
 appropriate for me, without framework caching.
 
 The monolithic app is currently 539K. An individual module containing
 charts, optimized for the monolithic app is 275K. Optimized for an
 empty app it's 382K. Not optimized, it's 624K. Since 5 or so modules
 will be loaded, the experience is likely to be a step backward, unless
 I can consolidate charts somehow, as Rick alluded to, or enable
 framework caching.
 
 Can someone please confirm or correct the following:
 - Player 9 is around 97% penentration, but 9.0.115 is only around 61%
 - If I enable caching, the app will still work (albeit slowly) on
older players
 - The user won't know to update to 9.0.115 unless I build the app to
require it
 - However, using expressInstall, the upgrade to 9.0.115 would be
seamless
 - [??? any issues around localization ???]
 
 - Richard
 
 On Fri, May 9, 2008 at 6:56 AM, Richard Rodseth [EMAIL PROTECTED] wrote:
  I suppose a broad description would be business
  intelligence/dashboard/reporting. It's true that for a fixed set of
  reports or charts the main app swf can be updated and no modules are
  required, but runtime configuration seems like an inevitable
  direction.
 
  The main wrinkle mentioned in my original post is the desire to
  extract individual reports as separate entities. Again, the build
  system could simply build a distinct swf application for each one, so
  I realize that modules are not absolutely needed.
 
  The strategy I describe (same host for 1 or many modules) allows me to
  defer the RSL/caching stuff and optimize the modules for that single
  host, but doesn't preclude a switch to portable modules in future.
 
  On Fri, May 9, 2008 at 6:17 AM, Rick Winscot [EMAIL PROTECTED] wrote:
  What exactly is it that you are trying to extenensify? You don't
have to
  give up the secret sauce - but with a little more info maybe
ideas will
  start to flow? Modules are great for portability and system
extension that
  is true... but modules for modules sake of themselves
extensibility do not
  make. What's the rubble?
 
  Rick Winscot
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Richard Rodseth
  Sent: Friday, May 09, 2008 8:57 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Help with Module strategy
 
  Rick,
 
  I know about Degrafa and might use it for some gauges, but I've been
  pretty happy with Adobe's charting library. I would say that at this
  stage my motive for modules is extensibility rather than file size or
  even memory usage.
 
  On Thu, May 8, 2008 at 9:10 PM, Rick Winscot [EMAIL PROTECTED]
wrote:
  Have you considered writing some of your libraries as
ActionScript (only)
  libraries? Just a thought though. at the point you realize that
things are
  getting a little 'too big and un-tamed' it is almost too late.
My father
  always said, only cry once. Meaning - if you want a G.I. Joe with
  kung-fooBAR grip. Don't settle for 10 Malibu Ken dolls with
pasted on
  peach-fuzz beards. Get out your lawn mower and mow a few extra
laws, baby
  sit until you puke, and buy stock in Red Bull. If you only cry
once. and
  pay
  the price up front you will save untold hours of refactoring
bits and
  pieces
  to get things working.
 
 
 
  About your chart dilemma - consider consolidating like chart types.
  Generalizing an interface to facilitate repurposing is smart and
means
  that
  each one of your little chart dudes isn't the size, or greater,
of the
  Flex
  chart library. Additionally - becoming proficient in primitive
drawing
  could
  be much more valuable that using 'canned controls.' Take a look
  http://www.degrafa.com/ add a dash of creative thinking and you
could dump
  charts. come up with a framework for reporting that is boot-licking
  delicious.
 
 
 
  Rick Winscot
 
 
 
 
 
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Bjorn Schultheiss
  Sent: Thursday, May 08, 2008 8:56 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Help with Module strategy
 
 
 
  - the charts are in modules, optimized for the single host
  This sounds the most reasonable.
 
  If the modules need to be loaded into another shell they can be
  re-compiled for that purpose.
 
  I have each module in its own project and run the deploy build
via ant.
 
  --- In flexcoders@yahoogroups.com, Richard Rodseth rrodseth@
wrote:
 
  I'd appreciate some input on my module strategy.
 
  I'm working on a charting application with a requirement that
  individual charts be embeddable

[flexcoders] Re: Modules the way to go?

2008-05-08 Thread Bjorn Schultheiss
unloading the module does not guarantee it will cleaned up by Garbage
Collection.

You can use the Profiler to assist you see what has be collected by GC
and what hasn't.

Grant Skinner wrote a 3 part article on this explaining the details.
http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html




--- In flexcoders@yahoogroups.com, Daniel [EMAIL PROTECTED] wrote:

 
 The crashing of the explorer is due to the amount of load in memory.
 It's not a Flex Error in the white box at the top left form. 
 
 We load the modules this way:
 
 public function createModule ( url : String ) : void
 {
   var panel : Panel = new Panel();
   var module : IModuleInfo = ModuleManager.getModule( url 
 );
   module.addEventListener( ModuleEvent.READY,
   function moduleReadyHandler ( event : 
 ModuleEvent ) : void
   {
   var view : UIComponent = 
 module.factory.create() as UIComponent;
   view.x = 0;
   view.y = 0;
   view.percentHeight = 100;
   view.percentWidth = 100;
   panel.addChild( view );
   module.removeEventListener( 
 ModuleEvent.READY,
moduleReadyHandler );
   }
   );
   module.load ( );
 }
 
 
 and the unload is done this way:
 
 public function closeModule ( url : String ) : void
 {
   var module : IModuleInfo = ModuleManager.getModule( url 
  );
   module.unload();
 }
 
 It's simple... basic... Am I missing something?
 
 
 
 --- In flexcoders@yahoogroups.com, Gregor Kiddie gkiddie@ wrote:
 
  How are you unloading the modules? We've found that its relatively
tough
  to get a module garbage collected given the amount of references
usually
  flying round the place!
  
  Also, have you debugged the app to find out exactly what is happening
  when the crashing behaviour occurs? It might be more straightforward
  then you think.
  
   
  
  Gk.
  
  Gregor Kiddie
  Senior Developer
  INPS
  
  Tel:   01382 564343
  
  Registered address: The Bread Factory, 1a Broughton Street, London SW8
  3QJ
  
  Registered Number: 1788577
  
  Registered in the UK
  
  Visit our Internet Web site at www.inps.co.uk
  blocked::http://www.inps.co.uk/ 
  
  The information in this internet email is confidential and is intended
  solely for the addressee. Access, copying or re-use of information
in it
  by anyone else is not authorised. Any views or opinions presented are
  solely those of the author and do not necessarily represent those of
  INPS or any of its affiliates. If you are not the intended recipient
  please contact is.helpdesk@
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Daniel
  Sent: 06 May 2008 22:15
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Modules the way to go?
  
   
  
  
  40 modules running at the same time with no issues?
  God... That's an accomplishment... Does RAM and processor have
  something to do with it? Our test computers are running on 1GB RAM,
  and most have Flex Builder opened at a time...
  
  The desktop manager load the modules per user request... The same for
  unloading them... The module loaders are childs of a panel that can be
  draggable and resizable, with a maximize and a close button... So if
  the user choose to open N modules at the same, N modules will be
  displayed...
  
  A problem might be that by rule, the modules have tons of bindings...
  Each component have at least one binding to it's correspondent value
  in the modelLocator, and each component that have a dataProvider have
  at one more binding... This bindings are not being set to unwatch
  after the modules are unloaded... Could this be the issue that is
  overloading the application and crashing the browser? 
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
  , Bjorn Schultheiss
  bjorn.mailinglists@ wrote:
  
   Any external swf you load can crash your app.
   It's a really big issue with the player at the moment.
   
   From my experience Modules provide you a good basis for multi-swf
   architecture with Flex.
   
   
   
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Gregor Kiddie gkiddie@
  wrote:
   
I won't develop the modules

Well, that's your biggest problem, without being able to
control the
modules, you can't guarantee the behaviour. It's quite possible if
  one
misbehaves it could lock your app up.



If I have several small modules opened (say 6 to 10, each of
20K to
60K size), they shouldnt crash or overload the browser

[flexcoders] Re: Help with Module strategy

2008-05-08 Thread Bjorn Schultheiss
- the charts are in modules, optimized for the single host
This sounds the most reasonable.

If the modules need to be loaded into another shell they can be
re-compiled for that purpose.

I have each module in its own project and run the deploy build via ant.



--- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote:

 I'd appreciate some input on my module strategy.
 
 I'm working on a charting application with a requirement that
 individual charts be embeddable as widgets on arbitrary pages.
 
 I already have the bulk of the code in libraries, so have some freedom
 to explore different packaging.
 
 I had originally thought that it would make sense to create a module
 for each chart, and two separate hosts, one  main application and
 one widget host. I understand that I would have to use RSLs and
 framework caching to keep the module size down. Frankly, I'm a little
 wary of that given the time constraints, and also because it depends
 on the later player.
 
 Another approach was to just build a different application SWF for
 each widget and modularize only when the main app becomes too large.
 
 Now I am considering the following:
 
 - the host is a single SWF with two states (widget and full). It loads
 either one, or several modules based on runtime config
 - the charts are in modules, optimized for the single host
 - the single app and multiple modules are in one project, so I can
 optimize for that app in Flexbuilder (though we do have continuous
 integration set up too)
 
 The only downside I can think of is that if the full state of the
 app has a lot of code besides the module code, the size of the widget
 download will be larger than it needs to be. On the other hand, it
 would allow the full app to be embedded as a widget, since the UX
 would be determined at runtime. And I suppose the full host state
 could itself be modularized.
 
 Comments? Thanks in advance.





[flexcoders] Re: How big does a SWF get before IE starts to worry?

2008-05-08 Thread Bjorn Schultheiss
I don't know what Rick was talking about, but if you're looking for
training, local info, etc, ask on the flexaussie mailing list.

http://groups.yahoo.com/group/flexaussie



--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 I assume you're the Doug he's talking about? I didn't know you lived
around
 here, should I?
 
 And is there intermediate - advanced training going on in Flex in
Brisbane?
 I could probably get the powers-that-be to spring for some in the new
 Financial year when we're less rushed :)
 
 -J





[flexcoders] Re: isDynamic(obj) ?

2008-05-07 Thread Bjorn Schultheiss
flash.utils.describeType() returns XML describing the object.
The root node has an attribute isDynamic..

--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Guys,
 
 Is there some easy way to tell if an object is dynamic without
wrapping it
 in a try-catch and just messing with it?
 
 Cheers,
 -J
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Singleton view classes?

2008-05-07 Thread Bjorn Schultheiss
here's one tip
http://www.insideria.com/2008/03/flex-performance-memory-manage.html

--- In flexcoders@yahoogroups.com, David Ham [EMAIL PROTECTED] wrote:

  
  Better off looking at some other type of pattern.
  
 
 Any recommendations? I was getting some serious performance problems
 from duplicated objects--if anyone has any recommendations on how to
 ensure that I'm not creating a lot of duplicates when I switch states
 back and forth?
 
 OK
 DAH





[flexcoders] Re: Decompile SWF to extract Actionscript

2008-05-07 Thread Bjorn Schultheiss
Try this



// parse SWF file
function parseSWF(data:ByteArray) {
parseLog = ;
data.endian = Endian.LITTLE_ENDIAN;
var format:String = data.readUTFBytes(3);
var compressed:Boolean = format==CWS;
if (format==FWS || format==CWS) {
parseLog += SWF version +data.readByte();
parseLog += , size: +data.readUnsignedInt();
} else {
parseLog += Not a Flash file.;
return;
}
data.readBytes(data);
data.length -= 8;
if (compressed) {
data.uncompress();
}
data.position = 0;
var frame:Array = readBox(data);
parseLog += \n;
parseLog += Width: +Math.round((frame[1]-frame[0])/20);
parseLog += , height: +Math.round((frame[3]-frame[2])/20);
var fps_f:uint = data.readUnsignedByte();
var fps_i:uint = data.readUnsignedByte();
parseLog += \n;
parseLog += FPS: +(fps_i+fps_f/256);
var count:uint = data.readUnsignedShort();
parseLog += \n;
parseLog += Total frames: +count;
parseLog += \n;
while (data.bytesAvailable) {
readSWFTag(data);
}
trace(parseLog);
}



courtesy of Denis V. Chumakov 
http://flashpanoramas.com/blog/



--- In flexcoders@yahoogroups.com, J [EMAIL PROTECTED] wrote:

 Not directly related to Flex, but this one of the few places to to get
 expert advice.
 
 I am building an application to QA Flash 6/7/8 files. I am using Flex
 on the client side with PHP running on Linux. Does anyone have any 
 knowledge they can share on decompiling SWF files to extract
 actionscript server-side? I'd like to add a feature that returns the
 actionscript along with the ksize/dimensions/framerate data I already
 have in place.
 
 Thanks!





[flexcoders] Re: Declaring protected fields in MXML?

2008-05-07 Thread Bjorn Schultheiss
Everything you described is possible except the protected instead of
public part.
At some point one of the accessor must be public.

--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Hey guys,
 
 Is it possible to define (non visual) components in MXML that are
protected
 instead of public, but can still be referenced by the ID (or a name, or
 something)?
 
 Cheers,
 
 -J
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Declaring protected fields in MXML?

2008-05-07 Thread Bjorn Schultheiss
well i'm not sure what you're actually trying to do but you can hide
the id within a certain scope.


look at code:
MyApp.mxml
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
layout=absolute
myCanvas id=mycanvas /
/mx:Application


myCanvas.mxml
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
width=400 height=300
testcmp id=mypanel
myButtons
mx:Button id=btn1 label=button 1 /
mx:Button id=btn2 label=button 2 /
/myButtons
/testcmp
/mx:Canvas

testcmp.mxml
mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=400
height=300
mx:Script
![CDATA[
import mx.controls.Button;
public function set myButtons(value:Array):void
{
_myButtons = value;
_myButtonsChanged = true;
invalidateProperties();
}

public function get myButtons():Array
{
return _myButtons;
}

protected var _myButtons:Array
protected var _myButtonsChanged:Boolean;

override protected function commitProperties():void
{
if (_myButtonsChanged)
{
_myButtonsChanged = false;
removeAllChildren();
var l:int = _myButtons.length;
for (var i:int = 0; i  l; i++)
{
var btn:Button = _myButtons[i];
addChild(btn);
}
}
}
]]
/mx:Script
/mx:Panel




So you can access the button ID's via the panel.
Only the canvas.


--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Bummer... I've got some classes in which I'm doing a lot of the stuff
 declaritvely in MXML, and I just didn't want the ids leaking into
the public
 API.
 
 I guess I'll just have to rethink things a little bit, make the
declarative
 stuff the public API, and have it reference the functions that are
declared
 in mx:script that used to be ;-)
 
 -J
 
 On Thu, May 8, 2008 at 11:30 AM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
Everything you described is possible except the protected instead of
  public part.
  At some point one of the accessor must be public.
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Josh
  McDonald dznuts@ wrote:
  
   Hey guys,
  
   Is it possible to define (non visual) components in MXML that are
  protected
   instead of public, but can still be referenced by the ID (or a
name, or
   something)?
  
   Cheers,
  
   -J
  
   --
   Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: josh@
  
 
   
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Declaring protected fields in MXML?

2008-05-07 Thread Bjorn Schultheiss
sorry, at the end i meant to say

So you can*t* access the button ID's via the panel.
Only the canvas.

--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 well i'm not sure what you're actually trying to do but you can hide
 the id within a certain scope.
 
 
 look at code:
 MyApp.mxml
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
 layout=absolute
   myCanvas id=mycanvas /
 /mx:Application
 
 
 myCanvas.mxml
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
 width=400 height=300
   testcmp id=mypanel
   myButtons
   mx:Button id=btn1 label=button 1 /
   mx:Button id=btn2 label=button 2 /
   /myButtons
   /testcmp
 /mx:Canvas
 
 testcmp.mxml
 mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=400
 height=300
   mx:Script
   ![CDATA[
   import mx.controls.Button;
   public function set myButtons(value:Array):void
   {
   _myButtons = value;
   _myButtonsChanged = true;
   invalidateProperties();
   }
   
   public function get myButtons():Array
   {
   return _myButtons;
   }
   
   protected var _myButtons:Array
   protected var _myButtonsChanged:Boolean;
   
   override protected function commitProperties():void
   {
   if (_myButtonsChanged)
   {
   _myButtonsChanged = false;
   removeAllChildren();
   var l:int = _myButtons.length;
   for (var i:int = 0; i  l; i++)
   {
   var btn:Button = _myButtons[i];
   addChild(btn);
   }
   }
   }
   ]]
   /mx:Script
 /mx:Panel
 
 
 
 
 So you can access the button ID's via the panel.
 Only the canvas.
 
 
 --- In flexcoders@yahoogroups.com, Josh McDonald dznuts@ wrote:
 
  Bummer... I've got some classes in which I'm doing a lot of the stuff
  declaritvely in MXML, and I just didn't want the ids leaking into
 the public
  API.
  
  I guess I'll just have to rethink things a little bit, make the
 declarative
  stuff the public API, and have it reference the functions that are
 declared
  in mx:script that used to be ;-)
  
  -J
  
  On Thu, May 8, 2008 at 11:30 AM, Bjorn Schultheiss 
  bjorn.mailinglists@ wrote:
  
 Everything you described is possible except the protected
instead of
   public part.
   At some point one of the accessor must be public.
  
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 Josh
   McDonald dznuts@ wrote:
   
Hey guys,
   
Is it possible to define (non visual) components in MXML that are
   protected
instead of public, but can still be referenced by the ID (or a
 name, or
something)?
   
Cheers,
   
-J
   
--
Therefore, send not to know For whom the bell tolls. It tolls for
   thee.
   
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: josh@
   
  

  
  
  
  
  -- 
  Therefore, send not to know For whom the bell tolls. It tolls for
 thee.
  
  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: josh@
 





[flexcoders] Re: Modules the way to go?

2008-05-06 Thread Bjorn Schultheiss
Any external swf you load can crash your app.
It's a really big issue with the player at the moment.

From my experience Modules provide you a good basis for multi-swf
architecture with Flex.



--- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote:

 I won't develop the modules
 
 Well, that's your biggest problem, without being able to control the
 modules, you can't guarantee the behaviour. It's quite possible if one
 misbehaves it could lock your app up.
 
  
 
 If I have several small modules opened (say 6 to 10, each of 20K to
 60K size), they shouldnt crash or overload the browser?
 
 No they shouldn't. We run an application with similar amounts of modules
 (though bigger in size) without too many problems. There is anecdotal
 evidence of people on this board running with many more (40? IIRC).
 
 How are you organising the desktop? Do you have all the modules
 displayed at the same time (you did mention open but that's not the same
 thing)?
 
 Gk.
 
 Gregor Kiddie
 Senior Developer
 INPS
 
 Tel:   01382 564343
 
 Registered address: The Bread Factory, 1a Broughton Street, London SW8
 3QJ
 
 Registered Number: 1788577
 
 Registered in the UK
 
 Visit our Internet Web site at www.inps.co.uk
 blocked::http://www.inps.co.uk/ 
 
 The information in this internet email is confidential and is intended
 solely for the addressee. Access, copying or re-use of information in it
 by anyone else is not authorised. Any views or opinions presented are
 solely those of the author and do not necessarily represent those of
 INPS or any of its affiliates. If you are not the intended recipient
 please contact [EMAIL PROTECTED]
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Daniel
 Sent: 06 May 2008 07:22
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Modules the way to go?
 
  
 
 
 That's the problem... I won't develop the modules that will be running
 in the desktop manager... I'll only load them and unload them... But I
 want to make sure the application runs fast...
 
 Are there any tricks or tips to ensure the modules run fast and
 release unused resources? 
 
 If I have several small modules opened (say 6 to 10, each of 20K to
 60K size), they shouldnt crash or overload the browser?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  A module is as big as you make it. I'd be checking to make sure it is
  small and releases unused resources.
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of Daniel
  Sent: Monday, May 05, 2008 8:19 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Modules the way to go?
  
  
  
  Hey guys,
  
  Im actually working on an application that controls several Flex made
  apps. It's like a desktop manager application that manages several
  widgets. The applications running in the desktop manager are modules
  set on the server, that are loaded and unloaded per user request, but
  when a user have 6 or more Modules opened at the time the desktop
  manager becomes really slow, and the explorer can even crash!
  
  Am I working the modules the wrong way, or this component really adds
  that kind of weight to the computer? Is there another way to go?
  
  Thanx a lot guys...
 





[flexcoders] Re: Singleton view classes?

2008-05-06 Thread Bjorn Schultheiss
You probably can using some sort of Singleton Manager.
http://code.ericfeminella.com/classes/as3/SingletonManager.as.html

But you can't change a sealed class's constructor such as UIComponent
therefore you will not be able to manage the amount of instances
created without the use of the manager class.

But using a singleton for the veiw does not really sound like a good
solution for the problem you are trying to solve.

Better off looking at some other type of pattern.




--- In flexcoders@yahoogroups.com, David Ham [EMAIL PROTECTED] wrote:

 I've been having trouble with multiple instances of my views being
 created when I change states. I have two RoomView classes that each
 subclass the same BaseRoomView superclass, and which contain an
 instance of a Room view class. Since I only ever want one of them on
 the screen at a time, I thought I'd try doing them as singletons. 
 
 I tried it with my Room class. It extends UIComponent, with singleton
 access control implemented the way Cairngorm ModelLocators are done.
 But  When I run the profiler in Flex Builder, there are still multiple
 instances of it. Can views be done as singletons?
 
 Many thanks,
 
 OK
 DAH





[flexcoders] Re: Use Cairngorm wihtout Dispatch

2008-05-05 Thread Bjorn Schultheiss
 The point I was making as that just because events are used on the  
 view instead of it accessing controller methods directly it doesn't  
 necessarily de-couple them

Agreed.

Also, I don't like being restricted to only being able to register
events types to command classes to a Front Controller that is created
in the view.

Registering the controller in the view means to reference it at
runtime i have to go through the view.

Common sense tells me in MVC it would be better if the controller was
created by the model, not the view.



--- In flexcoders@yahoogroups.com, Stephen Downs [EMAIL PROTECTED]
wrote:

 I'm not saying it's a major problem that we come across often, but  
 when taking on other people's work, or working as a team it's  
 something we have come across. We would expect all vars, methods,  
 class, events to be named well, but we find it more efficient to  
 error the project through changing a method name, than to do a find  
 in files. We want to keep things as simple as possible.
 
 The point I was making as that just because events are used on the  
 view instead of it accessing controller methods directly it doesn't  
 necessarily de-couple them, since in most cases the view is relying  
 on its events being picked up and acted upon. If my previous  
 statement is true for you and your team, there's really no need to go  
 down the event road, as it does introduces more complication and with  
 it more time to implement.
 
 Just to clarify we don't take this approach on components, but we do  
 for views/screens.
 
 
 
 
 On 5 May 2008, at 01:37, Jim Hayes wrote:
 
  I've not really had those problems myself Tink.
 
  I don't dispatch any standard cairngorm events, instead I have  
  events that extend it and are (usually!) fairly well named to  
  reflect what's happening.
  Maybe that's because for me they normally carry some data, and I  
  like that data to be as strongly typed as is practicable.
  The command/delegate will usually follow the same naming, so I may  
  have SaveBitmapEvent + SaveBitmapCommand + SaveBitmapDelegate, for  
  example.
  So to find any particular event dispatch in my view, it's pretty  
  easy to do a find in files on the project, though in practice I  
  find I rarely need to.
  Likewise, finding the command it calls is pretty easy for the most  
  part, as is the implementation in the delegate.
 
  Good point on the controller not listening, but I guess I've just  
  got used to writing a shell version of my command, breakpointing  
  it's constructor and checking it does get called when I expect it  
  to before proceeding to fill in it's implementation. If not, then  
  the frontController has it's fingers in it's ears shouting na na na  
  I can't hear you :)
 
  It would be good if it could catch all cairngorm events and raise a  
  warning if they were not registered, though. I have a feeling it  
  wouldn't be too hard to extend it do that, but I've never felt the  
  need myself.
 
  I'm sure we're both thinking don't make me have to think too hard,  
  if at all, and I'm in broad agreement with you, but the 3 classes  
  and controller entry approach does work for me (even if it is very  
  tedious to write at the time).
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of Stephen Downs
  Sent: Sun 04/05/2008 14:08
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Use Cairngorm wihtout Dispatch
 
  I have to agree with MichNiu here.
 
  The CairngormEventDispatcher obsfucates the code. i.e. you come back
  to a project 6 months down the line, its difficult to find in the
  view where your CairngormEvents are dispatch.
 
  What is the difference of the view knowing what event it has to
  dispatch, to it actually knowing the method on the controller it was
  to invoke? Very little in my opinion, but the later enables you to
  very easily pinpoint all the calls from the view to a method on the
  controller, by just changing the name of the method on the
  controller, and looking at all the errors that will appear on the
  view. This makes things much easier to debug and therefore easier to
  maintain.
 
  You talk about making views re-useable, but if your view is
  dispatching CairngormEvents, you can guarantee it's relying on some
  action of the FrontController for it to work properly. If you
  FrontController doesn't listen to these events, your view won't work,
  therefore it aint re-usable, its relying on the FrontController
  acting upon the events is dispatches.
 
  We still keep a Controller unlike MichNui's implementation, but we
  cut out the use of CairngormEventDispatcher some time ago.
 
  Now when it comes to re-usable components, thats a different matter.
 
  Tink
 
  On 22 Apr 2008, at 03:53, ben.clinkinbeard wrote:
 
   One of the core principles of not just Cairngorm but MVC in  
  general is
   for your views to be as dumb as possible. The less they know about
   models, services, 

[flexcoders] Re: Use Cairngorm wihtout Dispatch

2008-05-04 Thread Bjorn Schultheiss
  ServiceFacade.getInstance().loadCats();
  
  public  function loadCats():void {
var handlers : IResponder = new 
mx.rpc.Responder(onResults_loadCatalog,fault);
getDelegate(handlers).loadCatalog();
  } 

Looks like a terrible solution.



I agree with your comments regarding the Controller and Commands but
replacing them with a singleton that defines all your applications
responder methods doesn't seem very manageable.





--- In flexcoders@yahoogroups.com, michniu [EMAIL PROTECTED] wrote:

 Hi Coders,
 
 I just want to discuss some issues about  the Cairgorm, Because I 
 cant find  another  maillist or  forum to   discuss it. I put it here.
 
 
 The most uselees part in cairgorm frontCotroller and command
 
 
 Just my on  opionion, I really dont like to write the command for 
 every action and register it  on  frontcoutroller. I really think it  
 waste time, and It make debuging  difficult! Sometimes  you dont know 
 where do you get the result  after  you dispathce your  Event.
 
 
 
 Use A  ServiceFacade to replace  the frontcontroller and the command.
 
  I use  a ServiceFacade  to call the Delegate  instead of the 
 controller and the junk command. 
 
 The idea is  when  the view page  active some action. it will not 
 dispathc any event .  it will call the  service mathod from  service 
 facade. 
 
 Here  is  example code form  flexStore:
 
/**
 * Wrapper function to invoke a call to load the 
 catalog XML data
 * @private
 */
   private function onLoadCatalog():void {
   var event : LoadCatalogEvent = 
 new oadCatalogEvent();
   event.dispatch();
   }
 
  to replace the  event dispath()  my solution is :
 
private function onLoadCatalog():void {
   
   ServiceFacade.getInstance().loadCats();
   }
 
 
 And Ind ServiceFacade .loadCats() method   call teh delegate  and 
 service:
 
   public  function loadCats():void {
   var handlers : IResponder = new 
 mx.rpc.Responder(onResults_loadCatalog,fault);
   getDelegate(handlers).loadCatalog();
   }   
 
 
 Use this way, I dont need  create any   frontController and  command. 
 I also get the benefit  from  Cairgorm  ServiceLocate  Delegate and 
 Model locator.
 
 
 Any suggestion or Criticze  is Appretiate
 
 
 Mike





[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Bjorn Schultheiss
I think the problem is that the current flex framework architecture
doesn't conceptually work well with Cairngorm.
There's too much logic encapsulated into the view.

Ideally you would like to drive the entire app via the model.

It would be ideal if your model was managing how many windows are
currently open and therefore knows which data models to tear down.



--- In flexcoders@yahoogroups.com, Ben Clinkinbeard
[EMAIL PROTECTED] wrote:

 You definitely don't want your model keeping track of views using
its data.
 My 30 second recommendation would be to look into the UM Cairngorm
 extensions as they can help you reduce the amount of clutter that
needs to
 be stored on the/a model. Specifically view callbacks is the feature
that
 helps enable that. Search flexcoders for additional discussion of UM
 Cairngorm.
 
 HTH,
 Ben
 
 
 On Tue, Apr 29, 2008 at 12:24 PM, gerhard.schlager 
 [EMAIL PROTECTED] wrote:
 
Hello!
 
  I'm currently creating the software design for a large application
  which we are going to build using Flex 3, Cairngorm 2.2.1 and SabreAMF
  (PHP). I have already created my first prove of concept, however, I
  have a few issues with Cairngorm's Model Locator.
 
  1) How can I make sure that unused data gets removed from the Model
  Locator? The simple solution would be to destroy the data that a view
  loaded when the view gets closed. However, we are going to use flexmdi
  and it's quite possible that one or more MDI windows are using the
  same data. The only solution I've come up so far is to make the Model
  Locator aware of which window uses which data. Therefore it could free
  the unused data when no view uses it anymore. Yet, this could be a
  very error-prone solution. Moreover, I would loose the last bit of
  loose coupling. So, I'm not sure if that's a good way to handle this.
  Well, the Model Locator itself is often seen as an anti-pattern as
  well ...
 
  2) Should I really put everything into _one_ Model Locator? I guess
  there could be quite a large number of public variables. Our
  application will have up to 50 different views and about twice as many
  VO ...
 
  I'd be really grateful if somebody could enlighten my ;-) or if you
  could give me some tips on how to solve those two problems.
 
  Thanks in advance for your help.
 
  Best regards,
  Gerhard
 
   
 





[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Bjorn Schultheiss
Agreed
- Model has no reference to the view Classes.

But it can still drive the creation of the view.

For example, you might have an arrayCollection, the amount of items in
the arrayCollection determine the amount of windows on display..
The items within the arrayCollection may be the 'dataProviders' for
each window, not necessarily a reference to the view classes but still
responsible for driving the view.

With regards to the additions to Cairngorm UM released, I'm still not
sold on the benifits of all of them or the implementation.




--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 The whole point of MVC is that the model knows *nothing* about the view.
 Which is one of the reasons UM is a great extension to Cairngorm.
 
 -J
 
 On Wed, Apr 30, 2008 at 8:46 AM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
I think the problem is that the current flex framework architecture
  doesn't conceptually work well with Cairngorm.
  There's too much logic encapsulated into the view.
 
  Ideally you would like to drive the entire app via the model.
 
  It would be ideal if your model was managing how many windows are
  currently open and therefore knows which data models to tear down.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Ben
  Clinkinbeard
 
  ben.clinkinbeard@ wrote:
  
   You definitely don't want your model keeping track of views using
  its data.
   My 30 second recommendation would be to look into the UM Cairngorm
   extensions as they can help you reduce the amount of clutter that
  needs to
   be stored on the/a model. Specifically view callbacks is the feature
  that
   helps enable that. Search flexcoders for additional discussion of UM
   Cairngorm.
  
   HTH,
   Ben
  
  
   On Tue, Apr 29, 2008 at 12:24 PM, gerhard.schlager 
   gerhard.schlager@ wrote:
  
Hello!
   
I'm currently creating the software design for a large application
which we are going to build using Flex 3, Cairngorm 2.2.1 and
SabreAMF
(PHP). I have already created my first prove of concept,
however, I
have a few issues with Cairngorm's Model Locator.
   
1) How can I make sure that unused data gets removed from the
Model
Locator? The simple solution would be to destroy the data that
a view
loaded when the view gets closed. However, we are going to use
flexmdi
and it's quite possible that one or more MDI windows are using the
same data. The only solution I've come up so far is to make
the Model
Locator aware of which window uses which data. Therefore it
could free
the unused data when no view uses it anymore. Yet, this could be a
very error-prone solution. Moreover, I would loose the last bit of
loose coupling. So, I'm not sure if that's a good way to
handle this.
Well, the Model Locator itself is often seen as an anti-pattern as
well ...
   
2) Should I really put everything into _one_ Model Locator? I
guess
there could be quite a large number of public variables. Our
application will have up to 50 different views and about twice
as many
VO ...
   
I'd be really grateful if somebody could enlighten my ;-) or
if you
could give me some tips on how to solve those two problems.
   
Thanks in advance for your help.
   
Best regards,
Gerhard
   
   
   
  
 
   
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: compc and manifest file

2008-04-29 Thread Bjorn Schultheiss
Automation of the manifest is a nice feature request..

Hopefully we can get it into FB4.

Has anyone logged it yet?



--- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote:

 I don't think that this is a compc issue: if memory serves (from a
 couple of months ago when I looked at the source), the compc ant task
 just calls out to the command line compc compiler. The limits are in the
 OS's command line length...
 -- 
 Maciek Sakrejda
 Truviso, Inc.
 http://www.truviso.com
 
 -Original Message-
 From: Gordon Smith [EMAIL PROTECTED]
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: compc and manifest file
 Date: Tue, 29 Apr 2008 15:23:45 -0700
 
  it seems that there is a maximum number of *.as or *.mxml
  files that can be passed in to the compc command 
 
  
 
 There shouldn't be. Can you please file a bug on this?
 
  
 
  how would I automate the creation of the manifest file?
 
  I dont want to update it each time I create a new file.
 
  
 
 Sorry, Flex doesn't provide any scripts for automatically generating a
 manifest. The SDK team maintains our manifests by hand and hasn't find
 it enough of a burden to bother automating the process. But a manifest
 has a simple format and you should be able to generate one based on a
 directory enumeration. You can use Perl, Python, or whatever your
 favorite scripting language is, and call your script using Ant's exec
 task.
 
  
 
 Gordon Smith
 
 Adobe Flex SDK Team
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of mt1_18
 Sent: Tuesday, April 29, 2008 12:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: compc and manifest file
 
 
  
 
 sorry I meant to say that I am trying to use ant and compc not and
 and compc :)
 --- In flexcoders@yahoogroups.com, mt1_18 mt1_18@ wrote:
 
  I am trying to use and and compc to compile my swc. However, compc
  only takes a list of files and not a directory. So I did something
  like this hoping it would work:
  compc output=framework.swc
  include-sources dir=${FRAMEWORK_ROOT} 
  includes=**/*.as **/*.mxml /
  source-path path-element=${FRAMEWORK_ROOT}/
  /compc
  
  However it seems that there is a maximum number of *.as or *.mxml
  files that can be passed in to the compc command. So from my research
  it seems that I need to create a manifest file. But how would I
  automate the creation of the manifest file? I dont want to update it
  each time I create a new file. I am not too familiar with ant so any
  guidance would help. 
  
  Thanks
 





[flexcoders] Re: Application initialization and runtime config

2008-04-29 Thread Bjorn Schultheiss
In terms of passing the config data through to modules we create an
interface for each module that is used by the shell to pass data via
public methods to the loaded module on the ready event.



--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Flashvars should be ready right away, long before creationComplete.  How
 are you accessing them?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Richard Rodseth
 Sent: Tuesday, April 29, 2008 2:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Application initialization and runtime config
 
  
 
 The application I'm working on has a dependency on runtime
 configuration (flashVars) that needs to be met before any service
 calls are made.
 
 I have an MVCS architecture, quite modular, though not yet using
 mx:Module.
 
 I was unable to fetch the data for each module using creationCompete()
 because the flashVars were not yet available, so for now the top level
 creationComplete() just retrieves the config, then calls a controller
 method to initialize the application. I could extend that to call an
 interface implemented by each module.
 
 Or, I suppose I could use view states bound to a flag, and place the
 application shell in a configuring state, then in a configured
 state.
 
 Any other approaches people have found to work well? Thanks.





[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
 No current requirement for Flex components

That seems like a relevant factor in the decision..


--- In flexcoders@yahoogroups.com, Mike Chabot [EMAIL PROTECTED] wrote:

 None of the factors you mention seem highly relevant to making the
decision.
 
 Are the developers already comfortable using Flash? Flex? Do the
 developers have design backgrounds or programming backgrounds? If you
 have designers that already know Flash, do the developers need to do
 anything other than embed the SWF files into HTML?
 
 Is this a Web application deployed to an environment with a user-base
 that you know will be able to meet the higher requirements demanded by
 Flex, or is this more like an Internet application?
 
 Is using neither technology an option? What is driving the need for
 either Flash or Flex that isn't provided by a technology like ASP.NET
 or Ajax?
 
 -Mike Chabot
 
 On Sun, Apr 27, 2008 at 8:22 PM, bick [EMAIL PROTECTED] wrote:
  I wanted to get some opinions on whether to use Flex or Flash on a
  large scale site.
 
  Some details about the site:
 
  Very modular
  Some timeline based swfs provided by designers that need to be loaded
  Uses webservices
  Multiple remote developers
  Intending to use automated builds (thinking Maven)
  ASDocs
  No current requirement for Flex components
 
  Thoughts?





[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
From what I've seen FDT looks like a nice tool.
Although no IDE for Mac means I haven't used it in anger.

I think an interesting Flex 4 feature would be, to be able to use Flex
components within Flash (outside of a Flex project).



--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:

   No current requirement for Flex components
 
  That seems like a relevant factor in the decision..
 
 
 
 
 
 I'd argue that the lack of a need for any Flex controls is an
argument for
 not using the Flex framework, but not necessarily for not using Flex
Builder
 as the development tool. Even if you are doing an AS3 only Flash
project, it
 might still make sense to use Flex Builder (or Flash Develop or FDT,
I don't
 have experience with those). The fact that Eclipse has plugins that
support
 SVN and CVS for version control, Mylyn for trac integration,
supports ant
 and maven, supports code hinting, etc etc are all reasons to use FB
as the
 dev tool.
 
 So assuming you can put your timeline-needing Flash devs in a room
and give
 them Flash authoring and your devs can just get SWFs they don't have to
 edit, then it sounds like Flex Builder is probably the way to go.
But if you
 need to tweak timeline animations you'll need to crank open Flash
Authoring.
 But crank it up, do your work, and get the hell out so you can get
back to a
 decent dev environment with code hinting and all the good stuff.
 
 Doug





[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
Sorry it was Flash Develop I had used.. Not FDT.

--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 From what I've seen FDT looks like a nice tool.
 Although no IDE for Mac means I haven't used it in anger.
 
 I think an interesting Flex 4 feature would be, to be able to use Flex
 components within Flash (outside of a Flex project).
 
 
 
 --- In flexcoders@yahoogroups.com, Doug McCune doug@ wrote:
 
No current requirement for Flex components
  
   That seems like a relevant factor in the decision..
  
  
  
  
  
  I'd argue that the lack of a need for any Flex controls is an
 argument for
  not using the Flex framework, but not necessarily for not using Flex
 Builder
  as the development tool. Even if you are doing an AS3 only Flash
 project, it
  might still make sense to use Flex Builder (or Flash Develop or FDT,
 I don't
  have experience with those). The fact that Eclipse has plugins that
 support
  SVN and CVS for version control, Mylyn for trac integration,
 supports ant
  and maven, supports code hinting, etc etc are all reasons to use FB
 as the
  dev tool.
  
  So assuming you can put your timeline-needing Flash devs in a room
 and give
  them Flash authoring and your devs can just get SWFs they don't
have to
  edit, then it sounds like Flex Builder is probably the way to go.
 But if you
  need to tweak timeline animations you'll need to crank open Flash
 Authoring.
  But crank it up, do your work, and get the hell out so you can get
 back to a
  decent dev environment with code hinting and all the good stuff.
  
  Doug
 





Re: [flexcoders] Advanced(?) Actionscript question

2008-04-28 Thread Bjorn Schultheiss

In the second version your initializing foo as an object.

I'm pretty certain you cant do,
var foo:Function = {trace('foo')}



On 29/04/2008, at 9:37 AM, Josh McDonald wrote:


Guys,

what's the difference (if it exists) between:

public function foo() : * {}

and:

public var foo : Function = {};

Does it exist? I assume you can call Bar.foo() in both cases, and  
foo shows up as a variable in describeType() in the second instance?  
Are there other details I'm not aware of?


Cheers,

-J

--
Therefore, send not to know For whom the bell tolls. It tolls for  
thee.


:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]






[flexcoders] Re: Bindable Metatag

2008-04-28 Thread Bjorn Schultheiss
According to the guidelines adobe published,
 [Bindable(change)]
Wins!



--- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED]
wrote:

 In the help file all the examples have 
 [Bindable(event=change)]
 
 While the source files with FB3 have
 [Bindable(change)]
 
 Which is correct? Both?





[flexcoders] Re: Advanced(?) Actionscript question

2008-04-28 Thread Bjorn Schultheiss
I believe you can do this

class Foo
{
  var bar:Function;
}


//somewhere outside the class

function myfunction():void {trace('hi')};

var foo:Foo = new Foo;
foo.bar = myfunction;


if you have 
class Foo
{
  function bar():void {}
}

then you must override.

But you have more flexibility if Foo is defined as a Dynamic Class..



--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Thanks for that info.
 
 I'm not really sure about how things work internally, besides some vague
 references to traits the documentation doesn't help too much - can you
 redefine member methods on a particular instance?
 
 What I mean is this:
 
 var foo : Foo = new Foo();
 foo.bar(); // Does something
 foo.bar = function() : void { doOtherStuff() };
 foo.bar(); // Does something else
 
 -J
 
 On Tue, Apr 29, 2008 at 10:14 AM, Gordon Smith [EMAIL PROTECTED] wrote:
 
 I think there is additional overhead in calling an anonymous
function
  (i.e., your 'var foo:Function = ' case).
 
 
 
  And I don't think that the rules for what 'this' is, when the function
  executes, are the same.
 
 
 
  Gordon Smith
 
  Adobe Flex SDK Team
 
 
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Josh McDonald
  *Sent:* Monday, April 28, 2008 4:58 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Advanced(?) Actionscript question
 
 
 
  Of course you're right, my syntax was dodgey. I meant:
 
  var foo : Function = function():* {};
 
  But besides that, my questions still stand ;-)
 
  -J
 
  On Tue, Apr 29, 2008 at 9:45 AM, Bjorn Schultheiss 
  [EMAIL PROTECTED] wrote:
 
  In the second version your initializing foo as an object.
 
 
 
  I'm pretty certain you cant do,
 
  var foo:Function = {trace('foo')}
 
 
 
 
 
 
 
  On 29/04/2008, at 9:37 AM, Josh McDonald wrote:
 
 Guys,
 
  what's the difference (if it exists) between:
 
  public function foo() : * {}
 
  and:
 
  public var foo : Function = {};
 
  Does it exist? I assume you can call Bar.foo() in both cases, and foo
  shows up as a variable in describeType() in the second instance?
Are there
  other details I'm not aware of?
 
  Cheers,
 
  -J
 
  --
  Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: [EMAIL PROTECTED]
 
 
 
 
 
 
  --
  Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: [EMAIL PROTECTED]
 
   
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Advanced(?) Actionscript question

2008-04-28 Thread Bjorn Schultheiss
Check this out..

Mixins, How to.
http://flexonrails.net/?p=79


--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 Of course, I always forger about the dynamic keyword :)
 
 On Tue, Apr 29, 2008 at 1:18 PM, Bjorn Schultheiss 
 [EMAIL PROTECTED] wrote:
 
I believe you can do this
 
  class Foo
  {
  var bar:Function;
  }
 
  //somewhere outside the class
 
  function myfunction():void {trace('hi')};
 
 
  var foo:Foo = new Foo;
  foo.bar = myfunction;
 
  if you have
  class Foo
  {
  function bar():void {}
  }
 
  then you must override.
 
  But you have more flexibility if Foo is defined as a Dynamic Class..
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Josh
  McDonald dznuts@ wrote:
  
   Thanks for that info.
  
   I'm not really sure about how things work internally, besides
some vague
   references to traits the documentation doesn't help too much -
can you
   redefine member methods on a particular instance?
  
   What I mean is this:
  
   var foo : Foo = new Foo();
   foo.bar(); // Does something
   foo.bar = function() : void { doOtherStuff() };
   foo.bar(); // Does something else
  
   -J
  
   On Tue, Apr 29, 2008 at 10:14 AM, Gordon Smith gosmith@ wrote:
  
I think there is additional overhead in calling an anonymous
  function
(i.e., your 'var foo:Function = ' case).
   
   
   
And I don't think that the rules for what 'this' is, when the
function
executes, are the same.
   
   
   
Gordon Smith
   
Adobe Flex SDK Team
   
   
--
   
*From:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] *On
Behalf Of *Josh McDonald
*Sent:* Monday, April 28, 2008 4:58 PM
*To:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
*Subject:* Re: [flexcoders] Advanced(?) Actionscript question
   
   
   
Of course you're right, my syntax was dodgey. I meant:
   
var foo : Function = function():* {};
   
But besides that, my questions still stand ;-)
   
-J
   
On Tue, Apr 29, 2008 at 9:45 AM, Bjorn Schultheiss 
bjorn.mailinglists@ wrote:
   
In the second version your initializing foo as an object.
   
   
   
I'm pretty certain you cant do,
   
var foo:Function = {trace('foo')}
   
   
   
   
   
   
   
On 29/04/2008, at 9:37 AM, Josh McDonald wrote:
   
Guys,
   
what's the difference (if it exists) between:
   
public function foo() : * {}
   
and:
   
public var foo : Function = {};
   
Does it exist? I assume you can call Bar.foo() in both cases,
and foo
shows up as a variable in describeType() in the second instance?
  Are there
other details I'm not aware of?
   
Cheers,
   
-J
   
--
Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
   
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: josh@
   
   
   
   
   
   
--
Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
   
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: josh@
   
   
   
  
  
  
   --
   Therefore, send not to know For whom the bell tolls. It tolls for
  thee.
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: josh@
  
 
   
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: Deep Linking Problems

2008-04-28 Thread Bjorn Schultheiss
Apparently SWFAddress works.. I have used Flex's deep linking yet so i
can't comment.

http://labs.blitzagency.com/?p=51



--- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote:

 I've had the same experience. My conclusion was that it is only
useful for
 limited functionality. I've been using it ok to update the fragment
showing
 the link pointing to the current state, and only restoring that state on
 start up. I've found anything else to be unreliable.
 
 Good luck!
 ~Aaron
 
 On Mon, Apr 28, 2008 at 2:36 PM, Brad Keck [EMAIL PROTECTED] wrote:
 
Hello,
 
  I am just having a slew of problems with Deep Linking in Flex 3.0.
  The documentation makes it seem so simple, but nothing seems to work
  as expected. I've experienced:
 
  -The example code from the documentation not working
  -Vastly different behavior between browsers
  -URLs failing to update with setFragment()
  -The back button not changing the URL after a setFragment()
  -The forward button not being enabled after a successful back button
  -A myriad of other inconsistencies
 
  So, basically, I'm just wondering if anybody else has had good
  success with deep linking. Is it simply a buggy feature of Flex at
  this point, or am I really an inept as I seem? :) Are there any
  particular gotchas about making this whole thing work that I may be
  missing? (I have read already that things tend to work better when
  actually deployed on a server, as opposed to run from the IDE. All
  of my problems are on a deployed app.)
 
  Thank you very much.
 
  -Brad
 
   
 
 
 
 
 -- 
 Aaron Miller
 Chief Technology Officer
 Open Base Interactive, LLC.
 [EMAIL PROTECTED]
 http://www.openbaseinteractive.com





[flexcoders] Re: compiled swc and file sizes

2008-04-17 Thread Bjorn Schultheiss
depends how you link the swc to your project.

compiler.include.libraries // will add the entire swc
compiler.library.path // will only add what's used

--- In flexcoders@yahoogroups.com, dnk [EMAIL PROTECTED] wrote:

 I have been googling, and have not thus far found an answer
 
 If I create a custom Library which has various classes and components
 and compile it out as a SWC.
 
 Now say I add that swc to my project and use say only one component,
 and none of the others Would the compiled file size of my project
 include that of all the components/classes in my library swc, or just
 that of the part actually used from the SWC.
 
 Thanks!





[flexcoders] Re: compiled swc and file sizes

2008-04-17 Thread Bjorn Schultheiss
So its basically the compiler that does the work.

You can specify how you wish to include the libraries via the Project
Properties which basically generates the compiler arguments for your
project.

--- In flexcoders@yahoogroups.com, dnk [EMAIL PROTECTED] wrote:

 By that, do you mean with the import statements in the AS itself, or  
 in the project properties?
 
 dnk
 
 
 On 17-Apr-08, at 7:09 PM, Bjorn Schultheiss wrote:
 
  depends how you link the swc to your project.
 
  compiler.include.libraries // will add the entire swc
  compiler.library.path // will only add what's used





[flexcoders] Re: Do modules break tabbing???

2008-04-16 Thread Bjorn Schultheiss
All IFocusManagerComponents(containers).tabChildren == true;

Could there be something stealing the focus related to modules?




--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Did you verify that tabChildren=true on all containers of the
 IFocusManagerComponents in the module.?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Bjorn Schultheiss
 Sent: Tuesday, April 15, 2008 9:12 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Do modules break tabbing???
 
  
 
 Do i need to do anything to get tabbing working within a loaded modules.
 It works when i replace the module tags with application.





[flexcoders] Do modules break tabbing???

2008-04-15 Thread Bjorn Schultheiss
Do i need to do anything to get tabbing working within a loaded modules.
It works when i replace the module tags with application.



Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Bjorn Schultheiss

drop the 'this' unless its necessary to explain something..


On 08/04/2008, at 5:39 PM, Mike Anderson wrote:



Greetings All,

Whenever I study code generated by seasoned programmers (i.e. all  
the Adobe people supporting Flex on this list) as well as countless  
others on this list, I notice that some use this when referencing  
local variables contained within a Class.


The last thing I want to do here, is start a heated discussion  
regarding best practices for programming.  My goal on a daily  
basis, is to better myself as a programmer, and I want to make sure  
that the code I create, conforms to certain standards.


Could some of you please offer your 2 Cents regarding the advantages/ 
disadvantages of using this?  Just a quick example:


package
{
public class myClass()
{
private var testVar:String;

public function myClass( value:String )
{
this.testVar = value;
// versus:
testVar = value;
}
}
}

Thank you all so much in advance, for any help you can offer  
regarding this topic.


Mike







[flexcoders] Incompatible override

2008-04-03 Thread Bjorn Schultheiss
I'm getting a very non-descriptive compilet error at the moment..

I've got 2 swc's 
1 named common, 1 named core.
 
a class in common extends a class in core,

if i specify core in common's library path common compiles.
If i use -include-libraries instead i get an incompatible override
error with no reference to a class but stating that its a project error..

I don't understand why?



Re: [flexcoders] Re: actionScriptProperties

2008-04-03 Thread Bjorn Schultheiss

nice one : )

thanks.


On 04/04/2008, at 1:45 AM, Paul Spitzer wrote:


that was supposed to read, eclipse / FB, as in Flex Builder.

Paul Spitzer wrote:
 In eclipse / FP go to Window  Preferences  General  Workspace 
 Linked Resources

 Create a new resource, CUSTOM_VAR, or whatever you want the name  
to be,

 point it to the directory you need. I'm not sure if it will actually
 work for that property but it's worth a try. I've used linked  
resources

 like this in other areas so I suspect it probably will, hopefully.


 Bjorn Schultheiss wrote:

 basically something like this
 compiler outputFolderLocation=${CUSTOM_VAR}/libs

 How can i define $CUSTOM_VAR?



 --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
 [EMAIL PROTECTED] wrote:


 I'm trying to change the value for
 compiler outputFolderLocation= within  
the .actionScriptProperties

 file.

 How can I use a variable created in a seperate properties file for
 this value?










[flexcoders] flex-config vs .actionScriptProperties

2008-04-03 Thread Bjorn Schultheiss
Is it possible to remove the flex framework linkage from Project 
Properties  Library Path and add it to a custom flex-config.xml
within a Flex Library Project..

Basically i want to control the build via the options in the
flex-config reducing the dependencies on the ide options.



[flexcoders] Re: flex-config vs .actionScriptProperties

2008-04-03 Thread Bjorn Schultheiss
From the docs regarding compiler options precendence

Flex Builder  Default settings  Configuration file specified by
load-config option  Options panel

Does that mean that if the framework is removed in project 
properties  library path it overrides the settings in flex-config?





--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 Is it possible to remove the flex framework linkage from Project 
 Properties  Library Path and add it to a custom flex-config.xml
 within a Flex Library Project..
 
 Basically i want to control the build via the options in the
 flex-config reducing the dependencies on the ide options.





[flexcoders] Re: flex-config vs .actionScriptProperties

2008-04-03 Thread Bjorn Schultheiss
yes, thanks bjorn

--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 From the docs regarding compiler options precendence
 
 Flex Builder  Default settings  Configuration file specified by
 load-config option  Options panel
   
 Does that mean that if the framework is removed in project 
 properties  library path it overrides the settings in flex-config?
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
 bjorn.mailinglists@ wrote:
 
  Is it possible to remove the flex framework linkage from Project 
  Properties  Library Path and add it to a custom flex-config.xml
  within a Flex Library Project..
  
  Basically i want to control the build via the options in the
  flex-config reducing the dependencies on the ide options.
 





[flexcoders] Library Path and -include-libraries

2008-04-02 Thread Bjorn Schultheiss
Is the compiler option -include-libraries the same as specifying a swc
in the projects library path in the IDE?

Also, when you include a library in another library is its entire
contents merged?



[flexcoders] RSL vs External SWC

2008-04-02 Thread Bjorn Schultheiss
Hey,

It's suggested to only use RSL's where multiple applications will use
the same RSL.

Does an application with modules qualify for RSL's?

With module applications are RSL's preferred or library SWC's with
external links?





[flexcoders] How-to use Runtime CSS with a compiled theme swc

2008-04-02 Thread Bjorn Schultheiss
Are there any instruction on how to load css from a theme swc at runtime?



[flexcoders] actionScriptProperties

2008-04-02 Thread Bjorn Schultheiss
I'm trying to change the value for 
compiler outputFolderLocation= within the .actionScriptProperties
file.

How can I use a variable created in a seperate properties file for
this value?



[flexcoders] Re: actionScriptProperties

2008-04-02 Thread Bjorn Schultheiss
basically something like this 
compiler outputFolderLocation=${CUSTOM_VAR}/libs

How can i define $CUSTOM_VAR?



--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 I'm trying to change the value for 
 compiler outputFolderLocation= within the .actionScriptProperties
 file.
 
 How can I use a variable created in a seperate properties file for
 this value?





Re: [flexcoders] Re: Embedded fonts in DataGrid

2008-04-01 Thread Bjorn Schultheiss

Thanks Alex.. I'll get back to you if i need any more help..


On 01/04/2008, at 5:30 PM, Alex Harui wrote:


DataGridItemRenderer




[flexcoders] Re: Flex Beta 3 to Flex 3 Migration Problems

2008-04-01 Thread Bjorn Schultheiss
My developers are also complaining that their 'and my' applications 
have broken since Beta 3 to the Final release.

This has hit me unexpectedly as I did not test.

On top of that I have deadlines to meet this week.


Is there a doc i can refer to get a complete list of changes..

What's the best way to roll back to beta 3, at least so i can get
these next presentations out the door.





--- In flexcoders@yahoogroups.com, a3leggeddog_ca [EMAIL PROTECTED] wrote:

 This application is somewhat unusual in that we dynamically create
components in 
 accordance with a user defined XML file. We switched from BETA 3
Milestone 4 to the new 
 released GA version of Flex. The anomolies that we are seeing are in
multiple areas. The 
 most evident are in the initial creation of widgets. We use an
Accordion component and 
 programatically introduce child panels with textboxes, comboboxes,
etc. The comboboxes 
 are tied to ArrayCollections dynamically derived from web service
calls. Everything worked 
 fine in BETA but when we switched, all hell broke loose.
 
 1) The Headers for the 2nd Accordion panel (there are two total) is
now off the screen
 2) There now appears a vertical scroll bar, where there was none in
the BETA version
 3) When attempting to select the 2nd panel, via the header, it does
not open the panel the 
 first time. Disappears from view and we have to scroll down to it
and click the header 
 again, at which time it now selects the 2nd panel appopriately.
 4) There are items in the comboboxes, but when I click tje button to
expose the dropdown 
 the program starts behaving erraticly. It will select another item,
but the response 
 becomes extremely slow and eventually memory usage goes way up, the
fan comes on and 
 the screen will eventually lock up
 5) On the comboboxes which I have a typeahead programmed (after 3
characters the 
 component automatically calls a web service to provide content via a
database call). The 
 content comes back, but the behavior is different than it was during
BETA. It should 
 display a dropdown list allowing the user to choose the corect
content. It now selects the 
 first item in the list and does not display the dropdown.
 
 The behavior that I am seeing is different across the board, from
BETA to the new release 
 version. It often ends up in some race condition where it eats up
memory and eventually 
 stops responding and needs to be force quit.





[flexcoders] Embedded fonts in DataGrid

2008-03-31 Thread Bjorn Schultheiss
Hey my embedded fonts are not appearing in my datagrid.

They work everywhere else except the dataGrid.

Any tips you guys have got to help me get this to work?



btw. My datagrid is in a module, loaded by other modules.
All modules are loading the fonts fine, except within the datagrid.
And I'm not using Runtime CSS.



  1   2   3   4   5   >