Re: [flexcoders] Re: Lightweight framework

2009-04-19 Thread dnk


On 18-Apr-09, at 10:07 PM, zuurl8 wrote:

Flex is a lightweight framework. Do you need more then what Flex  
provides in interface, events, and modules?



Well I think that I am talking about things more like code structure,  
methods of doing things, etc. There are obviously benefits from these  
other frameworks, otherwise people would not have written them.


I do understand where you are coming from, but in my case, I am  
looking for something a little more than the Flex framework itself.


d




Re: [flexcoders] Re: Lightweight framework

2009-04-19 Thread Jeffry Houser


Flex is a UI framework; I'd hardly consider it the answer to every one 
of your programming needs.  I suspect that the original poster was 
looking for MVC alternatives. 

PureMVC ( http://puremvc.org/ ) and Mate ( http://mate.asfusion.com/ ) 
seem to be the most popular alternatives in terms of MVC frameworks for 
Flex. 

EasyMVC ( http://projects.simb.net/easyMVC ) is another one I've heard 
of. 


dnk wrote:




On 18-Apr-09, at 10:07 PM, zuurl8 wrote:

Flex is a lightweight framework. Do you need more then what Flex 
provides in interface, events, and modules?



Well I think that I am talking about things more like code structure, 
methods of doing things, etc. There are obviously benefits from these 
other frameworks, otherwise people would not have written them.


I do understand where you are coming from, but in my case, I am 
looking for something a little more than the Flex framework itself.


d







--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Re: Need Suggestions for database application.

2009-04-19 Thread Amy
--- In flexcoders@yahoogroups.com, riacoding riacod...@... wrote:

 
 Hi Raja,
 
 I have been searching around for a while on different setups for flex and
 have recently been using the following: A Flex UI with symfony framework on
 php5.2.8 on MySQL database. Although I have only been trying out the symfony
 framework for a while it appears very powerful and would meet your criteria
 of using multiple database vendors. There are also some great tutorials on
 their site www.symfony-project.org

I saw this post on InsideRIA that might help as well 
http://www.insideria.com/2009/04/simple-server-backends-for-fle.html



[flexcoders] custom flex preloader - animation bugs

2009-04-19 Thread endrone endrone
Hello,

I've made a custom flex preloader in Flash and then exported to a swc.
In the swf there's a percentage textfield, which is running fine.
But I've also a timeline animation which is just running in the background.
That animation doesn't run smooth at all, it bugs and doesn't make 1 simple
cycle at all.

Does anybody know what i'm doing wrong?

Kind regards
Vic


Re: [flexcoders] Re: Lightweight framework

2009-04-19 Thread Aaron Hardy
I'd consider those still being on the heavy side.  One we use is called 
Nimbus and can be found here:

http://code.google.com/p/nimbus-as3/

Don't use the available swc since it hasn't been updated in a while.  
Nimbus is similar to Cairngorm but lighter and cuts out a lot of the 
plumbing.  It also adds undo/redo history and handling of complex 
macro commands.  For example, a parallel command runs a bunch of 
commands in parallel and a sequence command runs a bunch of commands in 
sequence.  You can also have a parallel command inside of a sequence 
command inside of a sequence command, for example.  The ASDoc inside the 
code is pretty thorough but there isn't additional documentation yet 
since the codebase has just reached a fairly stable state.  I'm not 
saying it's for everyone, but you might want to give it a shot.

Aaron

Jeffry Houser wrote:



  Flex is a UI framework; I'd hardly consider it the answer to every 
 one of your programming needs.  I suspect that the original poster was 
 looking for MVC alternatives. 

  PureMVC ( http://puremvc.org/ ) and Mate ( http://mate.asfusion.com/ 
 ) seem to be the most popular alternatives in terms of MVC frameworks 
 for Flex. 

  EasyMVC ( http://projects.simb.net/easyMVC ) is another one I've 
 heard of. 

 dnk wrote:


 On 18-Apr-09, at 10:07 PM, zuurl8 wrote:

 Flex is a lightweight framework. Do you need more then what Flex 
 provides in interface, events, and modules?


 Well I think that I am talking about things more like code structure, 
 methods of doing things, etc. There are obviously benefits from these 
 other frameworks, otherwise people would not have written them.

 I do understand where you are coming from, but in my case, I am 
 looking for something a little more than the Flex framework itself.

 d



 -- 
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: http://tinyurl.com/684b5h
 http://www.twitter.com/reboog711  | Phone: 203-379-0773
 --
 Easy to use Interface Components for Flex Developers
 http://www.flextras.com?c=104
 --
 http://www.theflexshow.com
 http://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust
 



Re: [flexcoders] Re: Lightweight framework

2009-04-19 Thread Dnk


Which swc to use then ? If one was to try it out.


On 19-Apr-09, at 9:11 AM, Aaron Hardy aaronius...@gmail.com wrote:




I'd consider those still being on the heavy side. One we use is called
Nimbus and can be found here:

http://code.google.com/p/nimbus-as3/

Don't use the available swc since it hasn't been updated in a while.
Nimbus is similar to Cairngorm but lighter and cuts out a lot of the
plumbing. It also adds undo/redo history and handling of complex
macro commands. For example, a parallel command runs a bunch of
commands in parallel and a sequence command runs a bunch of commands  
in

sequence. You can also have a parallel command inside of a sequence
command inside of a sequence command, for example. The ASDoc inside  
the

code is pretty thorough but there isn't additional documentation yet
since the codebase has just reached a fairly stable state. I'm not
saying it's for everyone, but you might want to give it a shot.

Aaron

Jeffry Houser wrote:



 Flex is a UI framework; I'd hardly consider it the answer to every
 one of your programming needs. I suspect that the original poster  
was

 looking for MVC alternatives.

 PureMVC ( http://puremvc.org/ ) and Mate ( http://mate.asfusion.com/
 ) seem to be the most popular alternatives in terms of MVC  
frameworks

 for Flex.

 EasyMVC ( http://projects.simb.net/easyMVC ) is another one I've
 heard of.

 dnk wrote:


 On 18-Apr-09, at 10:07 PM, zuurl8 wrote:

 Flex is a lightweight framework. Do you need more then what Flex
 provides in interface, events, and modules?


 Well I think that I am talking about things more like code  
structure,
 methods of doing things, etc. There are obviously benefits from  
these

 other frameworks, otherwise people would not have written them.

 I do understand where you are coming from, but in my case, I am
 looking for something a little more than the Flex framework itself.

 d



 --
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: http://tinyurl.com/684b5h
 http://www.twitter.com/reboog711 | Phone: 203-379-0773
 --
 Easy to use Interface Components for Flex Developers
 http://www.flextras.com?c=104
 --
 http://www.theflexshow.com
 http://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust



div#ygrp-mlmsg #ygrp-msg p a span.yshortcuts { font-family: Verdana;  
font-size: 10px; font-weight: normal; } #ygrp-msg p a { font-family:  
Verdana; font-size: 10px; } #ygrp-mlmsg a { color: #1E66AE; }  
div.attach-table div div a { text-decoration: none; }  div.attach- 
table { width: 400px; } -- tml


[flexcoders] chart axis renderers inside data area

2009-04-19 Thread thomas parquier
Hello,

Has anyone any suggestion about how to get axis rendered inside data area,
as an overlay ? with someway no outside gutters...

thomas
-- 
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


[flexcoders] Re: Lightweight framework

2009-04-19 Thread zuurl8
I would not assume that just because it exists that it is necessary.  
Preference is everything and the term overkill exists for a reason.

--- In flexcoders@yahoogroups.com, dnk d.k.emailli...@... wrote:

 
 On 18-Apr-09, at 10:07 PM, zuurl8 wrote:
 
  Flex is a lightweight framework. Do you need more then what Flex  
  provides in interface, events, and modules?
 
 
 Well I think that I am talking about things more like code structure,  
 methods of doing things, etc. There are obviously benefits from these  
 other frameworks, otherwise people would not have written them.
 
 I do understand where you are coming from, but in my case, I am  
 looking for something a little more than the Flex framework itself.
 
 d





[flexcoders] flex2gateway and proxies

2009-04-19 Thread Seona Bellamy
Hi all,

Hit a small bump in my learning curve. Actually, it's quite a big bump. Work
has just made some substantial changes to the proxy server, and suddenly
I've lost my flex2gateway. I get a 500 error when I browse to it. I did a
bunch of hunting around on Friday and found some articles and forum threads,
but nothing I tried seemed to work.

Can someone please give me a step-by-step on what I need to do to make the
flex2gateway work from behind a proxy? I know it's got something to do with
the settings XML files, but none of the articles and threads I read seemed
to agree on which ones, and some of the ones mentioned I don't even have!

Cheers,

Seona.


[flexcoders] loading swf's dynamically

2009-04-19 Thread Jason B

I'm using the below to load swf files dynamically, but the user of course must 
download the files fast enough for it to go from the first swf to the next 
without chopping.
Is there a way to preload the items into the application without playing them 
or embeding them ?

my goal is to preload the swf's while the app loads or on initial load then 
play them when ready using an event, any suggestions would be great 

mx:SWFLoader id=swf source=first.swf height=400 width=400/




Re: [flexcoders] Re: Lightweight framework

2009-04-19 Thread Aaron Hardy
You can download the source a build a new swc.  By the way, I got your 
email to my personal address.  Unfortunately there currently aren't any 
public project samples using Nimbus.  They'll come as time and priority 
permit.  Good luck!

Aaron

Dnk wrote:



 Which swc to use then ? If one was to try it out. 


 On 19-Apr-09, at 9:11 AM, Aaron Hardy aaronius...@gmail.com 
 mailto:aaronius...@gmail.com wrote:

 I'd consider those still being on the heavy side. One we use is called
 Nimbus and can be found here:

 http://code.google.com/ http://google.com/p/nimbus-as3/

 Don't use the available swc since it hasn't been updated in a while.
 Nimbus is similar to Cairngorm but lighter and cuts out a lot of the
 plumbing. It also adds undo/redo history and handling of complex
 macro commands. For example, a parallel command runs a bunch of
 commands in parallel and a sequence command runs a bunch of commands in
 sequence. You can also have a parallel command inside of a sequence
 command inside of a sequence command, for example. The ASDoc inside the
 code is pretty thorough but there isn't additional documentation yet
 since the codebase has just reached a fairly stable state. I'm not
 saying it's for everyone, but you might want to give it a shot.

 Aaron

 Jeffry Houser wrote:
 
 
 
  Flex is a UI framework; I'd hardly consider it the answer to every
  one of your programming needs. I suspect that the original poster was
  looking for MVC alternatives.
 
  PureMVC ( http://puremvc.org/ ) and Mate ( http://mate.asfusion.com/
  ) seem to be the most popular alternatives in terms of MVC frameworks
  for Flex.
 
  EasyMVC ( http://projects.simb.net/ http://simb.net/easyMVC ) is 
 another one I've
  heard of.
 
  dnk wrote:
 
 
  On 18-Apr-09, at 10:07 PM, zuurl8 wrote:
 
  Flex is a lightweight framework. Do you need more then what Flex
  provides in interface, events, and modules?
 
 
  Well I think that I am talking about things more like code structure,
  methods of doing things, etc. There are obviously benefits from these
  other frameworks, otherwise people would not have written them.
 
  I do understand where you are coming from, but in my case, I am
  looking for something a little more than the Flex framework itself.
 
  d
 
 
 
  --
  Jeffry Houser, Technical Entrepreneur
  Adobe Community Expert: http://tinyurl.com/684b5h
  http://www.twitter.com/reboog711 | Phone: 203-379-0773
  --
  Easy to use Interface Components for Flex Developers
  http://www.flextras.com?c=104
  --
  http://www.theflexshow.com
  http://www.jeffryhouser.com
  --
  Part of the DotComIt Brain Trust
 

 div#ygrp-mlmsg #ygrp-msg p a span.yshortcuts { font-family: Verdana; 
 font-size: 10px; font-weight: normal; } #ygrp-msg p a { font-family: 
 Verdana; font-size: 10px; } #ygrp-mlmsg a { color: #1E66AE; } 
 div.attach-table div div a { text-decoration: none; } 
 div.attach-table { width: 400px; } -- tml
 



[flexcoders] Re: DateFormatter and dynamic resource management errror

2009-04-19 Thread Ben Reynolds
Maybe all this will help someone else here looking for a solution to
this problem (and maybe some kindly bots will run across it at some
point too). In short, you have to compile your own SWCs for each of the
languages, and not just the resource library SWFs every other
instruction set tells you about. This means finding out on your lonesome
all the translations for days of the week and months of the year, and
anything else pertinent like date and currency format defaults. The
steps are:

1) use the copylocale to copy the en_US files to your new language
directories.
2) edit the .properties files located in your equivalent of
C:\Program Files\Adobe\Flex Builder
3\sdks\3.2.0\frameworks\projects\framework\bundles\es_ES\src. The
dayNames and monthNames key/value pairs are located in
SharedResources.properties
3) recompile the framework_rb.swc file. From within C:\Program
Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\ I used the following
command (taken from the build.xml script, which I'm still struggling to
get working - seriously damaging my cred).

