[flexcoders] auto complete component in flex 1.5

2008-10-02 Thread sanjit kumar
Hi all,

I want to implement auto complete feature in flex 1.5. We have auto complete
component in flex 2.0.
is there any way to use flex 2.0 component in flex 1.5. also if any one have
suggestion on how to implement this feature in flex 1.5. if any body have
similar component.

thanx


[flexcoders] swc compiled with flash IDE in as2 works in flex with as3?

2008-10-02 Thread slackware2142
Hi list, a swc compiled with flash IDE in as2 works in flex with as3?
If true, should I consider any issue/disadvantage?

TIA




[flexcoders] get the file path

2008-10-02 Thread dialogtmp
hello all,

When I use fileRef.name, I can get the file name.

If I want to know where the file located on the user computer, what API 

should I use?


thanks,
dialogtmp



Re: [flexcoders] flex application is not loading under HTTPS

2008-10-02 Thread venkateswarlu naidu
Hi Peter,

SWF itself is not loading, i am just seeing the regular flex app background 
color, pls give some clues about configuring the flex application for secure 
environment, also let me know if we have to configure some thing in 
services-config file. I am stuck at QA env...big trouble for me :(

Aaron,
 SSL certificate is installed, i think it is from verisign.

Thanks for your time,

 Thanks & Regards,
Venkat.



- Original Message 
From: Peter Farland <[EMAIL PROTECTED]>
To: "flexcoders@yahoogroups.com" ; "[EMAIL 
PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, 2 October, 2008 11:20:44 PM
Subject: RE: [flexcoders] flex application is not loading under HTTPS


Does the SWF load but no data is received, or does the SWF itself fail to load?

> -Original Message-
> From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On
> Behalf Of venkateswarlu naidu
> Sent: Thursday, October 02, 2008 9:30 PM
> To: [EMAIL PROTECTED] ups.com; flexcomponents@ yahoogroups. com
> Subject: [flexcoders] flex application is not loading under HTTPS
>
> Hi All,
>
> Today we have deployed our flex application in weblogic (firewall and
> secure enabled). When i try accessing the site (ex: https://), flex
> application is not loading in INTERNET EXPLORER where as it is loading
> in firefox. The same application is working fine under HTTP where as it
> is NOT working under HTTPS.
>
> Please let me know the all possible reasons for this, i need to fix
> this issue asap.
>
> Any help is highly appreciated.
>
>  Thanks in advance,
> Venkat.
>
>
>
>   Connect with friends all over the world. Get Yahoo! India
> Messenger at http://in.messenger .yahoo.com/ ?wm=n/
>
>  - - --
>
> --
> Flexcoders Mailing List
> FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt
> Alternative FAQ location:
> https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f-
> b4cf-1e62079f6847
> Search Archives: http://www.mail-
> archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups Links
>
>
>



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] Re: Matching n groups with a regex?

2008-10-02 Thread Josh McDonald
That will also match "*&%*&^objectA()*&)(*&908objectB,objectC" as well which
isn't what I'm trying to do.

Like I said in the first post, I also tried throwing out the non-matching
group altogether and simply trying to get ["objectA",".objectB",".objectC"]
and discarding the dots in the loop (not nice, but better than not working
at all), and it didn't work. So I don't think the problem is that it's
wrapped in a non-matching group.

On Fri, Oct 3, 2008 at 11:34 AM, mookie298347 <[EMAIL PROTECTED]> wrote:

> Hi Josh,
>
> Your match is skipping over objectB because it is being "consumed"
> (and not captured) by this part of your regular expression:
>
> (?:\.([a-zA-Z0-9_]+))+
>
> If you simply want to match all word characters between dots you can
> simply do:
>
>var str:String = 'objectA.objectB.objectC';
>var patt:RegExp = /\w+/g;
>var matches:Object = str.match(patt);
>trace(ObjectUtil.toString(matches));
>
> This captures all consecutive word character groups in the string.
>
> HTH
>
> Cheers,
> Rob
>
>
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > I'm trying to turn this "objectA.objectB.objectC" into ["objectA",
> > "objectB", "objectC"] using a regex, but all I seem to get using
> > String.match() is ["objectA", "objectC"]. Can anybody tell me what's
> wrong
> > with the following?
> >
> > const multiLevelReferencePattern : RegExp =
> > /([a-zA-Z0-9_]+)(?:\.([a-zA-Z0-9_]+))+/;
> >
> > I also tried to match into ["objectA", ".objectB", ".objectC"] by
> throwing
> > out the non-matching group and rolling the "\." into the last matching
> > group, but I still get the same result (only the last match comes
> through).
> >
> > For now I've switched to a simpler regex in order to RegExp.test() the
> > string and then using String.explode(), but I would like to do both
> at once
> > using String.match() if possible.
> >
> > Cheers,
> > -Josh
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
> thee."
> >
> > http://flex.joshmcdonald.info/
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


RE: [flexcoders] flex application is not loading under HTTPS

2008-10-02 Thread Peter Farland
Does the SWF load but no data is received, or does the SWF itself fail to load?

> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of venkateswarlu naidu
> Sent: Thursday, October 02, 2008 9:30 PM
> To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
> Subject: [flexcoders] flex application is not loading under HTTPS
>
> Hi All,
>
> Today we have deployed our flex application in weblogic (firewall and
> secure enabled). When i try accessing the site (ex: https://), flex
> application is not loading in INTERNET EXPLORER where as it is loading
> in firefox. The same application is working fine under HTTP where as it
> is NOT working under HTTPS.
>
> Please let me know the all possible reasons for this, i need to fix
> this issue asap.
>
> Any help is highly appreciated.
>
>  Thanks in advance,
> Venkat.
>
>
>
>   Connect with friends all over the world. Get Yahoo! India
> Messenger at http://in.messenger.yahoo.com/?wm=n/
>
> 
>
> --
> 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: http://www.mail-
> archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>


Re: [flexcoders] flex application is not loading under HTTPS

2008-10-02 Thread Aaron Miller
Do you have an SSL cert installed? I had problems with Internet Explorer
when there is no SSL cert installed on the server. Installing one fixed our
issues.

Best Regards,
~Aaron

On Thu, Oct 2, 2008 at 6:29 PM, venkateswarlu naidu <
[EMAIL PROTECTED]> wrote:

>   Hi All,
>
> Today we have deployed our flex application in weblogic (firewall and
> secure enabled). When i try accessing the site (ex: https://), flex
> application is not loading in INTERNET EXPLORER where as it is loading in
> firefox. The same application is working fine under HTTP where as it is NOT
> working under HTTPS.
>
> Please let me know the all possible reasons for this, i need to fix this
> issue asap.
>
> Any help is highly appreciated.
>
> Thanks in advance,
> Venkat.
>
> Connect with friends all over the world. Get Yahoo! India Messenger at
> http://in.messenger.yahoo.com/?wm=n/
>  
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com


[flexcoders] Re: Matching n groups with a regex?

2008-10-02 Thread mookie298347
Hi Josh,

Your match is skipping over objectB because it is being "consumed"
(and not captured) by this part of your regular expression:

(?:\.([a-zA-Z0-9_]+))+

If you simply want to match all word characters between dots you can
simply do:

var str:String = 'objectA.objectB.objectC';
var patt:RegExp = /\w+/g;
var matches:Object = str.match(patt);
trace(ObjectUtil.toString(matches));

This captures all consecutive word character groups in the string.
 
HTH

Cheers,
Rob


--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
> 
> I'm trying to turn this "objectA.objectB.objectC" into ["objectA",
> "objectB", "objectC"] using a regex, but all I seem to get using
> String.match() is ["objectA", "objectC"]. Can anybody tell me what's
wrong
> with the following?
> 
> const multiLevelReferencePattern : RegExp =
> /([a-zA-Z0-9_]+)(?:\.([a-zA-Z0-9_]+))+/;
> 
> I also tried to match into ["objectA", ".objectB", ".objectC"] by
throwing
> out the non-matching group and rolling the "\." into the last matching
> group, but I still get the same result (only the last match comes
through).
> 
> For now I've switched to a simpler regex in order to RegExp.test() the
> string and then using String.explode(), but I would like to do both
at once
> using String.match() if possible.
> 
> Cheers,
> -Josh
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> http://flex.joshmcdonald.info/
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




[flexcoders] flex application is not loading under HTTPS

2008-10-02 Thread venkateswarlu naidu
Hi All, 

Today we have deployed our flex application in weblogic (firewall and secure 
enabled). When i try accessing the site (ex: https://), flex application is 
not loading in INTERNET EXPLORER where as it is loading in firefox. The same 
application is working fine under HTTP where as it is NOT working under HTTPS.

Please let me know the all possible reasons for this, i need to fix this issue 
asap.

Any help is highly appreciated.

 Thanks in advance,
Venkat.



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/


Re: [flexcoders] Can you do multiple namespace manifests in a single .swc from within builder?

2008-10-02 Thread Josh McDonald
Thanks Doug! I'll have a crack at that and see if I can make it work. Having
two options to autocomplete doesn't bother me too much, because the other
devs will be using the .swc and not debugging my framework code at the same
time :)

-Josh

On Fri, Oct 3, 2008 at 10:35 AM, Doug McCune <[EMAIL PROTECTED]> wrote:

> Yeah, you can do it. I do that both with the additional compiler args
> of the project properties panel and with ANT. So I've got something
> like this as my additional compiler args:
>
> -locale en_US -namespace http://ns1.dougmccune.com/ /manifest1.xml
> -namespace http://ns2.dougmccune.com/ /manifest2.xml
> -include-namespaces http:/ns1.dougmccune.com/
> http://ns2.dougmccune.com/
>
> I'm trying to remember now what autocomplete will pick up, and I
> honestly can't really remember. I pretty much use ANT for most of my
> real swc builds, but then I also add the actual library project to the
> build path too. That means I have two entries for pretty much the same
> swc, the one built by ANT and the local project one. That works fairly
> well for me to let me easily debug stuff, and then keep using ANT for
> when I'm ready to roll out a production build.
>
> I think sometimes I might get both options, one for the "correct"
> namespace and then also the package structure way. I just try to
> always choose the proper namesapce one when I select my completion
> option. Eitehr way your code will compile, it'll just look nicer if
> you keep the clean namespaces the way you want them.
>
> Doug
>
> On Thu, Oct 2, 2008 at 4:11 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> > Hey guys,
> >
> > I've tried a few things (adding --namespace commands in "additional
> compiler
> > options", and adding another entry in .flexlibProperties), but I can't
> seem
> > to get this to work from Builder. It seems to break auto-complete;
> > somethings auto-complete to package names instead of namespaces, others
> > won't auto-complete at all, etc... I know you can do it when you're
> building
> > a .swc from Ant, but then it becomes difficult to navigate between
> > application and library code when you're debugging both at the same time.
> >
> > But, I would very much like to have a few separate namespaces in my
> library
> > project to separate gui components from application structure elements,
> and
> > command-chain elements, if I can figure out how to make it all work
> nicely!
> >
> > Any ideas? Anybody know the secret, if it can be done at all?
> >
> > Cheers,
> > -Josh
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for thee."
> >
> > http://flex.joshmcdonald.info/
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


Re: [flexcoders] Matching n groups with a regex?

2008-10-02 Thread Josh McDonald
That's what I'm doing now as a workaround, but I need to run the regex
anyway to see if the input matches the correct format. The perfectionist in
me wants to extract the matches at the same time, and I want to know what's
wrong with my regex, coz otherwise how will I learn? :D

-Josh

On Fri, Oct 3, 2008 at 10:36 AM, Scott Melby <[EMAIL PROTECTED]> wrote:

> Josh -
>
> Maybe I am mis-understanding what you want to do... but, the following code
>
>   var startStr:String ="objectA.objectB.objectC";
>var afterSplit:Array = startStr.split(".");
>
> results in
> afterSplit[0] == "objectA";
> afterSplit[1] == "objectB";
> afterSplit[2] == "objectC";
>
> Can you just split the String?
>
> hth
> Scott
>
>
>
> Josh McDonald wrote:
> > Hey guys,
> >
> > I'm trying to turn this "objectA.objectB.objectC" into ["objectA",
> > "objectB", "objectC"] using a regex, but all I seem to get using
> > String.match() is ["objectA", "objectC"]. Can anybody tell me what's
> wrong
> > with the following?
> >
> > const multiLevelReferencePattern : RegExp =
> > /([a-zA-Z0-9_]+)(?:\.([a-zA-Z0-9_]+))+/;
> >
> > I also tried to match into ["objectA", ".objectB", ".objectC"] by
> throwing
> > out the non-matching group and rolling the "\." into the last matching
> > group, but I still get the same result (only the last match comes
> through).
> >
> > For now I've switched to a simpler regex in order to RegExp.test() the
> > string and then using String.explode(), but I would like to do both at
> once
> > using String.match() if possible.
> >
> > Cheers,
> > -Josh
> >
> >
>
> --
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
>
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


[flexcoders] Chained data providers -- when to refresh and redraw?

2008-10-02 Thread kyleashipley
I have an architectural question concerning the use of sets of data
providers for a Tree control.

We have a master list of Users for our chat application, which we
might need to filter and sort in various ways (buddies only, blocked
only, etc).  For our buddy list, we were using an adapter-esque
solution to convert the list of users into a list of "buddy groups"
containing User objects underneath them.  We recently stumbled across
the HierarchicalCollectionView and GroupingCollection objects and
decided those might be better than the overhead of a custom adapter
class, but we're having some trouble getting everything to sync up
correctly.

We used the tutorial here to try to set up our collections correctly:
http://blog.tsclausing.com/post/20.  Essentially, we have a list of
Users that is shared throughout the application.  In our BuddyList
view, we have a ListCollectionView with list = masterUserList, with a
sort and filter applied as well.  We then have a GroupingCollection
sorting on the User's groupName field.  We then have a
HierarchicalCollectionView adapting the GroupingCollection for display
in a Tree control.

