[flexcoders] domainMemory in FP10?

2008-10-28 Thread Brian Deitte
Does anybody know what domainMemory does in Flash Player 10?  I was
just looking through the new APIs, and I came across this:

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html#domainMemory

The description is more than a little cryptic:

Gets and sets the object on which domain-global memory operations
will operate within this ApplicationDomain 

I haven't been able to find any more information on this, and I'm just
curious on what it does.  -Brian


Re: [flexcoders] domainMemory in FP10?

2008-10-28 Thread Brian Deitte
That was cruel, Matt, very cruel, as now I'm even more interested in
how it works.  :)

On Tue, Oct 28, 2008 at 12:57 PM, Matt Chotin [EMAIL PROTECTED] wrote:
 Used for this stuff:
 http://www.peterelst.com/blog/2008/10/04/what-is-flacc-all-about/

 On 10/28/08 9:55 AM, Brian Deitte [EMAIL PROTECTED] wrote:

 Does anybody know what domainMemory does in Flash Player 10? I was
 just looking through the new APIs, and I came across this:

 http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html#domainMemory

 The description is more than a little cryptic:

 Gets and sets the object on which domain-global memory operations
 will operate within this ApplicationDomain 

 I haven't been able to find any more information on this, and I'm just
 curious on what it does. -Brian

 


Re: [flexcoders] domainMemory in FP10?

2008-10-28 Thread Brian Deitte
Ah, of course, I get it now.  It's for pointers in ActionScript.

On Tue, Oct 28, 2008 at 1:00 PM, Brian Deitte [EMAIL PROTECTED] wrote:
 That was cruel, Matt, very cruel, as now I'm even more interested in
 how it works.  :)

 On Tue, Oct 28, 2008 at 12:57 PM, Matt Chotin [EMAIL PROTECTED] wrote:
 Used for this stuff:
 http://www.peterelst.com/blog/2008/10/04/what-is-flacc-all-about/

 On 10/28/08 9:55 AM, Brian Deitte [EMAIL PROTECTED] wrote:

 Does anybody know what domainMemory does in Flash Player 10? I was
 just looking through the new APIs, and I came across this:

 http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/ApplicationDomain.html#domainMemory

 The description is more than a little cryptic:

 Gets and sets the object on which domain-global memory operations
 will operate within this ApplicationDomain 

 I haven't been able to find any more information on this, and I'm just
 curious on what it does. -Brian

 



[flexcoders] Flex 3 SWCs within CS3, again

2008-08-25 Thread Brian Deitte
Can you use framework-less Flex 3 SWCs within CS3?  I assumed that you
could do this if the compatibility-version flag was used and you
didn't use any of the Flex framework.  I haven't been able to get this
to work, however.  I asked about this about a month ago and the
all-knowing Matt Chotin said it should work, so I'm hoping there's
something I'm missing.

A colleague of mine, Crystal West, created this example to show the issue:

http://deitte.com/swc_test.zip

The example has two SWCs within it, one created using Flash Authoring
and one created using Flex 3.  Try compiling swc_test.fla with just
flash_bc_ads.swc in the same directory (that is, remove
flex_bc_ads.swc). The fla should compile fine. Then try with just
flex_bc_ads.swc. You should get compile errors related to AdTranslator
class, etc.

She tried a lot of variations on compiling with flex_bc_ads.swc, and
nothing worked.  flex_bc_ads.swc was built using the compatibility
flag and doesn't use any of the Flex framework.  She also tried
compiling the Flex SWC using compute-digest=false (as recommended by
Tim Walling 
http://timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex).
That didn't work either, and, according to some of the comments on
this blog post, didn't work for others.

Any suggestions?


Re: [flexcoders] Compiler Extension point

2008-08-13 Thread Brian Deitte
Yeah, the only way you can add a new compiler extension is through the
code.  Although it doesn't seem too hard to add a non-code extension
mechanism, a way to read in classes to instantiate and use from an XML
file somewhere.  -Brian

On Wed, Aug 13, 2008 at 8:01 AM, Marvin Froeder [EMAIL PROTECTED] wrote:
 Hi folks,

 I was looking at flex SDK sources.

 Looking at ImplementationCompiler, there one As3Compiler is instanced and
 some extensions are added (addCompilerExtension) to As3Compiler.

 At present time I can only add extensions by change compiler code, right?

 Exists any extension point that I can call to add 3rdparty extensions to
 compiler?  Or the only way is changing code?


 VELO
 


Re: [flexcoders] Re: Data caching dto's

2008-08-08 Thread Brian Deitte
This message is probably too late, but I'll answer anyways.  If you're
just trying to compare ten objects at a time, I'd just use the Array
technique that you described.  Assuming you need to do a deep equality
check, just use ObjectUtil.equals() (or something like that, it's in
the Flex framework).  Comparing 10 (or 100) objects, assuming you're
only comparing each object to one other object, shouldn't be very
intensive.  -Brian

On Thu, Aug 7, 2008 at 11:45 AM, flexaustin [EMAIL PROTECTED] wrote:
 Actually obtaining the data isn't the issue. I more interested how do
 I go about comparing the old data to the new data? Array, some sort
 of custom hash, or xml. Which is faster or better?

 I would think array would be best by comparing old data array to new
 data array and then creating a third data array that holds all those
 that haven't changed?

 Yes all 500 objects are shown at once. The issue isn't getting the
 data its how slow and processor intensive it is to create the objects
 all over again if the data has changed.

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

 Caching of data across browser sessions, I assume? This is usually
 done with SharedObject. But I wonder if there's a way to rearchitect
 your application so this isn't needed? I assume that all 500 objects
 aren't shown at once and that you could implement some kind of paging
 mechanism. -Brian

 On Wed, Aug 6, 2008 at 3:17 PM, flexaustin [EMAIL PROTECTED] wrote:
  I was wondering if anyone has done any caching of data in Flex? And if
  so how did you do this?
 
  I have an application that pulls in up to 500 items and converts them
  to DTO's. The app then runs a routine, which generates objects based
  on those dto's. The generation of objects is very memory intensive so
  I need to reduce this to increase usability as right now the user has
  to wait until all 500 objects are created. I would like to be able to
  generate say the first 10 objects based off the old data, if the data
  hasn't changed since the last time the data was grab (via httpservice)
  then run the routine to create the other 490 objects.
 
  So sorting by saying N changed?...yes through out, N + 1
  changed?no keep create object, N + 2 changed? yes through
  out.N+10 stop.
  Run...routine recreate the other 490 and stick them back in the
  correct order.
 
  Make sense?
 
 


 


Re: [flexcoders] Testing Internet Connection in Flex

2008-08-07 Thread Brian Deitte
If it's not AIR, just add event listeners for this, usually an
IOErrorEvent.  If you can listen for SecurityErrorEvent, make sure to
do this as well, since depending on what you're loading, this could
show up as the event for a connection being down.  -Brian

On Wed, Aug 6, 2008 at 4:06 PM, nagaofthesea [EMAIL PROTECTED] wrote:
 Howdy-

 Does anyone know of a way (AS3 or mx:CustomComponent) that tests if
 the user's internet connection is live?

 I have an application with error processing that needs to know if an
 RPC failed because the user's connection is down...

 Thanks!
 Naga

 


Re: [flexcoders] Data caching dto's

2008-08-07 Thread Brian Deitte
Caching of data across browser sessions, I assume?  This is usually
done with SharedObject.  But I wonder if there's a way to rearchitect
your application so this isn't needed?  I assume that all 500 objects
aren't shown at once and that you could implement some kind of paging
mechanism.  -Brian

On Wed, Aug 6, 2008 at 3:17 PM, flexaustin [EMAIL PROTECTED] wrote:
 I was wondering if anyone has done any caching of data in Flex? And if
 so how did you do this?

 I have an application that pulls in up to 500 items and converts them
 to DTO's. The app then runs a routine, which generates objects based
 on those dto's. The generation of objects is very memory intensive so
 I need to reduce this to increase usability as right now the user has
 to wait until all 500 objects are created. I would like to be able to
 generate say the first 10 objects based off the old data, if the data
 hasn't changed since the last time the data was grab (via httpservice)
 then run the routine to create the other 490 objects.

 So sorting by saying N changed?...yes through out, N + 1
 changed?no keep create object, N + 2 changed? yes through
 out.N+10 stop.
 Run...routine recreate the other 490 and stick them back in the
 correct order.

 Make sense?

 


[flexcoders] Flex 3 SWCs within CS3

2008-08-07 Thread Brian Deitte
Can you use framework-less Flex 3 SWCs within CS3?  I'm having a hard
time googling about information on this.  I assumed that you could do
this if the compatibility-version flag was used and you didn't use any
of the Flex framework.  The SWFs I'm creating in Authoring, however,
are 1k and don't seem to actually use the classes in the SWC.  I
haven't tried decompiling the SWF yet to see what's actually happening
in it.  But is this expected to work?  -Brian


Re: [flexcoders] Changing Parents

2008-08-07 Thread Brian Deitte
I did this recently, and it didn't cause havoc.  What are seeing that
goes wrong?  I had two issues that I did needed to fix.  One is that
you have to remember to remove the child from the stage before adding
it back to the application.  The second is that the bindings were
reexecuted when added back to the application, which I worked around
by checking for the same value in the places I was observing bindings.
 -Brian

On Thu, Aug 7, 2008 at 11:53 AM, wwwpl [EMAIL PROTECTED] wrote:
 I have an image viewer that I would like to go full screen. I now have
 my app taking up the full screen, but I need the image viewer window
 to become the size of the app window. The image viewer is a child of a
 child of a child of the Application. I am calling application.addChild
 (imageViewer) to get this to go full screen, but when I want to go back
 to the normal view, I do a application.removeChild(imageViewer) and I
 want to add it back to the parent it had before. But that doesn't
 work. How can I change parents of a component without causing havoc?

 


RE: [flexcoders] Re: ASDoc for MXML components?

2007-06-07 Thread Brian Deitte
They used a dummy AS class and put the documentation in it.   You can
ASDoc with MXML, but it doesn't work well.  The two biggest problems
with using MXML and ASDoc is that you can't define class-level comments
(and using mx:Metadata doesn't get around that but will work elsewhere)
and that so many variables are public.  -Brian




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of borekbe
Sent: Thursday, June 07, 2007 12:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ASDoc for MXML components?



That's what I did - I searched for *.mxml inside Flex source and
the 
RichTextEditor.mxml is the only component in the whole framework
defined in MXML.

But to my surprise, there is absolutely no documentation. How
did the
Flex team worked around this situation?

Borek

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

 It looks like the mx:Metadata tag might also allows for
comments, but i
 haven't personally confirmed that. See RichTextEditor.mxml for
what I'm
 talking about.
 
 Daniel Freiman
 nondocs http://nondocs.blogspot.com
http://nondocs.blogspot.com 



 



RE: [flexcoders] Re: PDF in Flex

2007-06-07 Thread Brian Deitte
Well if the Flex team ever wants use the code on my site (which really
is Christophe's code, who still works there) at
http://www.deitte.com/archives/2006/08/finally_updated.htm, they're
welcome to.  But my guess is that the focus is on Apollo to solve this
problem, since in Apollo's case there's full control over the HTML
rendering.  It's a lot uglier and bug-prone in the iframe case, and
given the comments I've seen on the iframe solution, I'm not sure if the
Flex team should try to support it.  -Brian
 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Thursday, June 07, 2007 12:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: PDF in Flex



Fine isn't good enough for me. I'd like to jump on the
bandwagon, too.
Surely Adobe could make a fake html component that actually
implements
a floating div or iframe or something? And then you could
fluidly use
htmlObject.url = http://www.example.com
http://www.example.com , etc.



 



RE: [flexcoders] Slightly OT: Vista Feedback

2007-01-25 Thread Brian Deitte
The Windows XP hibernation problem (which I ran into as well) is solved
with this hotfix:
http://www.u-g-h.com/InsufficientSystemResourcesExistToCompleteTheAPISOL
IVED.aspx




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks
Sent: Thursday, January 25, 2007 9:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Slightly OT: Vista Feedback



I installed Vista on my laptop running MX 7.02, IIS and FB 2.
They all continued to work. It was everything else that broke. I lost
printer support (no Vista drivers, and the XP drivers didn't transfer
over). They did fix the hibernate bug, so Vista did finally allow my
laptop to hibernate, but the rest of the interface was not only
unimpressive, but confusing. If you use Windows-R to access your
filesystem, you're in for a shock when you find out that they've moved
some of the core directories like Desktop, My Documents, etc. I didn't
play around with it long enough to figure it out... I ended up
formatting it and going back to XP.

Shan

Battershall, Jeff wrote: 

My biggest concern in installing Vista on my laptop is
whether it's
going to break my existing development setup:

CFMX 7.02 running with Apache with heavy use of Flex
Builder. 

Anyone out there has Vista running on such a setup
without issues? Or
with issues? I'm still on the fence as to whether the
feature set of
Vista is compelling enough to warrant the upgrade, and
my concerns about
screwing up my development environment are a big factor
in my decision.

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
mailto:jeff.battershall%40dowjones.com 
(609) 520-5637 (p)
(484) 477-9900 (c)





 



[flexcoders] relative paths in the Source paths of Flex Builder

2007-01-12 Thread Brian Deitte
Does anybody know how to create a relative path in the Additional
source folders section of Flex Builder?  These are for paths outside of
the main project path.  I would be fine with a way which involves
changing the project files directly, which I tried to do.  I also tried
adding the source paths as source-path parameters in the Additional
compiler arguments, but then auto-complete breaks.

Without relative paths, I can't create projects files that can be used
by a team without changes.  It's not that a big deal for me, but a bit
annoying.  -Brian


RE: [flexcoders] Svn Flex

2007-01-12 Thread Brian Deitte
Well now I know where the random person who was IMing me (and I finally
had to ignore) came from... -Brian




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of nitin jadhav
Sent: Friday, January 12, 2007 7:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Svn  Flex




can tact me
add me 
nitkav_god
nitin
9892516802
 




Here's a new way to find what you're looking for - Yahoo!
Answers
http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/




 



RE: [flexcoders] Re: ASDoc problems with embeded resources

2007-01-04 Thread Brian Deitte
I'm not sure if the cached classes would be picked up, but it sounds
like a possibility.  Also, here's a list of some other things fixed for
ASDoc: http://www.deitte.com/archives/2006/10/asdoc_a_list_of.htm
-Brian




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Janssens
Sent: Wednesday, January 03, 2007 11:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: ASDoc problems with embeded
resources



Thanks Brian,

I'll do another check to make sure. We had been using the source
before moving across to the SWC so maybe the classes are cached and
being picked up? I'll have a hunt around.

Thanks for the help. 

Cheers,

Simon


On 1/4/07, Brian Deitte [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 



Hi Simon, you'll have to ask elsewhere for an ETA, but I
saw someone post about the next version on flexcoders earlier this week.
 
It shouldn't be possible (based on what's in a SWC) to
get documentation on a class in it.  Are you are you don't have the
Cairngorm source somewhere in your source-path?
 
-Brian




From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On Behalf
Of Simon Janssens
Sent: Wednesday, January 03, 2007 10:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: ASDoc problems
with embeded resources




Thanks Brian,

Is there any ETA on the next version?

While I have got you can I ask a question about
asdoc and cairngorm.

I have found that asdoc still tries to document
classes that exist inside a SWC. for instance when asdoc gets to my
services.mxml class it then tries to document ServiceLocator and
IServiceLocator which are part of cairngorm. I have the cairngorm swc in
the flex build path.

Any suggestions?

Cheers,

Simon



On 1/4/07, Brian Deitte [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 



This will be fixed in the next update to
Flex, since ASDoc will ignore embedded resources.  -Brian
 


From: flexcoders@yahoogroups.com
[mailto: flexcoders@ mailto:flexcoders@  yahoogroups.com
http://yahoogroups.com ] On Behalf Of simon_janssens
Sent: Tuesday, January 02, 2007 10:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ASDoc problems
with embeded resources




Hey everyone,

Did anyone find an answer to this error
with embeded resources and
asdoc? I have com across the exact same
thing.

Cheers,

Simon

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

 Try taking out the first / and just
start with ../?
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com  [mailto:
flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of Xavi Beumala
 Sent: Monday, October 09, 2006 11:14
PM
 To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] ASDoc
problems with embeded resources

RE: [flexcoders] Re: ASDoc problems with embeded resources

2007-01-03 Thread Brian Deitte
This will be fixed in the next update to Flex, since ASDoc will ignore
embedded resources.  -Brian
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simon_janssens
Sent: Tuesday, January 02, 2007 10:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ASDoc problems with embeded resources



Hey everyone,

Did anyone find an answer to this error with embeded resources
and
asdoc? I have com across the exact same thing.

Cheers,

Simon

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

 Try taking out the first / and just start with ../?
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Xavi Beumala
 Sent: Monday, October 09, 2006 11:14 PM
 To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] ASDoc problems with embeded
resources
 
 
 
 The fact is that the path is relative to the project:
 
 For example:
 [Embed(source=/../assets/icons/control_play_blue.png)]
 public static var playIcon:Class;
 
 And the project structure is:
 
 /root
 /bin
 /src
 /assets
 /flex
 /java
 
 The class is an a package inside flex folder. This folder is
configured
 as a source folder, so to access assets I have to use the path
 /../assets. 
 
 Thx.
 X.
 
 On 10/10/06, Matt Chotin [EMAIL PROTECTED] mailto:[EMAIL 
PROTECTED] 
 wrote:
 
 Unfortunately there's no asset path so you'll need to make
sure that the
 thing which you are embedding is in the same directory or a
relative
 directory to the source. It can't handle the full filepath I
think.
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ]
 On Behalf Of Xavi Beumala
 Sent: Friday, October 06, 2006 1:37 AM
 To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
 Subject: [flexcoders] ASDoc problems with embeded resources
 
 
 
 Hi there,
 
 I'm experiencing some annoying problems with ASDoc. The
problem is in
 classes which use Embed metadata tag, when asdoc parses these
classes it
 throws an error complaining about it is unable to resolve the
path for
 transcoding. 
 
 When compiling with compc.exe we have a compiler parameter
 (-include-file) which allow to set up the resources to take in
mind but
 this parameter is not available on asdoc.exe. If in compc I
don't use
 -include-file I get the same error as in asdoc. 
 
 How could I solve this?
 
 Help much appreciated!
 
 Best
 X.




 



RE: [flexcoders] Re: ASDoc problems with embeded resources

2007-01-03 Thread Brian Deitte
Hi Simon, you'll have to ask elsewhere for an ETA, but I saw someone
post about the next version on flexcoders earlier this week.
 
It shouldn't be possible (based on what's in a SWC) to get documentation
on a class in it.  Are you are you don't have the Cairngorm source
somewhere in your source-path?
 
-Brian




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Janssens
Sent: Wednesday, January 03, 2007 10:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: ASDoc problems with embeded
resources



Thanks Brian,

Is there any ETA on the next version?

While I have got you can I ask a question about asdoc and
cairngorm.

I have found that asdoc still tries to document classes that
exist inside a SWC. for instance when asdoc gets to my services.mxml
class it then tries to document ServiceLocator and IServiceLocator which
are part of cairngorm. I have the cairngorm swc in the flex build path.

Any suggestions?

Cheers,

Simon


On 1/4/07, Brian Deitte [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 



This will be fixed in the next update to Flex, since
ASDoc will ignore embedded resources.  -Brian
 


From: flexcoders@yahoogroups.com [mailto: flexcoders@
mailto:flexcoders@ yahoogroups.com http://yahoogroups.com ] On
Behalf Of simon_janssens
Sent: Tuesday, January 02, 2007 10:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ASDoc problems with embeded
resources




Hey everyone,

Did anyone find an answer to this error with
embeded resources and
asdoc? I have com across the exact same thing.

Cheers,

Simon

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

 Try taking out the first / and just start with
../?
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Xavi Beumala
 Sent: Monday, October 09, 2006 11:14 PM
 To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] ASDoc problems with
embeded resources
 
 
 
 The fact is that the path is relative to the
project:
 
 For example:

[Embed(source=/../assets/icons/control_play_blue.png)]
 public static var playIcon:Class;
 
 And the project structure is:
 
 /root
 /bin
 /src
 /assets
 /flex
 /java
 
 The class is an a package inside flex folder.
This folder is configured
 as a source folder, so to access assets I have
to use the path
 /../assets. 
 
 Thx.
 X.
 
 On 10/10/06, Matt Chotin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 wrote:
 
 Unfortunately there's no asset path so you'll
need to make sure that the
 thing which you are embedding is in the same
directory or a relative
 directory to the source. It can't handle the
full filepath I think.
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com

RE: [flexcoders] rotated text filed can type in multu-language ?

2006-11-27 Thread Brian Deitte
Vossler, not sure exactly what the issue is, but I wanted to point out
that you can remove the Font.registerFont() statement, as this isn't
needed if you aren't loading the font dynamically.  You can also remove
the Embed statements, as this embedding is already done in the Style
block.  -Brian

 



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Vossler Tsao
Sent: Monday, November 27, 2006 2:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] rotated text filed can type in
multu-language ?



Hi flexcoders

I am struggle with problem couple days, still don't work out.

Is the text field can deal with (type in) any multi-language
such 
japance or chinese word. I tried to replace fonts and encoding, 
still in vain.

here is the codes , flex mxml file
##

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  
initialize=Font.registerFont(arial_font);

mx:Script
![CDATA[

import flash.text.Font;

[Embed(assets/arial.ttf, fontName=MyFont)]
public var arial_font:Class;

]]
/mx:Script
mx:Style
@font-face
{
src:url(assets/arial.ttf);
font-family: MyFont; 
}

@font-face 
{
src:url(assets/arialbd.ttf);
font-family: MyFont; 
font-weight: bold;
}

/mx:Style

mx:Panel title=text width=423 height=262

mx:Button id=rotationButton label=25 fontFamily=MyFont 
rotation=-25/

mx:Label id=rotationLabel text=test fontFamily=MyFont 
rotation=-25 height=58 width=63/
mx:TextInput id=rotationtextfiles text=test 
fontFamily=MyFont rotation=-25 height=20 width=230/

/mx:Panel

/mx:Application



 



RE: [flexcoders] x, y, width, and height in CSS

2006-11-07 Thread Brian Deitte





Hmm, and so the obvious problem has now hit me, which is 
that UIComponent's measure() method is overriden, which means that overriding 
measure() at the UIComponent level doesn't work. It also doesn't make 
sense as a place to override x and y. So I'll go back to Peter's 
suggestion and hope that someone on the framework team can confirm or deny a 
x/y/width/height change in 2.1 here(otherwise I'll start bugging folks 
myself). Thanks, Brian


From: Brian Deitte Sent: Sunday, 
November 05, 2006 11:01 PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] x, y, width, 
and height in CSS

Hi Igor, yeah I did think about that when I read Manish's 
article, but I didn't like the idea of altering UIComponent rather using my own, 
extended components. It seemed too likely that I could do something wrong, 
and I didn't like the idea of updating a piece that everyone on the team has to 
remember about when dealing with Flex hotfixes or updates. But given the 
benefit that this could provide for the designer, I probably should quit my 
worrying. :) And assuming that x/y/width/height are showing up 
in CSS in the update, this is a great short-term solution. Thanks, 
Brian




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Igor CostaSent: Friday, November 03, 2006 1:35 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] x, y, width, and 
height in CSS