compc
   -locale=es_ES
   -output=locale/{locale}/framework_rb.swc
   -include-resource-bundles SharedResources collections containers
controls core effects formatters logging skins states styles utils
validators
  
-source-path=projects\framework\bundles\{locale}\src,projects\framewo\
rk\src
   -external-library-path=libs\player\9\playerglobal.swc

4) from your project's root directory, re-run your language compiler for
each of the languages. Again using Spanish as an example, use:

mxmlc
   -locale=es_ES
   -source-path=locale/{locale}
  
-include-resource-bundles=LanguageResource,SharedResources,collections,c\
ontainers,controls,core,effects,formatters,logging,messaging,rpc,skins,s\
tyles,utils
   -output=src/Resources_es_ES.swf

Formatters will now do their internationally spelled magic. Hopefully
this will all become useless very soon, with Adobe just handing over all
these languages by default.

A man can dream. A man can dream.

- MrB

--- In flexcoders@yahoogroups.com, Ben Reynolds mrb...@... wrote:

 Okay, I have what I suppose is a solution to this, but I'm still short
a coupla answers.

 1) I ran the resource-bundle-list option again on my application

 mxmlc -locale= -resource-bundle-list=myresources.txt
-include-libraries+=..\libs\CairngormWithExtensions.swc app.mxml

 which came up with:

 CairngormMessages LanguageResource SharedResources collections