We see the data as expected, but we're having trouble figuring out
exactly how to keep everything in lock-step.  Sometimes properties of
the User object change completely asynchronously -- if a User signs
off, we update their online status and need to reapply the sort on our
ListCollectionView, but we don't have a specific request/response, so
we can't rely on a command or delegate or anything.  If we update the
model, it fires a COLLECTION_CHANGE event, but this doesn't seem to
fire every time in the bound ListCollectionView.  We anticipated this
event would fire in the bound object as well, allowing us to call
refresh and invalidateDisplayList as necessary.

Has anyone else used chained collections/views in this manner?  I
think in general we're trying to figure out exactly how to set up
refreshes and redraws that aren't directly tied to button/column
clicks (as in every other application we come across).

Thanks!



Re: [flexcoders] Matching n groups with a regex?

2008-10-02 Thread Scott Melby
Josh -

Maybe I am mis-understanding what you want to do... but, the following code

   var startStr:String ="objectA.objectB.objectC";
var afterSplit:Array = startStr.split(".");

results in
afterSplit[0] == "objectA";
afterSplit[1] == "objectB";
afterSplit[2] == "objectC";

Can you just split the String?

hth
Scott



Josh McDonald wrote:
> Hey guys,
>
> I'm trying to turn this "objectA.objectB.objectC" into ["objectA",
> "objectB", "objectC"] using a regex, but all I seem to get using
> String.match() is ["objectA", "objectC"]. Can anybody tell me what's wrong
> with the following?
>
> const multiLevelReferencePattern : RegExp =
> /([a-zA-Z0-9_]+)(?:\.([a-zA-Z0-9_]+))+/;
>
> I also tried to match into ["objectA", ".objectB", ".objectC"] by throwing
> out the non-matching group and rolling the "\." into the last matching
> group, but I still get the same result (only the last match comes through).
>
> For now I've switched to a simpler regex in order to RegExp.test() the
> string and then using String.explode(), but I would like to do both at once
> using String.match() if possible.
>
> Cheers,
> -Josh
>
>   

-- 
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com




Re: [flexcoders] Can you do multiple namespace manifests in a single .swc from within builder?

2008-10-02 Thread Doug McCune
Yeah, you can do it. I do that both with the additional compiler args
of the project properties panel and with ANT. So I've got something
like this as my additional compiler args:

-locale en_US -namespace http://ns1.dougmccune.com/ /manifest1.xml
-namespace http://ns2.dougmccune.com/ /manifest2.xml
-include-namespaces http:/ns1.dougmccune.com/
http://ns2.dougmccune.com/

I'm trying to remember now what autocomplete will pick up, and I
honestly can't really remember. I pretty much use ANT for most of my
real swc builds, but then I also add the actual library project to the
build path too. That means I have two entries for pretty much the same
swc, the one built by ANT and the local project one. That works fairly
well for me to let me easily debug stuff, and then keep using ANT for
when I'm ready to roll out a production build.

I think sometimes I might get both options, one for the "correct"
namespace and then also the package structure way. I just try to
always choose the proper namesapce one when I select my completion
option. Eitehr way your code will compile, it'll just look nicer if
you keep the clean namespaces the way you want them.

Doug

On Thu, Oct 2, 2008 at 4:11 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I've tried a few things (adding --namespace commands in "additional compiler
> options", and adding another entry in .flexlibProperties), but I can't seem
> to get this to work from Builder. It seems to break auto-complete;
> somethings auto-complete to package names instead of namespaces, others
> won't auto-complete at all, etc... I know you can do it when you're building
> a .swc from Ant, but then it becomes difficult to navigate between
> application and library code when you're debugging both at the same time.
>
> But, I would very much like to have a few separate namespaces in my library
> project to separate gui components from application structure elements, and
> command-chain elements, if I can figure out how to make it all work nicely!
>
> Any ideas? Anybody know the secret, if it can be done at all?
>
> Cheers,
> -Josh
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> http://flex.joshmcdonald.info/
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
> 


[flexcoders] Matching n groups with a regex?

2008-10-02 Thread Josh McDonald
Hey guys,

I'm trying to turn this "objectA.objectB.objectC" into ["objectA",
"objectB", "objectC"] using a regex, but all I seem to get using
String.match() is ["objectA", "objectC"]. Can anybody tell me what's wrong
with the following?

const multiLevelReferencePattern : RegExp =
/([a-zA-Z0-9_]+)(?:\.([a-zA-Z0-9_]+))+/;

I also tried to match into ["objectA", ".objectB", ".objectC"] by throwing
out the non-matching group and rolling the "\." into the last matching
group, but I still get the same result (only the last match comes through).

For now I've switched to a simpler regex in order to RegExp.test() the
string and then using String.explode(), but I would like to do both at once
using String.match() if possible.

Cheers,
-Josh

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

http://flex.joshmcdonald.info/

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


Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Josh McDonald
Sorry Matt, I'm a Textmate guy. Never cared for Dreamweaver. Nice plug tho!
:D

-Josh

On Fri, Oct 3, 2008 at 9:34 AM, Matt Chotin <[EMAIL PROTECTED]> wrote:

> Dreamweaver has all sorts of compatibility checks and systems available :-)
>
> 
>
>
> On 10/2/08 4:26 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Yeah it seems 7 is the problem now. That'll teach me to try and do nice
> xhtml+css without 10 different versions of IE to test it on. I'll redo it
> with tables inside and do away with the floats, it's not worth the headache.
>
> Moral of the story: outsouce the html, stick to the Flex.
>
> -Josh
>
> On Fri, Oct 3, 2008 at 9:12 AM, Amy <[EMAIL PROTECTED]> wrote:
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
> > thought it worked on ie 6...
>
> It DOES work for me on IE 6 :-)
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


[flexcoders] Strange transition behavior with ComboBox change events (Bug?)

2008-10-02 Thread mookie298347
Hello,

I am trying to display a component when a ComboBox selection is
changed using transitions. The component is added to the layout then
displayed using the Iris effect. My problem is that the UI "jumps"
around when this transition is linked to the ComboBox change. It works
fine when linked to a button click. 

Here is an example of the issue. Click the button twice and the
transition works as expected. Change the dropdown and the same
transition executes but the text jumps around.

Am I doing something wrong in my transition?


http://www.adobe.com/2006/mxml";
xmlns:nti="Components.*" layout="absolute">




























   





  










Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Matt Chotin
Dreamweaver has all sorts of compatibility checks and systems available :-)




On 10/2/08 4:26 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote:




Yeah it seems 7 is the problem now. That'll teach me to try and do nice 
xhtml+css without 10 different versions of IE to test it on. I'll redo it with 
tables inside and do away with the floats, it's not worth the headache.

Moral of the story: outsouce the html, stick to the Flex.

-Josh

On Fri, Oct 3, 2008 at 9:12 AM, Amy <[EMAIL PROTECTED]> wrote:
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
> thought it worked on ie 6...

It DOES work for me on IE 6 :-)




--
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: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links







Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Josh McDonald
Yeah it seems 7 is the problem now. That'll teach me to try and do nice
xhtml+css without 10 different versions of IE to test it on. I'll redo it
with tables inside and do away with the floats, it's not worth the headache.

Moral of the story: outsouce the html, stick to the Flex.

-Josh

On Fri, Oct 3, 2008 at 9:12 AM, Amy <[EMAIL PROTECTED]> wrote:

> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
> > thought it worked on ie 6...
>
> It DOES work for me on IE 6 :-)
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


[flexcoders] Re: Complete event error for Image control within Repeater

2008-10-02 Thread Amy
--- In flexcoders@yahoogroups.com, "gwangdesign" <[EMAIL PROTECTED]> 
wrote:
>
> I am loading 50-ish something images using an Image control wrapped 
in
> a repeater wrapped in a VBox component. I want to do some stuff 
once I
> know the full dimensions of the VBox, which is when all the images
> have been loaded.
> 
> Here is the code snippet:
> 
> 
> 
>  source="{dp_arr[rp.currentIndex]}" complete="onImgComplete
(event);"/>
> 
> 
> 
> /**AS3*/
> private function onImgComplete(event:Event):void
> {
> if(imgCounter {
> imgCounter++;
> }else
> {
>   configure();
> }
> }
> 
> Everything seems work fine at this point. The problem comes when I 
try
> to immigrate the onImgComplete() from inline MXML into ActionScript,
> basically as an event handler for this component like so:
> 
> creationComplete="img.addEventListener(Event.COMPLETE, 
onImgComplete);"
> 
> I got the following error:
> "TypeError: Error #1006: addEventListener is not a function."

You might need to add curly brackets around it to get it to evaluate 
as AS.  You might also want to look at the events associated with the 
Repeater control, since they are probably more appropriate.



[flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Amy
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
> thought it worked on ie 6...

It DOES work for me on IE 6 :-)



[flexcoders] Can you do multiple namespace manifests in a single .swc from within builder?

2008-10-02 Thread Josh McDonald
Hey guys,

I've tried a few things (adding --namespace commands in "additional compiler
options", and adding another entry in .flexlibProperties), but I can't seem
to get this to work from Builder. It seems to break auto-complete;
somethings auto-complete to package names instead of namespaces, others
won't auto-complete at all, etc... I know you can do it when you're building
a .swc from Ant, but then it becomes difficult to navigate between
application and library code when you're debugging both at the same time.

But, I would very much like to have a few separate namespaces in my library
project to separate gui components from application structure elements, and
command-chain elements, if I can figure out how to make it all work nicely!

Any ideas? Anybody know the secret, if it can be done at all?

Cheers,
-Josh

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

http://flex.joshmcdonald.info/

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


Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Josh McDonald
Ah, IE7's the problem now... I'm rejigging the whole damn thing tomorrow
morning!

Thanks for letting me know guys!

-Josh

On Fri, Oct 3, 2008 at 8:08 AM, nathanpdaniel <[EMAIL PROTECTED]> wrote:

> Works in Chrome too! :D  but still not IE7...
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
> >
> >
> > Too funny Mike.  Works in FF, but not IE7 Josh.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Michael Schmalle"
> >  wrote:
> > >
> > > > Hey FO Smartypants
> > > I'm reporting you to YAHOO POLICE Tim! This is un exceptable list
> > protocol!
> > >
> > > Expect a summons in the mail next week.
> > >
> > > ... the bitter one
> > >
> > > On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald dznuts@ wrote:
> > >
> > > > Aw jeeze, I'm getting tired of fixing that! What browser are
> you on?
> > I
> > > > thought it worked on ie 6...
> > > >
> > > > On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff TimHoff@ wrote:
> > > >
> > > >>
> > > >> Hey FO Smartypants. Totally kidding Josh. Good on you mate.
> But,
> > I'm
> > > >> getting a blank page for the blog post. Just a heads up.
> > > >>
> > > >> Cheers,
> > > >> -TH
> > > >>
> > > >> --- In flexcoders@yahoogroups.com, "Josh McDonald" dznuts@
> wrote:
> > > >> >
> > > >> > Hey guys,
> > > >> >
> > > >> > Just wanted to let you know I've publicly released my
> > > >> dependency-injection
> > > >> > library, Smartypants IOC! It uses an AS3-based DSL to to
> specify
> > > >> rules, and
> > > >> > injection points are defined via AS3 metadata, similar to
> Google
> > > >> Guice.
> > > >> >
> > > >> > Blog post:
> > > >> >
> > > >>
> > http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-
> depende\
> > \ depen\
> > de%5C>
> > > >> ncy.html
> > > >> >
> > > >> > Google code: http://code.google.com/p/smartypants-ioc/
> > > >> >
> > > >> > API Reference: http://smartypants.gfunk007.com/api/
> > > >> >
> > > >> > Thanks go out to everybody who helped with ideas for the rule
> > DSL, and
> > > >> those
> > > >> > who've been looking forward to the public release of
> Smartypants
> > IOC,
> > > >> and
> > > >> > I'm looking forward to your thoughts, opinions and
> suggestions!
> > > >> >
> > > >> > Cheers,
> > > >> >
> > > >> > -Josh
> > > >> >
> > > >> > --
> > > >> > "Therefore, send not to know For whom the bell tolls. It
> tolls
> > for
> > > >> thee."
> > > >> >
> > > >> > http://flex.joshmcdonald.info/
> > > >> >
> > > >> > :: Josh 'G-Funk' McDonald
> > > >> > :: 0437 221 380 :: josh@
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> 
> > > >>
> > > >> --
> > > >> 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:
> > > >> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> > Groups
> > > >> Links
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > "Therefore, send not to know For whom the bell tolls. It tolls
> for
> > thee."
> > > >
> > > > http://flex.joshmcdonald.info/
> > > >
> > > > :: Josh 'G-Funk' McDonald
> > > > :: 0437 221 380 :: josh@
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > 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 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


[flexcoders] Re: Prototyping a form

2008-10-02 Thread markgoldin_2000
Yes, did it like this, works now. Thanks

--- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote:
>
> I'm going to guess that your problem is that you have declared 
> completeParameters() incorrectly (since it is private in your 
subclass 
> example).  You need to declare it as protected or public in the 
parent 
> class is order to allow subclasses to override it.  Note: it must 
be 
> declared in the parent class, even if it is has an empty 
implementation.
> 
> hth
> Scott
> 
> 
> Maciek Sakrejda wrote:
> >
> > Ok, what's the context here? If this is the error, it could be 
that
> > you're not defining the method in the parent form. This is true 
even if
> > the method doesn't do anything and *must* be overridden in child
> > forms--most object-oriented languages provide the 'abstract' 
keyword to
> > ensure this, but ActionScript doesn't. Then specify the 'override'
> > keyword on child forms as I mentioned before.
> >
> > If this still isn't it, can you please post the parent and child 
forms
> > for context?
> > -- 
> > Maciek Sakrejda
> > Truviso, Inc.
> > http://www.truviso.com 
> >
> > -Original Message-
> > From: markgoldin_2000 <[EMAIL PROTECTED] 
> > >
> > Reply-To: flexcoders@yahoogroups.com 
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Re: Prototyping a form
> > Date: Thu, 02 Oct 2008 21:15:48 -
> >
> > 1180: Call to a possibly undefined method completeParameters.
> >
> > --- In flexcoders@yahoogroups.com 
> > , Maciek Sakrejda 