Hi BrianNot each component but also you could do just in the 
mx.core.UIComponent classIt will affect all 
components.Regards.
On 11/3/06, Brian 
Deitte [EMAIL PROTECTED]com 
wrote: 

  
  
  
  
  
  Hi Igor, 
  if this is fixed in 2.1, that'd be great to know. As for Manish's 
  approach, the problem for me with this is that I would need to override every 
  Flex component that is used to get this to work, not just Canvas. 
  Hopefully it is changed in 2.1 or Peter's solution will work. 
  -Brian
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Igor CostaSent: Friday, November 03, 2006 8:15 AMTo: 
  [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] x, y, width, and 
  height in CSS
  
  
  BrianAs in liveDocs says the values ( width, height, 
  x,y ) doesn't support in an external CSS file, but you can also use as Manish 
  J. saidhttp://mannu.livejournal.com/299285.html 
  you can override the class and start doing 
  this .I had a same situation last week when I was trying to get a 
  designer to start doing the CSS code but with the width and height he couldn't 
  do nothing I just searched in the google and found that link above too and did 
  the same, worked but also isn't enough. I belive the in 2.1 version of 
  Flex this will be fixed ( I guess).Regards.
  On 11/2/06, Brian 
  Deitte  
  [EMAIL PROTECTED]com wrote: 
  



Is there any thoughts on having x, y, width, and height in CSS? I 
findit painful to not have the values there when working with a designer 
andusing absolute positioning. My life would be much easier if I 
couldsimply set up the Flex application on the designer's machine, point 
himto the CSS, and let him make design changes himself.I've read 
Manish's posts on this(http://mannu.livejournal.com/359634.html,http://mannu.livejournal.com/299285.html) 
as well as Gordon's flexcoderspost where he says this is by design. I 
assume this is by design forperformance reasons, and that the framework 
would be slowed down byhaving to look up the values continuously to 
check for runtime changes.So how about special-casing these four values 
in CSS, and allowing themto continue to be 
properties?-Brian-- 
  Igor 
  Costawww.igorcosta.com 
  
  
  -- 
Igor Costawww.igorcosta.com 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Brian Deitte
My messages tend to show up very slowly, so this may be answered by the
time it appears, but the AVM2 doesn't need to understand all the
bytecodes (or rather all the tags) of Flash.  It only understands the
AVM2 format, which is one tag within the Flash format.  It's a really
big tag, of course, but the code won't be able to understand FlashType
tags, etc, by itself- it does this through an interface with the rest of
the Player code.  -Brian  

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, November 07, 2006 8:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tamarin, Adobe open source the Flash player ?

On Tuesday 07 November 2006 11:11, Ian Thomas wrote:
   It basically looks like Adobe are providing the source of the AVM2 
 bytecode interpreter/runtime engine to Mozilla so that Mozilla can use

 it as the execution engine for their ECMAscript/Javascript engine 
 (SpiderMonkey).

AVM2 is the bytecode format that Flash Player 9 runs, isn't it ? By
definition the JIT compiler they released will have to understand all
the bytecodes for all the bits of Flash (not just the ECMAScript core),
no ? 

   Doesn't look like open sourcing the Flash player, I'm afraid tho'. 
 :-)

I'm still trying to understand what's going on :-)

--
Tom Chiverton
Helping to continually implement intuitive models



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 St James's Court Brown Street Manchester M2 2JF.  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 Law Society.

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

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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] Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Brian Deitte
Sort of... a better example may be creating your own Flex component,
AVMPlus.  This component depends on player.swc.  The player.swc has some
methods (like 'give me a font name') which the AVMPlus component calls.
AVMPlus doesn't, however, need to know how player.swc gets this
information.  The player.swc code gets this information by parsing tags,
but again, the AVMPlus doesn't care about this.

As we all know, you don't need to have the source to player.swc in order
to run AVMPlus.  Rather the compiler can figure out the dependencies at
compile-time, and at runtime the AVMPlus and player.swc code all work
fine together.   There's also a known list of methods that are used by
AVMPlus from player.swc.  These methods don't need to come from
player.swc- it's just where they happen to come from now.  If you
wanted, you could also provide your own version of player.swc... which
in this case, we'd call mozilla.swc.

Ok, and now I've taken my break from programming.  I hope you enjoyed my
coffee-infused metaphor.  :)  -Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, November 07, 2006 10:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tamarin, Adobe open source the Flash player ?

On Tuesday 07 November 2006 15:31, Brian Deitte wrote:
 AVM2 format, which is one tag within the Flash format.  It's a really 
 big tag, of course, but the code won't be able to understand FlashType

 tags, etc, by itself- it does this through an interface with the rest 
 of the Player code.  -Brian

Aha - Brain I think you just made my brain click.
Being able to parse and run mx:Script blocks is not the same as being
able to instantiate and run a particular class (like a Flex data grid) ?

--
Tom Chiverton
Helping to dramatically grow back-end e-business



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 St James's Court Brown Street Manchester M2 2JF.  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 Law Society.

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

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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] x, y, width, and height in CSS

2006-11-06 Thread Brian Deitte





Hi Igor, yeah I did think about that when I read Manish's 
article, but I didn't like the idea of altering UIComponent rather using my own, 
extended components. It seemed too likely that I could do something wrong, 
and I didn't like the idea of updating a piece that everyone on the team has to 
remember about when dealing with Flex hotfixes or updates. But given the 
benefit that this could provide for the designer, I probably should quit my 
worrying. :) And assuming that x/y/width/height are showing up 
in CSS in the update, this is a great short-term solution. Thanks, 
Brian




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Igor CostaSent: Friday, November 03, 2006 1:35 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] x, y, width, and 
height in CSS


Hi BrianNot each component but also you could do just in the 
mx.core.UIComponent classIt will affect all 
components.Regards.
On 11/3/06, Brian 
Deitte [EMAIL PROTECTED]com 
wrote:

  
  
  
  
  
  Hi Igor, 
  if this is fixed in 2.1, that'd be great to know. As for Manish's 
  approach, the problem for me with this is that I would need to override every 
  Flex component that is used to get this to work, not just Canvas. 
  Hopefully it is changed in 2.1 or Peter's solution will work. 
  -Brian
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Igor CostaSent: Friday, November 03, 2006 8:15 AMTo: 
  [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] x, y, width, and 
  height in CSS
  
  
  BrianAs in liveDocs says the values ( width, height, 
  x,y ) doesn't support in an external CSS file, but you can also use as Manish 
  J. saidhttp://mannu.livejournal.com/299285.html 
  you can override the class and start doing 
  this .I had a same situation last week when I was trying to get a 
  designer to start doing the CSS code but with the width and height he couldn't 
  do nothing I just searched in the google and found that link above too and did 
  the same, worked but also isn't enough. I belive the in 2.1 version of 
  Flex this will be fixed ( I guess).Regards.
  On 11/2/06, Brian 
  Deitte  
  [EMAIL PROTECTED]com wrote: 
  



Is there any thoughts on having x, y, width, and height in CSS? I 
findit painful to not have the values there when working with a designer 
andusing absolute positioning. My life would be much easier if I 
couldsimply set up the Flex application on the designer's machine, point 
himto the CSS, and let him make design changes himself.I've read 
Manish's posts on this(http://mannu.livejournal.com/359634.html,http://mannu.livejournal.com/299285.html) 
as well as Gordon's flexcoderspost where he says this is by design. I 
assume this is by design forperformance reasons, and that the framework 
would be slowed down byhaving to look up the values continuously to 
check for runtime changes.So how about special-casing these four values 
in CSS, and allowing themto continue to be 
properties?-Brian-- 
  Igor 
  Costawww.igorcosta.com 
  
  
  -- 
Igor Costawww.igorcosta.com 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] specifying measuredWidth/measuredHeight in a skin

2006-11-05 Thread Brian Deitte





Hmm, so everything else I've sent recently has been posted, 
so I'll try to resend this. I know that flexcoders can have a slow posting 
time for some people (which now seems to include me), but it's been a day. 
If that's now normal, someone just let me know. Thanks, 
Brian


From: Brian Deitte Sent: Friday, 
November 03, 2006 4:25 PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] specifying 
measuredWidth/measuredHeight in a skin

Hi Mike, thanks for the response. I do have a 
solution now, based on Dirk's example (http://www.richinternet.de/blog/index.cfm?mode=entryentry=ADD4FDD1-9B48-BFBC-2A70F3C57EBC6892), 
but I would be interested in knowing what I was doing wrong. I was doing 
something I saw in the framework for Application, and subclassing 
ProgrammaticSkin and using it in CSS as a background-image. The skin would 
have to have the measuredWidth/measuredHeight, as previously mentioned, and 
here's the a simplified version of the updateDisplayList() 
method:

 override protected function 
updateDisplayList(w:Number, h:Number):void
 { super.updateDisplayList(w, 
h);
 // FIXME: override Application to add 
styles for all values below, then getStyle() for each // 
one and set in CSS
 var g:Graphics = graphics; 
g.clear();
 // set width and height to dimensions we want for this 
gradient
 w = 916; h = 
16; var fillColors:Array = [0xF7F7F7, 
0xD5D5D5]; var fillAlphas:Array = [1, 
1]; 
drawRoundRect(x, y, w, h, null, fillColors, fillAlphas, 
verticalGradientMatrix(x, y, w, h)); 
 
}

And 
this works fine, but again only if the measuredWidth/measuredHeight is 
set. So after seeing Dirk's code, I tried changingone skin over to 
extend HaloBorder, not set the measuredWidth/measuredHeight, and then use the 
skin in CSS as a border-skin. This works, I'm happy to say. It does 
feel a little strange to me, that I'm using something called "border-skin" but 
I'm doing things in the middle of a canvas. Is this part normal or should 
I be using a background-image?

This 
turned into a longer message than I thought! I'm starting to get into this 
whole building-a-Flex-app thing. :) -Brian



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michael 
SchmalleSent: Thursday, November 02, 2006 5:07 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] specifying 
measuredWidth/measuredHeight in a skin


Hi Brian,This dosn't make sense...What are you subclassing 
for the skin class?I use ProgrammaticSkin and RectangularBorder all the 
time and have never specified measuredWidth or measuredHeight in a skin. I get 
none of the things you are talking about. Are you using an image or 
drawing API in the skin?If it is a borderSkin style are you subclassing 
RectangularBorder? For the borderMetrics. Can you give an example, I am sure I 
could nail this one.Peace, Mike
On 11/2/06, Brian 
Deitte [EMAIL PROTECTED]com 
wrote: 

  
  
  
  
  Ah, my first flexcoders post as a Flex developer. I feel like I 
  shouldbe getting my cloak and learning a secret handshake right 
  now.Is there a way to not specify the measuredWidth and measuredHeight 
  in askin? I don't like having to hardcode a width and height there, as 
  Icurrently have to do.For more details, this is an application 
  that is using absolutepositioning, and the skins are on Canvases. If I 
  don't specify themeasured width and height in the skin, then the 
  drawRoundRect() doesn'tdraw from the correct position, and the 
  passed-in width and height fromupdateDisplayList() doesn't seem to 
  help with this fact. Am I missingsomething here?Thanks for any 
  pointers, Brian-- 
