Re: [flexcoders] Large Flex app architecture

2005-04-03 Thread Scott Barnes

Agreed:
I just did a write-up today on the very subject. 

http://www.mossyblog.com/archives/441.cfm

It's got me baffled as to how to fix this as I know for a fact at work
killing a browser and what not just won't be done on most cases for
long periods:

I mean if were to use a Kiosk style approach to allow folks in
board-rooms and what not to initiate actions, thats an environment
where browser refreshes will occur every now and then.

We also make use of large Smartboards (picture really big touch-screen
but works like a whiteboard) at work and well, they often sometimes
keep the one browser open a lot aswell - well could be the case
anyway.

Can we get some salvation from a Flash/FLEX Engineer please ;)

On Apr 3, 2005 1:00 PM, Jose Lora [EMAIL PROTECTED] wrote:
  
  
 
 We also have a quite large internal application (Campaign Management) and
 we're using a very similar approach with an event driven Form factory and a
 main ViewStack. 90% of the code is based on custom views. 
 
   
 
 We started with the Cairgorm framework, but we have to add some additional
 artifacts and extend their model to allow things like multiple commands
 listening to single events (believe me, we need this), generic data services
 and generic commands to handle multiple similar views. 
 
   
 
 Our factory has also the job of destroying views (and related models,
 command instances and helpers). We've been very careful trying to destroy
 every piece of non use memory to avoid issues, however, after some days of
 use (if the user doesn't reload the app) the application will stop
 responding and we'll have to kill the browser. That makes me think that
 there could be some issues with player garbage collection. 
 
   
  
  
  
 
 From: Scott Barnes [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, March 30, 2005 7:02 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Large Flex app architecture 
  
 
   
 
 I too am in the same boat and have thought / researched on this very
  subject. I'm attacking my FLEX archiecture much in the same way i
  would with a traditional web paged system. I've looked at Screen by
  Screen approach where typically you active a screen for a task.
  
  Example:
  
  TravelAuthorization Request Form (Wizard Format) = Screen1
  TravelAUthorization Admin Form = Screen 2
  TravelAuthorization Summary / Report = Screen 3 
  
  etc..
  
  Now each of these screens have their own sub-screen lifecycle (ie much
  like the FlexStore where checkout form replaces product pod and so
  on). Anything that significantly breaks away from a  parent Screen
  becomes a screen onto itself.
  
  Once I formulated a pattern for this and broke my approach into screen
  by screen, I am then going to use a destroy / create approach. I'm
  hoping that my theory holds that Flash Garbage collection will free up
  memory every time i destroy a screen, but this is a Intranet
  Application so bandwidth isn't my top priority here (while i should be
  mindful of it) - so I plan to use Run Time Shared Libraries but will
  quite happilly kill an asset and move it to a download every bite
  situation if need be.
  
  I will use view stacks up until a point, and then i'll have my own
  quasi view stack manager to attack the same problem.
  
  Again, I am not finding much information on how FLEX Garbage
  collection works and what key tricks i need to make sure are in place,
  so the above may not hold water and won't know until I have it fully
  tested and working but surely a destroy/create approach should work
  and if it doesn't by god MM you better make it happen soon or
  i'll...i'lll bah..i got nothing. hehe.
  
  I posted on my blog on how I am attacking this screen by screen
  approach, via this:
  
  http://www.mossyblog.com/archives/434.cfm
  
  Its a framework I am working on and its ripped off a few concepts from
  Mach-II and Apache Cocoon.
  
  
  On Wed, 30 Mar 2005 09:08:40 -0800 (PST), Valy Sivec
  [EMAIL PROTECTED] wrote:


   
   I'm designing a quite large application and plann to use viewstack
   container(s). Because each view will contain lots of panels and info I'm
   affraid that the browser might hit his limit in regards with the memory
   consumption and crash... seen couple of messages with the same problem
 and I
   would like to avoid it... 
   
   Actually I'm not even sure how the Flash Player garbage collector works
 or
   if there is any  I'm very new to this Flash/Flex world so sorry
 if
   the question is dumb... 
   
   Is it safe grouping the screens in multiple viewstacks and include them
 from
   the jsp pages? or should be enough having only one viewstack container
 for
   the whole application? Any suggestion? 
   
   Valy 
   

   

   Do you Yahoo!?
Make Yahoo! your home page 

Yahoo! Groups Sponsor 

ADVERTISEMENT



Yahoo! 

Re: [flexcoders] resizing textarea

2005-04-03 Thread Manish Jethani

On Apr 2, 2005 5:03 AM, Tom Fitzpatrick [EMAIL PROTECTED] wrote:

 I'm populating a textArea's text property in a custom component via
 actionscript. Is there any way to get it to resize to accommodate the
 amount of text it is receiving? I keep getting scrollbars no matter what I 
 try.

Another way I can think of is, keep increasing its size (both ways)
until there's no scrollbars.  Check for the hScroller and vScroller
internal properties to be undefined.

Manish


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Pre-Announcing A New Sydney-based Developers Group

2005-04-03 Thread Chris Velevitch

Attention all Sydney (Australia) based developers:

A new developers group is being formed for the Sydney area.

The Group would discuss all things related to developing Flash-based
applications. It would include, but not limited to, Flash, Flex,
Central, Breeze, Laszlo, FlashPaper, Captivate, Actionscript, Flash
Remoting, Flash Communications Server, Flash Lite, RIA's, Zinc.

The group will be called the Sydney Flash Developers Group or FlashDev
for short.

The meeting venue is currently being negotiated. If you're in the
Sydney area please email me off list indicating your interest and
location to gauge demand.

The venue will be either in the city or Burwood. The inaugural is
expected to be held next month.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Come Break This

2005-04-03 Thread Greg Fuller

Got no sound, just a thank you.

On Apr 2, 2005 9:22 PM, JesterXL [EMAIL PROTECTED] wrote:
 I'm trying to find bugs for the Flashcom; if your awake, come and break it. 
 Make sure you have speaker control; could be loud.
 
 http://dev.jessewarden.com/dnd/ 
 
 
 
 Yahoo! Groups Links
 
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Come Break This

2005-04-03 Thread JesterXL

I only tested for a couple of hours, thanks anyway!

- Original Message - 
From: Greg Fuller [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, April 03, 2005 11:59 AM
Subject: Re: [flexcoders] Come Break This



Got no sound, just a thank you.

On Apr 2, 2005 9:22 PM, JesterXL [EMAIL PROTECTED] wrote:
 I'm trying to find bugs for the Flashcom; if your awake, come and break 
 it.
 Make sure you have speaker control; could be loud.

 http://dev.jessewarden.com/dnd/


 
 Yahoo! Groups Links

 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/

 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Yahoo! Groups Links








 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Flex Events (UK South)

2005-04-03 Thread greenfishinwater


Simon,

I know of nothing outside of Edinburgh as Steve Webster has pointed out.

I live in Guildford, maybe we could create out own usergroup, for the
south, southeast etc.

Andrew

--- In flexcoders@yahoogroups.com, Simon Fifield [EMAIL PROTECTED] wrote:
 Hi Flexcoders,
 
 Does anyone know of any Flex events in the South of the UK -
particularly
 near Southampton?
 
 
 Kind Regards,
 
 Simon Fifield
 Mango Solutions





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Memory Leak?

2005-04-03 Thread Matt Chotin










Memory consumption is one of the big
work-items on the next version of the Player, beyond that I dont have
much info other than what Ive posted already.



Matt











From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 02, 2005
11:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Memory Leak?





I dunno whats going with GMAIL as I tried sending this earlier but
kept going to Matt only...

Heres a memory Leak test thing I did. 


I did a basic script which looks like this:

 mx:Script
 ![CDATA[

public var IsViewStack:Boolean = false;


import mx.containers.*;

import mx.controls.*;

import com.SynergyFLEX.viewpods.test.testpod1;

import com.SynergyFLEX.viewpods.test.testpod2;

import com.SynergyFLEX.viewpods.test.testpod3;

import de.richinternet.utils.Dumper;


function loadPod() {

if(IsViewStack) {


} else {

var aList = new Array();

aList.push(testpod1);

aList.push(testpod2);

aList.push(testpod3);

aList.push(Button);

aList.push(TabNavigator);

aList.push(Accordion);

aList.push(Label);

aList.push(TextInput);


var itm = Math.round(Math.random()*aList.length);

Dumper.info(itm);


var t = baseStack.createChild(aList[itm]);

baseStack.selectedChild = t;

}

}


function delPod(indx) {

baseStack.destroyChildAt(indx);

}

 ]]
 /mx:Script

 mx:HBox
width=100%

mx:Button label=LoadPod() click=loadPod()/

mx:Button label=Del Pod 1 click=delPod(1)/

mx:Button label=Del Pod 2 click=delPod(2)/

mx:Button label=Del Pod 3 click=delPod(3)/

mx:Button label=Del Pod 4 click=delPod(4)/
 /mx:HBox

 mx:HBox
width=100% height=100%

!-- Sector 1--

mx:Panel id=sector1 width=100%
height=100%

/mx:Panel


!-- Sector 2 --

mx:Panel id=sector2 width=100%
height=100%

/mx:Panel


!-- Sector 3 --

mx:Panel id=sector3 width=100%
height=100%

mx:LinkBar id=sectorLinks
dataProvider=baseStack/


mx:ViewStack id=baseStack width=100%
height=100%

mx:HBox label=Test/

/mx:ViewStack

/mx:Panel
 /mx:HBox

Both browsers continue to ask for more memory
every click of
createChild and Destroy. Furthermore when you
click on LinkBar items
(back and forth randomly) I noticed that it too
increases memory.

I then noticed if you refresh your browser memory
(thankfully) reverts
back to its original size.

After 15 mins the best result I got was:

Internet Explorer:
before: 51,000k (give or take)
after: 55,500k (give or take)
15mins: 55,400k (give or take)

FireFox was pretty much the same results.

Q. Am i destroying incorrectly? should i do
something else first? ie
what should i do.

As over a long period an application can easily
climb in memory usage
and the only counter-act for this would be to
change mxml files via
url when they go from screen to screen? it seems
cumbersome but that
appears base don the above to be a possible
solution?

-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com
(Coming Soon)












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] Re: Integrating with Python

2005-04-03 Thread Greg Fuller

There's an alpha version of amf-python that would let you use remote  
object at:

http://www.simonf.com/flap/

Never tried it.


On Wed, 02 Mar 2005 19:30:09 -0600, dunwerkin [EMAIL PROTECTED] wrote:

 Thanks Manish. Running it as an HTTPService or as a CGI would seem to
 be the easiest, and I'll give it a try. I had been thinking in terms
 of RemoteObject and hence my uncertainty on how to proceed, but
 HTTPService sure looks easier to implement from what I'm starting
 with.


 From: Manish Jethani [EMAIL PROTECTED]
 Subject: Re: Integrating with Python

 dunwerkin wrote:
  Can anyone point me towards an example integrating Flex with Python? I
  have existing Python classes, etc that I hope to reuse so that I can
  feed in a data structure coming from a Flex front end and get back a
  new data structure to send to Flex for visualization. I'm not sure if
  I need to dive into learning how Jython works, or if there is a
  simpler way I'm missing. If the Jython route is recommended, any
  links would be great.

 You could set up your Python modules as services:

 1. Web service on Tomcat?
 2. Simple CGI script that returns data in XML format. This can be
 accessed from Flex using HTTPService.

 You could also try wrapping your Python module into Java using Jython,
 and then access it using RemoteObject from Flex. I'd go for the service
 way (HTTPService to keep it simple).

 Flex can also send data to your Python module via the CGI script in XML
 format (using HTTP POST?) or as URL parameters (HTTP GET).

 Manish

 Yahoo! Groups Sponsor
 ADVERTISEMENT

 Yahoo! Groups Links

 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/

 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Flex 1.5 price

2005-04-03 Thread Manish Jethani

On Mar 31, 2005 10:30 PM, Darron J. Schall [EMAIL PROTECTED] wrote:

 * The internals are abstracted away.  Right now your Lazslo code
 publishes to .swf, but it's not tied to the Flash Player in any way -
 there are no MovieClip references, etc in your lazslo code.

There are no MovieClip references in your Flex code either.  It's all
UIObject.  I just grepped over my literally hundreds of MXML and
ActionScript source files and didn't find a single MovieClip
reference.

 The fact that Lazslo separates itself from the Flash Player is another
 benefit as well..  If something should ever happen, maybe legal issues
 or whatever, Lazslo can output to, say, Java applets or whatever, since
 the code is all abstracted from the VM and the compilation process
 handles the dirty work of putting your code into a format the VM can
 understand.

Ditto for Flex.

 1)  You don't write Flash code in Flex.
 2)  In theory, it's possible to output Flex (MXML/ActionScript) to a