> > wrote:
> > >
> > > It's possible if you tell us the compilation errors you're 
hitting.
> > > However, in this case, you're probably hitting something 
telling you
> > > that you can't override something not marked for override, so 
you
> > need
> > > to add the 'override' keyword to the completeParameters() 
function
> > > definition.
> > >
> > > --
> > > Maciek Sakrejda
> > > Truviso, Inc.
> > > http://www.truviso.com 
> > >
> > > -Original Message-
> > > From: markgoldin_2000 
> > > Reply-To: flexcoders@yahoogroups.com 
> > 
> > > To: flexcoders@yahoogroups.com 
> > > Subject: [flexcoders] Prototyping a form
> > > Date: Thu, 02 Oct 2008 20:41:15 -
> > >
> > > Lets' say I want all my forms to be based on same form. Base 
form
> > > would have just a push button. A click of this button might look
> > like
> > > this:
> > >
> > > runButton.addEventListener("click", handleClick);
> > > private function handleClick(e:MouseEvent):void
> > > {
> > > completeParameters();
> > > mainApp.reportArea.source = runStrng;
> > > }
> > >
> > > I am subclassing main form in mxml. That might look like this:
> > > 
> > > 
> > > 
> > > 
> > > ...
> > >
> > > It fails at completeParameters(); during compilation.
> > > Is it possible to have such design working?
> > >
> > > Thanks
> > >
> >
> >
>




[flexcoders] Debugger disconnects for one project only

2008-10-02 Thread JWOpitz
I just started experiencing this issue recently.  A certain project I
am working on which is basically a very simple Flex application.  The
only thing that is different than any other Flex application is that
it is deployed to a local web server.  Nothing unique, in fact almost
all of my flex projects are deployed in this manner.  

Anyway this project in particular, when launched in debug mode,
immediately kills the debugger version of Flash player in FF.  It
works fine in Safari.  But the FF version disconnects from the
debugger as soon as it loads in the browser.  I have deleted the
project and rebuilt it from the SVN repo with no luck.

Any suggestions are much appreciated.  Thanks.



[flexcoders] Re: Debugger disconnects for one project only

2008-10-02 Thread JWOpitz
Forgot to mention that I also removed and reinstalled the debug player
with no luck as well.



[flexcoders] Re: Serverside swf compile

2008-10-02 Thread nathanpdaniel
Using PHP, you can execute commands as you would on a command prompt 
(hopefully that makes sense)... I don't know enough about .NET to say 
what to do with that - although I'm sure it'd be just as simple.

--- In flexcoders@yahoogroups.com, "horizens" <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm about to being working on a skin configurator. I'm wondering
> how to approach generating swfs serverside that could in turn be
> loaded at runtime into a separate Flex app. Ideally, I'd like to have
> a library of assets and color picker that a user could choose from in
> order to create their unique skin.
> 
> Anyone have insight into how this would be possible?
>




[flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread nathanpdaniel
Works in Chrome too! :D  but still not IE7... 

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Too funny Mike.  Works in FF, but not IE7 Josh.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "Michael Schmalle"
>  wrote:
> >
> > > Hey FO Smartypants
> > I'm reporting you to YAHOO POLICE Tim! This is un exceptable list
> protocol!
> >
> > Expect a summons in the mail next week.
> >
> > ... the bitter one
> >
> > On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald dznuts@ wrote:
> >
> > > Aw jeeze, I'm getting tired of fixing that! What browser are 
you on?
> I
> > > thought it worked on ie 6...
> > >
> > > On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff TimHoff@ wrote:
> > >
> > >>
> > >> Hey FO Smartypants. Totally kidding Josh. Good on you mate. 
But,
> I'm
> > >> getting a blank page for the blog post. Just a heads up.
> > >>
> > >> Cheers,
> > >> -TH
> > >>
> > >> --- In flexcoders@yahoogroups.com, "Josh McDonald" dznuts@ 
wrote:
> > >> >
> > >> > Hey guys,
> > >> >
> > >> > Just wanted to let you know I've publicly released my
> > >> dependency-injection
> > >> > library, Smartypants IOC! It uses an AS3-based DSL to to 
specify
> > >> rules, and
> > >> > injection points are defined via AS3 metadata, similar to 
Google
> > >> Guice.
> > >> >
> > >> > Blog post:
> > >> >
> > >>
> http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-
depende\
> \ de%5C>
> > >> ncy.html
> > >> >
> > >> > Google code: http://code.google.com/p/smartypants-ioc/
> > >> >
> > >> > API Reference: http://smartypants.gfunk007.com/api/
> > >> >
> > >> > Thanks go out to everybody who helped with ideas for the rule
> DSL, and
> > >> those
> > >> > who've been looking forward to the public release of 
Smartypants
> IOC,
> > >> and
> > >> > I'm looking forward to your thoughts, opinions and 
suggestions!
> > >> >
> > >> > Cheers,
> > >> >
> > >> > -Josh
> > >> >
> > >> > --
> > >> > "Therefore, send not to know For whom the bell tolls. It 
tolls
> for
> > >> thee."
> > >> >
> > >> > http://flex.joshmcdonald.info/
> > >> >
> > >> > :: Josh 'G-Funk' McDonald
> > >> > :: 0437 221 380 :: josh@
> > >> >
> > >>
> > >>
> > >>
> > >>
> > >> 
> > >>
> > >> --
> > >> 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:
> > >> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> Groups
> > >> Links
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > "Therefore, send not to know For whom the bell tolls. It tolls 
for
> thee."
> > >
> > > http://flex.joshmcdonald.info/
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: josh@
> > >
> > >
> > >
> >
> >
> >
> > --
> > 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: Triggering Validator based on string value for TextInput

2008-10-02 Thread djohnson29
Thanks - I tried that out but the problem is the Regex matches the
value that I don't want. In other words I need the opposite of the
matched expression to trigger a valid result, and the matched
expression to be invalid.

Anyways, after much canoodling I just overrode the Validator class. 
Perhaps this will help someone else - 

package classes
{   
import mx.validators.ValidationResult;
import mx.validators.Validator;

   
public class CustomStringValidator extends Validator {

// Define Array for the return value of doValidation().
private var results:Array;

// Define the string that is not allowed and will trigger the
Validation error.
private var _stringNotAllowed:String;

private var _stringErrorMessage:String;


public function get stringNotAllowed():String{
return this._stringNotAllowed;
}

public function set stringNotAllowed(s:String):void{
_stringNotAllowed = s;
}

public function get stringErrorMessage():String{
return this._stringErrorMessage;
}

public function set stringErrorMessage(s:String):void{
_stringErrorMessage = s;
}
  
// Constructor.
public function CustomStringValidator() {
// Call base class constructor. 
super();
}

// Define the doValidation() method.
override protected function doValidation(value:Object):Array {

// Clear results Array.
results = [];

// Call base class doValidation().
results = super.doValidation(value);
// Return if there are errors.
if (results.length > 0)
return results;

if(String(value) == _stringNotAllowed){
results.push(new
ValidationResult(true,null,"notAllowed",_stringErrorMessage));
return results;
}

return results;
}
}
}


In mxml, I declare the component as follows:

 





--- In flexcoders@yahoogroups.com, "Ryan Gravener" <[EMAIL PROTECTED]> wrote:
>
> I suppose you would need to use the regular expression validator.
> 
> Ryan Gravener
> http://twitter.com/ryangravener
> 
> 
> On Thu, Oct 2, 2008 at 12:46 PM, djohnson29 <[EMAIL PROTECTED]> wrote:
> 
> >   Does anyone know how to trigger a validator on a TextInput based
on a
> > certain string value?
> >
> > I have a regular TextInput with a regular Validator attached to it
> > (required Validation). I would like to also trigger this Validator so
> > that the red outline and tooltip displays when there is a particular
> > value in the text property.
> >
> > So if the TextInput is empty, then the required validation kicks in,
> > and if the text property contains for example, "foo", then then the
> > Validator fires as well.
> >
> > Is there a quick and easy way to do this without overridding the
> > Validator?
> >
> >  
> >
>




Re: [flexcoders] Re: Prototyping a form

2008-10-02 Thread Scott Melby
I'm going to guess that your problem is that you have declared 
completeParameters() incorrectly (since it is private in your subclass 
example).  You need to declare it as protected or public in the parent 
class is order to allow subclasses to override it.  Note: it must be 
declared in the parent class, even if it is has an empty implementation.


hth
Scott


Maciek Sakrejda wrote:


Ok, what's the context here? If this is the error, it could be that
you're not defining the method in the parent form. This is true even if
the method doesn't do anything and *must* be overridden in child
forms--most object-oriented languages provide the 'abstract' keyword to
ensure this, but ActionScript doesn't. Then specify the 'override'
keyword on child forms as I mentioned before.

If this still isn't it, can you please post the parent and child forms
for context?
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com 

-Original Message-
From: markgoldin_2000 <[EMAIL PROTECTED] 
>

Reply-To: flexcoders@yahoogroups.com 
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Re: Prototyping a form
Date: Thu, 02 Oct 2008 21:15:48 -

1180: Call to a possibly undefined method completeParameters.

--- In flexcoders@yahoogroups.com 
, Maciek Sakrejda <[EMAIL PROTECTED]>

wrote:
>
> It's possible if you tell us the compilation errors you're hitting.
> However, in this case, you're probably hitting something telling you
> that you can't override something not marked for override, so you
need
> to add the 'override' keyword to the completeParameters() function
> definition.
>
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com 
>
> -Original Message-
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> Reply-To: flexcoders@yahoogroups.com 


> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] Prototyping a form
> Date: Thu, 02 Oct 2008 20:41:15 -
>
> Lets' say I want all my forms to be based on same form. Base form
> would have just a push button. A click of this button might look
like
> this:
>
> runButton.addEventListener("click", handleClick);
> private function handleClick(e:MouseEvent):void
> {
> completeParameters();
> mainApp.reportArea.source = runStrng;
> }
>
> I am subclassing main form in mxml. That might look like this:
> 
> 
> 
> 
> ...
>
> It fails at completeParameters(); during compilation.
> Is it possible to have such design working?
>
> Thanks
>

 




[flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Tim Hoff

Too funny Mike.  Works in FF, but not IE7 Josh.

-TH

--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> > Hey FO Smartypants
> I'm reporting you to YAHOO POLICE Tim! This is un exceptable list
protocol!
>
> Expect a summons in the mail next week.
>
> ... the bitter one
>
> On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald [EMAIL PROTECTED] wrote:
>
> > Aw jeeze, I'm getting tired of fixing that! What browser are you on?
I
> > thought it worked on ie 6...
> >
> > On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff [EMAIL PROTECTED] wrote:
> >
> >>
> >> Hey FO Smartypants. Totally kidding Josh. Good on you mate. But,
I'm
> >> getting a blank page for the blog post. Just a heads up.
> >>
> >> Cheers,
> >> -TH
> >>
> >> --- In flexcoders@yahoogroups.com, "Josh McDonald" dznuts@ wrote:
> >> >
> >> > Hey guys,
> >> >
> >> > Just wanted to let you know I've publicly released my
> >> dependency-injection
> >> > library, Smartypants IOC! It uses an AS3-based DSL to to specify
> >> rules, and
> >> > injection points are defined via AS3 metadata, similar to Google
> >> Guice.
> >> >
> >> > Blog post:
> >> >
> >>
http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-depende\
\
> >> ncy.html
> >> >
> >> > Google code: http://code.google.com/p/smartypants-ioc/
> >> >
> >> > API Reference: http://smartypants.gfunk007.com/api/
> >> >
> >> > Thanks go out to everybody who helped with ideas for the rule
DSL, and
> >> those
> >> > who've been looking forward to the public release of Smartypants
IOC,
> >> and
> >> > I'm looking forward to your thoughts, opinions and suggestions!
> >> >
> >> > Cheers,
> >> >
> >> > -Josh
> >> >
> >> > --
> >> > "Therefore, send not to know For whom the bell tolls. It tolls
for
> >> thee."
> >> >
> >> > http://flex.joshmcdonald.info/
> >> >
> >> > :: Josh 'G-Funk' McDonald
> >> > :: 0437 221 380 :: josh@
> >> >
> >>
> >>
> >>
> >>
> >> 
> >>
> >> --
> >> 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:
> >> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups
> >> Links
> >>
> >>
> >>
> >>
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> >
> > http://flex.joshmcdonald.info/
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> 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'.
>





Re: [flexcoders] Re: Prototyping a form

2008-10-02 Thread Maciek Sakrejda
Ok, what's the context here? If this is the error, it could be that
you're not defining the method in the parent form. This is true even if
the method doesn't do anything and *must* be overridden in child
forms--most object-oriented languages provide the 'abstract' keyword to
ensure this, but ActionScript doesn't. Then specify the 'override'
keyword on child forms as I mentioned before.

If this still isn't it, can you please post the parent and child forms
for context?
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: markgoldin_2000 <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Prototyping a form
Date: Thu, 02 Oct 2008 21:15:48 -

1180: Call to a possibly undefined method completeParameters.

--- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> 
wrote:
>
> It's possible if you tell us the compilation errors you're hitting.
> However, in this case, you're probably hitting something telling you
> that you can't override something not marked for override, so you 
need
> to add the 'override' keyword to the completeParameters() function
> definition.
> 
> -- 
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
> 
> -Original Message-
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> Reply-To: flexcoders@yahoogroups.com
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Prototyping a form
> Date: Thu, 02 Oct 2008 20:41:15 -
> 
> Lets' say I want all my forms to be based on same form. Base form 
> would have just a push button. A click of this button might look 
like 
> this:
> 
> runButton.addEventListener("click", handleClick);
> private function handleClick(e:MouseEvent):void
> {
> completeParameters();
> mainApp.reportArea.source = runStrng;
> }
> 
> I am subclassing main form in mxml. That might look like this:
> 
> 
> 
> 
> ...
> 
> It fails at completeParameters(); during compilation.
> Is it possible to have such design working?
> 
> Thanks
>




 




[flexcoders] Re: Sending parameters to server

2008-10-02 Thread valdhor
Perhaps the carriage returns are confusing the server? I have had this
happen to me in the past.

--- In flexcoders@yahoogroups.com, "ilikeflex" <[EMAIL PROTECTED]> wrote:
>
> Hi 
> 
> I am sending request to the server. I am pasing parameters as shown 
> below
> 
> params.action="" 
> + "22008" 
> + "";
> 
> params.action=" h>22008 nessService>";
> 
> In second case i do not get error but in the first case i get the error 
> from server.I do not know what is different??
> 
> Any pointers please.
> 
> Thanks
> ilikeflex.
>




[flexcoders] Re: extend titlewindow ?

2008-10-02 Thread valdhor
Yes, I know.

Unfortunately, the FlexLib project does not list FlexMDI in its
component list nor does it provide any information on it. The site I
quoted gives documentation as well as examples and notes that FlexMDI
is now part of FlexLib.

--- In flexcoders@yahoogroups.com, "actionscript_czar" <[EMAIL PROTECTED]> 
wrote:
>
> FlexMDI is now ( and has been ) a part of FlexLib.
> (http://code.google.com/p/flexlib/)
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > Check out FlexMDI (http://code.google.com/p/flexmdi/)
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "greg_knight_66"  
> wrote:
> > >
> > > 
> > > hi all,
> > > 
> > > i am looking for an example illustrating how to extend/modify the 
> > > header of the titlewindow.  im assuming this is possible?  
> > > specifically, i am looking to add a minimize button.
> > > 
> > > thanks for your help.
> > > 
> > > greg
> > >
> >
>




[flexcoders] Serverside swf compile

2008-10-02 Thread horizens
Hi, I'm about to being working on a skin configurator. I'm wondering
how to approach generating swfs serverside that could in turn be
loaded at runtime into a separate Flex app. Ideally, I'd like to have
a library of assets and color picker that a user could choose from in
order to create their unique skin.

Anyone have insight into how this would be possible?



[flexcoders] Re: Prototyping a form

2008-10-02 Thread markgoldin_2000
1180: Call to a possibly undefined method completeParameters.


--- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> 
wrote:
>
> It's possible if you tell us the compilation errors you're hitting.
> However, in this case, you're probably hitting something telling you
> that you can't override something not marked for override, so you 
need
> to add the 'override' keyword to the completeParameters() function
> definition.
> 
> -- 
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
> 
> -Original Message-
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> Reply-To: flexcoders@yahoogroups.com
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Prototyping a form
> Date: Thu, 02 Oct 2008 20:41:15 -
> 
> Lets' say I want all my forms to be based on same form. Base form 
> would have just a push button. A click of this button might look 
like 
> this:
> 
> runButton.addEventListener("click", handleClick);
> private function handleClick(e:MouseEvent):void
> {
> completeParameters();
> mainApp.reportArea.source = runStrng;
> }
> 
> I am subclassing main form in mxml. That might look like this:
> 
> 
> 
> 
> ...
> 
> It fails at completeParameters(); during compilation.
> Is it possible to have such design working?
> 
> Thanks
>




Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Michael Schmalle
> Hey FO Smartypants
I'm reporting you to YAHOO POLICE Tim! This is un exceptable list protocol!

Expect a summons in the mail next week.

... the bitter one

On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:

>   Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
> thought it worked on ie 6...
>
> On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff <[EMAIL PROTECTED]> wrote:
>
>>
>> Hey FO Smartypants.  Totally kidding Josh.  Good on you mate.  But, I'm
>> getting a blank page for the blog post.  Just a heads up.
>>
>> Cheers,
>> -TH
>>
>> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>> >
>> > Hey guys,
>> >
>> > Just wanted to let you know I've publicly released my
>> dependency-injection
>> > library, Smartypants IOC! It uses an AS3-based DSL to to specify
>> rules, and
>> > injection points are defined via AS3 metadata, similar to Google
>> Guice.
>> >
>> > Blog post:
>> >
>> http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-depende\
>> ncy.html
>> >
>> > Google code: http://code.google.com/p/smartypants-ioc/
>> >
>> > API Reference: http://smartypants.gfunk007.com/api/
>> >
>> > Thanks go out to everybody who helped with ideas for the rule DSL, and
>> those
>> > who've been looking forward to the public release of Smartypants IOC,
>> and
>> > I'm looking forward to your thoughts, opinions and suggestions!
>> >
>> > Cheers,
>> >
>> > -Josh
>> >
>> > --
>> > "Therefore, send not to know For whom the bell tolls. It tolls for
>> thee."
>> >
>> > http://flex.joshmcdonald.info/
>> >
>> > :: Josh 'G-Funk' McDonald
>> > :: 0437 221 380 :: [EMAIL PROTECTED]
>> >
>>
>>
>>
>>
>> 
>>
>> --
>> 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:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
>> Links
>>
>>
>>
>>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> http://flex.joshmcdonald.info/
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>
>  
>



-- 
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'.


RE: [flexcoders] Re: Developing with Flash Player 10a

2008-10-02 Thread Ryan Graham

The second link on that page details the flex builder setup which in a
nutshell looks like
 
--downloading a snapshot build of the latest flex SDK from adobe
--letting flex builder know that the sdk is available for use
--setting the compiler targets to hit Flash Player 10 debug
 
HTH,
Ryan



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Thursday, October 02, 2008 12:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Developing with Flash Player 10a



Thanks for help. I did install FP10 from that location and I am not 
getting warning anymore, but now I am getting this:

Failed to connect; session timed out.
Ensure that:
1. You compiled your Flash application with debugging on.
2. You are running the debugger version of Flash Player.

Any dea?

--- In flexcoders@yahoogroups.com 
, "Ryan Graham" <[EMAIL PROTECTED]> 
wrote:
>
> 
> You need the debug version of the player installed. This guy seems 
to
> have some good info on where to get it and how to setup flex 
builder:
> 
> http://www.flexer.info/2008/08/18/flash-player-10-debug-is-out/
 
> 
> HTH,
> Ryan
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of markgoldin_2000
> Sent: Thursday, October 02, 2008 12:19 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Developing with Flash Player 10a
> 
> 
> 
> I have installed that version but when I run it from Builder I am 
> getting:
> C:\WINDOWS\system32\Macromed\Flash\Flash10a.ocx
> 
> Flex Builder cannot locate the required debugger version of Flash 
> Player. You might need to install the debugger version of Flash 
Player 
> 9 or reinstall Flex Builder.
> 
> Do you want to try to debug with the current version?
> 
> What am I doing wrong?
> 
> 
> 
> 
> 
> 
> This message is private and confidential. If you have received it 
in error, please notify the sender and remove it from your system.
>



 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Re: [flexcoders] Prototyping a form

2008-10-02 Thread Maciek Sakrejda
It's possible if you tell us the compilation errors you're hitting.
However, in this case, you're probably hitting something telling you
that you can't override something not marked for override, so you need
to add the 'override' keyword to the completeParameters() function
definition.

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: markgoldin_2000 <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Prototyping a form
Date: Thu, 02 Oct 2008 20:41:15 -

Lets' say I want all my forms to be based on same form. Base form 
would have just a push button. A click of this button might look like 
this:

runButton.addEventListener("click", handleClick);
private function handleClick(e:MouseEvent):void
{
completeParameters();
mainApp.reportArea.source = runStrng;
}

I am subclassing main form in mxml. That might look like this:




...

It fails at completeParameters(); during compilation.
Is it possible to have such design working?

Thanks




 




[flexcoders] Complete event error for Image control within Repeater

2008-10-02 Thread gwangdesign
I am loading 50-ish something images using an Image control wrapped in
a repeater wrapped in a VBox component. I want to do some stuff once I
know the full dimensions of the VBox, which is when all the images
have been loaded.

Here is the code snippet:







/**AS3*/
private function onImgComplete(event:Event):void
{
if(imgCounter

Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Josh McDonald
Aw jeeze, I'm getting tired of fixing that! What browser are you on? I
thought it worked on ie 6...

On Fri, Oct 3, 2008 at 4:17 AM, Tim Hoff <[EMAIL PROTECTED]> wrote:

>
> Hey FO Smartypants.  Totally kidding Josh.  Good on you mate.  But, I'm
> getting a blank page for the blog post.  Just a heads up.
>
> Cheers,
> -TH
>
> --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > Just wanted to let you know I've publicly released my
> dependency-injection
> > library, Smartypants IOC! It uses an AS3-based DSL to to specify
> rules, and
> > injection points are defined via AS3 metadata, similar to Google
> Guice.
> >
> > Blog post:
> >
> http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-depende\
> ncy.html
> >
> > Google code: http://code.google.com/p/smartypants-ioc/
> >
> > API Reference: http://smartypants.gfunk007.com/api/
> >
> > Thanks go out to everybody who helped with ideas for the rule DSL, and
> those
> > who've been looking forward to the public release of Smartypants IOC,
> and
> > I'm looking forward to your thoughts, opinions and suggestions!
> >
> > Cheers,
> >
> > -Josh
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
> thee."
> >
> > http://flex.joshmcdonald.info/
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>
>
>
> 
>
> --
> 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:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


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

http://flex.joshmcdonald.info/

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


[flexcoders] Prototyping a form

2008-10-02 Thread markgoldin_2000
Lets' say I want all my forms to be based on same form. Base form 
would have just a push button. A click of this button might look like 
this:

runButton.addEventListener("click", handleClick);
private function handleClick(e:MouseEvent):void
{
completeParameters();
mainApp.reportArea.source = runStrng;
}

I am subclassing main form in mxml. That might look like this:




...

It fails at completeParameters(); during compilation.
Is it possible to have such design working?

Thanks




[flexcoders] Re: html and swf file gone

2008-10-02 Thread j_lentzz
--- In flexcoders@yahoogroups.com, "flexaustin" <[EMAIL PROTECTED]> wrote:
>
> So I was working on my project and flex builder 3 started acting
> funny. Hit one keystroke and it would type 10 more and I keep getting
> really weird errors when nothing was wrong with the file. 
> 
> So I did project > clean. 
> 
> Now my .html and .swf in bin-debug is gone and I can't build another
> one?  Getting File not Found: file:/C:/.html
> 
> Anyone know how to recreate the html and swf file?
>
I've had similar problems.  For some reason, an error causes it to not
build, but no error is reported.  The fix for me is to go to the .mxml
file that has the application and change it and then save.  This
causes it to build again and this ends up showing the errors.  For
example, if my app is called MyApp, I open MyApp.mxml and add then
remove a space, then save.  This always results in some error popping
up that when fixed gives a complete build.

Hope this helps.

John



[flexcoders] Re: Flex video cross-domain nightmare!! help please!!

2008-10-02 Thread Ryan
UPDATE: I think this is being caused by a 'wipe" effect which is
touching the video. Still very annoying and not sure how to solve it
though, short of taking out the effects. I pre-load the videos before
the screen with the player is shown, so when I do reveal that screen,
the "wipe in" touches the player with the video inside it...

any ideas?

--- In flexcoders@yahoogroups.com, "Ryan" <[EMAIL PROTECTED]> wrote:
>
> I am attempting to load a flv file from a media server on a different
> url into our flex app. Extremely frustratingly, I get this error:
> 
> SecurityError: Error #2122: Security sandbox violation:
> BitmapData.draw:
> http://localhost:8080/survey-service/client-1.0-alpha2-SNAPSHOT.swf
> cannot access http://[OUR MEDIA
>
SERVER]/secure-media/ee12ec2d79911fc67fddbe9a41ef6954/48e40de3/audi-q7.flv.
> A policy file is required, but the checkPolicyFile flag was not set
> when this media was loaded.
>   at flash.display::BitmapData/draw()
>   at mx.effects.effectClasses::MaskEffectInstance/getVisibleBounds()
>   at mx.effects.effectClasses::MaskEffectInstance/initMask()
>   at mx.effects.effectClasses::MaskEffectInstance/startEffect()
>   at mx.effects::Effect/play()
> [etc]
> 
> I have no idea what is trying to "bitmap draw" or why. All i want to
> do is play the video, then move on to another screen by listening to
> the "COMPLETE" event. This error appears at the end of the video, and
> the complete event listener doesn't work.
> 
> My #1 option would be to stop this "draw" call. I have no need to
> access bitmap data and shouldn't need a cross-domain file.
> 
> #2 would be to upload the cross-domain policy file to the media
> server. Uploading the file is no problem, but to set "checkPolicyFile"
> it seems I need to access the netStream object. Flex's "VideoDisplay"
> seems to offer no way to do this. Is my only option to throw that
> away, and build my own player on top of the "Video" class?
> 
> thanks!
> Ryan
>




[flexcoders] Re: Problem handling RemoteObject Errors

2008-10-02 Thread reflexactions
Well I dont think our code will help at all becuase the issues are 
deep within the Adobe classes which is what I was quoting but if 
thats what you want...

var opr:AbstractOperation = getRemoteObject.getOperation(methodName);
opr.addEventListener(ResultEvent.RESULT, gotResult, false, 0, true);
opr.addEventListener(FaultEvent.FAULT, execError, false, 0, true);
opr.send(params);


What I was saying was that if the params are bad then the send method 
fails and should invoke our FaultEvent handler.

But what happens is that although send fails the fault handler doesnt 
gets called and the reason for that is as is described. 

We are not using a Timer, but Adobe IS using a Timer in the class 
mx.rpc.AsyncDespatcher.

The AsyncDespatcher is created in the class mx.rpc.AbstractInvoker 
another Adobe class when the invoke fails due to bad the params. They 
create the object but dont hold a reference to it as below:

mx_internal function invoke(message:IMessage, token:AsyncToken = 
null) : AsyncToken{

///SOME CODE

}catch(e2:Error){
 _log.warn(e2.toString());
 fault = new Fault("InvokeFailed", e2.message);
 new AsyncDispatcher(dispatchRpcEvent, [FaultEvent.createEvent(fault, 
token, message)], 10);
}

The problem is that although the AsyncDispatcher is created it gets 
GC'd before it can actually do anything. We traced it through into 
the AD, and to where the Timer is started in AD but inside AD the 
Timer handler never gets called, and that is what is ultimately 
responsible for calling the FaultEvent handler in our code. So 
becuase it doesnt get called ourt FaultEvent handler wont be called.

tks







--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Thursday 02 Oct 2008, reflexactions wrote:
> > But the AsyncDispatcher.timerHandler method nevers gets called to
> 
> The what ? Are you using a Timer and not the error events ?
> 
> > dispatch the event becuase no reference was kept to the 
AsyncDispatcher
> > and it gets GC'd before the Timer runs.
> 
> I've little idea what you mean, could you post some example code ?
> 
> -- 
> Tom Chiverton
> Helping to competently implement performance-oriented attention-
grabbing 
> six-generation prospective partnerships
> 
> 
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  A list of members is available 
for inspection at the registered office. Any reference to a partner 
in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: Developing with Flash Player 10a

2008-10-02 Thread markgoldin_2000
Thanks for help. I did install FP10 from that location and I am not 
getting warning anymore, but now I am getting this:

Failed to connect; session timed out.
Ensure that:
  1. You compiled your Flash application with debugging on.
  2. You are running the debugger version of Flash Player.

Any dea?

--- In flexcoders@yahoogroups.com, "Ryan Graham" <[EMAIL PROTECTED]> 
wrote:
>
> 
> You need the debug version of the player installed. This guy seems 
to
> have some good info on where to get it and how to setup flex 
builder:
>  
> http://www.flexer.info/2008/08/18/flash-player-10-debug-is-out/
>  
> HTH,
> Ryan
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Thursday, October 02, 2008 12:19 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Developing with Flash Player 10a
> 
> 
> 
> I have installed that version but when I run it from Builder I am 
> getting:
> C:\WINDOWS\system32\Macromed\Flash\Flash10a.ocx
> 
> Flex Builder cannot locate the required debugger version of Flash 
> Player. You might need to install the debugger version of Flash 
Player 
> 9 or reinstall Flex Builder.
> 
> Do you want to try to debug with the current version?
> 
> What am I doing wrong?
> 
> 
> 
>  
> 
> 
> This message is private and confidential. If you have received it 
in error, please notify the sender and remove it from your system.
>




Re: [flexcoders] Using data from List Control to send to PHP

2008-10-02 Thread Rico Leuthold

... or use amfphp and you can send an array.

_rico


On 02.10.2008, at 21:16, Ryan Gravener wrote:



You can iterate through the dataprovider;

for each (var obj:Object in list.dataProvider) {
//do work
}

Ryan Gravener
http://twitter.com/ryangravener


On Thu, Oct 2, 2008 at 3:11 PM, ghus32 <[EMAIL PROTECTED]> wrote:
Hello Everyone,

I was wondering if any of you guys know how to extract data from a  
list

control as each separate entry as a var?

I was to send each entry to my php script.

Ex. I have 4 entries in my list control I want to send file_name1,
filename_2, filename_3, filename_4 to my php script

thanks









RE: [flexcoders] Developing with Flash Player 10a

2008-10-02 Thread Ryan Graham

You need the debug version of the player installed. This guy seems to
have some good info on where to get it and how to setup flex builder:
 
http://www.flexer.info/2008/08/18/flash-player-10-debug-is-out/
 
HTH,
Ryan



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Thursday, October 02, 2008 12:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Developing with Flash Player 10a



I have installed that version but when I run it from Builder I am 
getting:
C:\WINDOWS\system32\Macromed\Flash\Flash10a.ocx

Flex Builder cannot locate the required debugger version of Flash 
Player. You might need to install the debugger version of Flash Player 
9 or reinstall Flex Builder.

Do you want to try to debug with the current version?

What am I doing wrong?



 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

[flexcoders] Developing with Flash Player 10a

2008-10-02 Thread markgoldin_2000
I have installed that version but when I run it from Builder I am 
getting:
C:\WINDOWS\system32\Macromed\Flash\Flash10a.ocx

Flex Builder cannot locate the required debugger version of Flash 
Player. You might need to install the debugger version of Flash Player 
9 or reinstall Flex Builder.

Do you want to try to debug with the current version?

What am I doing wrong?



Re: [flexcoders] Using data from List Control to send to PHP

2008-10-02 Thread Ryan Gravener
You can iterate through the dataprovider;

for each (var obj:Object in list.dataProvider) {
//do work
}

Ryan Gravener
http://twitter.com/ryangravener


On Thu, Oct 2, 2008 at 3:11 PM, ghus32 <[EMAIL PROTECTED]> wrote:

>   Hello Everyone,
>
> I was wondering if any of you guys know how to extract data from a list
> control as each separate entry as a var?
>
> I was to send each entry to my php script.
>
> Ex. I have 4 entries in my list control I want to send file_name1,
> filename_2, filename_3, filename_4 to my php script
>
> thanks
>
>  
>


[flexcoders] Using data from List Control to send to PHP

2008-10-02 Thread ghus32
Hello Everyone,

I was wondering if any of you guys know how to extract data from a list 
control as each separate entry as a var?

I was to send each entry to my php script.

Ex. I have 4 entries in my list control I want to send file_name1, 
filename_2, filename_3, filename_4 to my php script

thanks



[flexcoders] Re: extend titlewindow ?

2008-10-02 Thread actionscript_czar
FlexMDI is now ( and has been ) a part of FlexLib.
(http://code.google.com/p/flexlib/)

--- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote:
>
> Check out FlexMDI (http://code.google.com/p/flexmdi/)
> 
> 
> --- In flexcoders@yahoogroups.com, "greg_knight_66"  
wrote:
> >
> > 
> > hi all,
> > 
> > i am looking for an example illustrating how to extend/modify the 
> > header of the titlewindow.  im assuming this is possible?  
> > specifically, i am looking to add a minimize button.
> > 
> > thanks for your help.
> > 
> > greg
> >
>




RE: [flexcoders] Re: html and swf file gone

2008-10-02 Thread Ryan Graham

Do you still have your html-template folder? It should generate a fresh
html wrapper for you when you build.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexaustin
Sent: Thursday, October 02, 2008 7:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: html and swf file gone



No errors in Problems pain. It looks like if your orig. .swf and .html
files get deteleted the only fix is to recreate the project from
scratch. Re-building doesn't do anything, atleast when svn is invovled.

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Yes, look at the "Problems" pane. It is at menu, Windows, Problems.
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Ryan Graham
> Sent: Tuesday, September 30, 2008 6:16 PM
> To: flexcoders@yahoogroups.com  
> Subject: RE: [flexcoders] html and swf file gone
> 
> 
> 
> Clean deletes all the files in the output bin and replaces them with
> fresh copies on build (very useful for externally loaded assets like
> images and xml files that may be updated during dev).
> 
> 
> 
> You just need to get your project back to a point where the compiler
can
> successfully complete a build. I suspect you may have some compiler
> errors showing when you try to build?
> 
> 
> 
> HTH,
> 
> Ryan
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of flexaustin
> Sent: Tuesday, September 30, 2008 3:04 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] html and swf file gone
> 
> So I was working on my project and flex builder 3 started acting
> funny. Hit one keystroke and it would type 10 more and I keep getting
> really weird errors when nothing was wrong with the file. 
> 
> So I did project > clean. 
> 
> Now my .html and .swf in bin-debug is gone and I can't build another
> one? Getting File not Found: file:/C:/.html
> 
> Anyone know how to recreate the html and swf file?
> 
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
>



 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Re: [flexcoders] Sending parameters to server

2008-10-02 Thread Howard Fore
It's helpful in asking about error messages to include the error that you
are getting. :-)

On Thu, Oct 2, 2008 at 2:39 PM, ilikeflex <[EMAIL PROTECTED]> wrote:

> In second case i do not get error but in the first case i get the error
> from server.I do not know what is different??
>



-- 
Howard Fore, [EMAIL PROTECTED]
"The universe tends toward maximum irony. Don't push it." - Jeff Atwood


[flexcoders] Sending parameters to server

2008-10-02 Thread ilikeflex
Hi 

I am sending request to the server. I am pasing parameters as shown 
below

params.action="" 
+ "22008" 
+ "";

params.action="22008";

In second case i do not get error but in the first case i get the error 
from server.I do not know what is different??

Any pointers please.

Thanks
ilikeflex.



[flexcoders] Re: Re-Center Pop-Up on Resize

2008-10-02 Thread Tim Hoff

The way that I do it, is to dispatch an event when the application
resize event is fired.  Of course this is easy when you use an MVC
framework; like Cairngorm.  In the popup, I then use an event listener
that executes a method:

mx.managers.PopUpManager.centerPopUp(this as IFlexDisplayObject);

There are other, similar ways to do this as well.

-TH

--- In flexcoders@yahoogroups.com, "jmfillman" <[EMAIL PROTECTED]> wrote:
>
> Is there a way to re-center a pop-up window if the browser is resized?
>




[flexcoders] Re: decrementing the x axis on a chart

2008-10-02 Thread Tim Hoff

HI,

You're goung to have to massage the data to get your desired result. 
Youcan also use a second dataProvider and layer it on top of the first
dataProvider (alpha = 0), if you want to keep the labels intact.

-TH

--- In flexcoders@yahoogroups.com, "flexie_eric" <[EMAIL PROTECTED]>
wrote:
>
> Can someone tell me how to to reverse the scale on an axis in flex so
> that it decrements rather then increments.
>
> ie, if my x values are 0 to 10 on the x-axis i want the x scale to
> show 10 to 0.
>





[flexcoders] Re-Center Pop-Up on Resize

2008-10-02 Thread jmfillman
Is there a way to re-center a pop-up window if the browser is resized?



[flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Tim Hoff

Hey FO Smartypants.  Totally kidding Josh.  Good on you mate.  But, I'm
getting a blank page for the blog post.  Just a heads up.

Cheers,
-TH

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> Just wanted to let you know I've publicly released my
dependency-injection
> library, Smartypants IOC! It uses an AS3-based DSL to to specify
rules, and
> injection points are defined via AS3 metadata, similar to Google
Guice.
>
> Blog post:
>
http://flex.joshmcdonald.info/2008/10/announcing-smartypants-ioc-depende\
ncy.html
>
> Google code: http://code.google.com/p/smartypants-ioc/
>
> API Reference: http://smartypants.gfunk007.com/api/
>
> Thanks go out to everybody who helped with ideas for the rule DSL, and
those
> who've been looking forward to the public release of Smartypants IOC,
and
> I'm looking forward to your thoughts, opinions and suggestions!
>
> Cheers,
>
> -Josh
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
>
> http://flex.joshmcdonald.info/
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>





RE: [flexcoders] DataVisualization RSL Issues

2008-10-02 Thread Battershall, Jeff
OK Matt,

It's issue SDK-17155.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, October 02, 2008 1:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataVisualization RSL Issues


Yes please


On 10/2/08 8:47 AM, "Battershall, Jeff" <[EMAIL PROTECTED]>
wrote:




Matt,

I built a simple Flex project that replicates the issue.  Should I enter
a bug?

Jeff

-Original Message-
From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On Behalf Of Matt Chotin
Sent: Tuesday, September 30, 2008 1:36 PM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] DataVisualization RSL Issues

Jeff, were you suing Modules as well?  Is this your bug?
http://bugs.adobe.com/jira/browse/FLEXDMV-1719

Matt

On 9/30/08 9:37 AM, "Battershall, Jeff" <[EMAIL PROTECTED]
 >
wrote:

I've narrowed this down a bit.  First of all, the behavior is restricted
to the ADG and to the rendering of row data. Secondly, the AGD seems to
not render fonts that have been imported.  If I reference a system font
(without importing it) it renders.  If I choose to import that font, it
won't render. I'll try to come up with a replicable test case with
sample code but it would seem to be a bug with the
datavisualization_3.1.0.2710.swz.

-Original Message-
From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 

] On Behalf Of Battershall, Jeff
Sent: Tuesday, September 30, 2008 10:09 AM
To: flexcoders@yahoogroups.com 

Subject: [flexcoders] DataVisualization RSL Issues

Trying to use the datavisualization_3.1.0.2710.swz as an RSL. I've
worked through the stream errors and I've used the most recent version
avaiable from
http://blogs.adobe.com/flex/archives/2008/09/updated_rsl_for_flex_data_v
isu.html.

However, row text is not rendering in an AdvancedDataGrid I'm using for
a report. If I merge into code, I don't get that issue.

Any ideas?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED] 

(609) 520-5637 (p)
(484) 477-9900 (c)



--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links






--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





Re: [flexcoders] Triggering Validator based on string value for TextInput

2008-10-02 Thread Ryan Gravener
I suppose you would need to use the regular expression validator.

Ryan Gravener
http://twitter.com/ryangravener


On Thu, Oct 2, 2008 at 12:46 PM, djohnson29 <[EMAIL PROTECTED]> wrote:

>   Does anyone know how to trigger a validator on a TextInput based on a
> certain string value?
>
> I have a regular TextInput with a regular Validator attached to it
> (required Validation). I would like to also trigger this Validator so
> that the red outline and tooltip displays when there is a particular
> value in the text property.
>
> So if the TextInput is empty, then the required validation kicks in,
> and if the text property contains for example, "foo", then then the
> Validator fires as well.
>
> Is there a quick and easy way to do this without overridding the
> Validator?
>
>  
>


[flexcoders] Flex video cross-domain nightmare!! help please!!

2008-10-02 Thread Ryan
I am attempting to load a flv file from a media server on a different
url into our flex app. Extremely frustratingly, I get this error:

SecurityError: Error #2122: Security sandbox violation:
BitmapData.draw:
http://localhost:8080/survey-service/client-1.0-alpha2-SNAPSHOT.swf
cannot access http://[OUR MEDIA
SERVER]/secure-media/ee12ec2d79911fc67fddbe9a41ef6954/48e40de3/audi-q7.flv.
A policy file is required, but the checkPolicyFile flag was not set
when this media was loaded.
at flash.display::BitmapData/draw()
at mx.effects.effectClasses::MaskEffectInstance/getVisibleBounds()
at mx.effects.effectClasses::MaskEffectInstance/initMask()
at mx.effects.effectClasses::MaskEffectInstance/startEffect()
at mx.effects::Effect/play()
[etc]

I have no idea what is trying to "bitmap draw" or why. All i want to
do is play the video, then move on to another screen by listening to
the "COMPLETE" event. This error appears at the end of the video, and
the complete event listener doesn't work.

My #1 option would be to stop this "draw" call. I have no need to
access bitmap data and shouldn't need a cross-domain file.

#2 would be to upload the cross-domain policy file to the media
server. Uploading the file is no problem, but to set "checkPolicyFile"
it seems I need to access the netStream object. Flex's "VideoDisplay"
seems to offer no way to do this. Is my only option to throw that
away, and build my own player on top of the "Video" class?

thanks!
Ryan



[flexcoders] PERT Chart

2008-10-02 Thread Jerry DuVal
Does anyone have any suggestions on a open source PERT chart flex widget?

Thanks in advance

Jerry


Re: [flexcoders] DataVisualization RSL Issues

2008-10-02 Thread Matt Chotin
Yes please


On 10/2/08 8:47 AM, "Battershall, Jeff" <[EMAIL PROTECTED]> wrote:




Matt,

I built a simple Flex project that replicates the issue.  Should I enter
a bug?

Jeff

-Original Message-
From: flexcoders@yahoogroups.com   
[mailto:flexcoders@yahoogroups.com  ] On
Behalf Of Matt Chotin
Sent: Tuesday, September 30, 2008 1:36 PM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] DataVisualization RSL Issues