What goes up, does come down. 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] specifying measuredWidth/measuredHeight in a skin

2006-11-05 Thread Brian Deitte





Hi Mike, thanks for the response. I do have a 
solution now, based on Dirk's example (http://www.richinternet.de/blog/index.cfm?mode=entryentry=ADD4FDD1-9B48-BFBC-2A70F3C57EBC6892), 
but I would be interested in knowing what I was doing wrong. I was doing 
something I saw in the framework for Application, and subclassing 
ProgrammaticSkin and using it in CSS as a background-image. The skin would 
have to have the measuredWidth/measuredHeight, as previously mentioned, and 
here's the a simplified version of the updateDisplayList() 
method:

 override protected function 
updateDisplayList(w:Number, h:Number):void
 { super.updateDisplayList(w, 
h);
 // FIXME: override Application to add 
styles for all values below, then getStyle() for each // 
one and set in CSS
 var g:Graphics = graphics; 
g.clear();
 // set width and height to dimensions we want for this 
gradient
 w = 916; h = 
16; var fillColors:Array = [0xF7F7F7, 
0xD5D5D5]; var fillAlphas:Array = [1, 
1]; 
drawRoundRect(x, y, w, h, null, fillColors, fillAlphas, 
verticalGradientMatrix(x, y, w, h)); 
 
}

And 
this works fine, but again only if the measuredWidth/measuredHeight is 
set. So after seeing Dirk's code, I tried changingone skin over to 
extend HaloBorder, not set the measuredWidth/measuredHeight, and then use the 
skin in CSS as a border-skin. This works, I'm happy to say. It does 
feel a little strange to me, that I'm using something called "border-skin" but 
I'm doing things in the middle of a canvas. Is this part normal or should 
I be using a background-image?

This 
turned into a longer message than I thought! I'm starting to get into this 
whole building-a-Flex-app thing. :) -Brian



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michael 
SchmalleSent: Thursday, November 02, 2006 5:07 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] specifying 
measuredWidth/measuredHeight in a skin


Hi Brian,This dosn't make sense...What are you subclassing 
for the skin class?I use ProgrammaticSkin and RectangularBorder all the 
time and have never specified measuredWidth or measuredHeight in a skin. I get 
none of the things you are talking about. Are you using an image or 
drawing API in the skin?If it is a borderSkin style are you subclassing 
RectangularBorder? For the borderMetrics. Can you give an example, I am sure I 
could nail this one.Peace, Mike
On 11/2/06, Brian 
Deitte [EMAIL PROTECTED]com 
wrote: 

  
  
  
  
  Ah, my first flexcoders post as a Flex developer. I feel like I 
  shouldbe getting my cloak and learning a secret handshake right 
  now.Is there a way to not specify the measuredWidth and measuredHeight 
  in askin? I don't like having to hardcode a width and height there, as 
  Icurrently have to do.For more details, this is an application 
  that is using absolutepositioning, and the skins are on Canvases. If I 
  don't specify themeasured width and height in the skin, then the 
  drawRoundRect() doesn'tdraw from the correct position, and the 
  passed-in width and height fromupdateDisplayList() doesn't seem to 
  help with this fact. Am I missingsomething here?Thanks for any 
  pointers, Brian-- 
What goes up, does come down. 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] x, y, width, and height in CSS

2006-11-05 Thread Brian Deitte





Thanks Peter. If I can use Left/Right/Top/Buttom or 
Padding* for all the components where I specify x/y/width/height, this will 
bea goodsubstitute. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Peter 
BairdSent: Thursday, November 02, 2006 6:30 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] x, y, width, and 
height in CSS


There are some reasonable approaches for some of things your looking for 
inCSS. For X and Y positioning, you can use the CSS values Left, 
Right, Top, andBottom to specify the pixels distance.For height, for 
controls like button, you can use your CSS paddings to, in asense, define 
the height. For example, a button, setting PaddingTop andPadding Bottom will 
create a consistent height for buttons across allbuttons with that 
styleName. You can play around with paddingTop andpaddingBottom until you 
get the desired height (http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html) 
and use that to define height.-peter On 11/2/06 2:47 PM, "Brian 
Deitte" [EMAIL PROTECTED]com 
wrote: Is there any thoughts on having x, y, width, and height in 
CSS? I find it painful to not have the values there when working with a 
designer and using absolute positioning. My life would be much easier if 
I could simply set up the Flex application on the designer's machine, 
point him to the CSS, and let him make design changes himself. 
 I've read Manish's posts on this (http://mannu.livejournal.com/359634.html, 
http://mannu.livejournal.com/299285.html) 
as well as Gordon's flexcoders post where he says this is by design. I 
assume this is by design for performance reasons, and that the framework 
would be slowed down by having to look up the values continuously to 
check for runtime changes. So how about special-casing these four values 
in CSS, and allowing them to continue to be properties?  
-Brian   -- Flexcoders Mailing List FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: httpservice method=DELETE does not work

2006-11-03 Thread Brian Deitte





I don't know about PUT/DELETE, but I do know that 500-range 
responses were looked at in the player, and thatit's not a simple thing to 
do (and if I remember correctly, may not even be possible in all cases) as it 
all depends on what browser APIs allow. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Seth 
HodgsonSent: Friday, November 03, 2006 6:06 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: httpservice 
method="DELETE" does not work


Hi Brian,That request has been logged with the player team (as well 
as a request for WebDAV support). No guarantees on whether or when either of 
these could be 
supported.Best,SethFrom: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of brian.knorrSent: Friday, November 03, 2006 12:05 PMTo: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: httpservice method="DELETE" does not workThanks for the 
clarification. Any idea if there are plans to have flash fully support the 
other request methods like DELETE? Currently we don't have the option of 
spending $20K per CPU for FDS just to get REST 
support.Thanks,Brian--- In [EMAIL PROTECTED]ups.com, 
"Seth Hodgson" [EMAIL PROTECTED]. wrote: Hi 
Brian,  The Flash player only currently supports GET and POST 
requests (and converts any POST request with a zero length body or any 
unrecognized request method to a GET). PUT and DELETE are not 
supported.  For HTTPService you can get around this 
limitation if your HTTPService has useProxy="true". In this case a 
request to build and send a proxied PUT/DELETE/OPTIONS/etc. request is 
sent to FDS and the server builds and sends the actual HTTP request and 
returns the response to the player. The proxy also handles fault responses 
in the 500 range and returns them to the player in a form that 
HTTPService can process usefully (the player doesn't handle responses in 
the 500 range). We have Pete Farland to thank for all that :) 
 I'll log a doc bug to clarify that the extended set of methods are 
only supported when using the proxy.  If you're not using 
the proxy, HTTPService uses a flash.net.URLLoader to make the request 
directly so you're limited to what the player supports.  
HTH, Seth  
 From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of brian.knorr Sent: Friday, November 03, 2006 10:33 
AM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] httpservice method="DELETE" does not work  
We are building REST apis in our Rails backend and for a delete  action 
it expects to recieve a HTTP DELETE request, but with Flex2  when you 
set the method="DELETE" on an httpservice it doesn't send  the DELETE, 
instead it sends a GET which causes our REST apis to  fail. The 
documentation for httpservice says it supports  
method="DELETE".  Any advise is greatly 
appreciated...thanks,  Brian
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] x, y, width, and height in CSS

2006-11-02 Thread Brian Deitte
Is there any thoughts on having x, y, width, and height in CSS?  I find
it painful to not have the values there when working with a designer and
using absolute positioning.  My life would be much easier if I could
simply set up the Flex application on the designer's machine, point him
to the CSS, and let him make design changes himself.

I've read Manish's posts on this
(http://mannu.livejournal.com/359634.html,
http://mannu.livejournal.com/299285.html) as well as Gordon's flexcoders
post where he says this is by design.  I assume this is by design for
performance reasons, and that the framework would be slowed down by
having to look up the values continuously to check for runtime changes.
So how about special-casing these four values in CSS, and allowing them
to continue to be properties?

-Brian


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-11-02 Thread Brian Deitte





Hi Gordon, to add one more message to the long list, I'm 
excited about:


1. File system access
2. Offline access
3. No browser chrome

I hope for:


1. Associating a file extension with a specific Apollo 
application
2. Dragging filesonto an application (and getting the 
filename or something else as an event inthe 
application)

-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon 
SmithSent: Tuesday, October 31, 2006 3:41 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Just wondering, since 
I'm working on it... what features of Apollo are people most excited 
about?

- 
Gordon





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Andrew D. 
GoodfellowSent: Tuesday, 
October 31, 2006 6:15 AMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Yep, I know 
how you feel. The suspense is brutal. I could have already built and sold like 8 
products built on it.There are probably too many holes in it still, or 
at least that's what I keep telling myself. 
:o)-Andy

On 10/31/06, arianrechia arianrechia@yahoo.com.br 
wrote:




Hi people,I´m very exciting about Adobe Apollo, and 
I´ve been looking for somedownload to try the Apollo SDK, but with no 
success =(anyone already have a apollo alpha 
realease??thanxs



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: LinearGradient outside charts

2006-11-02 Thread Brian Deitte





Hi Cristian, I had to override measuredWidth and 
measuredHeight to get my gradient fill to display correctly. It's 
interested to me though that your first example works correctly, which seems to 
indicate that there's something else going on here. 
-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Cristian 
PopSent: Thursday, November 02, 2006 1:40 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: LinearGradient 
outside charts


Thanks Ely,I'm happy to learn from the masters :-) I'm absolutely in 
love withwhat you do at quietlyscheming.com.I'm a beginner with 
extending components in AS and I admit that Idon't yet fully understand the 
display hierarchy and the componentlive cycle.I wanted to extend the 
canvas to allow gradient, using the fillCollorand fillAlpha 
styles.So I did something like this, based on an example from the docs. 
(Iskip the style management code and give you onli the update 
method)package{[...]// Define the variable to hold the 
current gradient fill colors.private var fillColorsData:Array;// 
Define the flag that indicates a change to fillColors.private var 
bFillColorsChanged:Boolean = true;// Define variables for 
additional controls on the fill.// You can create style properties for these 
as well.private var alphas:Array = [0.8, 0.2];private var ratios:Array = 
[0x00, 0xFF];// Constructor public function MyCanvas() 
{super(); } [...]override public function 
styleChanged(styleProp:String):void 
{super.styleChanged(styleProp);// Check to see if style 
changed. if (styleProp=="fillColors" || 
styleProp=="fillAlphas") {//bFillColorsChanged=true; 
invalidateDisplayList();return;}}// Override 
updateDisplayList() to update the component // based on the style 
setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
// Check to see if style changed. if 
(bFillColorsChanged==true) {// Redraw gradient fill only if style 
changed.fillColorsData = getStyle("fillColors");alphas = 
getStyle("fillAlphas");var m:Matrix = new 
Matrix();m.createGradientBox(unscaledWidth,unscaledHeight,-1.57,0,0);graphics.clear();graphics.beginGradientFill(GradientType.LINEAR,fillColorsData, 
alphas,ratios,m); graphics.drawRoundRect(0, 
0,unscaledWidth,unscaledHeight,Number(getStyle("cornerRadius"))); 
It works great, but I wanted to be able to 
specifi the colors,alphasand ratios easier. Then I've found LinearGradient 
and IFill, that wereused in charts to easily pass those values.I 
went a bit though the docs and the code and I tried this:package 
{public class MyCanvas2 extends Canvas{[Bindable]public var 
fill:IFill;// Constructor public function MyCanvas2() {super(); 
} // Override updateDisplayList() to update the component 
// based on the style setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
var rect: RoundedRectangle = new 
RoundedRectangle(0,0,unscaledWidth, 
unscaledHeight,Number(getStyle("cornerRadius")));if 
(fill) {graphics.clear(); fill.begin(graphics, 
rect);fill.end(graphics);graphics.drawRoundRect(rect.left, 
rect.top, 
rect.width,rect.height,rect.cornerRadius);But 
it's not working. Nothing is drawn. I guess I'm missing somemethod that 
needs override.Thanks,Cristian Pop--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" [EMAIL PROTECTED]. wrote:  
 Post away, Cristian. I wrote the gradient classes in the charts, 
and can probably help.  Ely.   
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Cristian Pop Sent: Thursday, November 02, 2006 1:57 
AM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] LinearGradient outside charts   
 Hi,  some time ago I've played a bit with creating 
components in AS and I've extended the canvas to allow gradient using 
fillColors.  Back then I did not implement more than 2 colors. 
In the meantime I've noticed the LinearGradient class and I thought that 
I could use it to pass easier the parameters required by a gradient. 
angle, fill colors, alphas and ratios.  So I've triend to extend 
the Canvas adding a fill property (IFill) and then in updateDisplayList 
to use the begin method of the Linear Gradient to fill the graphics of 
the Canvas.  I'm not sure what I'm doing wrong but it's not 
working. If anyone knows how LinearGradient works and it can be used 
outside the scope shown in the documentation please let me know. 
 I will try to post the code later.  Thanks, 
 Cristian Pop
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  

[flexcoders] Brightcove looking for Flex developers and QA

2006-10-24 Thread Brian Deitte
Hi all, 

Brightcove is looking for developers and QA for an exciting, new Flex 2
project.  You'll be working with me and others at Brightcove on creating
an application that focuses on video on the Web.

We would love Flex experience, but if you're just starting down the path
of Flex and want to keep learning more, we're definitely interested as
well.

The positions are based in Cambridge, Massachusetts.  To apply, please
see the links below or send your resume to [EMAIL PROTECTED]  

Thanks, Brian

Software Engineer:
http://tbe.taleo.net/NA4/ats/careers/requisition.jsp?org=BRIGHTCOVEcws=
1rid=116

Senior QA Software Engineer:
http://tbe.taleo.net/NA4/ats/careers/requisition.jsp?org=BRIGHTCOVEcws=
1rid=112



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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] Using ASDoc

2006-08-31 Thread Brian Deitte





That class is in flex.jar. You need to include 
all the jars in the flex2.home/lib directory. So replace the second 
pathelement in your classpath with this:

 
fileset dir="${flex2.home}/lib" 
includes="*.jar"/

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
  GianninasSent: Thursday, August 31, 2006 4:06 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Using 
  ASDoc
  
  Using 
  ASDoc for the first time, here is my ant task:
  
  target name="asdoc" property 
  name="flex2.home" 
  value="C:/dev/libraries/fxcore/asdoc"/ 
  java classname="flex2.tools.ASDoc" 
  fork="true" 
  classpath 
  pathelement 
  location="${flex2.home}/asdoc/hotfix/flex_asdoc_hotfix.jar"/ 
  pathelement 
  location="${flex2.home}/lib/asdoc.jar"/ 
  /classpath jvmarg 
  value="-Dapplication.home=${flex2.home}"/ 
  jvmarg value="-Xmx1024m"/ 
  jvmarg 
  value="-Dsun.io.useCanonCaches=false"/ 
  jvmarg 
  value="-Xbootclasspath/p:${flex2.home}/asdoc/lib/xalan.jar"/ 
  arg line="-doc-sources src -output docs"/ 
  /java /target
  
  When this 
  runs, the error below is thrown, what jar contains that class? Can't find it 
  anywhere.. any ideas?
  
  C:\dev\fxcommon2ant asdocBuildfile: 
  build.xml
  
  asdoc: [java] 
  java.lang.NoClassDefFoundError: flex2/tools/Tool 
  [java] at java.lang.ClassLoader.defineClass0(Native 
  Method) [java] at 
  java.lang.ClassLoader.defineClass(ClassLoader.java:539) 
  [java] at 
  java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) 
  [java] at 
  java.net.URLClassLoader.defineClass(URLClassLoader.java:251) 
  [java] at 
  java.net.URLClassLoader.access$100(URLClassLoader.java:55) 
  [java] at 
  java.net.URLClassLoader$1.run(URLClassLoader.java:194) 
  [java] at 
  java.security.AccessController.doPrivileged(Native 
  Method) [java] at 
  java.net.URLClassLoader.findClass(URLClassLoader.java:187) 
  [java] at 
  java.lang.ClassLoader.loadClass(ClassLoader.java:289) 
  [java] at 
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) 
  [java] at 
  java.lang.ClassLoader.loadClass(ClassLoader.java:235) 
  [java] at 
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) 
  [java] Exception in thread "main" [java] Java 
  Result: 1
  
  Dimitrios Gianninas
  RIA 
  Developer
  Optimal 
  Payments Inc.
  
  


  
AVIS 
IMPORTANT
  