different output format.

Manish


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Centering Titles in Panels

2005-04-03 Thread Manish Jethani

On Mar 31, 2005 11:06 PM, Brett Hitzel [EMAIL PROTECTED] wrote:

 We are trying to center the text that appears in the title sections of 
 Panels, to no avail. I
 have tried utilizing the 'titleStyleDeclaration' style property, but I am not 
 sure that I am
[snip]

Why, this works:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=*
  mx:Style
myTitleStyle {
  text-align: center;
  font-weight: bold;
}
  /mx:Style
  mx:Panel title=My Title width=400
titleStyleDeclaration=myTitleStyle
mx:TextInput /
  /mx:Panel
/mx:Application

Manish


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Flex 1.5 price

2005-04-03 Thread Manish Jethani

On Apr 1, 2005 7:57 AM, Tarik Ahmed [EMAIL PROTECTED] wrote:

 So to compensate for this, MM has been providing a lot of developer support
 for free in this forum - that's a huge cost when you have premium developer
 time spent doing a ton of emails.

MM engineers from different parts of the world working on the Flex
project are on this forum because it gives us a better understanding
of how the product is being used, the sorts of problems people are
facing, and so on, by interacting with real users rather than
customers.  It helps us think in terms of how to make the next
version better for the guy who writes MXML and ActionScript for a
living.  So, we're not free developer support, and participating in
this forum is not necessarily a part of our job.

