RE: [flexcoders] Re: Module Interface Problems

2007-04-03 Thread - FI / Jonas Eliasson +
That sounds like a still existing Flash issue if you try to load a swf that
has a shared library attached to it. Then you will get a loaded callback
before it's actually loaded. So in Flash you can check on the loaded event
if current frame == 0. In that case you can't access any properties and no
code will be executed yet. But you can still write to the object. In our
scenario we have attached a callback event method. So when the swf is really
loaded it will check if the callback exist and then execute it. Which will
tell the loader that it's ready to be initiated. Something similar should be
easy to implement on the module but not with a check for a frame number :-)
. Should be a better solution for this. I don't want to go back to old Flash
hacks hehe.  

 

//as2 example 

private function onLibraryLoaded(libraryClip:MovieClip, cb:CallBack):Void {

var me:SharedLibraryLoader = getInstance(); 

  if(libraryClip._currentframe == 0){

libraryClip.onComplete = new CallBack(me, me.onLibraryInitiated,
null, cb);

}else

  onLibraryInitiated(libraryClip, cb);

}

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Ritchie
Sent: den 3 april 2007 11:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module Interface Problems

 

From my experience there is a definite timing issue when loading
modules. The ModuleLoader ready event is fired before the Module is
fully loaded and you have the ability to talk to it through a common
interface (hence the error reporting access to a null value). 

I would term this one as a bug that is not yet documented by Adobe.
This could be because some modules take longer than expected to load,
I have no idea, just the observed problem with talking with modules
within the ready. I also attempted to use an interface to talk with
a module when the the progress event had reached 100%, but still no
luck. 

A possible workaround would be to fire some event from inside the
loaded module that tells the outside world that it is indeed loaded. 
The other option is to set a timer interval and keep checking if the
module is loaded (meaning not reporting NULL in the ready event
handler). Unless someone else as a viable solution? Adobe? Anyone?

- mr

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com,
kristian_wright2002
[EMAIL PROTECTED] wrote:

 *BUMP*
 
 Anyone have any ideas? I still haven't found a solution...
 
 K.


 



RE: [flexcoders] Modules at 360Flex conference

2007-03-08 Thread - FI / Jonas Eliasson +
Regarding the embedded font issue:

 

We have following solution which seems to work well. It's also a similar
solution we have used on Flash 7 and 8. 

 

 

Embed the fonts into a SWF (Flash 8 or 9) both work with Flex. Basically put
them in a clip on the stage in the Flash IDE. Lets call it fonts.swf. 

 

Then you create a CSS with following tags

 

@font-face {

src:url(../fonts/fonts.swf) ;

fontFamily: DIN Neuzeit Grotesk Std Bold Cn ;

}

 

.MainHeading {

  fontFamily: DIN Neuzeit Grotesk Std Bold Cn ;

  fontSize: 22px ;

  color: #55852A ;

}

 

Now you use FlexBuilder and compile the CSS into a SWF. 

 

Then use the StyleManager to reference and load the generated css SWF 

 

Then you could do [UIComponent].styleName = .MainHeading ;

 

 

Hope that helps, I might be behind you guys but this has worked on a couple
of tests we have done. I guess the font.swf will still be loaded from each
module using it but it will be returned from the browser cache.  Not sure if
Adobe have some internal caching on these loaders. 

 

Cheers, 

 

Jonas 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: den 8 mars 2007 17:13
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Modules at 360Flex conference

 

RG,

 

1  2  3 are both linked.

 

200 kb for a shell plus another 600 kb for RSL's in the initial download is
too nasty.

 

What i need is modularization of the framework so that it can 'broken up', 

a cairngorm framework that supports a Model that is suited for module
development, 

and an alternative to databinding that doesn't break each time a module is
set to invisible or unloaded. 

 

Not being able to use embedded fonts is also painful.

 

This is not a module bashing email by the way.

This is just a perspective of the the pain i've been through.

 

 

 

Bjorn

 

 

 

 

On 09/03/2007, at 5:17 AM, Roger Gonzalez wrote:





 

What is the issue with smaller swf output file sizes?