Jeff, were you suing Modules as well?  Is this your bug?
http://bugs.adobe.com/jira/browse/FLEXDMV-1719

Matt

On 9/30/08 9:37 AM, "Battershall, Jeff" <[EMAIL PROTECTED] 
 >
wrote:

I've narrowed this down a bit.  First of all, the behavior is restricted
to the ADG and to the rendering of row data. Secondly, the AGD seems to
not render fonts that have been imported.  If I reference a system font
(without importing it) it renders.  If I choose to import that font, it
won't render. I'll try to come up with a replicable test case with
sample code but it would seem to be a bug with the
datavisualization_3.1.0.2710.swz.

-Original Message-
From: flexcoders@yahoogroups.com   

[mailto:flexcoders@yahoogroups.com   

] On Behalf Of Battershall, Jeff
Sent: Tuesday, September 30, 2008 10:09 AM
To: flexcoders@yahoogroups.com   

Subject: [flexcoders] DataVisualization RSL Issues

Trying to use the datavisualization_3.1.0.2710.swz as an RSL. I've
worked through the stream errors and I've used the most recent version
avaiable from
http://blogs.adobe.com/flex/archives/2008/09/updated_rsl_for_flex_data_v
isu.html.

However, row text is not rendering in an AdvancedDataGrid I'm using for
a report. If I merge into code, I don't get that issue.