Manish

PS:  We want Flex to kick ass.  More.


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Adding spec character in datagrid field

2005-04-03 Thread Manish Jethani

On Mar 31, 2005 4:03 PM, Wilfred LEUNG [EMAIL PROTECTED] wrote:

 I would like to add a char font:webdings char code:235 unicode:61675 in a 
 field in the datagrid, as a prefix for a date.

[snip]

 I tried but can use only the chr(ascii) where ascii is just not enough

chr() is deprecate in favour of String.fromCharCode() since Player 5.

 My questions:
 
 1, how to insert a unicode directly? Like unicode(61657)

textObject.text = String.fromCharCode(61657) + Dec 31, 2005;

 2, how about specify a font and code for one character and then specify 
 another font and string on one cell in the datagird.

Create two Label objects and place them adjacent to each other.  The
first Label object would contain the special character in Webdings
font.

 mx:Label text={String.fromCharCode(61657)} fontFamily=Webdings /

Or you could use a plain old htmlText:

  mx:Text
mx:htmlText
  ![CDATA[
  font face=webdings#61675;/fontDec 31, 2005
  ]]
/mx:htmlText
  /mx:Text

Manish


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Flex 1.5 price

2005-04-03 Thread Scott Barnes

 PS:  We want Flex to kick ass.  More.