WARNING

  
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.
  
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. 
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email 

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Brian Deitte
Title: Re: [flexcoders] Embedding fonts at runtime





One addition to this, which is that we always include the 
space character when you specify the unicode range. I'm not sure the 
original reasoning for this, but I just noticed it in the code. Also, you 
can specify multiple ranges, separated by commas. 
-Brian

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
  EismannSent: Wednesday, August 30, 2006 2:07 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Embedding fonts 
  at runtime
  
  
  Yes, this is 
  possible:
  
  [Embed(source="Arial.ttf", 
  fontName="myArial", unicodeRange="U+0041-U+005A" )]
  public var 
  myClass:Class;
  
  Dirk.
  
  
  Von: flexcoders@yahoogroups.com im Auftrag von 
  Daniel WabyickGesendet: Mi 30.08.2006 18:58An: 
  flexcoders@yahoogroups.comBetreff: Re: [flexcoders] Embedding fonts 
  at runtime
  
  Awesome! I'll definitely have to check this out.On a 
  related note, I wonder if its possible to embed fonts with aspecific 
  unicode range via this syntax. It doesn't appear to 
  be.[Embed(systemFont='Symbol', 
  fontName='mySymbol',mimeType='application/x-font')]var 
  myFont:Class;I know you can use @font-face, which appears to 
  automatically generate avariable in the class, but its not a consistently 
  named variable. I amsure a utility function in the class could be used to 
  ferret out thatvariable name.Daniel Freiman 
  wrote: I altered the code a little and got it half 
  working. It works if you're setting the imported font using 
  setStyle, but not if you're setting the font through the TextFormat 
  object. Simply add the 
  lines: 
  var content:DisplayObject = 
  ldr.content; 
  var c:Class = 
  content["myFont"]; 
  Font.registerFont(c); to the begining of 
  onloadercomplete. I'm going to continue working on how to get 
  the font to show up through TextFormat. On 
  8/29/06, * Daniel Wabyick* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  wrote: I just tried to dynamically 
  load a font at runtime, and the results 
  are not too 
  promising. For other's benefits, here 
  is what I did: - Created an AS3 
  project and generated a SWF (SymbolEmbed.swf) 
  with the Symbol font 
  embedded. - Verified the font is 
  available in the SWF via 
  Font.enumerateFonts(); - Loaded 
  SymbolEmbed.swf into a Flex app using the Loader 
  class, following instructions to keep the 
  SWF's on the same 
  applicationDomain. - Checked if the 
  font is available to the Flex app, it is 
  not. Please let me know if anyone has 
  any ideas, 
  -Daniel Code: 
  AS3 project with embedded font. 
  --- 
  public class SymbolInclude extends 
  Sprite 
  { 
  public function 
  SymbolInclude() 
  { 
  [Embed(systemFont='Symbol', 
  fontName='mySymbol', 
  mimeType='application/x-font')] 
  var 
  myFont:Class; 
  trace("here in 
  SymbolInclude"); 
  var fontList : Array = 
  Font.enumerateFonts(); 
  for ( var i:String in fontList 
  ) 
  { 
  trace("font: " + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  } Code: Loader code in Flex 
  app. 
  --- 
  mx:Script 
  ![CDATA[ 
  private var 
  ldr:Loader; 
  private function onInit() : 
  void 
  { 
  showFonts(); 
  var context:LoaderContext = new 
  LoaderContext(); 
  //context.securityDomain = 
  SecurityDomain.currentDomain; 
  context.applicationDomain = 
  ApplicationDomain.currentDomain; 
  ldr = new 
  Loader(); 
  ldr.contentLoaderInfo.addEventListener( 
  Event.COMPLETE, onLoaderComplete 
  ); 
  ldr.load( new URLRequest( 
  "SymbolInclude.swf"), context 
  ); 
  } 
  private function onLoaderComplete(e:Event) : 
  void 
  { 
  trace("onLoaderComplete: 
  "); 
  showFonts(); 
  } 
  public function showFonts():void 
  { 
  trace("showFonts()"); 
  var fontList : Array = Font.enumerateFonts 
  (); 
  for ( var i:String in fontList 
  ) 
  { 
  trace("font: " + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  ]] 
  /mx:Script 
  Daniel Freiman wrote: 
I have this question too but it 
  hasn't reached the top of my to-do  list 
  yet. What I'm hoping is that is that you can embed a 
  font in a  
  swf and then load that swf at runtime using a 
  swfloader. 
On 8/28/06, *Daniel Wabyick*  
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
   mailto: 
  [EMAIL PROTECTED]  wrote: 
Hey 
  guys,  
   Is there any way to include a font at runtime 
  using Flex 2? 
  There  was 
  a  weird hack that 
  works in Flash 8 where you load a movie that 
  loads an  RSL. 
  Does anything like this work in Flex 2 ? 

  Thanks,  
  -Daniel  

  --  Flexcoders 
  Mailing List  
  FAQ: 
   http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives: 
   

RE: [flexcoders] output directive broken for absolute paths using compc

2006-08-29 Thread Brian Deitte
Hi Michael, I don't see any way around this at the moment.  I assumed I
could do the following to get a path relative to the Flex install:

output
${flexlib}/bar/out.swc
/output

But I tried this, and the flexlib environement variable is being parsed
twice, which creates a bad path.  I'll enter a bug on all of this.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Michael
 Sent: Tuesday, August 29, 2006 1:34 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] output directive broken for absolute 
 paths using compc
 
 Hello,
 
 A minor but frustrating oddity:
 
 I have been tinkering around with compilation configuration 
 files and  
 this question is related to 'compc' and its configuration file.
 
 Does anyone know why compc doesn't take absolute paths inside the  
 output directive?
 
 If I run compc from ~/foo, this configuration
 
   output
   /bar/out.swc
   /output
 
 places the output at ~/foo/bar/out.swc, which is not the expected / 
 bar/out.swc.
 
 This is a problem because the output file will always created in a  
 directory relative to the directory from which compc is run. This  
 makes portability a headache and means building custom scripts to  
 ensure that either compc is run from the same place every time, or  
 the output file is moved post compilation from a directory.
 
 Any known fixes or am I missing a vital configuration directive  
 elsewhere?
 
 Regards, 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: ASDoc ignores Bindable properties?

2006-08-18 Thread Brian Deitte
This is a known bug that is listed in the known issues on the ASDoc
wiki.  I briefly investigated this, and I have no idea why it's
happening.  Sorry, no workaround known.  It's a bug that we should fix
for the next release.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of James Polanco
 Sent: Friday, August 18, 2006 3:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc ignores Bindable properties?
 
 Sorry, my last reply was not really clear with an example.  Here is
 what I am seeing
 
 package com.mysite.proj
 {
 
 [Bindable]
 public class myClass
 {
 
 public var myString:String;
 public var myObject:EventDispatcher;
 
  methods and such
 
 When I ASDoc this myString and myObject do not show up in ASDoc at
 all.  If I remove the [Bindable] they do.  This is the problem that I
 am seeing.  Is this technique still valid?
 
 James
 
 --- In flexcoders@yahoogroups.com, Seth Hodgson 
 [EMAIL PROTECTED] wrote:
 
  Hi James,
  
   
  
  Try putting your property documentation beneath the [Bindable] tag.
  E.g.:
  
  [Bindable]
  /**
   * ... your property documentation ...
  
   */
  
  public function get propX():X { ... }
  
   
  
  ASDoc comments apply to what they precede.
  
   
  
  Best,
  Seth
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of james_dhap
  Sent: Friday, August 18, 2006 11:28 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] ASDoc ignores Bindable properties?
  
   
  
  Hey All,
  I am seeing odd behaviour using the [Bindable] metadata tag in my AS
  classes. When ever my public properties have the [Bindable] 
 tag ASDoc
  ignores them and does not generate comments. I first saw this with
  some of my ValueObjects that use the metadata at the root of the
  class, but even when I moved it to just one propety that property
  disappears from the docs.
  
  At the moment its not a huge issue because its not really 
 affecting my
  documentation, but it will very shortly. Any tips? Possible
  workaround ideas? Is this intended?
  
  James
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-18 Thread Brian Deitte
I have an idea on the issue.   When you use doc-sources, the compiler
doesn't have a base directory reference to determine the the package
names of MXML files.  So a/MyMXML.mxml and b/MyMXML.mxml look like the
same class name.  Perhaps this also happens with AS names, I'm not sure,
which would explain it.  I'll be looking into this more the next
release, especially now that I have an idea of where to look and how to
fix it.

Your workaround brings up a good thing to mention, something that I
didn't emphasize in the examples or the documentation.  You only have to
point to the main MXML class that you would compile in order to document
all of the AS and MXML classes in that application.  This idea is
mentioned on the Using ASDoc page, but it's a bit hidden.  It's in the
Excluded Classes section:

Unless exclude-dependencies is set to true, classes that are found when
compiling the given classes are also documented. In other words, any
classes that would normally be compiled are documented. For instance,
say that class A is specified in doc-classes. If class A imports class
B, then both A and B are documented. Class B must also not be in the
exclude-classes list and must not be found in a SWC in order to be
documented.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of james_dhap
 Sent: Friday, August 18, 2006 2:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc now available on Labs
 
 I was seeing the same problem and I think I found a workaround and the
 possible cause of this problem.
 
 In my application we are using the code behind methodology and at the
 same time we have the typical com package stucture.  Here is the
 general layout of our project:
 
 com/site/project -- API
 views/code -- AS files that extend Canvas (code behind)
 views/layout -- MXML files that implement the extended classes
 app.mxmml
 
 now, when I use ASDoc and set the doc-locations to the root app folder
 I get the circular reference error that everyone is seeing.  But, if I
 just point to the folder com.site.project, views.code, or
 views.layout it compiles fine.  If I add more then one directory it
 blows up again.
 
 It seems that the cause is that I have MXML files that reference AS
 files that reference com and extend the base MX classes (but no
 circular ref).  I haven't narrowed it down farther yet, but I hope
 this gets you in the right direction.
 
 On the workaround side, I found if I just point to the root app mxml
 file as my doc-location then all is well and I get the full docs.
 
 J.
 
 --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote:
 
  Thanks.  I'd love to dig into this more and figure out 
 what's happening.
  -Brian
   
  
  
  
  
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH
  Sent: Monday, August 14, 2006 4:29 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: ASDoc now available on Labs
  
  
  I'm getting the same too - I seem to be getting in particularly
  on interface definitions - I'll try and make a simple 
 reproducable case
  when I get a spare minute or two...
  
  ta
  
  PBH
  
  
  On 8/14/06, Brian Deitte [EMAIL PROTECTED] wrote: 
  
  Hi, I would just stick to doc-classes then. :) Well, I'm
  not sure why
  you'd get that with doc-sources. The compiler believes
  that you have
  something similar to a class A which extends B which
  extends A. If you
  could send me the files you use to reproduce this or a
  smaller test
  case, I can look into this for a later release. -Brian 
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com  
  
   [mailto:flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com ] On Behalf Of 
 Geoffrey Williams
   Sent: Monday, August 14, 2006 3:24 PM
   To: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
  
   Subject: [flexcoders] Re: ASDoc now available on Labs
   
   Any Idea what would fire off the following:
   
   Error: The definition is in circular inheritance.
   
   I can get it going by specifying individual classes
  but when I use -
   doc-sources I get an output of a few of those errors.
   
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Brian Deitte bdeitte@
  wrote:
   
And I'll be trying to awaken myself from my
  hibernation on 
   flexcoders,
so if you have any questions about it, fire away.
  -Brian

RE: [flexcoders] Flex 1.5 AMF Error:... (not of the binary AMF protocol)

2006-08-18 Thread Brian Deitte





Hi Ed, I've never heard of this problem before. All 
requests that come from RemoteObject should be of the AMF protocol of course... 
and there should be no problem with creating a request of that size,as 
I've create ones much larger for testing. Can you try fiddling with the 
name of the method, the names of the parameters, and the number of 
parameters? There's probably somequirk hidden there. 
-Brian

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  edeustaceSent: Friday, August 18, 2006 9:53 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5 AMF 
  Error:... (not of the binary AMF protocol)
  Hello all, I've been making some modifications to a flex 1.5 
  application, that was last modified in January of this year and was in good 
  working order. the application is now a subset of a larger web application ( 
  using wicket,spring,hibernate).On returning to it some remote object 
  requests are causing the following error: Error: Request received was not 
  Flash-based (not of the binary AMF protocol)it was hard to tie it 
  down, but i have uncovered on situation where it happens consistently.i 
  have a function [as]: addFolder( 
  itemId : Number, name : String, description : String )which calls 
  the remoteObject function [java]:addFolder(long 
  itemId, String name, String description ) the error gets 
  triggered if, when calling this function, the combined number of charact! ers 
  in 'name' and 'description' is greater than 25.i have tried wrapping 
  the arguments into a strict array, but it makes no difference.i've 
  also tried it with different browsers and flash player 7 and flash player 
  9.i've been using a http sniffer to inspect the request and it all 
  seems fine.the only thing i can think of is that there is some sort of cap 
  on the byte size of requests.this may be an application wide problem, 
  although there is one successful request whose byte size (876) is larger than 
  the smallest failed request (786), but this request is a bundle of two service 
  calls. Otherwise all successful request have a byte size of less than 780 and 
  all failed requests have a byte size greater than 786.so i was 
  wondering if anyone has come across this behaviour before? is it possible 
  that changes to the webapp have affected the functioning of this remote object 
  service, even though all java code relating to flex remains unc! 
  hanged?is there any other area i should be looking at?! it 
  wouldn't take much for me to extract these service calls from the flex app and 
  to run them through a popup, but it'd be really good to know why this is 
  occurring.any help/advice greatly appreciated, yours,ed 
  eustace 
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Brian Deitte
Hi Tom,

I wasn't very happy releasing the code this way either.  Releasing code
for only two OSs causes my Java side to twitch.  But there's some
reasons behind this, and I'll try to explain what I can.

ASDoc has a long history in at Macromedia/Adobe, as you probably know
from the number of times we've released API documentation.  I'm the
lastest person to pick up it's helm, but there's a long line of people
who put a lot more effort than I did into it.  We had a joke for awhile
that anybody working on the compiler team was required to work on ASDoc
at least once.  All these changes were made over time not for external
consumption but for our internal needs.  At some point, we got some
executable code mixed in there.  I can't really share the specifics of
this... but let me say it's a big chunk of code that isn't easily
switched to Linux.  And there's a lot of it.  And it contains code that
from other products, where we can't quickly make the decision to release
this in the open.  So now we're stuck in the current situation.  Again,
as this was always thought to be for internal use, and since ASDoc
usually only runs on a Windows build machine, we only ran into this
problem when I started to put together things for an external release.

So what's being done about this?  As a long term plan, we're hoping (and
starting to plan) to move the executable code over to Java.  As a short
term plan, we want to get this working on Linux for the next full
release.

-Brian


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
 Sent: Tuesday, August 15, 2006 4:39 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] ASDoc is now available for download
 
 On Tuesday 15 August 2006 09:16, Tom Chiverton wrote:
  Rar !
 
 Boo.
 
 You *knew* what would happen if you released a tool that only 
 ran on Windows 
 and OSX didn't you, without the source so the community can 
 fix whatever you 
 know is wrong with it ?
 
 -- 
 Tom Chiverton, http://www.rachaelandtom.info/node/1359
 
 
 
 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 St James's Court Brown Street 
 Manchester M2 2JF.  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 Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Getting a problem trying to do a remote object in FLEX

2006-08-15 Thread Brian Deitte
You don't have the necessary servlet set up in web.xml.  I don't know
the current FDS documentation, but I assume the details are in there, or
just look in another Flex install for the expected info that should be
in the web.xml.  -Brian 
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
 Sent: Tuesday, August 15, 2006 1:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Getting a problem trying to do a remote 
 object in FLEX
 
 Here is the error I get when trying to access the remote object called
 simpleJava which is defined as a destination in my remote-config.xml
 file. 
 
 Here is the Flex error.
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend
 faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
 HTTP: Failed]
   at
 mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/inte
 rnal::faultHandler()
   at mx.rpc::Responder/fault()
   at mx.rpc::AsyncRequest/fault()
   at mx.messaging::ChannelSet/::faultPendingSends()
   at mx.messaging::ChannelSet/channelFaultHandler()
   at
 flash.events::EventDispatcher/flash.events:EventDispatcher::di
 spatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
   at
 mx.messaging.channels::PollingChannel/mx.messaging.channels:Po
 llingChannel::connectFailed()
   at
 mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFCha
 nnel::statusHandler()
 
 
 Here is the JRUN Server inline error.
 
 08/15 13:10:51 error Requested resource '/messagebroker/amf'
 (%2fmessagebroker%2famf) not found
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Web services or FDS: which are you using?

2006-08-15 Thread Brian Deitte
The person who is thinking about this the most lately isn't going to be
able to answer your crusade.  Pete Farland is out traveling in Australia
and other countries for his sabbatical, so you may want to bring this up
again in a month.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
 Sent: Tuesday, August 15, 2006 10:59 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Web services or FDS: which are you using?
 
 In my ongoing crusade to increase the attention given by Adobe to web
 service support in Flex, I decided to do a little impromptu survey. My
 feeling is that its a mistake to focus so heavily on FDS in regards to
 articles, tutorials and the like when such a small percentage of
 organizations will actually deploy the technology.
 
 So, which are you using? I am more interested in actual production
 apps, rather than personal projects used for learning or
 experimentation purposes.
 
 Personally, I am evaluating Flex as the front end for an application
 that relies heavily on .NET web services.
 
 Ben
 http://www.returnundefined.com/
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-15 Thread Brian Deitte
Hi Ricardo, that looks like a different issue.  Can you remove your
package parameters and see if this fixes it?  Do you have any special
characters used with a package parameter?  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of ricardopettine
 Sent: Tuesday, August 15, 2006 2:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc now available on Labs
 
 Hi, I was getting the same error The definition is in circular 
 inheritance when using the doc-sources option. I tried to use the 
 doc-classes and I got the following error for some classes:
 
 Loading configuration file D:\Java\Adobe\Flex Builder 2 Plug-in\Flex 
 SDK 2\frame
 works\flex-config.xml
 An unexpected error occurred.
 Error #1085: The element type shortDescription must be terminated 
 by the match
 ing end-tag /shortDescription.
 
 XSLT Error (javax.xml.transform.TransformerException): 
 java.io.FileNotFoundException: output pathtoplevel_classes.xml 
 
 Any ideas?
 
 thanks,
 
 Ricardo.
 
 --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote:
 
  Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure 
 why
  you'd get that with doc-sources.  The compiler believes that you 
 have
  something similar to a class A which extends B which extends A.  If 
 you
  could send me the files you use to reproduce this or a smaller test
  case, I can look into this for a later release.  -Brian 
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams
   Sent: Monday, August 14, 2006 3:24 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: ASDoc now available on Labs
   
   Any Idea what would fire off the following:
   
   Error: The definition is in circular inheritance.
   
   I can get it going by specifying individual classes but when I 
 use -
   doc-sources I get an output of a few of those errors.
   
   --- In flexcoders@yahoogroups.com, Brian Deitte bdeitte@ 
 wrote:
   
And I'll be trying to awaken myself from my hibernation on 
   flexcoders,
so if you have any questions about it, fire away.  -Brian
   
   
   
   
   
   
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: 
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links
   
   
   

   
   
   
  
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] ASDoc now available on Labs

2006-08-14 Thread Brian Deitte
And I'll be trying to awaken myself from my hibernation on flexcoders,
so if you have any questions about it, fire away.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
 Sent: Monday, August 14, 2006 1:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] ASDoc now available on Labs
 
 http://labs.adobe.com/wiki/index.php/ASDoc
 
 Enjoy!
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes)

2006-08-14 Thread Brian Deitte
Setting it to null (along with removing any other references to the
class) is the answer.  The variable is removed when it is out of scope:
so if you define the variable in a function, it is removed when the
function ends.  If it's a class-level variable and you still have the
class around, there's simply no way to get rid of the variable
reference, which is a small amount of memory anyways. -Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion
 Sent: Monday, August 14, 2006 12:45 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes)
 
 Hi all,
 
 I used garbage collection methods a lot in my prior RIAs to keep the
 application running smooth as it progressed.
 
 But, now, being that I am not a total pro, I'm not sure how we
 accomplish this.
 
 Actionscript 3.0 does not allow the delete keyword to be used when
 trying to get rid of references to an Object.
 
 So if I create a new instance of a class: i.e. var myClass:MyClass =
 new MyClass();
 
 How do I then get rid of the myClass reference when I no longer need
 it? I guess I could set it to undefined or null, but that still leaves
 a blank variable lingering in memory.
 
 How do you folks do it?
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] trace.... redirection possible?