Any ideas?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]   

(609) 520-5637 (p)
(484) 477-9900 (c)



--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





[flexcoders] Triggering Validator based on string value for TextInput

2008-10-02 Thread djohnson29
Does anyone know how to trigger a validator on a TextInput based on a
certain string value?

I have a regular TextInput with a regular Validator attached to it
(required Validation).  I would like to also trigger this Validator so
that the red outline and tooltip displays when there is a particular
value in the text property. 

So if the TextInput is empty, then the required validation kicks in,
and if the text property contains for example, "foo", then then the
Validator fires as well.

Is there a quick and easy way to do this without overridding the
Validator?



[flexcoders] Re: mx.messaging.channels.RTMPCHannel

2008-10-02 Thread djhatrick
Found this in my LCDS download.

--- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote:
>
> I'm doing a proof of concept to switch to rails, and flex wants this
> class mx.messaging.channels.RTMPCHannel because it's delclared in the
> service config. The docs read that it's part of Flex2 DataServices, 
> but isn't Flex2 DataServiced that a changed product product, to
> LiveCycle and BlazeDS?  
> 
> How do I get this swc to test what I want to do? Install LiveCycleES
> or Blaze perhaps?  Any Links etc?
> 
> Thanks,
> Patrick
>




[flexcoders] Re: DataGrid header background

2008-10-02 Thread Amy
--- In flexcoders@yahoogroups.com, "markgoldin_2000" 
<[EMAIL PROTECTED]> wrote:
>
> If I want to have a header of some columns in a different color what 
do 
> I basically do? Custom renderer? What would I use? Canvas?
> 
> Thanks for help.
>

You could look at my extended datagrid component, and use something 
like the styleablerenderer as your headerrenderer.

http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-
stylefunction.html



[flexcoders] Re: Plotting values equal to Zero on the Line Chart

2008-10-02 Thread Amy
--- In flexcoders@yahoogroups.com, "David Unger" <[EMAIL PROTECTED]> wrote:
>
> I'm relatively new to flex, and I have been using the line charting
> control to display a line chart of how many times a media type on my
> site has been accessed on a daily basis.  The problem is that any time
> I have a value of zero for any one day there is a break in my chart.  
> 
> If I set "interpolateValues" to true on each of my line series, it
> just connects the line to the next day with a value, instead of
> connecting to the a value of zero on the X axis.  I have searched all
> over to find an answer on how to plot values of zero on the access and
> have come up empty handed.  Is there a straightforward way to do this?
>  Am I missing something?

If you set the range on the axis so it can go down to, say, -1, does 
that help?




[flexcoders] mx.messaging.channels.RTMPCHannel

2008-10-02 Thread djhatrick
I'm doing a proof of concept to switch to rails, and flex wants this
class mx.messaging.channels.RTMPCHannel because it's delclared in the
service config. The docs read that it's part of Flex2 DataServices, 
but isn't Flex2 DataServiced that a changed product product, to
LiveCycle and BlazeDS?  

How do I get this swc to test what I want to do? Install LiveCycleES
or Blaze perhaps?  Any Links etc?

Thanks,
Patrick



[flexcoders] refreshing data via BlazeDS

2008-10-02 Thread netdeep
I have a persistent instance of my Flex App which needs to run constantly and 
recieve data 
via server push. It displays the latest data via a chart. The charts are 
defined in ActionScript. 
Here is a snippet:

var lineSeries:LineSeries = new LineSeries();
BindingUtils.bindProperty(lineSeries, "dataProvider", ser, "pointList"); // 
pointList is an 
ArrayCollection
lineSeries.xField="point1";
lineSeries.yField="point2";
lineSeries.verticalAxis = vAxis;
seriesArray.addItem(lineSeries);

chart.series = seriesArray.toArray().reverse(); // chart is an instance of 
CartesianChart

So when I push out the next data to my app, how do I let these lineSeries 
objects get the new 
data and redraw the chart? 



RE: [flexcoders] DataVisualization RSL Issues

2008-10-02 Thread Battershall, Jeff
Matt,

I built a simple Flex project that replicates the issue.  Should I enter
a bug?

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, September 30, 2008 1:36 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataVisualization RSL Issues


Jeff, were you suing Modules as well?  Is this your bug?
http://bugs.adobe.com/jira/browse/FLEXDMV-1719

Matt


On 9/30/08 9:37 AM, "Battershall, Jeff" <[EMAIL PROTECTED]>
wrote:




I've narrowed this down a bit.  First of all, the behavior is restricted
to the ADG and to the rendering of row data. Secondly, the AGD seems to
not render fonts that have been imported.  If I reference a system font
(without importing it) it renders.  If I choose to import that font, it
won't render. I'll try to come up with a replicable test case with
sample code but it would seem to be a bug with the
datavisualization_3.1.0.2710.swz.

-Original Message-
From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On Behalf Of Battershall, Jeff
Sent: Tuesday, September 30, 2008 10:09 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] DataVisualization RSL Issues

Trying to use the datavisualization_3.1.0.2710.swz as an RSL. I've
worked through the stream errors and I've used the most recent version
avaiable from
http://blogs.adobe.com/flex/archives/2008/09/updated_rsl_for_flex_data_v
isu.html.

However, row text is not rendering in an AdvancedDataGrid I'm using for
a report. If I merge into code, I don't get that issue.

Any ideas?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED] 
(609) 520-5637 (p)
(484) 477-9900 (c)



--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links






--
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:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





Re: [flexcoders] Regarding a flex app with integratiion of java

2008-10-02 Thread Tom Chiverton
On Friday 26 Sep 2008, chandra_mcas wrote:
> tomcat,weblogic also i can connect flex app directly with out using
> lcds just by tomcat. 

Yes, Flex can invoke a normal SOAP web service, just retrieve XML or even make 
AJAX still GET/POST calls. 

-- 
Tom Chiverton
Helping to autoschediastically customize cross-media market-growth





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
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: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Problem handling RemoteObject Errors

2008-10-02 Thread Tom Chiverton
On Thursday 02 Oct 2008, reflexactions wrote:
> But the AsyncDispatcher.timerHandler method nevers gets called to

The what ? Are you using a Timer and not the error events ?

> dispatch the event becuase no reference was kept to the AsyncDispatcher
> and it gets GC'd before the Timer runs.

I've little idea what you mean, could you post some example code ?

-- 
Tom Chiverton
Helping to competently implement performance-oriented attention-grabbing 
six-generation prospective partnerships





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
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: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] decrementing the x axis on a chart

2008-10-02 Thread Tom Chiverton
On Wednesday 01 Oct 2008, flexie_eric wrote:
> ie, if my x values are 0 to 10 on the x-axis i want the x scale to
> show 10 to 0.

What happens if you set the maximum to 0 and minimum to 10 ?

-- 
Tom Chiverton
Helping to carefully optimize next-generation robust paradigms





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
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: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] SecurityError #2048 20 seconds after Socket closure.

2008-10-02 Thread Maciek Sakrejda
Samuel,

Don't know if this is helpful, but when working with URLStream, we ran
into a situation where calling close() did not actually do anything
(i.e., it did not issue a TCP FIN--we watched for this with tcpdump). We
did not encounter any security errors, so I don't know if this is
related, but I think the easiest way to figure out what's going on might
be to break out something like tcpdump or Wireshark...
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Samuel Loretan <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SecurityError #2048 20 seconds after Socket
closure.
Date: Thu, 02 Oct 2008 11:48:22 -

Hello,

I've met a very unexpected problem with a Socket connection. I'm very 
used to client-server communication, and it's the first time I 
encounter such behaviour.

I have an AS3 application, connected to a custom Java server using the 
Socket class.

The server is run on a distant computer (let's say its hostname is 
'javaserver'), listening on port , along with a crossdomain server 
which deliver an authorization XML on port 843 ().

On the client computer, I have a FlashPlayerTrust file that allow my 
SWF to be on the Trusted sandbox.

The connection works just fine. I can send and receive binary data 
perfectly. At a given time in my communication exchange, the server 
closes the socket.

The CLOSE event is thrown in my Flash application correctly.

But 20 seconds after that (precisely 20s), my closed connection throws 
a SecurityError #2048 :

> Error#2048: Security Sandbox violation. Cannot load resource from 
javaserver:.

I can't figure why this is happening. In my experience, and according 
to the documentation, a SecurityError (or a SECURITY_ERROR event, if 
listened) can be thrown only when using connect() with a non-
authorized distant host (which is not the case, since my SWF is in the 
Trusted sandbox), or while connecting to a port below 1024 on a Web 
execution context (which is not my case, since I use a connection to 
the port , using a Standalone player).

This problem is happening with the Standalone Flash Player 10.0.0 
b591, but also with the Player 9.0.124.

Any idea?

Thank you very much.




 




[flexcoders] Re: html and swf file gone

2008-10-02 Thread flexaustin
No errors in Problems pain. It looks like if your orig. .swf and .html
files get deteleted the only fix is to recreate the project from
scratch.  Re-building doesn't do anything, atleast when svn is invovled.

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Yes, look at the "Problems" pane.  It is at menu, Windows, Problems.
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Ryan Graham
> Sent: Tuesday, September 30, 2008 6:16 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] html and swf file gone
> 
>  
> 
> Clean deletes all the files in the output bin and replaces them with
> fresh copies on build (very useful for externally loaded assets like
> images and xml files that may be updated during dev).
> 
>  
> 
> You just need to get your project back to a point where the compiler can
> successfully complete a build. I suspect you may have some compiler
> errors showing when you try to build?
> 
>  
> 
> HTH,
> 
> Ryan
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of flexaustin
> Sent: Tuesday, September 30, 2008 3:04 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] html and swf file gone
> 
> So I was working on my project and flex builder 3 started acting
> funny. Hit one keystroke and it would type 10 more and I keep getting
> really weird errors when nothing was wrong with the file. 
> 
> So I did project > clean. 
> 
> Now my .html and .swf in bin-debug is gone and I can't build another
> one? Getting File not Found: file:/C:/.html
> 
> Anyone know how to recreate the html and swf file?
> 
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
>




[flexcoders] Re: extend titlewindow ?