Amen.


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Memory Leak?

2005-04-03 Thread Scott Barnes

hrmmm..

I'm guessing the player will be released at the end of this year? if
that being the case I'll just continue on as normal (knowing the
memory leaks are there) and await the player (that and inform our
support staff that a browser closure is recommended when not using
apps).

Thanks for the input though Matt ;)

Scott.

On Apr 4, 2005 3:39 AM, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 Memory consumption is one of the big work-items on the next version of the
 Player, beyond that I don't have much info other than what I've posted
 already. 
 
   
 
 Matt 
 
   
  
  
  
 
 From: Scott Barnes [mailto:[EMAIL PROTECTED] 
  Sent: Saturday, April 02, 2005 11:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Memory Leak? 
  
 
   
 
 I dunno whats going with GMAIL as I tried sending this earlier but
  kept going to Matt only...
  
  Heres a memory Leak test thing I did. 
  
  
  I did a basic script which looks like this:
  
mx:Script
![CDATA[
public var IsViewStack:Boolean = false;
  
import mx.containers.*;
import mx.controls.*;
import
 com.SynergyFLEX.viewpods.test.testpod1;
import
 com.SynergyFLEX.viewpods.test.testpod2;
import
 com.SynergyFLEX.viewpods.test.testpod3;
import de.richinternet.utils.Dumper;
  
function loadPod() {
if(IsViewStack) {
  
} else {
var aList = new Array();
aList.push(testpod1);
aList.push(testpod2);
aList.push(testpod3);
aList.push(Button);
aList.push(TabNavigator);
aList.push(Accordion);
aList.push(Label);
aList.push(TextInput);
  
var itm =
 Math.round(Math.random()*aList.length);
Dumper.info(itm);
  
var t = baseStack.createChild(aList[itm]);
baseStack.selectedChild = t;
}
}
  
function delPod(indx) {
baseStack.destroyChildAt(indx);
}
  
]]
/mx:Script
  
mx:HBox width=100%
mx:Button label=LoadPod() click=loadPod()/
mx:Button label=Del Pod 1 click=delPod(1)/
mx:Button label=Del Pod 2 click=delPod(2)/
mx:Button label=Del Pod 3 click=delPod(3)/
mx:Button label=Del Pod 4 click=delPod(4)/
/mx:HBox
  
mx:HBox width=100% height=100%
!-- Sector 1--
mx:Panel id=sector1 width=100% height=100%
/mx:Panel
  
!-- Sector 2 --
mx:Panel id=sector2 width=100% height=100%
/mx:Panel
  
!-- Sector 3--
mx:Panel id=sector3 width=100% height=100%
mx:LinkBar id=sectorLinks
 dataProvider=baseStack/
  
mx:ViewStack id=baseStack width=100%
 height=100%
mx:HBox label=Test/
/mx:ViewStack
/mx:Panel
/mx:HBox
  
  Both browsers continue to ask for more memory every click of
  createChild and Destroy. Furthermore when you click on LinkBar items
  (back and forth randomly) I noticed that it too increases memory.
  
  I then noticed if you refresh your browser memory (thankfully) reverts
  back to its original size.
  
  After 15 mins the best result I got was:
  
  Internet Explorer:
  before: 51,000k (give or take)
  after: 55,500k (give or take)
  15mins: 55,400k (give or take)
  
  FireFox was pretty much the same results.
  
  Q. Am i destroying incorrectly? should i do something else first? ie
  what should i do.
  
  As over a long period an application can easily climb in memory usage
  and the only counter-act for this would be to change mxml files via
  url when they go from screen to screen? it seems cumbersome but that
  appears base don the above to be a possible solution?
  
  -- 
  Regards,
  Scott Barnes
  http://www.mossyblog.com
  http://www.flexcoder.com (Coming Soon)
  
  
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* 

Re: [flexcoders] Re: Flex Events (UK South)

2005-04-03 Thread Aral Balkan






We are going to be having a session on Flex at our next meeting (London
MMUG) and I am thinking of possibly getting a Brighton RIA UserGroup
together. Would there be any interest in this?

All the best,
Aral

-- 
Aral Balkan


  Instructor, Ariaware Training
www.ariaware.com/training/courses/
  
  Director, London MMUG
 www.londonmmug.org
  



greenfishinwater wrote:

  
Simon,

I know of nothing outside of Edinburgh as Steve Webster has pointed out.

I live in Guildford, maybe we could create out own usergroup, for the
south, southeast etc.

Andrew










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.











Re: [flexcoders] Flex 1.5 price

2005-04-03 Thread Igor Costa



Agreed with JesterXL, go to the Monster.com and see some bites, really good.
But We can't really close our eyes to the price as mentioned bellow is
a price of lexus,but So, why do you go to by the car? simple no?

In my opinion Flex is really a good way to develop quikly applications but the prices is the great hide seek.
So, STOP all blesment about that, if you can't work and offer to your costumer a flex solution jump to Flash. other simple way.

But really as Lucian Beebe said ( we are offering packeges for
your solutions and your projects ), look for it and ask, that's simple

Don't be acomplishment for this thread. Let's talk about pure mxml development dummies.
On Apr 3, 2005 7:44 PM, Scott Barnes [EMAIL PROTECTED] wrote: PS:We want Flex to kick ass.More.Amen.--Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming Soon)Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- Igor Costawww.igorcosta.comwww.macromedia.com/go/team







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Memory Leak?