containers controls core effects formatters logging messaging rpc skins
styles utils

 The difference is the SharedResources and formatters, which wasn't in
the original.

 2) I recompiled the resource bundles (skipping CairngormMessages,
which I'm not using) over the 15 languages. ie.

 mxmlc -locale=da -source-path=locale/{locale}
-include-resource-bundles=LanguageResource,SharedResources,collections,c\
ontainers,controls,core,effects,logging,messaging,rpc,skins,styles,utils
-output=src/Resources_da.swf

 So now it doesn't fall over on MMM or .


 However, I have but face. Also, I'm about to make some assumptions...
The copylocale that I used earlier to create the resources seems to do
exactly that: copies. It doesn't actually create a proper locale for all
those places. So January in en_US is still January in it_IT when,
according to Babelfish, it should be Gennaio etc. etc.

 What can I do about this?
 Where can I get proper versions of these locales?
 Is there a way to get the names from the operating system and apply
them to DateBase or is this already happening and I just can't see it
because I'm running an English machine?


 Danke for any light you can shed on this.

 --- In flexcoders@yahoogroups.com, Ben Reynolds mrben1@ wrote:
 
  Hey guys,
 
 I have a Flex 3 app that employs dynamic resource management -
pretty
  much a cut-n-paste job from the Adobe sample - with the ComboBox to
  switch languages. I did all the copylocale rigmarole and it's all
  working perfectly with the languages I've set up.
 
 However, when I try to call a DateFormatter with a full month
(MMM or
  ) in the formatString it crashes and burns with the following
error:
 
  TypeError: Error #1009: Cannot access a property or method of a null
  object reference.
   at
 
mx.formatters::DateBase$/http://www.adobe.com/2006/flex/mx/internal::ext\
\
  ractTokenDate()
 
  This is probably referring to the DateBase.monthNamesLong array;
  formatting is not an issue with M or MM.  Am I perhaps missing
something
  in the creation of my resource files? This is a sample of the
command I
  used:
 
  mxmlc -locale=es_ES -source-path=locale/{locale}
 
-include-resource-bundles=LanguageResource,collections,containers,contro\
\
  ls,core,effects,logging,messaging,rpc,skins,styles,utils
  -output=src/Resources_es_ES.swf
 
  But it even dies when the locale is set to en_US.
 
  Help? :)
 