2006-08-14 Thread Brian Deitte
There's no way to redirect trace that I know of, other than to a
different file location.  trace is only active when you are using the
debug player.  

There's various debug projects that use a cutom method rather than trace
and print out the debug messages in a different format.  I don't know of
any for Flex 2, but here's one for 1.5:
http://www.adobe.com/devnet/flex/articles/tracepanel.html  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
 Sent: Monday, August 14, 2006 10:32 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] trace redirection possible?
 
 
 Dear all,
 
 is there any way of overriding the trace construct to go 
 elsewhere? - such as a custom class - 
 or is this only active in debug?
 
 Regards
 Samuel
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Brian Deitte
Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure why
you'd get that with doc-sources.  The compiler believes that you have
something similar to a class A which extends B which extends A.  If you
could send me the files you use to reproduce this or a smaller test
case, I can look into this for a later release.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams
 Sent: Monday, August 14, 2006 3:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc now available on Labs
 
 Any Idea what would fire off the following:
 
 Error: The definition is in circular inheritance.
 
 I can get it going by specifying individual classes but when I use -
 doc-sources I get an output of a few of those errors.
 
 --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote:
 
  And I'll be trying to awaken myself from my hibernation on 
 flexcoders,
  so if you have any questions about it, fire away.  -Brian
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Brian Deitte





Thanks. I'd love to dig into this more and figure out 
what's happening. -Brian


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
  BHSent: Monday, August 14, 2006 4:29 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: ASDoc now 
  available on Labs
  I'm getting the same too - I seem to be getting in particularly on 
  interface definitions - I'll try and make a simple reproducable case when I 
  get a spare minute or two...taPBH
  On 8/14/06, Brian 
  Deitte [EMAIL PROTECTED] 
  wrote:
  





Hi, I would just stick to doc-classes then. :) Well, I'm not sure 
whyyou'd get that with doc-sources. The compiler believes that you 
havesomething similar to a class A which extends B which extends A. If 
youcould send me the files you use to reproduce this or a smaller 
testcase, I can look into this for a later release. -Brian 
 -Original Message- From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey 
Williams Sent: Monday, August 14, 2006 3:24 PM To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc now available on 
Labs  Any Idea what would fire off the following: 
 Error: The definition is in circular inheritance.  
I can get it going by specifying individual classes but when I use - 
doc-sources I get an output of a few of those errors.  --- 
In flexcoders@yahoogroups.com, "Brian Deitte" 
[EMAIL PROTECTED] wrote:   And I'll be trying to 
awaken myself from my hibernation on  flexcoders,  so if 
you have any questions about it, fire away. -Brian   
   
 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
 Search Archives:  http://www.mail-archive.com/flexcoders%40yahoogroups.com 

 Yahoo! Groups Links 
   
 
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread Brian Deitte
You can reference a namespace object if you put this in a file:

package mypackage {
public namespace DoSearch =
http://site.com/BackOffice/DoSearch;; 
}

import mypackage.DoSearch in each class where you want to use it, and
then use namespace DoSearch.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
 Sent: Wednesday, July 12, 2006 9:47 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Addressing buried children in XML 
 with default namespace- an easier way?
 
 Bumping this up in the hopes that someone (possibly from Adobe?) can
 offer an alternative, or at least an explanation of why this is the
 case. As it stands now, I will have to have these lines:
 
 namespace foo = http://site.com/BackOffice/DoSearch;;
 use namespace foo;
 
 sprinkled throughout my app, which sucks. Why can't use namespace
 point to an actual Namepsace object? I feel like this is a glaring
 hole in Flex's XML capabilities.
 
 Thanks,
 Ben
 
  It seems that the only way to use the full functionality of E4X with
  namespaced XML is by using this method:
  
  namespace foo = http://site.com/BackOffice/DoSearch;;
  use namespace foo;
  
  Unfortunately, that method must be constructed exactly like 
 that- with
  a static string. You cannot even point it to a constant like
  MyAppClass.SEARCH_NAMESPACE, which is fairly disappointing. 
 I suppose
  the namespaces your app uses aren't something that will change very
  often but it still seems like this is a shortcoming of the
  implementation of E4X. I feel like I am being punished for using XML
  that contains namespaces, as it is so crippled in comparison to
  namespace-free XML.
  
  Adobe, can you fix this in a future release?
  
  Thanks,
  Ben
 
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Yahoo! Groups gets a make over. See the new email design.
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Is there a third-party or opensource market for Flex components?

2006-03-09 Thread Brian Deitte





I'm fairly positive this wasn't a violation of the license 
agreement in Flex 1 (but I could be wrong, so don't quote me on this). We 
are definitely hoping for a commercial component community in Flex 2, and we 
plan to do more in the future to help foster this. More to come. 
:) -Brian

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Greg 
  FullerSent: Thursday, March 09, 2006 11:43 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is there a 
  third-party or opensource market for Flex components?
  I thought commercial compenents were a violation of the license 
  agreement in Flex 1. Is this changing in Flex 2 ?
  On 3/9/06, Jonathan 
  Miranda  
  [EMAIL PROTECTED] wrote:
  



Ghostwire was great 
back when I did Flash development, but I think it's all in AS1 
still.
_
Jonathan 
Miranda 

Flexible 
Master of the Web 
"Try not to become a man 
of success, but a man of value." - Albert 
Einstein
HealthGrades: Guiding 
America to Better Healthcare
NASDAQ: 
HGRD
w (720) 
963-3832
c (707) 
761-0868
[EMAIL PROTECTED] 
_
The message contains 
confidential and/or legally privileged information and is intended for use 
only by the indicated addressee. If you are not the named addressee 
you should not disseminate, distribute, or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by mistake 
and delete this e-mail from your system. E-mail transmissions cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. 
The sender therefore does not accept liability for any errors or omissions 
in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy 
version.




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Thursday, March 09, 2006 8:43 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is there a 
third-party or opensource market for Flex 
components?


Market? Well, there are a bunch 
of Flash components that can easily be 

ported to work in Flex, some with no 
work at all.As far as 
creating them, however, that takes a lot of work, time, and the 
decision to go pay vs. open 
source isn't one to be taken lightly if you value your time at all.There some other sets out there too like mCom, Ghostwire, 
ActionStep, etc. that have some 
components unique to their set. Hit Google for Flash 
components.- Original Message - From: "mmthm" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, March 09, 2006 10:14 
AMSubject: [flexcoders] Is 
there a third-party or opensource market for Flex components?
I'm new to Flex, and i'm interested in 
knowing if there are any marketswhere i can obtain extended Flex components, either 
commercial oropensource (eg. 
sourceforge)? I would like to use components that 
arenot currently part of the 
Flex framework.I'm thinking 
of components like complex calendaring (eg.http://www.laszlosystems.com/lps/sample-apps/calendar/calendar.lzo? 
lzt=html), clock controls, 
gauges, spreadsheet controls, reportingcomponents, specialized grids, gant chart components, 
network graphingcomponents, 
chat controls, etcThanks.--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups 
Links
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


YAHOO! GROUPS LINKS 

  Visit your group "flexcoders" on the web. 
  To unsubscribe from this group, send an email 
  to: [EMAIL PROTECTED] 
  
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
  Service . 










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software 

RE: [flexcoders] Firewall ports for Enterprise Services with Java RemoteObject

2006-03-09 Thread Brian Deitte
Note that JRun does have webserver connectors which allow it to run on
top of your existing http server and port.  I'm not an expert on the
current workings of RemoteObject, but unless something has changed
drastically from 1.5, you should just need this one port for the AMF
channel to work.  -Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork
 Sent: Thursday, March 09, 2006 1:16 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Firewall ports for Enterprise Services 
 with Java RemoteObject
 
 Hi guys
 
 we have attempted to provide access to out flex app (2.0 Beta1)
 through our firewall, and have opened port 8700 (the default http port
 for JRUN). We are using Java RemoteObjects in JRUN over the default
 AMF channel (also configured to use port 8700 from what I can tell)
 
 With just port 8700 open, we get the initial screen, but it appears
 the remote object calls cannot connect. 
 
 Are there any other ports that need to be opened up for this
 configuration? I could not find any documentation discussing firewalls
 and ports for Flex.
 
 thanks,
 Thunder
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Binding in Flex 2

2006-01-17 Thread Brian Deitte
You should need Bindable metadata on both labelText variables:

[Bindable]
public var labelText:String;
 
I'm not sure why the value shows up properly in Child1.mxml.  -Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
 Sent: Tuesday, January 17, 2006 10:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Binding in Flex 2
 
 Hi All,
 
 I'm sure this is going to be one of those questions that you regret
 asking as soon as it leaves your mouth, because it seems so simple. 
 I'm having an issue binding 2 levels deep.  Something that does work
 in Flex 1.5 doesn't work in Flex 2.  Below are 3 files for an 
 example...
 
 The value of labelText shows up properly in Child1.mxml, but does
 not bind into Child2.mxml properly.  I have tried using
 getters/setters with a Change event and Bindable property attached to
 them with no luck.  
 
 
 //MainApp.mxml -- passing initial value of labelText to first child
 mx:Application 
 xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
   Child1 labelText=My Text /
 /mx:Application
 
 
 
 //Child1.mxml -- labelText binds properly
 mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
   mx:Label text=my text first = {String(labelText)} /
   Child2 labelText={String(labelText)} /
   mx:Script
   ![CDATA[
   public var labelText:String;
   ]]
   /mx:Script
 /mx:HBox
 
 
 //Child2.mxml -- labelText does not bind proplery
 mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
   mx:Label text=my text second = {String(labelText)} /
   mx:Script
   ![CDATA[
   public var labelText:String;
   ]]
   /mx:Script
 /mx:HBox
 
 
 Thanks in advance for the help,
 
 Brendan
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Binding in Flex 2

2006-01-17 Thread Brian Deitte
(Err, messages were sent to me out of order, and I now see this as being
answered)

 -Original Message-
 From: Brian Deitte 
 Sent: Tuesday, January 17, 2006 4:02 PM
 To: 'flexcoders@yahoogroups.com'
 Subject: RE: [flexcoders] Binding in Flex 2
 
 You should need Bindable metadata on both labelText variables:
 
 [Bindable]
 public var labelText:String;
  
 I'm not sure why the value shows up properly in Child1.mxml.  -Brian
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
  Sent: Tuesday, January 17, 2006 10:33 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Binding in Flex 2
  
  Hi All,
  
  I'm sure this is going to be one of those questions that you regret
  asking as soon as it leaves your mouth, because it seems so simple. 
  I'm having an issue binding 2 levels deep.  Something that does work
  in Flex 1.5 doesn't work in Flex 2.  Below are 3 files for an 
  example...
  
  The value of labelText shows up properly in Child1.mxml, but does
  not bind into Child2.mxml properly.  I have tried using
  getters/setters with a Change event and Bindable property 
 attached to
  them with no luck.  
  
  
  //MainApp.mxml -- passing initial value of labelText to first child
  mx:Application 
  xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
  Child1 labelText=My Text /
  /mx:Application
  
  
  
  //Child1.mxml -- labelText binds properly
  mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
  mx:Label text=my text first = {String(labelText)} /
  Child2 labelText={String(labelText)} /
  mx:Script
  ![CDATA[
  public var labelText:String;
  ]]
  /mx:Script
  /mx:HBox
  
  
  //Child2.mxml -- labelText does not bind proplery
  mx:HBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
  mx:Label text=my text second = {String(labelText)} /
  mx:Script
  ![CDATA[
  public var labelText:String;
  ]]
  /mx:Script
  /mx:HBox
  
  
  Thanks in advance for the help,
  
  Brendan
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
  
  
  
   
  
  
  
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] BOSTON AREA? FYI drop by Adobe for talk on Flex Enterprise Services tomorrow

2006-01-17 Thread Brian Deitte
To add to this, some of the Flex folks in the Newton office will
probably be there as well.  (I plan on showing up.)  -Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of David Mendels
 Sent: Tuesday, January 17, 2006 12:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] BOSTON AREA? FYI drop by Adobe for talk 
 on Flex Enterprise Services tomorrow
 
 Hello,
 
 FYI, I see the new BFPUG is being hosted in our offices and William is
 giving a talk on FES.  Unfortunately I am out in our SF 
 office this week
 and will miss it, but for folks in the Boston area it should be
 interesting.  William is the Director of Engineering for Flex 
 Enterprise
 Services.
 
 http://www.bfpug.com/?p=9
 
 Regards,
 David
 Adobe
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Using compc to make SWC from AS