2005-04-03 Thread Igor Costa



Scott has a trick inside this problem set your player to the 0% of
memory size for record on the right-click of mouse and test again.

The numbers os bytes will redirect to the browser navigator temporary
directory and the computer will waste less time and less memory

worked with me when I had the problem.
On Apr 3, 2005 7:51 PM, Scott Barnes [EMAIL PROTECTED] wrote:hrmmm..I'm guessing the player will be released at the end of this year? ifthat being the case I'll just continue on as normal (knowing thememory leaks are there) and await the player (that and inform oursupport staff that a browser closure is recommended when not usingapps).Thanks for the input though Matt ;)Scott.On Apr 4, 2005 3:39 AM, Matt Chotin [EMAIL PROTECTED] wrote: Memory consumption is one of the big work-items on the next version of the Player, beyond that I don't have much info other than what I've posted already. Matt From: Scott Barnes [mailto:[EMAIL PROTECTED]]Sent: Saturday, April 02, 2005 11:52 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Memory Leak? I dunno whats going with GMAIL as I tried sending this earlier butkept going to Matt only...Heres a memory Leak test thing I did.I did a basic script which looks like this:mx:Script![CDATA[public
var IsViewStack:Boolean = false;import mx.containers.*;import mx.controls.*;import com.SynergyFLEX.viewpods.test.testpod1;import com.SynergyFLEX.viewpods.test.testpod2;import com.SynergyFLEX.viewpods.test.testpod3;import
de.richinternet.utils.Dumper;function
loadPod() {if(IsViewStack)
{}
else {var
aList = new Array();aList.push(testpod1);aList.push(testpod2);aList.push(testpod3);aList.push(Button);aList.push(TabNavigator);aList.push(Accordion);aList.push(Label);aList.push(TextInput);var
itm = Math.round(Math.random()*aList.length);Dumper.info(itm);var
t = baseStack.createChild(aList[itm]);baseStack.selectedChild
= t;}}function delPod(indx) {baseStack.destroyChildAt(indx);}]]/mx:Scriptmx:HBox width=100%mx:Button
label=LoadPod() click=loadPod()/mx:Button
label=Del Pod 1 click=delPod(1)/mx:Button
label=Del Pod 2 click=delPod(2)/mx:Button
label=Del Pod 3 click=delPod(3)/mx:Button
label=Del Pod 4 click=delPod(4)//mx:HBoxmx:HBox width=100% height=100%!-- Sector 1--mx:Panel
id=sector1 width=100% height=100%/mx:Panel!-- Sector 2 --mx:Panel
id=sector2 width=100% height=100%/mx:Panel!--
Sector 3--mx:Panel
id=sector3 width=100% height=100%mx:LinkBar
id=sectorLinks dataProvider=baseStack/mx:ViewStack
id=baseStack width=100% height=100%mx:HBox
label=Test//mx:ViewStack/mx:Panel/mx:HBoxBoth browsers continue to ask for more memory every click ofcreateChild and Destroy. Furthermore when you click on LinkBar items(back and forth randomly) I noticed that it too increases memory.I then noticed if you refresh your browser memory (thankfully) revertsback to its original size.After 15 mins the best result I got was:Internet Explorer:before: 51,000k (give or take)after: 55,500k (give or take)15mins: 55,400k (give or take)FireFox was pretty much the same results.Q. Am i destroying incorrectly? should i do something else first? iewhat should i do.As over a long period an application can easily climb in memory usageand the only counter-act for this would be to change mxml files viaurl when they go from screen to screen? it seems cumbersome but thatappears base don the above to be a possible solution?--Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming Soon)Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.--Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming Soon)Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- Igor Costawww.igorcosta.comwww.macromedia.com/go/team







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Flex 1.5 price