Re: [flexcoders] Re: Extending Flex Webservice class

2009-04-19 Thread Josh McDonald
I'd say it's not possible without either using a custom compiler, or
monkey-patching Operation.as, which would be a pretty bad idea IMO.

You could subclass WebService, but then the MXML syntax would be different
as you wouldn't have the compile-time voodoo that is in MXMLC to support the
original MXML syntax for services (a leftover from Flex 1.5 IIRC).

-Josh

2009/4/16 variableop variabl...@yahoo.com



 Josh,

 I can add the header using the web service's addHeader() method
 programmatically and everything seems to work great when i call the back-end
 webservice. Even though it is just a couple lines of code, I would like to
 overload the send() method on Flex's Webservice class so that it creates the
 header (using parameters initialized at the Webservice declaration) and then
 adds the header to the Webservice before the send. Basically,

 mx:WebService id=TempConvert wsdl=
 http://localhost/Celsius2Fahrenheit/Celsius2Fahrenheit.asmx?WSDL;
 showBusyCursor=true username={parentApplication.username}
 password={parentApplication.password}
 mx:operation name=FahrenheitToCelsius result=handleWS()
 fault=Alert.show('there was an error processing request.')
 mx:request
 Fahrenheit{this.TempInput.text}/Fahrenheit
 /mx:request
 /mx:operation
 /mx:WebService

 .

 TempConvert.send() // header is created and added in this call

 This is actually sounding pretty crazy right now because I would need to
 make a call to a class method that does the header creation. Any ideas if
 this is possible?

 --Variable


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh
 McDonald j...@... wrote:
 
  There's currently compile-time voodoo that exists to support the MXML
  declaration of web services, so you can't really do this sort of thing
  declaratively.
 
  Programmatically it's pretty easy to add headers to web service calls
  though, what exactly are you trying to do?
 
  -Josh
 
  2009/4/15 variableop variabl...@...
 
  
  
   All,
   I would like to extend the Flex Webservice class to add a header to the
   call if custom properties have been set in the webservice declaration
 (or
   programmatic instantiation through the constructor). 1) Does anyone
 have
   experience extending flex's webservice class? 2) If not, can someone
 sketch
   out a path to extending flex's built-in types in such a way? Any help
 is
   appreciated.
  
   Regards,
  
   Variable
  
  
  
 
 
 
  --
  Therefore, send not to know For whom the bell tolls. It tolls for thee.
 
  Josh 'G-Funk' McDonald
  - j...@...
  - http://twitter.com/sophistifunk
  - http://flex.joshmcdonald.info/
 

  




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

Josh 'G-Funk' McDonald
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/


[flexcoders] Encrypt Flash SEO for Flash

2009-04-19 Thread Ju Aedis
Hi
Now Google  Yahoo search engines can index all URLs, dynamic or otherwise
in flash.
Other people decompile SWF movie and steal the ActionScript Code, so I want
to encrypt my SWF.
Is the SWF after encrypted still be indexed by search engines?

Help? Thanks! :)

-- 
Live Technology in A.J.
─━╋╋━─
.air?air Jordan?air = atmosphere?no,no,no!air = ria = RIA = Rich Internet
Applications!