If you use link-report and load-externs, you can optimize swf size for both
the modules and the main app without any issues.

Just out of curiosity, have you filed any bugs regarding the other issues
you've encountered? (Cross-SWF font access is a problem at the player level,
but the other stuff is all fixable.)

-rg

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Wednesday, March 07, 2007 7:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Modules at 360Flex conference



Shaun,

 

Smaller Swf output file sizes,

Module support within the mx framework,

Module support within Cairngorm,

Issues with Viewstacks and Binding,

Embedding Fonts,

 

I think there are a couple more as well.

 

 

Bjorn

 

 

On 08/03/2007, at 1:11 PM, shaun wrote:





Bjorn Schultheiss wrote:
 Hey Alex,
 
 After your experience with modules do you believe it was the correct 
 decision to include it in 2.01 as opposed to waiting for 3.0?
!  Over here we just refactored away from modules to the mon! olithic ria 
 because of outstanding issues..
 

What are the outstanding issues?

cheers,
- shaun

 



 

 

 

 



RE: [flexcoders] Re: Just curious, A big development team or individual developers

2007-03-01 Thread - FI / Jonas Eliasson +
Sorry didn't mean to slash Adobe or FlexBuilder. I was extremely frustrated
atm :-). We do really enjoy AS3 and the Flex API. It's pretty hard to find
information on how to use these features in a structured way. To me it seems
extremely limiting if you can't split your application up within a project
easily. Now we have spent weeks on getting up to speed with limited
information online. If I wasn't already using Eclipse, ANT, and Hamtasc for
AS2 development this process would have taken ages. 

 

Here is a few good links on the topic if others are interested in modular
applications. 

 

http://blogs.adobe.com/flexdoc/pdfs/modular.pdf  (Creating Modular
Applications) 

http://flexblog.faratasystems.com/?p=76 (Use of RSL's and modules)

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.ht
m?context=LiveDocs_Book_Parts
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.h
tm?context=LiveDocs_Book_Partsfile=modular_083_1.html
file=modular_083_1.html (Flex 2 developer guide)

http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.html
(by Roger Gonzalez)

 

 

Jonas 

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: den 27 februari 2007 13:38
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Just curious, A big development team or
individual developers

 

Modules were a point-release feature that were released earlier than the
corresponding IDE support so that we could get feedback from the community
about what people wanted.

 

If we had waited to get Module support into FlexBuilder, you wouldn't have
seen Modules until 3.0.

 

Would that have been preferable to you?

 

-rg

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of - FI / Jonas Eliasson +
Sent: Monday, February 26, 2007 8:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Just curious, A big development team or
individual developers

We are a team of 6 developers working on a flex project from two offices
using SVN. We have a modular setup where we use different RSL's and external
modules which are pulled in from a main application. This way we can work
independently. 

I have been developing Adobe (Macromedia) products for about 5 years and
this time I was hoping for a solid product. But right now it feels like I am
a paying beta tester... Flexbuilder is not easy to setup for a modular
application approach. Right now we are using the Flex SDK and ANT which
makes it easier to set up a large application with many external modules and
RSL's. Now we only use Flexbuiler for the text editor and step debugger.
$500 for a text editor, silly huh! Hopefully we will se good updates in the
near future. 

Jonas 

-Original Message-
From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
[mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com]
On
Behalf Of softwarecat
Sent: den 23 februari 2007 15:35
To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
Subject: [flexcoders] Re: Just curious, A big development team or individual
developers

For our project it is a TEAM of 2. I am entirely new to flex and AS3 
with more of a design/html background. I'm now knee (sometimes it 
feels neck deep) in the front end design while my partner is more 
code PHP background is providing the code and architectures. It 
seems to work.

We are sharing with CVS through flex builder, but it is tough to work 
on the main file (commit - update issues maybe someone has some 
advice on this area). It is working, but we are only 6 weeks in and 
development has definately been slowed by our learning curve, But 
with that said I'm head over heels in love with Flex and AS.