2005-04-03 Thread Scott Barnes

Actually, i mentioned this on the weekend to some soon-to-be FLEX
converts, the new price model will be cheaper for us lol..

As we bought FLEX pre-Price hike, @ $15k (AUD) (2CPU)

Now thats great, but if we have servers that are DUAL CPU (which is
common pract in most comps) we'll need a dev  product copies... thus
$15k USD x 2 . which is in the end more exp ..plus i don't think we
get Gold Support on the pre-price.

So there ya go, it was cheaper in the end for us to wait.. (thats of
course if we prefer to live on 1xCPU servers then well... 15k AUD was
cheaper )

On Apr 4, 2005 2:15 PM, Igor Costa [EMAIL PROTECTED] wrote:
  Agreed with JesterXL, go to the Monster.com and see some bites, really
 good.
  But We can't really close our eyes to the price as mentioned bellow is a
 price of lexus,but So, why do you go to by the car? simple no?
  
  In my opinion Flex is really a good way to develop quikly applications but
 the prices is the great hide seek.
  So, STOP all blesment about that, if you can't work and offer to your
 costumer a flex solution jump to Flash. other simple way.
  
  But really as  Lucian Beebe said ( we are offering packeges for your
 solutions and your projects ), look for it and ask, that's simple
  
  Don't be acomplishment for this thread. Let's talk about pure mxml
 development dummies.
  
 
 
 On Apr 3, 2005 7:44 PM, Scott Barnes [EMAIL PROTECTED] wrote:
  
  
   PS:  We want Flex to kick ass.  More.
  
  Amen.
  
  
  --
  Regards,
  Scott Barnes
  http://www.mossyblog.com
  http://www.flexcoder.com (Coming Soon)
  
  Yahoo! Groups Links
  
  
  
  
  
 
 
 
 -- 
 Igor Costa
 www.igorcosta.com
 www.macromedia.com/go/team 
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Memory Leak?