2005-12-21 Thread Brian Deitte
You can call compc from Java (or using the Java task in Ant) via
flex.compiler.swc.CompCompiler.  This is very similar to how people
use mxmlc with Java/Ant, where you use flex.tools.Mxmlc.  -Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Wednesday, December 21, 2005 11:37 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Using compc to make SWC from AS
 
 While I could use Zinc or mProjector, no one would use it.  
 I'd much rather 
 have it in Eclipse, but I don't know Java.  Could compc work 
 with ANT you 
 think?
 
 - Original Message - 
 From: Renaun Erickson [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, December 21, 2005 11:30 AM
 Subject: [flexcoders] Re: Using compc to make SWC from AS
 
 
 compc GUI
 
 Flash with Zinc would be a good use for making a GUI for the command
 line.  If its all local you could do Flex to PHP/ColdFusion which then
 calls the command line, but this is not as portable.
 
 Depending on your purpose you could setup a external tool in eclipse
 that makes the call also, probably a little more work then you want to
 get it to handle all the parameters you are using nicely.
 
 Plenty of possibilities, hehe
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  Yep, that's exactly what I did, just doing -root 3rd, but apparently
  parameter order doesn't matter.  Pretty neat... curious how I can
 build a
  GUI for it.
 
  - Original Message - 
  From: Brian Deitte [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, December 21, 2005 12:04 AM
  Subject: RE: [flexcoders] Using compc to make SWC from AS
 
 
  So using root didn't work for you?  If your class is
  com.mfgquote.utils.Signature, then you will  want to 
 point it to the
  flex directory:
 
  compc -o Signature.swc -root c:\Documents and Settings\Syle\My
  Documents\_Work Projects\Signature\flex c:\Documents and
  Settings\Syle\My Documents\_Work
  Projects\Signature\flex\com\mfgquote\utils\Signature.as
 
   -Original Message-
   From: flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
   Sent: Tuesday, December 20, 2005 6:10 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Using compc to make SWC from AS
  
   ...dude, I'm stumped...
  
   - Original Message - 
   From: JesterXL [EMAIL PROTECTED]
   To: flexcoders@yahoogroups.com
   Sent: Tuesday, December 20, 2005 5:57 PM
   Subject: Re: [flexcoders] Using compc to make SWC from AS
  
  
   Ok, this works (C:\Program Files\Macromedia\Flex\bincompc -o
   Signature.swc
   c:\Documents and Se
   ttings\Syle\My Documents\_Work
   Projects\Signature\flex\com\mfgquote\utils\Signature.as),
   but now getting a
   the class doesn't match the imported class.  I used to get
   those types of
   errors in Flash and knew they were full of it, but trust Flex
   more... bleh.
  
   - Original Message - 
   From: JesterXL [EMAIL PROTECTED]
   To: Flexcoders flexcoders@yahoogroups.com
   Sent: Tuesday, December 20, 2005 5:51 PM
   Subject: [flexcoders] Using compc to make SWC from AS
  
  
   I'm having trouble getting compc to work.  I'm not very good
   at Command
   line, so maybe that's the problem.  How do you escape spaces
   on Windows XP?
  
   Like:
  
   C:\Documents and settings
  
   It keeps bitching there isnt' a C:\Documents , and I think I
   have to escape
   the space.  How do you do that?  Is there an easier way to
   make SWC files
   from AS files (without using Flash since it won't get the
   right classes)?
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
    Yahoo! Groups Sponsor
   ~--
   Get Bzzzy! (real tools to help you find a job). Welcome to
   the Sweet Life.
   http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
   --
   --~-
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

RE: [flexcoders] How do I know if a password is secure or not

2005-12-20 Thread Brian Deitte





This articlehas an 
example of using passwords in an application, assuming you also have data you 
want to protect:

http://www.macromedia.com/devnet/flex/articles/security_framework.html

I'd suggest using the 
standard Flex security model shown above along withHTTPS. 
-Brian


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Tuesday, December 20, 2005 11:08 
  AMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] How do I know if a password is secure or not
  Can you elaborate on what you mean by storage format? If I use 
  sharedObjects is that a secure way to go about it? This is something I am very 
  new to, I mean security I would love to see some applications using flex that 
  have developed secure password systems if you know any? 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] FireFox.exe has been shuted down abnormarlly when ...

2005-12-20 Thread Brian Deitte
Not sure.  I'd suggest trying different versions of Firefox to see if
this always occurs.  My guess is that it doesn't.  You could also check
out Firefox's bugzilla:

https://bugzilla.mozilla.org/buglist.cgi?query_format=specificorder=rel
evance+descbug_status=__open__product=Firefoxcontent=window.close+cra
sh

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of sn197412
 Sent: Tuesday, December 20, 2005 11:10 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FireFox.exe has been shuted down 
 abnormarlly when ...
 
 Hi.
 
 FireFox.exe has been shuted down abnormarlly when flash call
 window.close via flash.external.ExternalInterface.call.
 
 Any advice??
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Most low income homes are not online. Make a difference this 
 holiday season!
 http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] How do I know if a password is secure or not

2005-12-20 Thread Brian Deitte





This articlehas an 
example of using passwords in an application, assuming you also have data you 
want to protect:

http://www.macromedia.com/devnet/flex/articles/security_framework.html

I'd suggest using the 
standard Flex security model shown above along withHTTPS. 
-Brian


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Tuesday, December 20, 2005 11:08 
  AMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] How do I know if a password is secure or not
  Can you elaborate on what you mean by storage format? If I use 
  sharedObjects is that a secure way to go about it? This is something I am very 
  new to, I mean security I would love to see some applications using flex that 
  have developed secure password systems if you know any? 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Using compc to make SWC from AS

2005-12-20 Thread Brian Deitte
I tried to answer this, but my message slowly bounced.  Apparently I
needed to tell Yahoo about the shiny new email address.  

My stale advice: Try specifying a root that points to the directory
that you would normally specify as the actionscript classpath.  As a
side note, this parameter disappears in 2.0.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Tuesday, December 20, 2005 6:18 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Using compc to make SWC from AS
 
 Got it, I just had to point -root to the com folder.
 
 - Original Message - 
 From: JesterXL [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, December 20, 2005 5:57 PM
 Subject: Re: [flexcoders] Using compc to make SWC from AS
 
 
 Ok, this works (C:\Program Files\Macromedia\Flex\bincompc -o 
 Signature.swc
 c:\Documents and Se
 ttings\Syle\My Documents\_Work
 Projects\Signature\flex\com\mfgquote\utils\Signature.as), 
 but now getting a
 the class doesn't match the imported class.  I used to get 
 those types of
 errors in Flash and knew they were full of it, but trust Flex 
 more... bleh.
 
 - Original Message - 
 From: JesterXL [EMAIL PROTECTED]
 To: Flexcoders flexcoders@yahoogroups.com
 Sent: Tuesday, December 20, 2005 5:51 PM
 Subject: [flexcoders] Using compc to make SWC from AS
 
 
 I'm having trouble getting compc to work.  I'm not very good 
 at Command
 line, so maybe that's the problem.  How do you escape spaces 
 on Windows XP?
 
 Like:
 
 C:\Documents and settings
 
 It keeps bitching there isnt' a C:\Documents , and I think I 
 have to escape
 the space.  How do you do that?  Is there an easier way to 
 make SWC files
 from AS files (without using Flash since it won't get the 
 right classes)?
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 1.2 million kids a year are victims of human trafficking. 
 Stop slavery.
 http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Using compc to make SWC from AS

2005-12-20 Thread Brian Deitte
So using root didn't work for you?  If your class is
com.mfgquote.utils.Signature, then you will  want to point it to the
flex directory:

compc -o Signature.swc -root c:\Documents and Settings\Syle\My
Documents\_Work Projects\Signature\flex c:\Documents and
Settings\Syle\My Documents\_Work
Projects\Signature\flex\com\mfgquote\utils\Signature.as 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Tuesday, December 20, 2005 6:10 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Using compc to make SWC from AS
 
 ...dude, I'm stumped...
 
 - Original Message - 
 From: JesterXL [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, December 20, 2005 5:57 PM
 Subject: Re: [flexcoders] Using compc to make SWC from AS
 
 
 Ok, this works (C:\Program Files\Macromedia\Flex\bincompc -o 
 Signature.swc
 c:\Documents and Se
 ttings\Syle\My Documents\_Work
 Projects\Signature\flex\com\mfgquote\utils\Signature.as), 
 but now getting a
 the class doesn't match the imported class.  I used to get 
 those types of
 errors in Flash and knew they were full of it, but trust Flex 
 more... bleh.
 
 - Original Message - 
 From: JesterXL [EMAIL PROTECTED]
 To: Flexcoders flexcoders@yahoogroups.com
 Sent: Tuesday, December 20, 2005 5:51 PM
 Subject: [flexcoders] Using compc to make SWC from AS
 
 
 I'm having trouble getting compc to work.  I'm not very good 
 at Command
 line, so maybe that's the problem.  How do you escape spaces 
 on Windows XP?
 
 Like:
 
 C:\Documents and settings
 
 It keeps bitching there isnt' a C:\Documents , and I think I 
 have to escape
 the space.  How do you do that?  Is there an easier way to 
 make SWC files
 from AS files (without using Flash since it won't get the 
 right classes)?
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Get Bzzzy! (real tools to help you find a job). Welcome to 
 the Sweet Life.
 http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Brian Deitte
The Flex API for Yahoo Maps does not require Shockwave.  The pure-Flash,
nothing-Shockwave-in-it SWC format is named SWC for historical reasons
(ie, we never changed it to something that makes more sense).  Yahoo
gives the full name, ShockWave(r) Control, in one place that I noticed.
Hopefully they can change this to just say SWC.  -Brian


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson
 Sent: Thursday, November 03, 2005 9:08 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Yahoo Maps built with Flex!
 
 Why does the Flex API require use of a Shockwave
 Control instead of simply the Flash control?
 
 Although I'm not saying this is the case, there is
 prob. only one thing I'm sensetive to when it comes to
 macromedia, and that would be anything going on to try
 to unnecessarily require someone to adopt a certain
 technology only for the sake of spreading it (e.g. I
 like the new plans for Flex2 that won't _require_
 getting involved in the huge license of Flex
 Presentation Server; on the same token, all my
 customers have complained heavily in the past about
 Shockwave versus Flash; Flash is _always_ preferred).
 
 -r
 
 
 --- David Mendels [EMAIL PROTECTED] wrote:
 
  Hi,
   
  More info here:
 
 http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-powe
 r-of-flash
  /
   
  I suspect this is the highest profile Flex app to
  date.  Note there is
  also a developer API designed for Flex developers to
  use.
   
  -David
  
 
 
 
   
 __ 
 Yahoo! FareChase: Search multiple travel sites in one click.
 http://farechase.yahoo.com
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Most low income households are not online. Help bridge the 
 digital divide today!
 http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Webservice - Unable to connect to endpoint ...

2005-09-07 Thread Brian Deitte
/
 LicenseKey/GetGeoLocation/SOAP-ENV:Body/SOAP-ENV:Envelope
 09/05 23:07:41 INFO -- End POST request --
 09/05 23:07:42 INFO -- Header in response: Server : Microsoft-IIS/5.0
 09/05 23:07:42 INFO -- Header in response: Date : Tue, 06 Sep 2005
 03:07:41 GMT
 09/05 23:07:42 INFO -- Header in response: X-Powered-By : ASP.NET
 09/05 23:07:42 INFO -- Header in response: X-AspNet-Version : 1.1.4322
 09/05 23:07:42 INFO -- Header in response: Cache-Control : no-cache
 09/05 23:07:42 INFO -- Header in response: Pragma : no-cache
 09/05 23:07:42 INFO -- Header in response: Expires : -1
 09/05 23:07:42 INFO -- Header in response: Content-Type : text/xml;
 charset=utf-8
 09/05 23:07:42 INFO -- Begin POST response --
 09/05 23:07:42 INFO ?xml version=1.0
 encoding=utf-8?soap:Envelope
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap
 :BodyGetGeoLocationResponse
 xmlns=http://www.serviceobjects.com/;GetGeoLoca
 tionResultLatitude33.799436/LatitudeLongitud
 e-117.916834/LongitudeZip92802-3424/ZipTra
 ct0875.03/TractBlock3000/Block/GetGeoLocat
 ionResult/GetGeoLocationResponse/soap:Body/soap:Envelope
 09/05 23:07:42 INFO -- End POST response --
 09/05 23:07:42 INFO -- POST status: 200, reason: OK, target:
 http://ws2.serviceobjects.net/gcr/GeoCoder.asmx
 
 --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED]
 wrote:
  Try turning on webservice-proxy-debug in flex-config.xml and if it
  doesn't make sense, posting the differences between IE and Firefox
 here.
  Try setting noProxy to true and see if it is the proxy or the
 endpoint
  that is causing problems.  -Brian 
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of mrvinedit
   Sent: Monday, September 05, 2005 9:40 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Webservice - Unable to connect to endpoint
 ...
   
   Anyone seen Unable to connect to endpoint ... calling a
 webservice
   only when using IE but otherwise working fine in Firefox.
   
   mx:WebService
   wsdl=http://ws2.serviceobjects.net/gcr/GeoCoder.asmx?WSDL;
   id=GeoCodeService fault=alert(event.fault.faultstring)
   result=ParseResult()
   mx:operation name=GetGeoLocation resultFormat=object
   showBusyCursor=true
   mx:request format=object
   Address{txtAddress.text}/Address
   City{txtCity.text}/City
   State{txtState.text}/State
   PostalCode{txtZip.text}/PostalCode
   LicenseKeylicense_key_goes_here/LicenseKey
   /mx:request
   /mx:operation
   /mx:WebService
   
   Thanks.
   
   
   
   
   
   
   
    Yahoo! Groups Sponsor 
   ~-- 
   Most low income households are not online. Help bridge the 
   digital divide today!
   http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
   --
   --~- 
   
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/
 files/flexcodersFAQ.txt
   Search Archives: 
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links
   
   
   

   
   
  
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Get Bzzzy! (real tools to help you find a job). Welcome to 
 the Sweet Life.
 http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Problem accessing RemoteObjects

2005-09-07 Thread Brian Deitte





The "Creating Service" message you see is from the client 
side, so it is a little misleading in that it makes it look like RemoteObject 
already found things, but it isn't an indication of how things are happening on 
the server side. The error message you are getting says that the class 
could not be found or could not be loaded on the server side. Can you try 
to load the class in a JSP page or a servlet, just to be really sure that it 
works? Do you have a no-argument constructor? What classes are you 
importing within com.obc.User?

(And looking at the error message- ah, shoot, I thought we 
had gotten all the Flash Remoting MX references out of there. :) ) 
-Brian


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
  CraneSent: Wednesday, September 07, 2005 10:16 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Problem accessing 
  RemoteObjects
  
  
  I am trying to access a RemoteObject that I created to 
  retrieve information from a MSSQL database, and cannot get it to work. Any 
  suggestions on this are greatly appreciated. Details to follow:When 
  Debugging the app from within Flex Builder I get the following under the 
  Output Tab:RemoteObject_AMF: Creating Service for 
  com.obc.UserRemoteObject_AMF: Creating gateway connection for http://localhost:/development/amfgatewayRemoteObject_AMF: 
  Successfully created Service.However, when I click on a button I 
  created to invoke the RemoteObject method I receive this error:Service 
  threw an exception during method invocation: No service named com.obc.User is 
  known to Flash Remoting MX.I have the following in my flex-config.xml 
  file under 
  remote-objectsunnamedsource*/sourceI 
  have also modified my RemoteObject to simply return a string, until I am able 
  to get this to work. The java class files are being placed in the following 
  location on the JRun Server:JRUN 
  DIR\servers\SERVERNAME\development\WEB-INF\classes\com\obc





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] namespace/directory structure issue

2005-07-31 Thread Brian Deitte
I think what Matt was saying is having the components directory a level deeper 
and then referencing this directory in actionscript-classpath in 
flex-config.xml.  You should be able to create references to components in any 
directory you put in actionscript-classpath in the same manner that you 
reference components in a subdirectory of the main application.  I don't think 
you necessarily need to move the components directory though- I think it would 
also work to just put the main directory in actionscript-classpath.  -Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaime 
Bermudez
Sent: Sunday, July 31, 2005 11:17 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] namespace/directory structure issue

Ok, so I think what you're suggesting is to restructure to something
like the following:

main
as
components
UI
test
test1
components
   comp1
test2
 components
comp2

If so, that kind of ruins my approach of dynamically adding components
to a Container in each testXmxml.  I wanted to follow the approach
of having each test1...testN directory define a Components.as file
that lists the component references from the components directory that
will be added to the Container - that way I could share an appTest.as
file across each testXmxml declaration.

In any case, there is still the question of code changes and
check-ins.  How would I keep comp1, for example, in synch w/ comp1 in
the main branch?  Is there a way to make the components directories
under each testN directory a pointer to the main components directory?

Thanks,

Jaime