We plan to add an additional developer over the next two weeks (any 
ideas where to find a respectable one?)

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com ,
Robert Chyko [EMAIL PROTECTED] wrote:

 For the project I am on now, it is just me.
 
 For the project that is being designed it will be a team. We have 3
 inhouse Flex devs currently (myself and 2 others) and will either be
 hiring more or bringing in some consultants.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com 
 [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com ]
On Behalf Of boy_trike
 Sent: Friday, February 23, 2007 1:57 PM
 To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Just curious, A big development team or
 individual developers
 
 
 
 I wonder how many people are working on TEAM to develop their
 flex applications (and how 
 many are 1 or 2 men (whoops I mean PEOPLE) developers. Please
 discount the Graphic 
 artists, HTML coders. et

RE: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-27 Thread - FI / Jonas Eliasson +
We are a team of 6 developers working on a flex project from two offices
using SVN. We have a modular setup where we use different RSL's and external
modules which are pulled in from a main application. This way we can work
independently. 

I have been developing Adobe (Macromedia) products for about 5 years and
this time I was hoping for a solid product. But right now it feels like I am
a paying beta tester... Flexbuilder is not easy to setup for a modular
application approach. Right now we are using the Flex SDK and ANT which
makes it easier to set up a large application with many external modules and
RSL's. Now we only use Flexbuiler for the text editor and step debugger.
$500 for a text editor, silly huh! Hopefully we will se good updates in the
near future. 

Jonas 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of softwarecat
Sent: den 23 februari 2007 15:35
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Just curious, A big development team or individual
developers

For our project it is a TEAM of 2. I am entirely new to flex and AS3 
with more of a design/html background. I'm now knee (sometimes it 
feels neck deep) in the front end design while my partner is more 
code PHP background is providing the code and architectures. It 
seems to work.

We are sharing with CVS through flex builder, but it is tough to work 
on the main file (commit - update issues maybe someone has some 
advice on this area). It is working, but we are only 6 weeks in and 
development has definately been slowed by our learning curve, But 
with that said I'm head over heels in love with Flex and AS.

We plan to add an additional developer over the next two weeks (any 
ideas where to find a respectable one?)

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Robert Chyko [EMAIL PROTECTED] wrote:

 For the project I am on now, it is just me.
 
 For the project that is being designed it will be a team. We have 3
 inhouse Flex devs currently (myself and 2 others) and will either be
 hiring more or bringing in some consultants.
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ]
On Behalf Of boy_trike
 Sent: Friday, February 23, 2007 1:57 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Just curious, A big development team or
 individual developers
 
 
 
 I wonder how many people are working on TEAM to develop their
 flex applications (and how 
 many are 1 or 2 men (whoops I mean PEOPLE) developers. Please
 discount the Graphic 
 artists, HTML coders. et. al. If you have 3 or more people
 working on the same flex 
 application, please answer as a TEAM. 2 or 1, INDIVIDUAL.
 
 Thanks
 Bruce




 



[flexcoders] FlexBuilder vs Flex SDK for a modular approach with several swf's for one Flex application

2007-02-22 Thread - FI / Jonas Eliasson +
Hi, 

 

I started to use FlexBuilder as a plugin for Eclipse recently. I find that
FlexBuilder is really hard and not very intuitive to set up a customized
project with several applications/modules within one project. To me a Flex
project seems to be most functional when handling one output file only. And
then you link several projects together if you want to modularize the
application. This is really hard to manage over cvs/svn and several team
members located on different offices. Because of this I tend to go more
towards using the Flex 2 SDK to set up custom build (compile) scripts with
ANT and the command line compiler where I can exclude classes and also share
my compile settings with anyone who works on the same project. The only
thing that keeps me with FlexBuilder right now is that I can't find an
external editor plug-in for as3 and MXML. Also I am looking for an ui
interface for the SDK debugger as working with the command line and bat
files to debug is not that desirable, I would rather get the debug tread
back to a panel in eclipse. 

 

Have I missed some vital setup options for a FlexBuilder project? Happy if
people on the list could share info on how they manage large applications
with FlexBuilder.  And where to find good eclipse plug-ins for Flex SDK  

 

 

Thx, 

 

Jonas