2008-10-02 Thread valdhor
Check out FlexMDI (http://code.google.com/p/flexmdi/)


--- In flexcoders@yahoogroups.com, "greg_knight_66" <[EMAIL PROTECTED]> wrote:
>
> 
> hi all,
> 
> i am looking for an example illustrating how to extend/modify the 
> header of the titlewindow.  im assuming this is possible?  
> specifically, i am looking to add a minimize button.
> 
> thanks for your help.
> 
> greg
>




[flexcoders] Use of ChangeEvent tag in Flex 1.5

2008-10-02 Thread greenfishinwater
I am converting a Flex 1.5 app to Flex 3 and came across the following
code:

[ChangeEvent("change")]
[Bindable(event="change")]
public var highScores:Array;

My understanding is that [Bindable(event="change")] specifies that
when a "change" event is dispatched then anything bound to the
variable will be updated. The line [ChangeEvent("change")] means that
when the variable highScores is updated it fires off the event "change".

In Flex 3 there is no tag ChangeEvent, so in this case I would
dispatch a "change" event when highScores is set e.g.

highScores = newValue;
dispatchEvent(new Event("change"));

This will broadcast a "change" event that is picked up by this
specific variable and any other variables that are also setup with
this same event.

Is this correct or is there a different method tha would work as well?

Thanks Andrew



[flexcoders] Re: as3corelib usage

2008-10-02 Thread valdhor
It looks like the compiled library is no longer on Google code. You
will need to get a SVN client (I used TortoiseSVN from
http://tortoisesvn.net/) and checkout a version from Trunk.

Once it's checked out, add the contents of the src directory to your
project src. There is a JSONExample.mxml file in the examples
directory that you can look at to see how to use it.


--- In flexcoders@yahoogroups.com, "karthikeyan.sivanantham"
<[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>   Goodday! I am trying to use JSON with flex. I am following 
> the instructions from the 
> link "http://www.adobe.com/devnet/flex/articles/flex_php_json.html"; to 
> setup the JSON development environment in flex. The instructions say 
> that I should get the as3corelib from code.google.com and include 
> the .swc file in the build path so that JSON support is enabled in 
> flex. All that I found in the as3corelib project in code.google.com is 
> the readonly source code of the as3corelib. I'm not sure how to go 
> forward. Any help would be higly appreciated. 
> 
> Regards,
> Karthik
>




Re: [flexcoders] component reuse

2008-10-02 Thread Sefi Ninio
So, the RSL is a SWF file created at compile time from the SWC?

On Thu, Oct 2, 2008 at 3:40 PM, Michael Schmalle <[EMAIL PROTECTED]>wrote:

>   Hi,
> SWCs have nothing to do with loading and runtime. An SWC is a collection of
> abc bytecode that gets compiled into a application with the mxmlc compiler.
>
> You have to create the rsl from an SWC with the compiler.
>
> Mike
>
>
> On Thu, Oct 2, 2008 at 7:29 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote:
>
>>   Hmm... I thought that for SWC to be lazy loaded as RSLs, they need to
>> be SWZ (which only Adobe can create)...
>>
>> On Thu, Oct 2, 2008 at 1:53 PM, Michael Schmalle <[EMAIL PROTECTED]
>> > wrote:
>>
>>>   > Is it possible to lazy load a SWC?
>>>
>>> No, SWC have to be compiled with the mxmlc compiler into the app.
>>>
>>> RSLs can lazy load component libraries though.
>>>
>>> Mike
>>>
>>> On Thu, Oct 2, 2008 at 3:39 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote:
>>>
   Hey Scott,

 I actually thought of creating a SWC as well, but I wanted to leverage
 lazy loading into the main app, that's why I thought more along the lines 
 of
 a module loaded first time it's needed.
 Is it possible to lazy load a SWC?

 On Thu, Oct 2, 2008 at 10:17 AM, Scott Melby <[EMAIL PROTECTED]>wrote:

>I would be inclined to use the component compiler 
> (compc)
> to build a component into a .swc library (think flexlib) that you could 
> then
> easily use from each version of your application (just load the .swc as a
> library).
>
> hth
> Scott
>
> --
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
>
>
>
> sefi.ninio wrote:
>
>  Hi everyone.
>
> I have a functionality that needs to be implemented both as a
> standalone app (for users with restricted access) and as a module in
> the main app (for users with full rights access).
>
> In the effort of code reuse (and laziness, of course), I'd like to
> implement the functionality once and pack it as a standalone
> application and as a module to be loaded inside the main app.
>
> I am in the middle of the process of thinking how to achieve this, and
> would appreciate any suggestions the community here might have to
> offer.
>
> I thought of packing it as a module and make both main app and
> restricted app load it as a module - that seems the obvious approach,
> but I'm curious if there are more elegant ways to resolve this.
>
> Thanks,
> Sefi
>
>
>

>>>
>>>
>>> --
>>> 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'.
>>>
>>
>>
>
>
> --
> 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'.
>  
>


RE: [flexcoders] Cairngorm

2008-10-02 Thread Dimitrios Gianninas
or just read here: http://www.cairngormdocs.org/
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
florian.salihovic
Sent: Thursday, October 02, 2008 8:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm



Don't foget the subject next time. The following link might help.

http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html 
 

--- In flexcoders@yahoogroups.com  , Anand 
Kumar <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Please some one explain me about  Cairngorm architecture.
> 
> Thanks
> Anand
>



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] (unknown)

2008-10-02 Thread João Pedro Bourbon

Hi

Just google for David Tucker's blog ;)

Em 2008/10/02, às 04:02, Anand Kumar escreveu:



Hi,

Please some one explain me about  Cairngorm architecture.

Thanks
Anand








[flexcoders] Re: More questions on weborb, creating my own services

2008-10-02 Thread valdhor
Oh yes, I completely forgot about the crossdomain.xml file. You can do a
search on this here and will get thousands of hits.

Basically, if your Flex application requires access to another server,
that server must have a crossdomain.xml file in its root directory (ie.
It must be able to be accessed at http://myserver.com/crossdomain.xml).

There are articles available on Adobe's web site regarding this:
http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_\
update.html

http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security\
.pdf


Most of this stuff is a bit over my head so you may just want to use my
crossdomain.xml file.

This is my crossdomain.xml file:

http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

   
 
 
 
   


This is pretty open so probably shouldn't be used on a production
server. I am in a closed network (Only internal access allowed) so I am
not too worried.

As an aside, I would recommend getting a debugging proxy like Charles -
http://www.charlesproxy.com (There are others out there as well but I
got Charles because it is cross platform). These utilities allow you to
see incoming and outgoing traffic and they understand AMF. This is
important as you can see your value objects as they are being passed. I
find this tool indispensable when working with Remote Objects (Not to
mention SOAP and other requests).

--- In flexcoders@yahoogroups.com, "timgerr" <[EMAIL PROTECTED]> wrote:
>
> OK, I did everything that was given and when I run the app I get this
> error:
> warning: Failed to load policy file from
http://127.0.0.1/crossdomain.xml
>
> *** Security Sandbox Violation ***
> Connection to http://127.0.0.1/weborb/weborb.php halted - not
> permitted from
> http://localhost/weborb/WebORBExample-debug/WebORBExample.swf
> Error: Request for resource at http://127.0.0.1/weborb/weborb.php by
> requestor from
> http://localhost/weborb/WebORBExample-debug/WebORBExample.swf is
> denied due to lack of policy file permissions.
>
> Not sure what to do here.
>
> Thanks for the help,
> timgerr
>
>
>
>
> --- In flexcoders@yahoogroups.com, "valdhor" stevedepp@ wrote:
> >
> > This seems to be a convoluted way to do this.
> >
> > I have created a simple example to show you how I use WebOrb.
> >
> > On my server I have the WebORB directory at the root level. In the
> > Services directory I have a MyServices directory and in this
directory I
> > have a ValueObjects directory. For this example I have two files:
> >
> >
=
> > TestNamesInVO.php:
> >  > class TestNamesInVO
> > {
> >  public $FirstName;
> >  public $LastName;
> >
> >  public function __construct($FirstName, $LastName)
> >  {
> >  $this->FirstName = $FirstName;
> >  $this->LastName = $LastName;
> >  }
> > }
> > ?>
> >
=
> > TestNamesOutVO.php:
> >  > class TestNamesOutVO
> > {
> >  public $FullName;
> >
> >  public function __construct($FullName)
> >  {
> >  $this->FullName = $FullName;
> >  }
> > }
> > ?>
> >
=
> >
> > The constructors are there just to make it easier to create a new
> > object. They are optional.
> >
> > In the MyServices directory I have a TestService.php file. This
contains
> > all the functions available with this service.
> >
> >
=
> > TestService.php:
> >  > class TestService
> > {
> >  function ShowMe()
> >  {
> >  return "Tom Jones";
> >  }
> >
> >  function ShowName($name)
> >  {
> >  return 'Hello ' . $name;
> >  }
> >
> >  function ShowNames(TestNamesInVO $namesIn)
> >  {
> >  require_once("ValueObjects/TestNamesInVO.php");
> >  require_once("ValueObjects/TestNamesOutVO.php");
> >
> >  $fullName = new TestNamesOutVO($namesIn->FirstName . " " .
> > $namesIn->LastName);
> >
> >  return $fullName;
> >  }
> > }
> > ?>
> >
=
> >
> > In flex I also have a ValueObjects folder underneath my src folder.
This
> > folder contains the corresponding ActionScript files for the value
> > objects on the server:
> >
> >
=
> > TestNamesInVO.as:
> > package ValueObjects
> > {
> >  [RemoteClass(alias="MyServices.ValueObjects.TestNamesInVO")]
> >  [Bindable]
> >  public class TestNamesInVO
> >  {
> >  //instance variables
> >  private var _FirstName:String;
> >  private var _LastName:String;
> >
> >  //accessor methods
> >  

Re: [flexcoders] extend titlewindow ?

2008-10-02 Thread Tom Chiverton
On Monday 29 Sep 2008, greg_knight_66 wrote:
> i am looking for an example illustrating how to extend/modify the
> header of the titlewindow.  im assuming this is possible?
> specifically, i am looking to add a minimize button.

I think FlexLib has this.

-- 
Tom Chiverton
Helping to continually compete compelling low-risk features





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
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: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] DataGrid header background

2008-10-02 Thread markgoldin_2000
If I want to have a header of some columns in a different color what do 
I basically do? Custom renderer? What would I use? Canvas?

Thanks for help.



Re: [flexcoders] Macros or templates in Builder / Eclipse?

2008-10-02 Thread Douglas Knudsen
Also cast your vote for https://bugs.adobe.com/jira/browse/FB-11842  a
request for templating support.  Currently the #2 most popular in FB
project.

DK

On Thu, Oct 2, 2008 at 3:20 AM, Gregor Kiddie <[EMAIL PROTECTED]> wrote:

>I use snippits which have a form of templates. Normally use it for
> making getters / setters, singleton boilerplate, etc.
>
> You get it as part of the Web Standard Tools (WST) plugin for eclipse.
>
>
>
> 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
>
> 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 *Josh McDonald
> *Sent:* 02 October 2008 00:39
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Macros or templates in Builder / Eclipse?
>
>
>
> Hey guys,
>
> Looking to cut down on the boring part of coding - the typing! Is there any
> good solutions / plugins for creating and using templates or macros in
> Builder / Eclipse? I know the Java Editor has templates, but I want to use
> them in ActionScript.
>
> Any suggestions? I've looked at Textexpander, it seems incredibly limited.
>
> -Josh
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> http://flex.joshmcdonald.info/
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>
>  
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Cairngorm

2008-10-02 Thread florian.salihovic
Don't foget the subject next time. The following link might help.

http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html

--- In flexcoders@yahoogroups.com, Anand Kumar <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Please some one explain me about  Cairngorm architecture.
> 
> Thanks
> Anand
>





[flexcoders] Display problem with repeater

2008-10-02 Thread guillaumeracine
Hi guys,

I have a problem with a repeater component...

Context :
I developped a product viewer for a client.
I have a menu of product's sections on the left and when we click on a
section
a call to my backend is made to feed my repeater component wich render
properly
the products associated with the selected section.

Problem :
My main problem is that on some sections, the last product shown (in
the repeater) is displayed in half...i really don't get it...try it at
this temp url :

http://chidacaprague.4java.ca/quincaillerie.jsp
Click on Section A / Pinceaux / 

By the way : This is normal that you don't see the product's images



[flexcoders] Re: extend titlewindow ?

2008-10-02 Thread Marielle Lange
>i am looking to add a minimize button.

I was trying to do something similar today with a Panel. 

I came across these demos:
http://blog.olivermerk.ca/index.cfm/2007/6/17/Flex-Adding-Icons-to-the-Panel
http://yussi.net/tt/97
http://blog.flexexamples.com/2007/08/02/adding-icons-to-panel-containers/
http://jwopitz.wordpress.com/2007/03/21/extending-mxpanel-a-new-approach-maybe/
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=9184
http://jwopitz-lib.googlecode.com/svn/examples/examples/PodApplication.html

You should be able to add children to the titleBar of the titleWindow
the same way as explained in these examples.



[flexcoders] Flash Player <-> Excel performance issue

2008-10-02 Thread Ash Weaver
Hi all,

I work for a company that produces a rich Flex application.  We are
getting reports from one of our customers, however, that if they have
our app loaded in their browser (IE7 or Firefox but not IE6), opening
a spreadsheet in Excel takes on the order of 15 seconds.  As soon as
they close their browser, opening that same spreadsheet takes a
negligible amount of time.

CPU usage by the browser on the client machine never goes above 30%
and there seems to be enough free memory to open Excel without issue.

Does anyone know of any correlation between bad Excel performance and
having a Flash app running in a particular set of browsers?

Regards with confusion,
Ash





[flexcoders] as3corelib usage

2008-10-02 Thread karthikeyan.sivanantham
Hi guys,
  Goodday! I am trying to use JSON with flex. I am following 
the instructions from the 
link "http://www.adobe.com/devnet/flex/articles/flex_php_json.html"; to 
setup the JSON development environment in flex. The instructions say 
that I should get the as3corelib from code.google.com and include 
the .swc file in the build path so that JSON support is enabled in 
flex. All that I found in the as3corelib project in code.google.com is 
the readonly source code of the as3corelib. I'm not sure how to go 
forward. Any help would be higly appreciated. 

Regards,
Karthik



[flexcoders] (unknown)

2008-10-02 Thread Anand Kumar
Hi,

Please some one explain me about  Cairngorm architecture.

Thanks
Anand



  

[flexcoders] decrementing the x axis on a chart

2008-10-02 Thread flexie_eric
Can someone tell me how to to reverse the scale on an axis in flex so
that it decrements rather then increments.

ie, if my x values are 0 to 10 on the x-axis i want the x scale to
show 10 to 0.



[flexcoders] Plotting values equal to Zero on the Line Chart

2008-10-02 Thread David Unger
I'm relatively new to flex, and I have been using the line charting
control to display a line chart of how many times a media type on my
site has been accessed on a daily basis.  The problem is that any time
I have a value of zero for any one day there is a break in my chart.  

If I set "interpolateValues" to true on each of my line series, it
just connects the line to the next day with a value, instead of
connecting to the a value of zero on the X axis.  I have searched all
over to find an answer on how to plot values of zero on the access and
have come up empty handed.  Is there a straightforward way to do this?
 Am I missing something?



Re: [flexcoders] component reuse

2008-10-02 Thread Michael Schmalle
Hi,
SWCs have nothing to do with loading and runtime. An SWC is a collection of
abc bytecode that gets compiled into a application with the mxmlc compiler.

You have to create the rsl from an SWC with the compiler.

Mike

On Thu, Oct 2, 2008 at 7:29 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote:

>   Hmm... I thought that for SWC to be lazy loaded as RSLs, they need to be
> SWZ (which only Adobe can create)...
>
> On Thu, Oct 2, 2008 at 1:53 PM, Michael Schmalle <[EMAIL PROTECTED]>wrote:
>
>>   > Is it possible to lazy load a SWC?
>>
>> No, SWC have to be compiled with the mxmlc compiler into the app.
>>
>> RSLs can lazy load component libraries though.
>>
>> Mike
>>
>> On Thu, Oct 2, 2008 at 3:39 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote:
>>
>>>   Hey Scott,
>>>
>>> I actually thought of creating a SWC as well, but I wanted to leverage
>>> lazy loading into the main app, that's why I thought more along the lines of
>>> a module loaded first time it's needed.
>>> Is it possible to lazy load a SWC?
>>>
>>> On Thu, Oct 2, 2008 at 10:17 AM, Scott Melby <[EMAIL PROTECTED]>wrote:
>>>
I would be inclined to use the component compiler 
 (compc)
 to build a component into a .swc library (think flexlib) that you could 
 then
 easily use from each version of your application (just load the .swc as a
 library).

 hth
 Scott

 --
 Scott Melby
 Founder, Fast Lane Software LLC
 http://www.fastlanesw.com



 sefi.ninio wrote:

  Hi everyone.

 I have a functionality that needs to be implemented both as a
 standalone app (for users with restricted access) and as a module in
 the main app (for users with full rights access).

 In the effort of code reuse (and laziness, of course), I'd like to
 implement the functionality once and pack it as a standalone
 application and as a module to be loaded inside the main app.

 I am in the middle of the process of thinking how to achieve this, and
 would appreciate any suggestions the community here might have to offer.

 I thought of packing it as a module and make both main app and
 restricted app load it as a module - that seems the obvious approach,
 but I'm curious if there are more elegant ways to resolve this.

 Thanks,
 Sefi



>>>
>>
>>
>> --
>> 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'.
>>
>
>  
>



-- 
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'.


RE: [flexcoders] Re: More questions on weborb, creating my own services

2008-10-02 Thread Jim Hayes
apologies, now I read valdhors example code I see the endpoint is set in the 
code, here :
> channelSet = new ChannelSet();
> amfChannel = new AMFChannel("my-amf",
> "http://myserver/WebORB/weborb.php";);
> channelSet.addChannel(amfChannel);

so it's there you need to change localhost to 127.0.0.1 (or vice versa), not in 
the services config xml.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Jim Hayes
Sent: Thu 02/10/2008 13:05
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: More questions on weborb, creating my own services
 

that one has irritated me before!

it sees 127.0.0.1 and localhost as being different domains (correctly I 
believe).
if you change either the endpoint in the services xml file or the debugging url 
in project properties such that they match then you should find it all works 
(apologies for not being more precise in terms of the changes, I'm away from 
flexbuilder at the moment and my memory is ropey)


__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

RE: [flexcoders] Re: More questions on weborb, creating my own services

2008-10-02 Thread Jim Hayes

that one has irritated me before!

it sees 127.0.0.1 and localhost as being different domains (correctly I 
believe).
if you change either the endpoint in the services xml file or the debugging url 
in project properties such that they match then you should find it all works 
(apologies for not being more precise in terms of the changes, I'm away from 
flexbuilder at the moment and my memory is ropey)

-Original Message-
From: flexcoders@yahoogroups.com on behalf of timgerr
Sent: Thu 02/10/2008 05:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: More questions on weborb, creating my own services
 
OK, I did everything that was given and when I run the app I get this
error:
warning: Failed to load policy file from http://127.0.0.1/crossdomain.xml

*** Security Sandbox Violation ***
Connection to http://127.0.0.1/weborb/weborb.php halted - not
permitted from
http://localhost/weborb/WebORBExample-debug/WebORBExample.swf
Error: Request for resource at http://127.0.0.1/weborb/weborb.php by
requestor from
http://localhost/weborb/WebORBExample-debug/WebORBExample.swf is
denied due to lack of policy file permissions.

Not sure what to do here.

Thanks for the help,
timgerr




--- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote:
>
> This seems to be a convoluted way to do this.
> 
> I have created a simple example to show you how I use WebOrb.
> 
> On my server I have the WebORB directory at the root level. In the
> Services directory I have a MyServices directory and in this directory I
> have a ValueObjects directory. For this example I have two files:
> 
> =
> TestNamesInVO.php:
>  class TestNamesInVO
> {
>  public $FirstName;
>  public $LastName;
> 
>  public function __construct($FirstName, $LastName)
>  {
>  $this->FirstName = $FirstName;
>  $this->LastName = $LastName;
>  }
> }
> ?>
> =
> TestNamesOutVO.php:
>  class TestNamesOutVO
> {
>  public $FullName;
> 
>  public function __construct($FullName)
>  {
>  $this->FullName = $FullName;
>  }
> }
> ?>
> =
> 
> The constructors are there just to make it easier to create a new
> object. They are optional.
> 
> In the MyServices directory I have a TestService.php file. This contains
> all the functions available with this service.
> 
> =
> TestService.php:
>  class TestService
> {
>  function ShowMe()
>  {
>  return "Tom Jones";
>  }
> 
>  function ShowName($name)
>  {
>  return 'Hello ' . $name;
>  }
> 
>  function ShowNames(TestNamesInVO $namesIn)
>  {
>  require_once("ValueObjects/TestNamesInVO.php");
>  require_once("ValueObjects/TestNamesOutVO.php");
> 
>  $fullName = new TestNamesOutVO($namesIn->FirstName . " " .
> $namesIn->LastName);
> 
>  return $fullName;
>  }
> }
> ?>
> =
> 
> In flex I also have a ValueObjects folder underneath my src folder. This
> folder contains the corresponding ActionScript files for the value
> objects on the server:
> 
> =
> TestNamesInVO.as:
> package ValueObjects
> {
>  [RemoteClass(alias="MyServices.ValueObjects.TestNamesInVO")]
>  [Bindable]
>  public class TestNamesInVO
>  {
>  //instance variables
>  private var _FirstName:String;
>  private var _LastName:String;
> 
>  //accessor methods
>  public function get FirstName():String {return _FirstName;}
>  public function get LastName():String {return _LastName;}
> 
>  //mutator methods
>  public function set FirstName(FirstName:String):void
{_FirstName
> = FirstName;}
>  public function set LastName(LastName:String):void {_LastName =
> LastName;}
>  } // end class
> }//end package
> =
> TestNamesOutVO.as:
> package ValueObjects
> {
>  [RemoteClass(alias="MyServices.ValueObjects.TestNamesOutVO")]
>  [Bindable]
>  public class TestNamesOutVO
>  {
>  //instance variables
>  private var _FullName:String;
> 
>  //accessor methods
>  public function get FullName():String {return _FullName;}
> 
>  //mutator methods
>  public function set FullName(FullName:String):void {_FullName =
> FullName;}
>  } // end class
> }//end package
> =
> 
> Note the RemoteClass metadata. This tells flex the location of the class
> on the server that matches this class (In relation to the Services
> directory).
> 
> Finally we have

[flexcoders] SecurityError #2048 20 seconds after Socket closure.

2008-10-02 Thread Samuel Loretan
Hello,

I've met a very unexpected problem with a Socket connection. I'm very 
used to client-server communication, and it's the first time I 
encounter such behaviour.

I have an AS3 application, connected to a custom Java server using the 
Socket class.

The server is run on a distant computer (let's say its hostname is 
'javaserver'), listening on port , along with a crossdomain server 
which deliver an authorization XML on port 843 ().

On the client computer, I have a FlashPlayerTrust file that allow my 
SWF to be on the Trusted sandbox.

The connection works just fine. I can send and receive binary data 
perfectly. At a given time in my communication exchange, the server 
closes the socket.

The CLOSE event is thrown in my Flash application correctly.

But 20 seconds after that (precisely 20s), my closed connection throws 
a SecurityError #2048 :

 > Error#2048: Security Sandbox violation. Cannot load resource from 
javaserver:.

I can't figure why this is happening. In my experience, and according 
to the documentation, a SecurityError (or a SECURITY_ERROR event, if 
listened) can be thrown only when using connect() with a non-
authorized distant host (which is not the case, since my SWF is in the 
Trusted sandbox), or while connecting to a port below 1024 on a Web 
execution context (which is not my case, since I use a connection to 
the port , using a Standalone player).

This problem is happening with the Standalone Flash Player 10.0.0 
b591, but also with the Player 9.0.124.

Any idea?

Thank you very much.



RE: [flexcoders] component reuse

2008-10-02 Thread Gregor Kiddie
A SWZ is just a signed RSL. Unsigned RSLs are SWCs.

http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3
_RSLs

Will give you some more info.

 

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
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 Sefi Ninio
Sent: 02 October 2008 12:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] component reuse

 

Hmm... I thought that for SWC to be lazy loaded as RSLs, they need to be
SWZ (which only Adobe can create)...

On Thu, Oct 2, 2008 at 1:53 PM, Michael Schmalle
<[EMAIL PROTECTED]  > wrote:

> Is it possible to lazy load a SWC?

No, SWC have to be compiled with the mxmlc compiler into the app.

 

RSLs can lazy load component libraries though.

 

Mike

 

On Thu, Oct 2, 2008 at 3:39 AM, Sefi Ninio <[EMAIL PROTECTED]
 > wrote:

Hey Scott,

I actually thought of creating a SWC as well, but I wanted to leverage
lazy loading into the main app, that's why I thought more along the
lines of a module loaded first time it's needed. 
Is it possible to lazy load a SWC?

 

On Thu, Oct 2, 2008 at 10:17 AM, Scott Melby <[EMAIL PROTECTED]
 > wrote:

I would be inclined to use the component compiler (compc
 ) to build a component into a .swc library (think flexlib) that you
could then easily use from each version of your application (just load
the .swc as a library).

hth
Scott

-- 
Scott Melby 
Founder, Fast Lane Software LLC 
http://www.fastlanesw.com   



sefi.ninio wrote: 

Hi everyone.

I have a functionality that needs to be implemented both as a
standalone app (for users with restricted access) and as a module in
the main app (for users with full rights access). 

In the effort of code reuse (and laziness, of course), I'd like to
implement the functionality once and pack it as a standalone
application and as a module to be loaded inside the main app.

I am in the middle of the process of thinking how to achieve this, and
would appreciate any suggestions the community here might have to offer.

I thought of packing it as a module and make both main app and
restricted app load it as a module - that seems the obvious approach,
but I'm curious if there are more elegant ways to resolve this.

Thanks,
Sefi

 

 





-- 
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'.

 

 



Re: [flexcoders] component reuse

2008-10-02 Thread Sefi Ninio
Hmm... I thought that for SWC to be lazy loaded as RSLs, they need to be SWZ
(which only Adobe can create)...

On Thu, Oct 2, 2008 at 1:53 PM, Michael Schmalle <[EMAIL PROTECTED]>wrote:

>   > Is it possible to lazy load a SWC?
>
> No, SWC have to be compiled with the mxmlc compiler into the app.
>
> RSLs can lazy load component libraries though.
>
> Mike
>
> On Thu, Oct 2, 2008 at 3:39 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote:
>
>>   Hey Scott,
>>
>> I actually thought of creating a SWC as well, but I wanted to leverage
>> lazy loading into the main app, that's why I thought more along the lines of
>> a module loaded first time it's needed.
>> Is it possible to lazy load a SWC?
>>
>> On Thu, Oct 2, 2008 at 10:17 AM, Scott Melby <[EMAIL PROTECTED]>wrote:
>>
>>>I would be inclined to use the component compiler 
>>> (compc)
>>> to build a component into a .swc library (think flexlib) that you could then
>>> easily use from each version of your application (just load the .swc as a
>>> library).
>>>
>>> hth
>>> Scott
>>>
>>> --
>>> Scott Melby
>>> Founder, Fast Lane Software LLC
>>> http://www.fastlanesw.com
>>>
>>>
>>>
>>> sefi.ninio wrote:
>>>
>>>  Hi everyone.
>>>
>>> I have a functionality that needs to be implemented both as a
>>> standalone app (for users with restricted access) and as a module in
>>> the main app (for users with full rights access).
>>>
>>> In the effort of code reuse (and laziness, of course), I'd like to
>>> implement the functionality once and pack it as a standalone
>>> application and as a module to be loaded inside the main app.
>>>
>>> I am in the middle of the process of thinking how to achieve this, and
>>> would appreciate any suggestions the community here might have to offer.
>>>
>>> I thought of packing it as a module and make both main app and
>>> restricted app load it as a module - that seems the obvious approach,
>>> but I'm curious if there are more elegant ways to resolve this.
>>>
>>> Thanks,
>>> Sefi
>>>
>>>
>>>
>>
>
>
> --
> 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'.
>  
>


  1   2   >