On 7/30/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 I think what you're gonna need to do is create a different root directory
 and then add it to your classpath in flex-config.xml.  Put all the
 components in that directory (create whatever subdirectories you desire). 
 Since you have the test directory it cannot easily refer to components in a
 parallel directory unless the main MXML file is in main. 
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jaime Bermudez
  Sent: Saturday, July 30, 2005 5:23 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] namespace/directory structure issue 
 
   
 
 Hi Flexcoders,
  
  I am working on a rather large FLEX app w/ a directory structure that
  looks like this:
  
  main
 as
 components
 UI
 ...
 test
 test1
  
  the main directory contains the project's app.mxml, which has custom
  namespace declarations like xmlns:cc = components.UI.*, etc.  That
  works just fine b/c the components and as directories are below the
  app directory.
  
  Because of the size of the app, I created the test directory above,
  which I hope will contain subdirectories of test applications to make
  development compilation quicker (i.e. app.mxml may have 20 components
  from the components directory, but test1.mxml will have just 1). 
  The reason I created a test directory is so that it can be easily
  excluded from a production build.  Anyway, in each testX.mxml file,
  I need to be able to refer to components in the components directory
  in an Application tag.  Is there an easy way I can do this w/o having
  to make SWC files?  Note that the components directory is often
  updated, so having to compile a SWC is not ideal.
  
  Thanks,
  
  Jaime
  
  
 
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
  
 
  
  SPONSORED LINKS 
  Computer software testing Macromedia flex Development 
  Software developer 
  
  
  YAHOO! GROUPS LINKS 
  
  
  Visit your group flexcoders on the web.
   
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  
  
  
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hhdgth4/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122842173/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 

RE: [flexcoders] Rich Internet Apps book

2005-07-31 Thread Brian Deitte
Hi Mani, do you mean that the localserver is not there in the whitelist or that 
it is already uncommented?  If it is former, then check another flex-config.xml 
for this info.  Here's some more proxy info:
http://www.cflex.net/showfaq.cfm?ChannelID=1faqType=#Question394
-Brian  

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manuel 
Saint-Victor, M.D.
Sent: Saturday, July 30, 2005 6:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Rich Internet Apps book



I am working on an example from the Flex Book for the Blogreader and
google search and having trouble with an error that says You are not
allowed access to this URL by this proxy

I went to the whitelist and the localserver is not commented so I could
not remove the comments to get it to work as suggested online.
Any suggestions on what I'm doing wrong.

Thanks,

Mani
-- 
Live as if you were to die tomorrow. Learn as if you were to live forever.
  --  Mahatma Gandhi






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hn1mco5/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122847396/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Task Summary Project.

2005-07-31 Thread Brian Deitte





Hi Ahmed, I'm sure there's people on the list who could 
contact you with consulting services. Glad to see you're getting 
somewhere, but you're going to be disappointed again by people's response 
here. See section 5 in the FAQ:

5. Guidelines to effective 
question-asking

Include a useful subject; this will help people find their own questions
and answers later.
Explain what you are trying to accomplish.
Explain the error (include compilation errors or a description of the
runtime behavior).
Be prepared to break your problem down into a simpler scenario in case
someone wants to try to debug the code themselves. Remember, private
web services are inaccessible; you may need to create some dummy data to
emulate problems.
Phrases to avoid:
"URGENT" (we all have deadlines, no one is intentionally delaying a
response to you)
"Please send code" (this is very frustrating to read as it implies you
aren't interested in learning anything on your own. Where code is
appropriate you can expect someone to provide it, but in many cases you
will learn more by doing it on your own with appropriate guidance. It
may be that you're on a deadline and just want to finish, but many of
those who respond regularly would prefer to "teach you to fish" so that
you can answer your own questions next time and even help out others).



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of AhmedSent: 
Sunday, July 31, 2005 6:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Task Summary 
Project.


Dear 
All,

I finished a long 
part in my Task Summary Project. 

The attached package 
contains the files I worked on, I wish if you can see them , and tell me what is 
wrong please. 

I couldn't compile 
the file "ContactManager.Java" . Any ideas? 

Please advice. I need 
my project so soon, and I so much need your help. 

If you designed a 
whole project for me, I will pay for it.


With all 
respect,
Ahmed





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] are there any tools i can use to document my mxml api?

2005-07-31 Thread Brian Deitte





I don't know of any, but one thing you could do is set 
keep-generated-as to true, compile the mxml pages,and then use the AS 
documentation tools. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Friday, July 29, 2005 3:26 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] are there any tools i 
can use to document my mxml api?
Like as2doc for 
mxml?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex on Oracle App Server Issues

2005-07-31 Thread Brian Deitte
Oracle 10g is supported and there are no major problems that I know about.  
There's two open issues that I know of or can find, both just having to deal 
with the sample applications.  These aren't really general Flex issues with 
Oracle and only show up with how we are doing things in some sample 
applications:

1. Bug 89489, WSDL load error with sample app.  Here's the associated release 
notes in the bug that I assume were already released somewhere:
Oracle 9.0.4 will give Could not load WSDL errors when running most samples. 
This is due to an issue with Axis and Oracle's XML parsing library. This issue 
will not cause problems outside of samples.war. There are two ways to work 
around this issue:
1. Use Oracle 9.0.3
2. Take the xmlparserv2.jar from 9.0.3 and use it in 9.0.4. This jar can be 
found in the root lib directory of 9.0.3. The jar should then be placed in 
either the root lib directory of 9.0.4.

2. Bug 105331, classloader issue with sample app.  Here's the associated 
release notes in the bug that I assume were already released somewhere:

Currently, the FlexStore sample application will not run out of the box on 
Oracle 10g. If you try to call the FlexStore sample application from a web 
browser, the FlexStore app will start loading and then you will get an alert 
dialog that says java.lang.NullPointerException. If you look in the server 
console log, you will also see an error that says 
java.net.MalformedURLException. This is due to a problem with one of the web 
services used by the sample application. To workaround this problem, you need 
to modify the source to the web service and then recompile it. Underneath the 
flex samples web application, open the file 
WEB-INF\classes\samples\contacts\Contacts.java. Change the line in the 
getDocument() method that says
doc = builder.parse(fileURL.getFile());
to
doc = builder.parse(new File(fileURL.getFile()));
You then need to recompile the web service by running javac 
samples\flexstore\Catalog.java from the WEB-INF\classes directory and restart 
the appserver. The reason for this change is because calling 
Classloader.getResource() on Oracle 10g returns a URL with a leading / and 
the URL needs to be normalized before passing it to the parser. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeeflex
Sent: Saturday, July 30, 2005 4:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex on Oracle App Server Issues

Hi All,

This is my first post on flexcoders. Question- Is there any know
issues or bugs while using Flex on Oracle App Server( 10g )? . Is
there any internal bugs reported my Macromedia ? . Looking forward to
get some replies. 

Thanks, 

Sean





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h8ee4mp/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122847425/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] sending typed arrays over web services

2005-07-31 Thread Brian Deitte
My web service knowledge has gotten a little rusty, but here's two
things to try:

1. Make sure there's nothing in the WSDL definition for this service
that would cause this to happen.  What would cause this in the WSDL is
better answered by someone who isn't rusty in this area.  :)
2. I'm not sure if this is needed, but try this before sending things, a
hidden setting that has to deal with SOAP arrays:
myWS.stub.xmlEncoderConfig = new XMLEncoderConfig();
myWS.stub.xmlEncoderConfig.useSOAPEncoding = true;

-Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of zipo13
Sent: Sunday, July 31, 2005 2:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sending typed arrays over web services

Hi,
In my app we are sending complex objects back and forth from flex to
a web service.

The problems is that when an array is inside an object, the objects
inside it are typed as anyType and can't be deserialized on the server.

I'll explain:
If I have a class called Class1 and a container of it Cont and I do

var myObj:Cont = new Cont;
var myArr:Array = new Array();
var myCls1:Class1 = new Class1;
var myCls2:Class1 = new Class1;
myArr.push(myCls1);
myArr.push(myCls2);
myObj.arr = myArr;

myWS.myMethod(myObj,myArr).send();

as you can see I set the array in an object, an then I sent it in the
object and all by itself.
If I look at what flex is sending I see:
---
arg1 xmlns:ns2=someNamespace xsi:type=ns2:myObj
   arr xmlns:ns9=http://www.w3.org/1999/XMLSchema;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
soapenc:arrayType=ns9:anyType[2] xsi:type=soapenc:Array
   item xsi:type=ns9:anyType
  
   /item
   item xsi:type=ns9:anyType
  
   /item
   /arr

/arg1
arg2 xmlns:ns14=someNamespace 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
soapenc:arrayType=ns14:Class1[2] xsi:type=soapenc:Array
item xsi:type=ns14:Class1
/item
item xsi:type=ns14:Class1
/item 
/arg2 

---
So when the array is sent inside another object then the objects in
the array are typed as anyType but when the array is sent as an
argument then the object inside it are typed correctly (as Class1 in
this case).

Does anybody know why is this and how to get the array to be well
typed?









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hokbhjc/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122847401/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Trouble Deploying on WebLogic 8.1 [ Brian Deitte ]

2005-07-29 Thread Brian Deitte





The bug numbers are only internal to Macromedia. I 
provided it here just for reference when talking with someone from 
Macromedia. I know of no complete workarounds other than expanding the 
war. Idid talk to someone who worked on the issue, and she 
said that if you are only using RemoteObject (not WebService/HTTPServlet) and 
precompile your SWFs (that is, not using.mxml directly ever on the 
production machine, so you have to save the HTML wrapper as well), then you 
don't run into this problem. I don't know how widely this workaround is 
being used or tested, however, so your mileage may vary.

-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Shahnavaz 
AlwareSent: Thursday, July 28, 2005 7:57 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Trouble Deploying 
on WebLogic 8.1 [ Brian Deitte ]


Hi Brian 


Are the 
internal bug numbers public, or are they only internal to Macromedia? Are 
there any work arounds for this bug besides deploying 
exploded?

Thanks,

Shahnavaz




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Brian 
DeitteSent: Tuesday, July 26, 
2005 9:40 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Trouble Deploying 
on WebLogic 8.1

Yes this is a known 
issue (internal bug number 93750). I believe this is documented but don't 
have a reference to it. -Brian




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Dave 
KunclSent: Tuesday, July 26, 
2005 11:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Trouble Deploying on 
WebLogic 8.1
I am having trouble 
deploying a Flex web app on WebLogic. It deploys fine if I expand the war 
file and hot deploy, but when the app is bundled in a war file inside an ear 
file the servlets fail to load.

Can a Flex web app only 
be deployed expanded on WebLogic?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] headless server

2005-07-26 Thread Brian Deitte





Hi Clint, most likely what is happening here is that the 
J2EE server (through Java security) is set up to not allow 
Properties.setProperties() to be called. You'll need to find out how to 
set the JVM property java.awt.headless totrue, which is all that this 
configuration parameter does. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Tuesday, July 26, 2005 10:05 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] headless 
server
I've set the server to be headless in the flex config... because 
we're deploying onto an ibm mainframe...I'm embedding one image (the 
application background)I still get the error coming up that says I 
need to set the flexConfig to headless. (after i've set it to 
headless)I've tried rebooting the app... I've tried rebooting the 
server...I have NOT tried rebooting the mainframe as I would no doubt be 
drawn and quartered... (as if they would let me anyway)anyone ever tried 
setting a server's config to headless?The error goes away... if i do not 
embed this "one" and only image using this code 
backgroundImage="@Embed('background.jpg')"





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Trouble Deploying on WebLogic 8.1

2005-07-26 Thread Brian Deitte





Yes this is a known issue (internal bug number 
93750). I believe this is documented but don't have a reference to 
it. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
KunclSent: Tuesday, July 26, 2005 11:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Trouble Deploying on 
WebLogic 8.1


I am having trouble 
deploying a Flex web app on WebLogic. It deploys fine if I expand the war 
file and hot deploy, but when the app is bundled in a war file inside an ear 
file the servlets fail to load.

Can a Flex web app only 
be deployed expanded on WebLogic?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex with Websphere

2005-07-01 Thread Brian Deitte
We've used it here, of course.  :)  It integrates with WebSphere through
com.ibm.ws.security.core.ContextManager.  You can find information on
adding users for WebSphere 5 in
resources/security/examples/addingusers.txt, which I've cut and pasted
below:

1.  Log into the WebSphere admin console.

2.  Go to Global Security and check enabled.

3.  If using Custom User Registry for Global Security  Active User
Registry, custom
properties for usersFile and groupsFile must be set.

4.  Start the server

More information should be available in the following locations:

http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.i
bm.websphere.zseries.doc/info/zseries/ae/usec_rgsp.html

-Brian
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ricardo Menna
Sent: Friday, July 01, 2005 8:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex with Websphere

Hi,

Does anybody has used Flex with Websphere with security mode turned on ?

Does anybody uses WebsphereLoginCommand ? Is it really integrated with
Java 2 Security of Websphere ?

Thanks in advance !

Ricardo Menna


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] array blows up when passing to webservice

2005-06-28 Thread Brian Deitte
My guess would be 1 or 3.  That doesn't help too much though, does it.
:)  Can you try calling /sampling-ws/services/FooService with the body
shown in your first message?  This would take Flex out of the equation,
and I'm guessing with this that you'll still get the SAXParseException.
-Brian
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Dwelle
Sent: Tuesday, June 28, 2005 3:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] array blows up when passing to webservice

I can't tell you how much I appreciate you taking the time to look at
this 
issue.  Thank you so much!

I guess it is reassuring that it works for you.  At least it is doable.

Unfortunately, I still don't have a clue why it doesn't work for me...

Here are the differences I can think of:

1) I am using Weblogic and not JRun.

2) I deploy as 2 separate web applications: one containing the Flex
client 
('sampling') and one containing the web services ('sampling-ws').  The
Flex 
client is deployed exploded, while the web services are deployed as a
.war 
file.

3) I am using Axis 1.2.1.

4) My Java code is structured into packages.

5) I have ActionScript objects like Foo.as and Bar.as. However, on your 
recommendation, I tried removing these, with the same results.

6) Is it possible it is an issue with the version of Flash Player?
Doubful, 
I think... since I tried downloading the latest version of the player,
but 
seem to have the same results.


Does anything jump out at you?  Any suggestions how to proceed in
debugging 
this?

Thanks again.

-Tim.

BTW, does this list accept largish attachments?  I would love to send
out my 
'sampling-ws.war'.  Since this includes all the Axis stuff plus my web 
service, it would reduce a few of the variables in this process...


From: Matt Chotin [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] array blows up when passing to webservice
Date: Mon, 27 Jun 2005 22:48:27 -0700

OK, I just ran this code and got it to work.  I'm thinking that maybe
the problem is the compiler trying to coerce those classes into your
typed objects.  WebServices actually don't convert to type objects
regardless of your registerClass.  Instead everything is a dumb object.
I ran this code against my default JRun install (so I don't guarantee
what the Axis version is)



mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

 xmlns:dom=*



   mx:WebService id=service


wsdl=http://localhost:8100/services/FooService?wsdl;

  showBusyCursor=true



 mx:operation name=getFoo

   result=model = event.result/



 mx:operation name=saveFoo


result=mx.controls.Alert.show('result='+event.result)/

   /mx:WebService



   mx:Script

   ![CDATA[

 var model: Object;

   ]]

   /mx:Script



   mx:Button label=Get Foo click=service.getFoo()/



   mx:Button label=Save Foo click=service.saveFoo(model)/



/mx:Application



I didn't package up the Java classes either (so they just sit in
WEB-INF/classes) and my server-config.wsdd looks like this:



  service name=FooService provider=java:RPC

   parameter name=methodName value=*/

   parameter name=className value=FooService/

   beanMapping languageSpecificType=java:Foo qname=ns1:Foo
xmlns:ns1=http://www.macromedia.com/samples/

   beanMapping languageSpecificType=java:Bar qname=ns2:Bar
xmlns:ns2=http://www.macromedia.com/samples/

  /service



So I think the answer is it can be done, something must be messed up
though that's causing Flex to not know what's going on.  Make sure your
Axis server-config.wsdd has the proper beanMappings and then try using
just a plain Object instead of a typed class on the AS side and let's
see how things go.



Matt





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Dwelle
Sent: Monday, June 27, 2005 6:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] array blows up when passing to webservice



I have tried creating an object programatically and sending it... I get
the
same error.

I am using an out-of-the-box installation of Apache Axis 1.2.1...
separate
webapp from the Flex client.  I don't need to register any custom
serializers/deserialzers for Flex, do I?

Here is my WSDL. Thanks again for taking a look at this...

-Tim.


[wsdl]

?xml version=1.0 encoding=UTF-8?
wsdl:definitions
targetNamespace=http://localhost:7001/sampling-ws/services/FooService;
xmlns:apachesoap=http://xml.apache.org/xml-soap;
xmlns:impl=http://localhost:7001/sampling-ws/services/FooService;
xmlns:intf=http://localhost:7001/sampling-ws/services/FooService;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:tns1=urn:Dominion xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;

RE: [flexcoders] Object.registerClass reverse lookup

2005-06-28 Thread Brian Deitte
Sorry, I don't know of and can't find anything like this.  It looks like
your only solution is naming the classes the same in AS and Java.
-Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Krueger
Sent: Tuesday, June 28, 2005 5:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Object.registerClass reverse lookup

I thought that was only for finding an instance of an actionScript class
given the name of the actionScript class.  I want to take the java class
name and find out what actionScript class is associated with it.  The
result of the unknown function would then be used in
mx.util.ClassUtil.findClass to get and instance of an actionScipt class.


Jeff 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Tuesday, June 28, 2005 2:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Object.registerClass reverse lookup

On 6/29/05, Jeff Krueger [EMAIL PROTECTED] wrote:

 Is there a way to do a reverse lookup within actionScipt of the data