2005-04-03 Thread Scott Barnes

Sorry, I missed all that ? how do you tell the player to allocate memory?



On Apr 4, 2005 2:18 PM, Igor Costa [EMAIL PROTECTED] wrote:
  Scott has a trick inside this problem set your player to the 0% of memory
 size for record on the right-click of mouse and test again.
  
  The numbers os bytes will redirect to the browser navigator temporary
 directory and the computer will waste less time and less memory
  
  worked with me when I had the problem.
  
 
 
 On Apr 3, 2005 7:51 PM, Scott Barnes [EMAIL PROTECTED] wrote:
  
  
  hrmmm..
  
  I'm guessing the player will be released at the end of this year? if
  that being the case I'll just continue on as normal (knowing the
  memory leaks are there) and await the player (that and inform our
  support staff that a browser closure is recommended when not using
  apps).
  
  Thanks for the input though Matt ;)
  
  Scott.
  
  On Apr 4, 2005 3:39 AM, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
  
   Memory consumption is one of the big work-items on the next version of
 the
   Player, beyond that I don't have much info other than what I've posted
   already.
  
  
  
   Matt
  
  
  

  
  
   From: Scott Barnes [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 02, 2005 11:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Memory Leak?
  
  
  
  
   I dunno whats going with GMAIL as I tried sending this earlier but
kept going to Matt only...
  
Heres a memory Leak test thing I did.
  
  
I did a basic script which looks like this:
  
  mx:Script
  ![CDATA[
  public var IsViewStack:Boolean = false;
  
  import mx.containers.*;
  import mx.controls.*;
  import
   com.SynergyFLEX.viewpods.test.testpod1;
  import
   com.SynergyFLEX.viewpods.test.testpod2;
  import
   com.SynergyFLEX.viewpods.test.testpod3;
  import de.richinternet.utils.Dumper;
  
  function loadPod() {
  if(IsViewStack) {
  
  } else {
  var aList = new Array();
  aList.push(testpod1);
  aList.push(testpod2);
  aList.push(testpod3);
  aList.push(Button);
 
 aList.push(TabNavigator);
  aList.push(Accordion);
  aList.push(Label);
  aList.push(TextInput);
  
  var itm =
   Math.round(Math.random()*aList.length);
  Dumper.info(itm);
  
  var t =
 baseStack.createChild(aList[itm]);
  baseStack.selectedChild
 = t;
  }
  }
  
  function delPod(indx) {
  baseStack.destroyChildAt(indx);
  }
  
  ]]
  /mx:Script
  
  mx:HBox width=100%
  mx:Button label=LoadPod() click=loadPod()/
  mx:Button label=Del Pod 1 click=delPod(1)/
  mx:Button label=Del Pod 2 click=delPod(2)/
  mx:Button label=Del Pod 3 click=delPod(3)/
  mx:Button label=Del Pod 4 click=delPod(4)/
  /mx:HBox
  
  mx:HBox width=100% height=100%
  !-- Sector 1--
  mx:Panel id=sector1 width=100% height=100%
  /mx:Panel
  
  !-- Sector 2 --
  mx:Panel id=sector2 width=100% height=100%
  /mx:Panel
  
  !-- Sector 3--
  mx:Panel id=sector3 width=100% height=100%
  mx:LinkBar id=sectorLinks
   dataProvider=baseStack/
  
  mx:ViewStack id=baseStack
 width=100%
   height=100%
  mx:HBox label=Test/
  /mx:ViewStack
  /mx:Panel
  /mx:HBox
  
Both browsers continue to ask for more memory every click of
createChild and Destroy. Furthermore when you click on LinkBar items
(back and forth randomly) I noticed that it too increases memory.
  
I then noticed if you refresh your browser memory (thankfully) reverts
back to its original size.
  
After 15 mins the best result I got was:
  
Internet Explorer:
before: 51,000k (give or take)
after: 55,500k (give or take)
15mins: 55,400k (give or take)
  
FireFox was pretty much the same results.
  
Q. Am i destroying incorrectly? should i do something else first? ie
what should i do.
  
As over a long period an application can easily climb in memory usage
and the only counter-act for this would be to change mxml files 

Re: [flexcoders] Flash and Flex

2005-04-03 Thread Scott Barnes

Golden Rule I live by: What you can do in FLASH, you can do in FLEX.

The catch22, is that sometimes in flash you can setup a container.swf,
and load in an other.swf that makes use of variables items within
container.swf itself. That works cool, but I'm a bit sketchy on this
one, that if you import a Flash build SWF into a FLEX app via
loadMovie for example and inside this other.swf is say V2 Controls
(Flex look-a-likes) i'm unsure as to how the two will collide? ie FLEX
uses its own flavoured version of the v2 framework where as FLASH has
its own version and not sure if there will be two sets brought in.

But, for a test case i build a Modeler SWF in FLASH which basically
lets you drag  shapes on stage and connect nodes to these shames
(pretty much the same as MS Word Workflow Tool) .. it works fine in
FLEX but i dare not as yet try and use variables within that swf
inside flex? but in theory the two should be able to.

I guess be careful with the two frameworks? but you should be able to
live by the same rules/boundaries as if you where using two SWF files
to communicate with one another either via localConnection or via swf
within swif approach.


On Apr 4, 2005 3:43 PM, carmhuntress [EMAIL PROTECTED] wrote:
 
 
 Does anyone have suggestions on what is the most effective way to use
 flash with flex?  Are there any limitations between the actionscript I
 can use in flash compared to what I can use in Flex?  Is the goal just
 to use flash when complex animations are needed or is flex limited in
 such a way that flash is needed more often if you are doing heavy user
 interactions and animations?
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/