that is
 used in Object.registerClass? 

 So for example 
 
 Object.registerClass(com.foo.test, TestVO); 

mx.utils.ClassUtil.findClass() ?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Brian Deitte





Hi Clint, you can't use interfaces as the name of 
thesource in RemoteObject, since we do a Class.forName() call for the 
name. It's really not possible for such a thing to ever work,since 
something needs to be instantiated for the RemoteObject. You should be 
able to use a class that implements an interface, though. 
-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Thursday, June 16, 2005 10:09 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Java intefaces as 
remote objects?

Instead of using POJO's can we use Java Intefaces definitions 
instead?

Whena guy on our team tested it he got a class instantiation 
error...

If the answer is no then I gess I could add it to the wish list for 
2.0.

Thanks







Yahoo! Groups Links

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










RE: [flexcoders] Assigning a AS variable to the return value of a web service

2005-06-16 Thread Brian Deitte
You need to put statements in functions (Waldo's article on this grabbed
from google since the site isn't returning for me):

http://64.233.187.104/search?q=cache:7i7Ah65NYooJ:www.waldosmeets.com/in
dex.cfm%3FentryID%3D550+flex+%22not+permitted+in+a+class+definition%22h
l=en 

-Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gotjosh819i
Sent: Thursday, June 16, 2005 12:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Assigning a AS variable to the return value of a
web service

help please:

new at AS 2, 

How do I assign a return from a WS to a AS variable.

Example here is what I have so far and its erroring out.

1 Error found. 
 
Error /gvs/gvsStartB.mxml:21 
This statement is not permitted in a class definition.



mx:WebService wsdl=http://blahblah/_cfc/gvs_reports.cfc?wsdl; 
id=gvsJob
mx:operation name=ReportJob / 
/mx:WebService


mx:Script
  ![CDATA[
  var JobRunning:Object = ReportJob.DataAvailable.result; 
  ]]
  
  //Checks to see if database Jobs are running, if they are 
not it will 
  //say available = yes, if they are it will say available = 
no
  if (JobRunning == No) 
  {
  someactions 
  }
/mx:Script






 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] https

2005-06-16 Thread Brian Deitte
Title: Message





Hi Steve, I'm not surewhat else to suggest 
here. It seems Carson/Dave are seeing the same thing and have a solution 
that works for them, and I'm not sure why it doesn't work for you. Perhaps 
you can ask on a Tomcat list how to turn off the "cache-control" header? 
If you do find a solution, let us know. -Brian



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Thursday, June 16, 2005 10:35 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

Been away for a few days. Has anyone deteremined what 
I have not done or done wrong?


-S


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Friday, June 10, 2005 4:14 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

What you're seeing is exactly what we were seeing before 
making these changes. This fixed it for us.

Dave - Do you see anything missing 
here?


Carson
  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
89Mobile: 1.703.489.6466  Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf 
  



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Friday, June 10, 2005 3:59 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

I did. I have. I tried both Basic and Form 
entries. I put the entries in a file name context.xml and put the file 
under META-INF. I didn't need to create the META-INF directory, I 
already had one. Deleted all temporary caches and restarted Tomcat. 
I also, as someone else, suggested import my certifiicate intoIE. I 
get the popup warning about both secure and nonsecure items on the 
webpage. While the popup is active, there is a broken object icon in the 
top left corner. As soon as I hit ok, the icon goes away and I am left 
with a blank page. I can view source and its all 
there.


-S


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Friday, June 10, 2005 3:46 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

That's exactly right. It does work on FFX. It is only 
the combination of IE/Tomcat/SSL and Auth. I would look this over again 
and make sure restarted tomcat, etc.


Carson

  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
89Mobile: 1.703.489.6466  Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf 
  



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Friday, June 10, 2005 3:42 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

Unfortunately, this did not fix my problem. Its 
definately an IE problem, it runs ok in Firefox.


-S


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Friday, June 10, 2005 3:27 PMTo: 
flexcoders@yahoogroups.comCc: Dave WolfSubject: RE: 
[flexcoders] https

This was posted to the web forums by Dave Wolf 
fromour company. I haven't seen it post out here yet and it's been several 
hours so here is the explanation and resolution to the 
problem.


This is a bug in 
IE6 caused by the cache-control headers being set byTomcat 5.X when combined 
with HTTP auth and SSL and binary contentsuch as a swf.The fix is 
the following which will disable setting the proper buttroublesome 
cache-control header.In the flex web app, add a META-INF directory. 
Inside of thatdirectory create a documentcontext.xmlWithin 
this file add the following line.Valve 
className="org.apache.catalina.authenticator.FormAuthenticator" 
disableProxyCaching="false" /If you are using BASIC instead of form 
just useValve 
className="org.apache.catalina.authenticator.BasicAuthenticator" 
disableProxyCaching="false" /Youre problem will go away.Dave 
WolfCynergy Systemshttp://www.cynergysystems.com



  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 
89Mobile: 1.703.489.6466  Take PowerBuilder to the Web with EAF 4.0http://www.cynergysystems.com/public/products/eaf 
  





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, JeffSent: Friday, June 10, 2005 12:15 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
https

Steve,



For that cert to work, 
you've got to import it into IE first, I'm pretty sure. 




Jeff

  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve PruittSent: Friday, June 10, 2005 11:48 
  AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  https
  
  All,
  
  
  
  I am trying to get my Flex app 
  working under https. I running with Tomcat using a 

RE: [flexcoders] All framework classes get compiled into RSL?

2005-06-16 Thread Brian Deitte
Hi Dirk, I'm not positive on this, but I don't think you actually have
all of the framework in the SWC file.  I'd guess that you wouldn't see,
for instance, MediaDisplay in it.  You see more components than just
Button because we will automatically include all components/classes that
Button needs- this includes a bulk of the core of the framework.  -Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Thursday, June 16, 2005 10:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] All framework classes get compiled into RSL?

I try to package a subset of the Flex framework into a RSL but I always
get the whole framework compiled into the resulting SWC file.

Even with this bare-bone SWS file

library
   namespace uri=http://www.macromedia.com/2003/mxml; all=false
  component name=Button /
   /namespace
/library

the resulting SWC is 352 KB in size and contains every class.

Ideas?

Dirk.


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Endpoint URL of proxied named WebServices visible in HTTP POST request

2005-06-15 Thread Brian Deitte
Hi Dirk, 

When sending the request for the WSDL, you are right, the service name
and the target are not needed- we will actually never use the target in
that case, and you should be able to see that by putting garbage in the
target URL.  I'm not sure why things are how they are, but it looks to
just be an oversight.  

After we get the WSDL, however, when sending a request to the service
itself, we often do need both the service name and the target since we
allow wildcard and multiple matches to the service endpoint.  

-Brian


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Wednesday, June 15, 2005 4:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Endpoint URL of proxied named WebServices
visible in HTTP POST request

...and mbs5WebService refers to the named WebService of course - still I
wonder why there's the need to pass the URL in the target parameter. Or
am I missing something?

Thanks,
Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 Behalf Of Dirk Eismann
 Sent: Wednesday, June 15, 2005 10:18 AM
 To: FLEXCODERS (E-Mail)
 Subject: [flexcoders] Endpoint URL of proxied named 
 WebServices visible
 in HTTP POST request
 
 
 When invoking named WebServices with the Flex WebService 
 Proxy the full URL of the WebService endpoint gets passed 
 over the wire. A typical request from the Flex client looks like this:
 
 http://FLEXSERVER/flex/flashproxy/mbs5WebService?transport=Soa
 pHttpaction=WS_ACTIONtarget=WS_URL
 
 where WS_ACTION is the action to invoke and WS_URL is the 
 full url to the endpoint. Why is this? Wouldn't it be enough 
 to pass the name of the service over to the proxy so the real 
 URL is hidden? 
 
 Dirk.
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: https

2005-06-10 Thread Brian Deitte





Can you try using a browser other than IE? Let's make 
sure this is theIE6 issue mentioned (which would be my guess), even if the 
config change below didn't fix it for you. -Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Friday, June 10, 2005 12:55 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: 
https

Itried both entries 
and I still remain stuck trying to load

https://localhost:8443/anywhere/flex-internal/secure/history/history.html


-S


This is a bug in IE6 caused by the cache-control headers being 
set byTomcat 5.X when combined with HTTP auth and SSL and binary 
contentsuch as a swf.The fix is the following which will disable 
setting the proper buttroublesome cache-control header. In the 
flex web app, add a META-INF directory. Inside of thatdirectory create 
a documentcontext.xmlWithin this file add the following 
line. 
ValveclassName="org.apache.catalina.authenticator.FormAuthenticator" 
disableProxyCaching="false" /If you are using BASIC instead of form 
just use 
ValveclassName="org.apache.catalina.authenticator.BasicAuthenticator" 
disableProxyCaching="false" /Youre problem will go away.Dave 
WolfCynergy Systemshttp://www.cynergysystems.com--- 
In flexcoders@yahoogroups.com, "Steve Pruitt" [EMAIL PROTECTED] 
wrote: All,  I am trying to get my Flex app 
working under https. I running with Tomcat using a self-signed 
certificate. I modified flex-config and opened up the http service 
whitelist to accept any https url. To kick it off and find the 
first point of failure, I just changed my url to  https://localhost:8443/myApp/main.jsp 
https://localhost:8443/myApp/main.jsp 
. The jsp loads my swf file.  After a security popup 
warning, IE is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.htm 
l https://localhost:8443/anywhere/flex-internal/secure/history/history.ht 
ml . This file or its directory does not exist. Can someone 
explain what Flex is doing?'   
-S







Yahoo! Groups Links

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










RE: [flexcoders] broken image????

2005-06-10 Thread Brian Deitte
Try ExternalContent.retryCount:

http://livedocs.macromedia.com/flex/1/asdocs/mx/core/ExternalContent.htm
l 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rockmoyosa
Sent: Friday, June 10, 2005 10:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] broken image

Is there a way to shorten the time to show the broken image?
Is just to dmn long.

Anybody?





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Serious corruption in Flex-generated SWF

2005-05-18 Thread Brian Deitte
If you are using custom components and this only occurs when
recompiling, then try setting cache-swos in flex-config.xml to false.
Setting this to false will degrade compilation performance a bit, but
this setting has been known to cause a problem or two like this in the
past.  I don't know of any current problems like this for 1.5, but its
something to try.

If this is not a compile-time problem but rather a runtime problem, as
it is for other people in the thread, then this setting won't help and
unfortunately I don't know the solution.  -Brian

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Blair
Sent: Tuesday, May 17, 2005 6:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Serious corruption in Flex-generated SWF

Morning all,

We're having severe issues with components within a Flex-generated SWF
being displayed corrupt.  The problem is that this doesn't happen all
the time, and I can't seem to find a reproducable method of forcing
the corruption.

Examples of the sort of thing we're seeing can be seen here:
http://kryten.rawnet.com/flex/flex-corrupt.html

All corruption occurs at the same time (i.e. when one thing goes, they
all go), but not all components are affected.  The problem only seems to
affect components displayed within an accordian, but again not all
contained components are effected.  If you look at example 1 on the page
above, the items under edit existing... are corrupt, whereas those
under the create new... heading are displayed fine.

Does anyone have any idea what's going on here?  Has anyone seen this
before?

Thanks,

Tim.

--
---
Badpen Tech - CF and web-tech: http://tech.badpen.com/
---
RAWNET LTD - independent digital media agency
We are big, we are funny and we are clever!
 New site launched at http://www.rawnet.com/
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
---


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] I/O error in SWC component ???

2005-04-18 Thread Brian Deitte

Can you try to regenerate the SWC component or have the person who
created it do this?  It seems there is some basic problem with the
component (as this error only occurs when there is an IOException).
Another thing you can do is to set -Dtrace.error in the JVM
configuration for your appserver (on JRun, this is in bin/jvm.config).
This will give you the stack trace, which may help us figure out what
went wrong.  -Brian 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of eerkmans
Sent: Monday, April 18, 2005 6:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] I/O error in SWC component ???



hi,

Does anybody know what this error means? I've got an SWC component 
that suddenly stopped working

1 Exception found. 
 
Exception java.lang.IllegalStateException 
SWC I/O error when reading \flex\user_components\AdresKaart.swc 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Debugging Flex Proxy

2005-04-13 Thread Brian Deitte
Title: Debugging Flex Proxy





Hi Ronald, that's strange. We've done load testing 
here and haven't run across such an error before. I'm not sure how to help 
you debug it, but I can suggest a setting to change: max-connections. This 
is located in flex-config.xml in two places, and I would change both of 
them. Try setting to 0, which will turn off pooling and slow down your 
proxy requests but which will cause the code to not wait in the section shown 
below. You could also try setting it to a value much higher than the 
default of 50, but suspect that won't fix the problem. 
-Brian


From: Ronald Kinion 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 11:00 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Debugging Flex Proxy

Every now and then on our production boxes we have a 
problem where the application starts taking longer and longer to respond and all 
the threads get used up on our servers (using jboss 3.2.3). If I do a 
thread dump I see a very large number of stack traces similar to 
this:
 at 
java.lang.Object.wait(Native Method)  at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection 
(MultiThreadedHttpConnectionManager.java:46 1)  - locked 0xcc232f40 (a 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool) 
 
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnection(M 
ultiThreadedHttpConnectionManager.java:365)  at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:613) 
 
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) 
 
at flex.server.j2ee.proxy.ProxyServlet.service(ProxyServlet.java:766) 
 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)  at 
flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:69) 
[truncated the rest] 
I'm thinking that there is some url being called in 
our flex app that is hanging/locking and the threads are hanging around waiting 
for a response or to get unlocked. Is there anyway to tell what 
url/http-request the flex proxy is waiting on? Currently I'm only able to 
get log output for when the http-request is completed; I suppose I want the 
opposite of this, some log output for when a http-request is started.
we have tried in the past to completely turn off the 
flex proxy (in the flex-config.xml file) but then we got weird problems where IE 
browsers would cache some or all of our requests for xml data and would 
absolutely not refresh we had to turn the proxy back on. 
Any help or ideas would be appreciated. 
-- Ronald Kinion Senior Web 
Developer, MIS Zones, Inc. PH: 253-205-3000 x5162 [EMAIL PROTECTED] http://www.zones.com 







Yahoo! Groups Links

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










RE: [flexcoders] How do you handle Timestamp fields?

2005-04-11 Thread Brian Deitte

Yes it is known that RemoteObject does not deal with Timestamp.
Passing back numbers or using a Date would be the recommended
approaches.  -Brian

-Original Message-
From: Valy Sivec [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 11, 2005 10:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do you handle Timestamp fields?


Guys,

In Oracle I have a column type DATE and the Oracle
thin driver see this column as TIMESTAMP.  AMF
transform java.util.Date to  Date in AS2... and it
doesn't know about java.sql.Timestamp


What's the best way in hadling with Timestamp data
type in a Flex App?. Should I pass back and forth the
date as a Number(AS2) or long in java?


Thanks,
Valy

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Jaas with Flex

2005-01-31 Thread Brian Deitte
Thanks Steven. I also of course recommend reading that excellent overview.
:) Also, here's my response from an internal question about JAAS:

JAAS is at a deeper level in the J2EE appserver than what Flex works with.
We have no specific hooks into JAAS and this is a very appserver and
setup-specific piece. We can usually integrate with JAAS with a little
legwork, but it depends on how JAAS works on their appserver. 

If they can integrate JAAS with the resource-constraints in web.xml, then we
will automatically integrate with JAAS on their appserver. See the security
examples for how we hook into resource-constraints. 

If they only are using RemoteObject for the authentication piece, then can
write their own LoginCommand that works with their JAAS setup. See the
{flex}/examples/security/LoginCommand for an example of this. 

-Brian

-Original Message-
From: Steven Webster [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 5:28 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Jaas with Flex


Do a search for the article on devnet written by Brian Deitte. It's an
*excellent* overview, and will point you to all the right places in the docs
that cover this as well.

Best,

Steven 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 31 January 2005 09:59
 To: Flex Coders
 Subject: [flexcoders] Jaas with Flex
 
 
 Hi,
 have you some tutorial and/or link how to integrate java jaas with 
 Flex 
 any suggestion is appreciate.
 Thank you
 Devis
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 ---
 
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.776 / Virus Database: 523 - Release Date: 12/10/2004
 
 




Yahoo! Groups Links










RE: [flexcoders] session servlet

2005-01-31 Thread Brian Deitte



The session servlet has not been removed, but we recommend 
a different way of doing things now. See here:

http://www.macromedia.com/support/documentation/en/flex/1_5/migration.html#sessions

-Brian


From: Dimitrios Gianninas 
[mailto:[EMAIL PROTECTED] Sent: Monday, 
January 31, 2005 11:04 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 

Is 
it still valid to use source="servlet" on the RemoteObject to gain accessto a 
server session... I don't see it mentioned in the API or in 
LiveDocs.

Did 
I miss something and it was removed?

Jimmy 
Gianninas - Developer
Optimal 
Payments Inc.