RE: [flexcoders] Creating an AIR install file from scratch..

2008-07-01 Thread Mike Krotscheck
I have an ant script that does all my AIR compiling, signing  packaging
for me. You can svn checkout a full working sample of the source build
here http://practicalflash.googlecode.com/svn/trunk/  (Note you'll
have to update your build.parameters.xml from the default). I've copied
the macrodef I use below.

 

macrodef name=amxmlc
attribute name=source /
attribute name=destination /
attribute name=parameters default= /

sequential
   exec executable=${flex.path.mxmlc}
arg value=-debug=false/
arg
value=-compiler.allow-source-path-overlap/
arg
value=+flexlib=${flex.path.sdk}/frameworks/
arg value=+configname=air/
arg value=[EMAIL PROTECTED]/
arg value=-source-path=${flex.path.source} /
   arg
value=-source-path+=${flex.path.source}/locale/{locale} /
   arg
value=-source-path+=${flex.path.practicalflash} /
   arg
value=-compiler.library-path+=${flex.path.libs} /
   arg line=@{parameters}/
   arg value=@{source}/
/exec
/sequential
/macrodef

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

_

We support privacy and confidentiality. Please delete this email if it
was received in error.


weThink. Our new blog. http://blog.resource.com





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, July 01, 2008 9:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creating an AIR install file from scratch..

 


Isn't there a command line compiler for AIR? 

Google will come up with some hits on it; but I'd start here:

http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e3
d118666ade46-7fd9.html
http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e
3d118666ade46-7fd9.html  

essuark wrote:
 lets just 'say' I wanted to do this, any ideas, pointers, links? I am
 interested in automating an internal process that requires an AIR
 file. I want a program to create the AIR file, NOT Flex Builder...

 thanks
 Ralph


 

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




 

-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711 | Phone: 1-203-379-0773
--
Adobe Community Expert
http://www.adobe.com/communities/experts/members/JeffryHouser.html
http://www.adobe.com/communities/experts/members/JeffryHouser.html 
My Company: http://www.dot-com-it.com http://www.dot-com-it.com  
My Podcast: http://www.theflexshow.com http://www.theflexshow.com 
My Blog: http://www.jeffryhouser.com http://www.jeffryhouser.com  

 



[flexcoders] Printing

2008-05-20 Thread Mike Krotscheck
I just had a client ask me the following question: Once PrintJob.send()
is invoked, what actually gets sent to the print driver? 

 

Does anyone know the answer? I've always used the PringJob class as a
blackbox, though I hypothesize that it's some flavor of EPS file.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  


___

We support privacy and confidentiality. Please delete this email if it
was received in error.


It's a web-made world.  Is your brand open to the possibilities?
iCitizen 2008 // www.resource.com/icitizen



RE: [flexcoders] Flex Profiler Not Connecting

2008-05-01 Thread Mike Krotscheck
I had a similar problem: Turns out our newly installed firewall decided
to be helpful and get in the way. Have you guys updated your security
settings recently?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


___

We support privacy and confidentiality. Please delete this email if it
was received in error.


It's a web-made world.  Is your brand open to the possibilities?
iCitizen 2008 // www.resource.com/icitizen



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myspivey2
Sent: Thursday, May 01, 2008 10:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Profiler Not Connecting

 

Having some weirdness with the Flex Profiler. Using Eclipse, current
stable builds of everything. Profiler was working a couple months ago,
haden't used it because of being changed to some other projects,
trying to get back in, it launches IE with the Flex app but never asks
me to connect in Eclipse. Any one had an issue like this? Thanks!

James

 



RE: [flexcoders] Can a Listener return a value

2008-03-25 Thread Mike Krotscheck
foo.addEventListener( Event.SomeEvent, responderEventHandler );

 

private function responderEventHandler(event:Event):void

{

event.target.publicParameter = bar;

}

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


___

We support privacy and confidentiality. Please delete this email if it
was received in error.


What's new ::

Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Tuesday, March 25, 2008 1:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can a Listener return a value

 

Can a Listener program return a value back to a program that set this 
listener up?

Thanks

 



RE: [flexcoders] Re: Can a Listener return a value

2008-03-25 Thread Mike Krotscheck
That's probably because it's pseudocode, rather than real code.

 

Every event listener is passed an event object, and on that event object
a property called target exists that is a back reference to the object
that dispatched the event. You can use that back reference to send a
parameter back to the dispatching object.

 

Personally, I wouldn't be caught dead using this, because the event
dispatcher should be able to set said parameter itself (Plus it's a
recipe for an infinite dispatch loop), but it certainly answers your
question.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


___

We support privacy and confidentiality. Please delete this email if it
was received in error.


What's new ::

Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lytvynyuk
Sent: Tuesday, March 25, 2008 4:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can a Listener return a value

 

The following code cannot be even compiled, not work What do u meant
there?

 I thought about something like this too.
 So, let's say we have the followig code:
 public function aFunction():XML
 {
 public var publicParameter:XML = new XML;
 addEventListener( Event.SomeEvent, responderEventHandler );
 private function responderEventHandler(event:Event):void
 {
 event.target.publicParameter = someXml;
 }
 return publicParameter;
 }

 



RE: [flexcoders] Polymorphism....?

2008-02-19 Thread Mike Krotscheck
UIComponent doesn't have a property called isClosed, therefore your
attempt to access that property on an instance cast to UIComponent will
throw an error. What you need to do is have each class implement an
interface called IClosable or something along those lines, and cast to
that.
 
public function checkDoor(c:IClosable):Boolean
{
return c.isClosed;
}
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dsds99
Sent: Tuesday, February 19, 2008 4:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Polymorphism?



I have 2 unrelated classes that extend UIComponent ultimately..;)
and each class implements a boolean property called isClosed

Passing these classes into the function as untyped. 

If I don't cast, it works. Trying to understand why it doesn't work
this way.

A compile time error occurs in the if statement. But isn't this where
polymorphism kicks in even though I am casting it to a higher class in
the chain.

public function checkDoor(c:*):void{
if((c is UIComponent).isClosed == true){
trace(opened);
}
}



 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c87342_fa66fb25__img_1.gif

[flexcoders] CSS Compile directives

2008-02-05 Thread Mike Krotscheck
I've just run across an odd behavior within Flex 3 and certain compiler
directives, as follows:

1.  
Compiler options includes a -load-config+= directive. This
directive ensures the compiler to includes a certain list of classes,
via includes append=truesymbolclasspath/symbol/includes
2.  
In a subdirectory of the src root (in an locales directory) we
have a series of .css files that are compiled externally for
localization. In testing them, I attempted to right-click and select
Compile CSS to SWF, and this worked fine.
3.  
Now I attempted to compile main.mxml, which is sitting at the
actual project src root. This threw an error that it could not find the
list of classes found in step 1 (Unable to resolve a class for include:
blah blah blah).
4.  
Doing some digging, I found the following items added to
.actionScriptProperties, whose removal fixed the issue.
buildCSSFiles
buildCSSFileEntry destPath=somepath
sourcePath=someotherpath/
/buildCSSFiles

It seems to me that once you right-click a CSS file, it is flagged as a
file to compile rather than include as seen above, and when one does a
project compile it helpfully builds it for you... except that the src
root for when the .css file is compiled this second time (automatically)
is not the src root of the entire project, but rather the folder in
which the .css file itself resides (or some other value).
 
Now, in my case I shouldn't be compiling those classes into every local
css file anyway, so I've written an ant script to automate the entire
process. Even so it seems like the CSS files that are compiled should be
accessible somehow in the project configuration (perhaps under Flex
Applications) and that their src root be kept in line with everything
else.
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c86843_9f3a9167__img_1.gif

RE: [flexcoders] I don't get it!!! what is this problem

2008-02-01 Thread Mike Krotscheck
You're trying to apply an effect to a state, rather than to the object
that should be modified by the effect. Use _either_ transitions _or_
states.

State Method:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:states
mx:State name=b1
mx:SetProperty target={panel1} name=y
value=133/
mx:SetProperty target={panel1} name=width
value=636/
mx:SetProperty target={panel1} name=height
value=195/
mx:SetProperty target={button1} name=x
value=687/
mx:SetProperty target={button2} name=x
value=687/
mx:SetProperty target={button2} name=y
value=383/
/mx:State
mx:State name=b2
mx:SetProperty target={panel1} name=height
value=477/
mx:SetProperty target={panel1} name=x
value=592/
mx:SetProperty target={panel1} name=y
value=10/
mx:SetProperty target={button1} name=x
value=539/
mx:SetProperty target={button1} name=y
value=10/
mx:SetProperty target={button2} name=x
value=539/
mx:SetProperty target={button2} name=y
value=51/
/mx:State
/mx:states
mx:Button x=96 y=336 label=b-1 id=button2
click=currentState='b1' moveEffect=myMoveEffect/
mx:Button x=205 y=336 label=b-2 id=button1
click=currentState='b2' moveEffect=myMoveEffect/
mx:Panel x=96 y=128 width=250 height=89
layout=absolute title=panel1 id=panel1 resizeEffect=scale
moveEffect=myMoveEffect
/mx:Panel

mx:Move id=myMoveEffect duration=1000 /
/mx:Application


Transition Method

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:states
mx:State name=b1
/mx:State
mx:State name=b2
/mx:State
/mx:states
mx:Button x=96 y=336 label=b-1 id=button2
click=currentState='b1'/
mx:Button x=205 y=336 label=b-2 id=button1
click=currentState='b2'/
mx:Panel x=96 y=128 width=250 height=89
layout=absolute title=panel1 id=panel1 resizeEffect=scale
/mx:Panel

mx:Move id=myMoveEffect duration=1000 /
mx:transitions
mx:Transition fromState=* toState=b1
mx:Parallel duration=1000
mx:Move target={button1} xTo=687
yTo=336 /
mx:Move target={button2} xTo=687
yTo=383 /
mx:Move target={panel1} xTo=96
yTo=133 /
mx:Resize target={panel1}
widthTo=636 heightTo=195 /
/mx:Parallel
/mx:Transition

mx:Transition fromState=* toState=b2
mx:Parallel duration=1000
mx:Move target={button1} xTo=539
yTo=10 /
mx:Move target={button2} xTo=539
yTo=51 /
mx:Move target={panel1} xTo=592
yTo=10 /
mx:Resize target={panel1}
widthTo=250 heightTo=477 /
/mx:Parallel
/mx:Transition
/mx:transitions
/mx:Application


Michael Krotscheck
Senior Developer

RESOURCE INTERACTIVE
www.resource.com
[EMAIL PROTECTED]

We support privacy and confidentiality. Please delete this email if it was 
received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly Mooney and 
Dr. Nita Rollins, available March 2008 | www.theopenbrand.com


 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gustavo Duenas
Sent: Friday, February 01, 2008 10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] I don't get it!!! what is this problem



I have this code: 


mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  layout=absolute
mx:states
mx:State name=b1
mx:SetProperty target={panel1} name=y value=133/
mx:SetProperty target={panel1} name=width value=636/
mx:SetProperty target={panel1} name=height value=195/
mx:SetProperty target={button1} name=x value=687/
mx:SetProperty target={button2} name=x value=687/
mx:SetProperty target={button2} name=y value=383/
/mx:State
mx:State name=b2
mx:SetProperty target={panel1} name=height value=477/
mx:SetProperty target={panel1} name=x value=592/
mx:SetProperty target={panel1} name=y value=10/

RE: [flexcoders] mxml loader

2008-01-24 Thread Mike Krotscheck
This is possible two different ways:
1- With the livecycle server, which will compile your mxml on the fly
and then send the resulting swf to your application. This costs a lot of
money.
2- By using some kind of object encoding (coreLib.JSON might be able to
do this), converting the string to a UIComponentDescriptor, and then
adding it to a management class using createComponentFromDescriptor().
Note that in this case you're not actually passing MXML
 
I highly reccomend you avoid the latter- dynamically sending object
descriptors of _any_ type is just asking for someone to inject their own
descriptors and thus backdoor your application.
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ricardo Kirkner
Sent: Thursday, January 24, 2008 2:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mxml loader



Hi there,

I am new to flex. I am trying to find out if there is a way to render
mxml code dynamically at runtime.

What I want to achieve is to have a main mxml file that will fetch a
mxml form definition (in the form of a string, for example) through a
web service, and will then render the mxml code received.

I guess this would require to compile the mxml code received, and then
embed the resulting sw(f|c) file into the main application.

Can anyone tell me if this is possible to do using Flex 2 SDK?

Thank you in advance,

Ricardo Kirkner



 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c85ec2_e267795c__img_1.gif

RE: [flexcoders] Who to contain a UIComponent?

2008-01-23 Thread Mike Krotscheck
If I understand your question correctly any container will do, you just
have to set clipContent to true and the scrollpolicy to auto or true;
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Wednesday, January 23, 2008 4:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Who to contain a UIComponent?




Hey guys...

I'm working on a component that extends from IUComponent. I need to
set it as a child of a container, so that when the size of the
UIComponent changes scrollbars will appear in the container.

But Flex always draws the UIComponent on top of the container. 

What container should I use?



 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c85e06_47d4aa10__img_1.gif

[flexcoders] IUIComponent Cross-IDE Component Development

2008-01-22 Thread Mike Krotscheck
I'm currently writing a couple of DisplayObject based components whose
optimal implementation would allow their use both via MXML, AS3, or
within the Flash IDE, without forcing the end-user to have either of the
two component libraries. Since this means I can't use either of the
UIComponent classes, UIObject or the IUIComponent interface (Since each
is distributed with the associated IDE and I can't make the assumption
that my end-user has both), I've written my own sprite extension class
that handles some basic delayed instantiation and updating- easy enough.
The catch now is that when you're trying to add anythign to an
UIContainer (via MXML or addChild), it demands it implement
IUIComponent, else it throws a runtime error.
 
I have two questions:
1- Is there some elegant way of circumventing this (I'm aware of
creating a second UIComponent 'wrapper' class only for use in flex- not
elegant, but servicable), and:
2- If not, am I allowed to include and distribute the source for
IUIComponent (with no modifications) with my own source release (BSD
License, not a source of income) so that the component will compile
properly?
 
My gut instinct answers to these questions are:
1- No, unless you can implement IUIComponent, and
2- No, the license agreement prevents me from doing this.
 
Can someone prove me wrong?
 
Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c85cff_688c521c__img_1.gif

RE: [flexcoders] Photo print service

2008-01-22 Thread Mike Krotscheck
Sortof? When developing HP Print Studio (http://www.hp.com/printstudio)
we ran into this very same issue, but instead of photos we had multiple
high resolution template assets that were only loaded when a printjob
was requested. Given our use cases (most users don't have duplex
printers) we didn't actually have to do multi-page printing so it's not
quite what you're looking for, but the implementation might be similar.
 
Basically what you want to create is a temporary sandbox object that
exists on the displaylist (so content is rendered) but doesn't actually
show anything (height and width = 0). Within that object you compose
your print pages, paying special attention to keep track of how many
images are currently loading using event listeners- in particular the
load complete event. Once everything's signaled that it's ready you
print, and in the meantime put up a progress bar popup of some kind.
 
You might also be able to do delayed page instantiation, that is: create
a page, wait for it to finish, add it to the print job, destroy it, move
to the next page. This will give you better memory management overall (I
think) since you don't have to load your entire photo album into ram
before printing.
 
Also, be careful about your image sizes: Images in memory suck up a LOT
of ram.
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Hess
Sent: Tuesday, January 22, 2008 9:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Photo print service



Hi All, 

I have a requirement to build a photo print service in Flex. The EU will
view a gallery of image thumbnails (TileList) and have the option to
print one photo or the entire contents of the gallery. Photo print
options would be fit to page, 5x7, 8x10 ect. 

Searching the web, viewing the docs and examples using the FlexPrintJob
from my understanding I can print images but they must be loaded (drawn)
in flex prior, is this true?

For a single photo print job this is fine as I can have the print page
display the selected image size prior to sending the print job. However,
I also want to allow the EU to select an entire photo folder and print
the contents all to say 5x7, is this possible?

Does anyone know of any examples or sample code?

Any comments much appreciated.

Thanks,


Greg

 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c85d0b_4613b38c__img_1.gif

RE: [flexcoders] Flex and SCORM

2008-01-21 Thread Mike Krotscheck
I'm slowly but surely building out some libraries intended to make it a
bit easier to handle. So far all I have is an RTE Abstraction class that
transparently implements the various LMS Calls. It's v2004 rev.3, and I
can't really move forward until I can find previous versions of the
documentation to make sure I architect the communication proxy handler
properly. In short, you create an instance of the class and your LMS
functions are right there. Singleton wrappers, multi-connector/version
proxy and native error handling are still in the works.
 
Even so, you're welcome to what source I've got so far. New BSD License,
so don't sue me if it doesn't work :)
 
Project Link: http://code.google.com/p/practicalflash/
SVN Repository: http://practicalflash.googlecode.com/svn/
 
Incidentally, I can't seem to find previous version documentation
anywhere. Has anyone had any luck finding the iterations since the old
AICC HACP merge?
 

Michael Krotscheck

Senior Developer

  

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com/ 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John
Sent: Monday, January 21, 2008 2:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex and SCORM



Hi there, Has anybody achieved or got any advice on SCORM'ing a Flex 
package? 

Thanks in Advance, John 



 


We support privacy and confidentiality. Please delete this email if it
was received in error.

What's new ::
Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com

1c85c4c_110a88d0__img_1.gif

RE: [flexcoders] Flex JavaFX Sliverlight Flash

2007-12-18 Thread Mike Krotscheck
Avoid Silverlight- It doesn't come with a large library of pre-built UI
and layout components that simplify and speed up development. All you
have to work with is a Box, an Ellipse, and a Text Box. Knowing
Microsoft they'll be releasing these necessary support classes sooner or
later, but for the time being the overhead cost of trying to rearchitect
even the most basic interactive components is astronomical.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of debussy007
Sent: Tuesday, December 18, 2007 1:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex  JavaFX  Sliverlight  Flash

 


Hi,

I need to develop an application which will allow users to interact with
my
server via a tactil screen.
I have several question here.
What technology should I use ? What type of application is the most
adapted
for tose kind of screens ?
A Macromedia Flash application ?
A Flex application ?
A JavaFX application ?
Standard web pages ?
A heavy client ? (Swing or other) ?

Any advice / comment will be greatly appreciated.
Thank you for any kind help !
-- 
View this message in context:
http://www.nabble.com/Flex-%3C%3E-JavaFX-%3C%3E-Sliverlight-%3C%3E-Flash
-tp14384496p14384496.html
http://www.nabble.com/Flex-%3C%3E-JavaFX-%3C%3E-Sliverlight-%3C%3E-Flas
h-tp14384496p14384496.html 
Sent from the FlexCoders mailing list archive at Nabble.com.

 



[flexcoders] Debugging help (or how to find un-debuggable bugs)

2007-12-01 Thread Mike Krotscheck
I am currently trying to debug an intermittent bug within our
application that causes a browser crash. Not just a hey, the
application threw a runtime error, I mean a do-not-pass-go,
do-not-output-useful-debug-stack, do-not-write-useful-info-to-log, .ocx
illegal exception that kills the browser.

 

So my question is: What methods have you guys used to track these things
down? I've gone the massive trace statement route, but that's proven
less than helpful.

 

Assume FB3, compiling to 2.0.1, IE  FF testing on player versions r28,
r45, r47 and r60. IE gives some slightly useful information: Unhandled
exception at 0x3006c907 in iexplore.exe: 0xC005: Access violation
reading location 0x.

 

Under other circumstances I'd say it's an out-of-memory error since
we've seen those before, but the application has since been scrubbed and
optimized and profiled to death, and doesn't suck up more than 35 megs
on a bad day.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




RE: [flexcoders] Subversion clients

2007-11-30 Thread Mike Krotscheck
We currently use the subclipse plugin, and it's been rock-solid for us,
even if it's a little slow at times. Nevertheless if subversive really
has fewer bugs it certainly warrants exploration.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jens Halm
Sent: Friday, November 30, 2007 3:07 AM
To: Gordon Smith
Subject: Re: [flexcoders] Subversion clients

 


 What Subversion clients do you use, and what do you like or
 dislike about them? I'm especially interested in opinions about GUI
 clients on the Mac.

I can't say anything about the Mac, but I always use the Subversive
Plugin for Eclipse:

http://www.polarion.org/index.php?page=overviewproject=subversive
http://www.polarion.org/index.php?page=overviewproject=subversive 

It seems to be less buggy than the alternative Subclipse plugin. Also
it became an official Eclipse project, so in the future it might be
part of the core platform like the CVS plugin.

I'm using Subversive with HTTP and with svn+ssh and did not have any
issues yet.

Jens Halm
www.spicefactory.org

 



RE: [flexcoders] Capture Flex screen to e-mail...

2007-11-26 Thread Mike Krotscheck
The graphic nature of Flex makes it so your only real option is to
screenshot the application and mail it to them as a graphic. To do this
within Flex, see whether Application implements IBitmapDrawable- that
will allow you to use bitmapData.draw() and get the raw display data.
Once you have that, you've got two options: If you're in an AIR
application, you can just write the file to the desktop and have them
mail it. If not, you'll need to bounce it out to a server and mail it
from there.

 

Make sure you call BitmapData.dispose() though- they're normally passed
over by garbage collection.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Sunday, November 25, 2007 11:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Capture Flex screen to e-mail...

 

In an application that I wrote years ago in ASP classic, I had a 
button on every page that would allow the user to e-mail the current 
page to someone. It would actually capture the innerHTML, and append 
it to an e-mail and send it. The purpose was to capture a snapshot of 
the data at the time the page was rendered. It was great for trouble 
shooting customer complaints because we could see what they saw at 
that particular time (thit was a 600 user DB app, and the data 
changed frequently).

I would like to do something similar in Flex. Yes I know I can have 
the user do an Alt-Print-Screen, and paste it into word or paint, and 
send the image, but I was hoping for something more seamless. 
Something I coud put on each panel that the user could click, and it 
would popup a box that would ask where to e-mail it to. It would 
attach the current rendered panel to an e-mail as a jpg, pdf, png... 

I have the e-mail piece operational, but I haven't a clue where to 
start on the capture piece.

Anybody have any good ideas?

Paul

 



RE: [flexcoders] Re: Capture Flex screen to e-mail...

2007-11-26 Thread Mike Krotscheck
Search the docs :). Looks like IBitmapDrawable is implemented by
BitmapData and by DisplayObject.  Since Application extends
DisplayObject (well, eventually) it looks like you can do the following:

 

var bmp :BitmapData = new BitmapData(Application.application.width,
Application.application.height, false);

bmp.draw(Application.application);

 

Just don't be surprised if your memory usage spikes and you get .OCX
errors on machines with little memory.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Monday, November 26, 2007 2:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Capture Flex screen to e-mail...

 

Pardon my ignorance, but how do I see whether Application 
implements IBitmapDrawable?

This application is pure Flex (AS3) running in a browser. I will do 
further research on bitmapData.draw(), and see if it is available to 
me.

Paul

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

 The graphic nature of Flex makes it so your only real option is to
 screenshot the application and mail it to them as a graphic. To do 
this
 within Flex, see whether Application implements IBitmapDrawable- 
that
 will allow you to use bitmapData.draw() and get the raw display 
data.
 Once you have that, you've got two options: If you're in an AIR
 application, you can just write the file to the desktop and have 
them
 mail it. If not, you'll need to bounce it out to a server and mail 
it
 from there.
 
 
 
 Make sure you call BitmapData.dispose() though- they're normally 
passed
 over by garbage collection.
 
 
 
 Michael Krotscheck
 
 Senior Developer
 
 
 RESOURCE INTERACTIVE
 
 http://www.resource.com/ http://www.resource.com/ 
www.resource.com 
http://www.resource.com http://www.resource.com  
 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 
__
___
 
 This email and any of its attachments may contain Resource 
Interactive
 proprietary information, which is privileged, confidential and may 
be
 subject to copyright or other intellectual property rights 
belonging to
 Resource Interactive. This email is intended solely for the use of 
the
 individual or entity to which it is addressed. If you are not the
 intended recipient of this email, you are hereby notified that any
 dissemination, distribution, copying or action taken in relation 
to the
 contents of and attachments to this email is strictly prohibited 
and may
 be unlawful. If you have received this email in error, please 
notify the
 sender immediately and permanently delete the original and any 
copy of
 this email and any printout.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of aceoohay
 Sent: Sunday, November 25, 2007 11:28 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Capture Flex screen to e-mail...
 
 
 
 In an application that I wrote years ago in ASP classic, I had a 
 button on every page that would allow the user to e-mail the 
current 
 page to someone. It would actually capture the innerHTML, and 
append 
 it to an e-mail and send it. The purpose was to capture a snapshot 
of 
 the data at the time the page was rendered. It was great for 
trouble 
 shooting customer complaints because we could see what they saw at 
 that particular time (thit was a 600 user DB app, and the data 
 changed frequently).
 
 I would like to do something similar in Flex. Yes I know I can 
have 
 the user do an Alt-Print-Screen, and paste it into word or paint, 
and 
 send the image, but I was hoping for something more seamless. 
 Something I coud put on each panel that the user could click, and 
it 
 would popup a box that would ask where to e-mail it to. It would 
 attach the current

RE: [flexcoders] Re: Garbage Collection question

2007-11-19 Thread Mike Krotscheck
That's helpful, thanks (The same goes for Alex's response). I'm
currently dealing with a series of intermittent .ocx errors that seem to
be memory related, but never output any useful debugging information.
I'm trying various memory management strategies, and though they keep
popping up they're at least not as frequent anymore.

 

If anyone else has run into them and found ways of debugging/resolving
them, I'd be very grateful for your insight.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh VanderBerg
Sent: Saturday, November 17, 2007 7:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Garbage Collection question

 

I've read that the GC runs only on allocation. Can't seem to find the
original article I read on this, but this livedoc reference appears to
agree:
http://livedocs.adobe.com/labs/flex3/html/help.html?content=profiler_6.h
tml
http://livedocs.adobe.com/labs/flex3/html/help.html?content=profiler_6.
html 

__
Josh Vanderberg
vanderblog.typepad.com - Flex blog and open source flex components

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

 I've been digging into memory management techniques recently, and have
a
 question regarding the timing of the two methods. The articles on
 Adobe.com suggest that both methods (Ref Count and Mark  Sweep) run
at
 some arbitrary point in the future defined by current memory usage. I
 found a discussion about the Virtual Machine though that indicated
 garbage collection happens on a 30ms interval.
 
 
 
 These two suggest that the two methods run on different intervals, and
 given that Mark and Sweep is more processor intensive I assume that it
 is the one whose timing is triggered by memory usage, while Reference
 counting operates on the mentioned 30ms. Is that correct?
 
 
 
 Links:
 

http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html
http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.htm
l 
 
 (some point in the future)
 

http://techpolesen.blogspot.com/2007/11/avm2-vs-jvm-and-actionscript3.ht
http://techpolesen.blogspot.com/2007/11/avm2-vs-jvm-and-actionscript3.h
t 
 ml
 
 (30ms time slice)
 
 
 
 Michael Krotscheck
 
 Senior Developer
 
 
 RESOURCE INTERACTIVE
 
 http://www.resource.com/ http://www.resource.com/ 
www.resource.com http://www.resource.com http://www.resource.com  
 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 
 
 __
 
 This email and any of its attachments may contain Resource Interactive
 proprietary information, which is privileged, confidential and may be
 subject to copyright or other intellectual property rights belonging
to
 Resource Interactive. This email is intended solely for the use of the
 individual or entity to which it is addressed. If you are not the
 intended recipient of this email, you are hereby notified that any
 dissemination, distribution, copying or action taken in relation to
the
 contents of and attachments to this email is strictly prohibited and
may
 be unlawful. If you have received this email in error, please notify
the
 sender immediately and permanently delete the original and any copy of
 this email and any printout.


 



[flexcoders] Garbage Collection question

2007-11-17 Thread Mike Krotscheck
I've been digging into memory management techniques recently, and have a
question regarding the timing of the two methods. The articles on
Adobe.com suggest that both methods (Ref Count and Mark  Sweep) run at
some arbitrary point in the future defined by current memory usage. I
found a discussion about the Virtual Machine though that indicated
garbage collection happens on a 30ms interval.

 

These two suggest that the two methods run on different intervals, and
given that Mark and Sweep is more processor intensive I assume that it
is the one whose timing is triggered by memory usage, while Reference
counting operates on the mentioned 30ms. Is that correct?

 

Links:

http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html

(some point in the future)

http://techpolesen.blogspot.com/2007/11/avm2-vs-jvm-and-actionscript3.ht
ml

(30ms time slice)

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




[flexcoders] Rendering offstage

2007-11-13 Thread Mike Krotscheck
Is there a way of forcing a displayObject to render (for the purposes of
IBitmapDrawable) without adding it to the stage?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




RE: [flexcoders] this in parent classes

2007-11-06 Thread Mike Krotscheck
A bit more information:

 

I am attempting to initialize a series of bindings in an Abstract
class. For the sake of argument, lets say that we have the class
Abstract, the class Child, are extending Canvas, and are attempting to
bind to a singleton data model. During childrenCreated I'm calling a
protected method called initializeBindings(). This method is extended in
the child.

 

Both the child and abstract versions of initializeBindings create a
binding using BindingUtils and this. The child class calls
super.initializeBindings().

 

Observed behavior:

Case 1: super.initializeBindings() is called before child
BindingUtil.bindProperty()

Debugger shows that this reference in child is
appropriate. Shows that this reference in abstract has same memory
address, but contains only  _bindingsBeginWithWord and
_bindingsByDestination. After attempting to call
BindingUtil.bindProperty in the abstract class, the runtime environment
fails silently and the stack is terminated (child's binding never gets
called). Binding in the abstract class is never created.

 

Case 2: super.initializeBindings() is called after child
BindingUtil.bindProperty()

Same as above regarding this, but in this case the binding
created by the child has been created. The abstract has not.

 

I've tested this both in 2.0 hotfix 3 and 3.0b2. Any pointers? I'd like
to avoid creating these bindings in the child class, since due to the
nature of code-generated bindings they interfere with garbagecollection,
and the abstract class actually contains some destruction functionality.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: Tuesday, November 06, 2007 5:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] this in parent classes

 

I've discovered you can't use this to refer to the current instance
from the parent class. Is there another way I can reference the
currently instantiated child?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.

 



[flexcoders] this in parent classes

2007-11-06 Thread Mike Krotscheck
I've discovered you can't use this to refer to the current instance
from the parent class. Is there another way I can reference the
currently instantiated child?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




RE: [flexcoders] how to determine if a component is offscreen in a Canvas?

2007-11-02 Thread Mike Krotscheck
I'd probably do it using getBounds and the Rectangle class's comparison
methods.

 

var canvasBounds :Rectangle = myCanvas.getBounds(myCanvas.parent);

var componentBounds:Rectangle = myComponent.getBounds(myCanvas.parent);

 

and then either

 

if(canvasBounds.contains(componentBounds))

 

or

 

if(canvasBounds.intersects(componentBounds))

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brian
Sent: Friday, November 02, 2007 10:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to determine if a component is offscreen in a
Canvas?

 

I'm using a Canvas where I'm adding components dynamically at absolute
positions, which may increase the size of the canvas beyond it's
parent container. When this happens, scrollbars are created, as
expected and desired. I'm trying to figure out if the component I just
added are offscreen, in the clipped area. If that's the case, I want
to be able to make that newly-added component visible by manually
adjusting the scrollbars.

I've done this before in another development environment so I know the
logic to do, but I'm new to Flex and struggling to find which
properties to use, amongst all the different properties and methods,
i.e. height, maxHeight, measuredHeight, scrollPosition, etc.

Thanks

 



RE: [flexcoders] Hold execution untill result from database

2007-10-31 Thread Mike Krotscheck
I assume you're talking AIR rather than true Flex, right? Synchronous
database queries were added in beta 2.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of johantrax
Sent: Wednesday, October 31, 2007 12:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Hold execution untill result from database

 

Hi all (again... I'm having a productive day ;) )

I'm trying to lift the creation of components to a new level (at
least, for me)
What I have: (if it is possible...)
1.
I have an .AS-class which describes a person. To keep it simple, the
person only has a name(String) and a photo(String - the URI).
2.
A/ I have a databasetable with the following structure
ObjectClass | propertyName | renderType
B/ Another database table as follows
renderType | bindPropertyName
3.
I have an AS-class(UICF) in my own lib, having following method
public static getUIComponent(object:Object, objectClass:Class,
propertyName:String, propertyType:Class):UIComponent
4.
I have a canvas

What should happen:
In the creationComplete of the canvas(4) a new Person is created:
var p:Person = new Person(Foo, images/bar.jpg);
Now the canvas(4) calls the getUIComponent(3) for rendering the image:
var c:UIComponent = UICF.getUIComponent(p, Person, photo,
String);
The method(3) returns the correct component, being an imagecomponent
and the canvas(4) just adds it to it's children:
this.addChild(c);

The problem is inside getUIComponent(3). This method should do a call
to my database to find out which type of component it should create
and which property to set. For this example, the db would look like
this:
First Table
ObjectClass | propertyName | renderType
Person photo Image
Second Table
renderType | bindPropertyName
Image source

However, if I recall correctly, all database requests made by Flex are
Asynchronous. One option I see, is to have a boolean which gets sets
by a resulthandler, and create a lock-up-loop in getUIComponent.
However there might just be another (better?) way, to wait for my
response and then create and return the correct component.

Thanks in advance,
--Johan

 



RE: [flexcoders] Re: Yahoo maps api for flex 2

2007-10-30 Thread Mike Krotscheck
To create and test applications using Yahoo! Flash Maps using the Flex
component, you'll need Macromedia Flex 1.5 with the internal JRun4
server or Tomcat server.

 

Note: An enterprising developer can sniff the traffic and
reverse-engineer their API. Nobody's done that yet though- I've been
busy with SCORM :).

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dennis van Nooij
Sent: Tuesday, October 30, 2007 12:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Yahoo maps api for flex 2

 

http://developer.yahoo.com/maps/flash/flexGettingStarted.html
http://developer.yahoo.com/maps/flash/flexGettingStarted.html 

Dennis

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

 As far as I know they haven't. They're AS2 map stuff has a version 
 that works in Flex, but it uses the old AVM1, and either a js or lc 
 bridge between that and your AS3 flex stuff.
 
 John
 
 
 On Oct 30, 2007, at 10:20 AM, Nate Pearson wrote:
 
  I thought that Yahoo made a new api for flex 2...maybe I dreamed it
up
  because I can't find it on the net!
 
  Can anyone link me?
 
  Thanks,
 
  Nate
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%
http://www.mail-archive.com/flexcoders%25  
  40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 John Robinson - Flash/Flex Developer at large
 Blog: http://jrobinsonmedia.wordpress.com
http://jrobinsonmedia.wordpress.com 


 



RE: [flexcoders] Determining the actual footprint of Flex application

2007-10-30 Thread Mike Krotscheck
Do you mean disk footprint or memory footprint? Disk footprint would be
size on disk, and it's always better to overestimate, so include the
size of all the supporting files. Memory footprint is the largest amount
of memory the application ever draws, which is best calculated using
Flex Builder 3's memory profiling tool; Just load your application with
as much data as the specifications call for and it'll tell you how much
you're using.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g07m5064
Sent: Tuesday, October 30, 2007 4:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Determining the actual footprint of Flex
application

 

I have just read a posting related to application size and it occurred
to me that if asked about the footprint of my flex application I
wouldn't be certain how to answer the question. would I be right to
just give the size of the swf file or I would need to add the size of
the html file as well? 

 



[flexcoders] Multiple File Uploads and OSX Leopard

2007-10-29 Thread Mike Krotscheck
I'm seeing blog reports that Multiple File Uploads are borked on Flash
Player 9 and OSX Leopard. Unfortunately I don't have my own Leopard
environment yet, so can't confirm this, nor can I find any official
acknowledgement from either Apple or Adobe.

 

Can anyone out there confirm this for me? And if it's verifiable, who
would I have to poke to get an official statement from either company as
to when this might be fixed?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




RE: [flexcoders] Multiple File Uploads and OSX Leopard

2007-10-29 Thread Mike Krotscheck
Initial testing shows that using FileReference to upload an image just
doesn't work. I'll have leopard tonight, so will be able to give more
detailed information. For the time being, this link from flickr
corroborates the testing (which Nicholas Mercer was kind enough to help
me with): http://flickr.com/help/forum/en-us/58019/

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Decoursey
Sent: Monday, October 29, 2007 12:42 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Multiple File Uploads and OSX Leopard

 

What do you mean borked and what do you mean multiple file uploads?
Don't you do one at a time?  I don't have Leopard yet, but in a few days
I will.

 

Paul

 

On Oct 29, 2007, at 6:37 AM, Mike Krotscheck wrote:





I'm seeing blog reports that Multiple File Uploads are borked on Flash
Player 9 and OSX Leopard. Unfortunately I don't have my own Leopard
environment yet, so can't confirm this, nor can I find any official
acknowledgement from either Apple or Adobe.

 

Can anyone out there confirm this for me? And if it's verifiable, who
would I have to poke to get an official statement from either company as
to when this might be fixed?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.





 

 



RE: [flexcoders] MXML vs. pure ActionScript

2007-10-29 Thread Mike Krotscheck
I'm with Paul on this one. MXML is wonderful for layout, because I'm
familiar with the HTML world and the metaphors are all the same (which
means you can get someone less experienced to do layout tweaks :-). But
when it comes to a standalone and fairly complex component, pure
actionscript enables all the fancy outline and collapse features that
MXML just doesn't.

 

Basically, ask yourself this question: Is what you're building visual
(MXML)? Or functional (AS)?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Decoursey
Sent: Monday, October 29, 2007 2:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXML vs. pure ActionScript

 

I like both. For some things, like components I prefer AS only. But 
for larger apps I prefer mxml simply because I can visualize the app 
better. I don't think that there is any one better way to do it, it 
depends on your strengths and your needs.

Paul

On Oct 29, 2007, at 1:02 PM, lrdvadersith wrote:

 I am new to the Flex world, and I am trying to figure out if I should
 use MXML to lay out visual components, or go with a pure ActionScript
 approach.

 Google searches reveal pros and cons of each, but no real consensus on
 which is a better general approach. Even within our organization (all
 of whom are also new to Flex), there is no real strong opinions on
 this issue.

 I would like to see what the thoughts are from some of the more
 experienced Flex coders in this group.

 Do you prefer using MXML or pure ActionScript, and why?

 Thanks in advance,

 Steve





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




 



RE: [flexcoders] Add reference in MXML without adding to children

2007-10-25 Thread Mike Krotscheck
Does it have to be MXML?

 

mx:Script

![CDATA[

import mx.managers.PopUpManager;

import mx.containers.TitleWindow;



[Bindable]

private var titleWindow:TitleWindow;



private function someFunction():void

{

titleWindow = new
TitleWindow();

 
PopUpManager.addPopUp(titleWindow);

}

]]

/mx:Script

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Thursday, October 25, 2007 5:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Add reference in MXML without adding to children

 

Hi, does anyone know if it's possible to create a reference in MXML (so
that you can later use it as a variable and also easily use bindings)
but not add it to the parent's children?

 

i.e.

 

mx:Canvas

 

mx:Script

Private function someEvent()

{

PopUpManager.addPopUp(titleWindow);

}

/mx:Script

 

mx:TitleWindow/

/mx:Canvas

 

I don't want the title window to be shown inside the canvas, I just want
to create it as a variable.

 

Thanks,

 

Mark

 

 

 

 



RE: [flexcoders] Add reference in MXML without adding to children

2007-10-25 Thread Mike Krotscheck
You can either:

 

override protected function childrenCreated():void

{

super.childrenCreated();

removeChild(titleWindow);

}

 

Or:

 

mx:TitleWindow id=titleWindow
addedToStage=titleWindow.parent.removeChild(titleWindow) /

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Thursday, October 25, 2007 7:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Add reference in MXML without adding to
children

 

Hi guys, thanks for the fast responses - I'm currently creating the
window in action script - but wanted to move it to MXML purely for
easier binding:

 

i.e.

 

mx:TitleWindow title={someVar}/

 

Vs

 

mx:Script

creationComplete

{

BindingUtils.bindProperty(etc)

}

/mx:Script

 

I was just thinking I could write 1 line of MXML vs 10 - 20 lines of
action script.

 

Thanks,

 

Mark

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: 25 October 2007 12:38
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Add reference in MXML without adding to
children

 

Does it have to be MXML?

 

mx:Script

![CDATA[

import mx.managers.PopUpManager;

import mx.containers.TitleWindow;



[Bindable]

private var titleWindow:TitleWindow;



private function someFunction():void

{

titleWindow = new
TitleWindow();

 
PopUpManager.addPopUp(titleWindow);

}

]]

/mx:Script

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Thursday, October 25, 2007 5:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Add reference in MXML without adding to children

 

Hi, does anyone know if it's possible to create a reference in MXML (so
that you can later use it as a variable and also easily use bindings)
but not add it to the parent's children?

 

i.e.

 

mx:Canvas

 

mx:Script

Private function someEvent()

{

PopUpManager.addPopUp(titleWindow);

}

/mx:Script

 

mx:TitleWindow/

/mx:Canvas

 

I don't want the title window to be shown inside the canvas, I just want
to create it as a variable.

 

Thanks,

 

Mark

 

 

 

 



RE: [flexcoders] Add reference in MXML without adding to children

2007-10-25 Thread Mike Krotscheck
On second thought, addedToStage might be the wrong event to listen for
:). You get the idea though.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: Thursday, October 25, 2007 8:16 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Add reference in MXML without adding to
children

 

You can either:

 

override protected function childrenCreated():void

{

super.childrenCreated();

removeChild(titleWindow);

}

 

Or:

 

mx:TitleWindow id=titleWindow
addedToStage=titleWindow.parent.removeChild(titleWindow) /

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Thursday, October 25, 2007 7:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Add reference in MXML without adding to
children

 

Hi guys, thanks for the fast responses - I'm currently creating the
window in action script - but wanted to move it to MXML purely for
easier binding:

 

i.e.

 

mx:TitleWindow title={someVar}/

 

Vs

 

mx:Script

creationComplete

{

BindingUtils.bindProperty(etc)

}

/mx:Script

 

I was just thinking I could write 1 line of MXML vs 10 - 20 lines of
action script.

 

Thanks,

 

Mark

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: 25 October 2007 12:38
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Add reference in MXML without adding to
children

 

Does it have to be MXML?

 

mx:Script

![CDATA[

import mx.managers.PopUpManager;

import mx.containers.TitleWindow;



[Bindable]

private var titleWindow:TitleWindow;



private function someFunction():void

{

titleWindow = new
TitleWindow();

 
PopUpManager.addPopUp(titleWindow);

}

]]

/mx:Script

 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email

RE: [flexcoders] Detecting browser window close event?

2007-10-23 Thread Mike Krotscheck
I think there's a cheap-hack way of doing this. Use ExternalInterface to
call eval to write a Javascript event listener to the document, and
have it pass the event back through to the swf. Just remember that IE
has two events for close, though I don't exactly recall what they are-
one fires before the document is actually closed, and the other fires
after.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 1:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Detecting browser window close event?

 

Hi to everyone,

Is it possible to detect in Flex application browser window close event
so that an action can be
started when user closes Flex application, does anyone know how to do
that if it's possible in the
first place? The reason why i am asking this is because i have a
multiuser Flex application where
every user has it's own directory on a server side. Application has
logout button which triggers
cleanup of user's directory but what if the user just closes the window?
I would like to be able
to lunch that same cleanup upon browser close window.

thanks in advance

-- 
Best regards,
Mirko mailto:msabljic[at]gmail.com

 



RE: [flexcoders] File Download

2007-10-19 Thread Mike Krotscheck
For this you'll actually have to turn over download control to the
browser rather than using FileReference. Using URLRequest, open the file
in a new window/tab.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Friday, October 19, 2007 2:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] File Download

 

I want the user to be able to click on a link and download a file. 
When they click on it, I want them to have to option to save the file
or open it right there.

I can use the file reference class so the users can click on the file
and save it...but they have to navigate to that folder to open it. 
Anyone know how to make the open dialog appear?

Thanks,

Nate

 



RE: [flexcoders] Type selector warning

2007-10-19 Thread Mike Krotscheck
Remove any Tree styles you have from the CSS file.

 

Michael Krotscheck

Senior Developer

 

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Friday, October 19, 2007 12:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Type selector warning

 

My client decided that they didn't like the use of a tree component,
so I removed it from the project. 

That was last week. This week I'm still getting warnings: The type
selector 'Tree' was not processed, because the type was not used in
the application.'
If I right-click these warnings and select properties the line number
shows -1.

I'm (even more) confused.

 



RE: [flexcoders] Re: Site Launch

2007-10-17 Thread Mike Krotscheck
The swf's clocking in at about 2.5megs the vast majority of which is
graphics, which at DSL speeds (well, mine anyway, and I'm a cheap
bastard) still didn't take very long. As for the optimization stage,
I'll have to talk to the PM and the CSM to see if we've got any budget
for it (And additional resources). Admittedly, it's a monolithic app (no
module use) so there's certainly some quick wins one can achieve.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dorkie dork from dorktown
Sent: Monday, October 15, 2007 5:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Site Launch

 

Nicely done! 

Took a while for me to load too. I would look into deploying it with the
RSL. Then if they already have it (the rsl) in the browser cache it will
load much quicker. How big is the swf btw? You might want to do some
analytics and count how many bailed vs how many fully loaded it. 

Also, some of the animations were stuttering. I've noticed this in my
applications too and I don't have the answer but I want to know if you
guys figure it out. 




On 10/15/07, dbronk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:

Not to mention 
http://fashion.canon-europe.com/searchandcreate.html
http://fashion.canon-europe.com/searchandcreate.html 
errors out on startup with fault getting config files

print studio is very nice looking, but these darn enormous swf files
are app killers.

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


wrote:

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Giles Roadnight giles@ 
 wrote:
 
  Yeah, it loooks pretty nice (but why open in a popup which I HATE!)
  
  I helped work on this site which is a slightly different looking 
 flex site
  as well:
  
  http://fashion.canon-europe.com/searchandcreate.html
http://fashion.canon-europe.com/searchandcreate.html 
  
  On 10/15/07, candysmate graham@ wrote:
  
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com  flexcoders%
 40yahoogroups.com http://40yahoogroups.com , Mike
   Krotscheck mkrotscheck@
   wrote:
   
Hey everyone-
   
We here at Resource just launched a new site last Friday, built 
 entirely
in Flex. I figured some of you might get a kick out of it, 
 since the
designers really went out of their way to do something that's 
 not just a
datagrid and a few bindings.
 
 Hate to say it, guys, but neither of these sites launched during my 
 attention span (with DSL). Hope you have really motivated visitors!





 

 



[flexcoders] Site Launch

2007-10-15 Thread Mike Krotscheck
Hey everyone-

We here at Resource just launched a new site last Friday, built entirely
in Flex. I figured some of you might get a kick out of it, since the
designers really went out of their way to do something that's not just a
datagrid and a few bindings. 

http://www.hp.com/printstudio/

Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
www.resource.com
[EMAIL PROTECTED]

This email and any of its attachments may contain Resource Interactive 
proprietary information, which is privileged, confidential and may be subject 
to copyright or other intellectual property rights belonging to Resource 
Interactive. This email is intended solely for the use of the individual or 
entity to which it is addressed. If you are not the intended recipient of this 
email, you are hereby notified that any dissemination, distribution, copying or 
action taken in relation to the contents of and attachments to this email is 
strictly prohibited and may be unlawful. If you have received this email in 
error, please notify the sender immediately and permanently delete the original 
and any copy of this email and any printout.



RE: [flexcoders] Site Launch

2007-10-15 Thread Mike Krotscheck
Those are custom, separated into two different pieces (the target and
the popup) so we can trigger on different events without breaking
encapsulation.

 

I'll pass your kudos on to our designers. Thank you very much :).

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Seth Caldwell
Sent: Monday, October 15, 2007 10:20 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Site Launch

 

Love the feel of this. Question - the dropdown menus and combo boxes
look simply amazing. Is this a custom component or just styling on
existing ones?

They look so slick against the background gradient as well. Cheers to an
amazing design.

 

Seth

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: Monday, October 15, 2007 6:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Site Launch

 

Hey everyone-

We here at Resource just launched a new site last Friday, built entirely
in Flex. I figured some of you might get a kick out of it, since the
designers really went out of their way to do something that's not just a
datagrid and a few bindings. 

http://www.hp.com/printstudio/ http://www.hp.com/printstudio/ 

Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
www.resource.com
[EMAIL PROTECTED] mailto:mkrotscheck%40resource.com 
__
This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.

 



RE: [flexcoders] Site Launch

2007-10-15 Thread Mike Krotscheck
Can you do me a huge favor and send me a personal email with the steps
you took to get the application to crash (Plus some system profiles)?
We've been hunting for that for a while now.

 

As for why Flex and not Flash: I wasn't involved in the decision myself,
but I assume that Flex' support of secondary developer tools like
subclipse, Ant and filesync had a large part to do with it. After all,
have you ever tried to merge a .fla? 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Farid Shahlavi
Sent: Monday, October 15, 2007 11:02 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Site Launch

 

The look and feel are great, but it crashed my browser while navigating,
also it's very cpu intensive and peaks my cpu at 100% while I was
viewing the Gwen Stephanie design, also there was a runtime error when I
was playing around with the Gwen Stephanie paper doll design section,
you may want to look at optimizing it a bit. Otherwise a cool concept,
just wondering why you didn't just build the site in Flash. 

Cheers,

Farid

On 10/15/07, Seth Caldwell [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Love the feel of this. Question - the dropdown menus and combo boxes
look simply amazing. Is this a custom component or just styling on
existing ones?

They look so slick against the background gradient as well. Cheers to an
amazing design.

 

Seth

 



From: flexcoders@yahoogroups.com [mailto: flexcoders@
mailto:flexcoders@ yahoogroups.com http://yahoogroups.com ] On
Behalf Of Mike Krotscheck
Sent: Monday, October 15, 2007 6:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Site Launch

 

Hey everyone-

We here at Resource just launched a new site last Friday, built entirely
in Flex. I figured some of you might get a kick out of it, since the
designers really went out of their way to do something that's not just a
datagrid and a few bindings. 

http://www.hp.com/printstudio/ http://www.hp.com/printstudio/ 

Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
www.resource.com http://www.resource.com 
[EMAIL PROTECTED] mailto:mkrotscheck%40resource.com 
__
This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.

 

 



[flexcoders] Bug in DragManager

2007-10-03 Thread Mike Krotscheck
So, I've been working with the DragManager for a bit now, and I'm
wondering whether or not what I've found was a design decision or simply
an omission. Cosnider the case of having a mouseEnabled=false
component (in my case a Canvas) lying on top of a drag target. The
following few lines of code (DragProxy.as 357-366):

 

// targetList is in depth order, and we want the top of the list.
However, we

// do not want the target to be a decendent of us.

var targetIndex:int = targetList.length - 1;

while (targetIndex = 0)

{

newTarget = targetList[targetIndex];

if (newTarget != this  !contains(newTarget))

break;

targetIndex--;

}

 

ignores the mouseEnabled state, and the subsequent code fires the
DRAG_OVER event on the topmost non-selfcontained child in spite of
whether it should be receiving events.  Now this could be easily solved
(the way I'm doing it) by overriding the appropriate function to check
for mouseEnabled, or to add a new property to InteractiveComponent  like
isDragEnabled (since dragEnabled is used elsewhere for a different
scope), but I'm curious as to whether I'm missing an underlying
architectural decision.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




RE: [flexcoders] Bug in DragManager

2007-10-03 Thread Mike Krotscheck
The way I'm rewriting it is that it skips over anything that's not an
InteractiveObject. In my particular case, I'm selecting an item from a
TileList (an Image) and letting the user drag/drop it onto a target that
then displays said image. An example application (since I can't describe
my own due to client non-disclosure agreements) would be placing decals
onto a vehicle- there's a non-regular shaped area that a particular
image can be placed into, and since the decal also needs to take on the
shading of the car, it would have the following layers (top to bottom):

 

DragObject (ignored by DragProxy)

VehicleShading

DecalMask

DropTarget

 

Now, I could adjust things so I can use setMask to lift the droptarget
up one layer, but I still can't get through the shading overlay.

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, October 03, 2007 4:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Bug in DragManager

 

You're welcome to file a bug so we can think about it, but I think
you're saying you want it so that non-mouseEnabled things like Shapes
and Bitmaps can't be drop targets or block something else from being the
droptarget, which seems kind of restrictive.

 

Are you using the canvas as a shield or are things just overlaid in
your app?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: Wednesday, October 03, 2007 12:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in DragManager

So, I've been working with the DragManager for a bit now, and I'm
wondering whether or not what I've found was a design decision or simply
an omission. Cosnider the case of having a mouseEnabled=false
component (in my case a Canvas) lying on top of a drag target. The
following few lines of code (DragProxy.as 357-366):

// targetList is in depth order, and we want the top of the list.
However, we

// do not want the target to be a decendent of us.

var targetIndex:int = targetList.length - 1;

while (targetIndex = 0)

{

newTarget = targetList[targetIndex];

if (newTarget != this  !contains(newTarget))

break;

targetIndex--;

}

ignores the mouseEnabled state, and the subsequent code fires the
DRAG_OVER event on the topmost non-selfcontained child in spite of
whether it should be receiving events.  Now this could be easily solved
(the way I'm doing it) by overriding the appropriate function to check
for mouseEnabled, or to add a new property to InteractiveComponent  like
isDragEnabled (since dragEnabled is used elsewhere for a different
scope), but I'm curious as to whether I'm missing an underlying
architectural decision.

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.

 



RE: [flexcoders] Flash CS3 Components - Custom Properties Methods

2007-10-02 Thread Mike Krotscheck
Use Getter/Setters, like this.

 

package {
import mx.flash.UIMovieClip;
public dynamic class forestDragon extends UIMovieClip { 
private var _my_name : String = ;
private var _my_color : String = ;

private var _my_textfield:TextField;
public var current_state : String = ;



public function set my_name(value:String):void

{

_my_name = value;

_my_textField.text = _my_name;

}

public function get my_name():String

{

return _my_name;

}

 

public function set my_color (value:String):void

{

_my_color = value;

_my_textField.setStyle(color, _my_color);

}

public function get my_color ():String

{

return _my_color;

}

 


public function forestDragon():void {
}

public function fly_begin():void {
gotoAndPlay(1);
}

public function fly_end():void {
gotoAndStop(1);
}
}
}

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of byte.sensei
Sent: Tuesday, October 02, 2007 9:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash CS3 Components - Custom Properties  Methods

 

I've been experimenting with Flex SWC Components developed in Flash 
CS3 (using Flex Component Kit for Flash CS3).

I've successfully created some custom properties/methods on these 
that I can use in Flex. Here's a quick example of a UIMovieClip 
class extension:

package {
import mx.flash.UIMovieClip;
public dynamic class forestDragon extends UIMovieClip {
public var current_state : String = ;
public var my_name : String = ;
public var my_color : String = ;

public function forestDragon():void {
}

public function fly_begin():void {
gotoAndPlay(1);
}

public function fly_end():void {
gotoAndStop(1);
}
}
}

So, in Flex I can then get/set the current_state variable and call 
the fly_begin() and fly_end() methods as needed to start/stop the 
component animations.

All of this works great, but I'm now faced with a new challenge. For 
example, I want to be able to set my_color and/or my_name via Flex 
and then have it change the color of the Flash object or change the 
text underneath the animation to whatever my_name is set to, etc.

However, I can't figure out how I can reference these properties or 
use them to control aspects of the Flash movie clip. I first tried 
creating a dynamic text instance on the Flash movie clip but whenever 
I publish the SWC it's throwing an error. I can add dynamic text 
elements to the Flash movie clip, but if I give it an instance name 
it won't compile/export.

Obviously, the real strength of Flex Components developed in Flash 
CS3 comes when you can take advantage of custom properties/methods to 
change aspects of the Flash movie clip dynamically via Flex. Am I 
approaching this the right way, and if so (or not) can anyone provide 
some direction/insight on how to accomplish this?

Thanks!

 



RE: [flexcoders] Re: Placement of Image within Image Control

2007-10-01 Thread Mike Krotscheck
Have you tried scaleContent = true ?

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of droponrcll
Sent: Monday, October 01, 2007 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Placement of Image within Image Control

 

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

 All children are sized and positioned by their parent based on 
explicit
 or measured width/height. Images are extra tough because their size
 isn't known at first measure since the bits aren't fully loaded yet.
 Personally, I would just adjust its position when the complete' event
 fires, but I also would expect the Container to handle this
 automatically. However, I've recommended you use Canvas so then you
 will have to position manually. If you decide to stick with boxes, we
 can look into this in more detail.

All I'd be positioning manually inside the canvas would be the image 
control itself, which doesn't help. The image is sliding all over the 
place within the image control as different images are loaded. Some at 
the top, some at the bottom, some at the left, some in the center, etc.

Thanks.

 



RE: [flexcoders] fade from tile view to list view not smooth

2007-10-01 Thread Mike Krotscheck
Embed the font. As long as you're using system fonts you are letting the
operating system render your fonts rather than the flash player, and
only the latter will apply fade effects and transitions to text. 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dbronk
Sent: Monday, October 01, 2007 3:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] fade from tile view to list view not smooth

 

I have a viewstack. One one is a tile, the other a datagrid. Both
have the same dataprovider. I set each in the viewstack with:
showEffect=Fade hideEffect=Fade. The fade out/in works fine with
everything in the view except the text. How come the text in the tile
and datagrid does not fade with everything else? Kind of ruins the
effect. Suggestions or advice?

Thanks,
Dale

 



RE: [flexcoders] localization options in flex 2

2007-09-24 Thread Mike Krotscheck
We're using something similar for a localization project of our own. The
application pulls the configured language from the users preferences,
the local system setting, or the application configuration (in that
order) and based on that populates a Strings Value Object that's housed
on our singleton application model. That same value object in itself is
just a fancy proxy object that caches any strings that have been
requested rather than retrieving from the XML every time a binding
fires.

 

If you can get your hands on a copy of Actionscript 3 with Design
Patterns, the Settings Framework example on page 71 is pretty much what
you need, though I warn you that your compiler will throw a whole
slewful of warnings if you try to bind to it directly. I'm told that
using ObjectProxy instead of Proxy will fix this, but I haven't had the
chance to try it out.

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aaron smith
Sent: Sunday, September 23, 2007 10:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] localization options in flex 2

 

Quick question. I'm looking into localization for an app, and one of my
concerns is that every piece of text has to be in the correct language
for a region. en, fr, etc. But there is quite a bit of text. So instead
of having a .properties files for all these different languages for
every piece of text. Can I just localize the flex components and just
load the corresponding text from a language XML file. So an english xml,
french xml, etc. That way instead of having to access a resource bundle
with a key/val pair for a specific piece of text, I can just assign the
corresponding text from xml to the .text property or .label, etc? I
guess I don't see why I would absolutely have to use ResourceBundle's
except for localizing the flex components. Any thought? 

 



RE: [flexcoders] Entering and Passing Data to a Cairngorm Event?

2007-09-24 Thread Mike Krotscheck
Since you're already storing the data in your event, the only remaining
step you have to do is to pull that information from the appropriate
command:

 

public class LoginCommand implements ICommand

{

public function execute(event:CairngormEvent):void

{

var loginEvent :LoginEvent = event as LoginEvent;

var mydelegate:LoginDelegate = new LoginDelegate();

mydelegate.login(loginEvent.username, loginEvent.password);

}

}



 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of philza1985
Sent: Monday, September 24, 2007 8:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Entering and Passing Data to a Cairngorm Event?

 

Hi guys,

just wondering how to pass data to a cairngorm event's 'data' object.

This is how I've seen it done in the past without using cairngorms
'data' object.



// in the view...

public function loginHandler ( username : String, password :
String):void
{
var login : LoginEvent = New LoginEvent();
login.username = username;
login.password = password;
CairngormEventDispatcher.getInstance().dispatchEvent(login);
}



// but this requires declaring username and password in the loginEvent
// i.e. in the LoginEvent;

public class LoginEvent extends CairngormEvent
{
public var username : String;
public var password : String;

// etc.

}
*

how do I enter data from the view to the loginEvents built in data
object?

i tried many things and they don't work including..

// in the view...
public function loginHandler ( username : String, password :
String):void
{
var login : LoginEvent = New LoginEvent();
login.data.username = username;
login.data.password = password;
CairngormEventDispatcher.getInstance().dispatchEvent(login);
}
*

if I need to declare the data variables in the LoginEvent could you
also let me know how, It wouldn't accept what I was trying to enter
either.

thanks. 

Phil

 



RE: [flexcoders] Entering and Passing Data to a Cairngorm Event?

2007-09-24 Thread Mike Krotscheck
Urm, right. My bad, didn't realize what you were asking.

 

Notice that in CairngormEvent, data isn't actually initialized to any
value. Thus what you'd be looking to do is initialize the object in the
constructor of your loginEvent before accessing it when you create the
event.

 

public function LoginEvent():void

{

data = new Object();

}

 

var myEvent :LoginEvent = new LoginEvent ();

myEvent.data.username = foo;

myEvent.data.password = bar;

 

Alternatively, if you just want to fire a CairgormEvent directly (note
that the comments advise against this) do the following:

 

var myEvent :CairngormEvent = new CairngormEvent();

myEvent.data = new Object();

myEvent.data.username = foo;

myEvent.data.password = bar;

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



[flexcoders] Compiler Error: Cruise Control Ant vs. Flex Builder/Eclipse

2007-09-20 Thread Mike Krotscheck
Does anyone have any experience with a distributed development
environment using Cruise Control to handle central builds? Our
application compiles fine in the IDE, however once we checkin our files
and Cruise takes over we start getting these errors:

A file found in a source-path must have an externally visible
definition. If a definition in the file is meant to be externally
visible, please put the definition in a package.

The only substantial difference in environments is that the compiling
server is Linux and all the development environments are Windows. My
coworker Andrew just spent a lot of time trying to debug this, and has
narrowed down the following:

 We compared the JDK's on my machine and on Cruise. Mine is version
1.6_01, while Cruise's is 1.6_02. So that is probably not the issue. If
anything, mine should be having issues that Cruise does not.  (Author's
note: Mine is 1.6_02 and it works fine)
 We compared the Flex SDK's on my machine and on Cruise, doing a
file-by-file comparison. There is no significant difference. Both of
them are the same version (2.0.1) and have the Hotfix patch. 
 I transferred the Cruise Control ant script to my desktop, modified
the file paths appropriately, and ran the compile and compile_demo
targets, and it built successfully. This indicated to us that there is
no problem with the Cruise Control script. In fact, the point of failure
reported by the Cruise Control server is in the compile target. 
 As a last resort, we exported the last successful build revision, and
modified the script to build it, and it succeeded. This just indicates
that no Cruise Control server changes have taken place since that
success, and that it is indeed due to the compiler.

I'm afraid the size of the codebase and our confidentiality agreements
prevents me from posting any example code. Nevertheless, I was wondering
if anyone has encountered something like this before: Any suggestions?

Michael Krotscheck
Senior Developer

RESOURCE INTERACTIVE
www.resource.com
[EMAIL PROTECTED]


RE: [flexcoders] Re: Anyone seen this effect as Flex module - Accordion Menu

2007-09-20 Thread Mike Krotscheck
We did something very similar to this using a VBox and container
resizing. Basically, every other element is a clickresponsive component
that on rollover changes the height of the previous container, with a
resize effect added for good measure. Fairly simple, should take a
decent developer about 30 minutes to implement.

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Schmalle
Sent: Thursday, September 20, 2007 2:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Anyone seen this effect as Flex module -
Accordion Menu

 

Hi,

I also found another workaround for the rollover. I added a timer to the
dispatch method and it will wait the determined amount of milliseconds
before firing the open event.

This improves usability greatly. 

Peace, Mike

On 9/20/07, Michael Schmalle [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Hi,

I slapped this together. There are a lot of things that could be
improved but, you be the judge.

One thing is it doesn't quite 'slide' like the apple example does but,
that would be another component that used a canvas and funky depth
management. 

Plus whenever you use rollOver, there are bound to be issues. MouseDowns
are much better but, this uses rollOver. For the time I put into it
about 1 1/2 hours it's close.

The Image is actually the content that could be whatever you want. The
gray part is the custom titleBar that was made with an inline
itemRenderer with the Component tag. 

http://www.teotigraphix.com/flexAssets/taskpanefx/AppleMenu.html
http://www.teotigraphix.com/flexAssets/taskpanefx/AppleMenu.html  

The example was done with this product;

http://www.teotigraphix.com/components/containers/taskpanefx
http://www.teotigraphix.com/components/containers/taskpanefx 

Peace, Mike

 

On 9/20/07, Tony Alves [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Now there is an example of why you should use flex over ajax.

oneproofdk wrote: 

Hi Mike

Sounds good - if you dont mind the trouble - I'd love to see an
example on how to make the Apple version

Thanks for your reply though.

Mark







-- 
Teoti Graphix
http://www.teotigraphix.com http://www.teotigraphix.com 

Blog - Flex2Components
http://www.flex2components.com http://www.flex2components.com 

You can find more by solving the problem then by 'asking the question'. 




-- 
Teoti Graphix
http://www.teotigraphix.com http://www.teotigraphix.com 

Blog - Flex2Components
http://www.flex2components.com http://www.flex2components.com 

You can find more by solving the problem then by 'asking the question'. 

 



RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Mike Krotscheck
You could have your custom components implement a custom interface like
IValidatable that requires the validate() function, and then check
whether the class implements that interface by using the following:

 

if( yourComponent is IValidatable)

{

// Your code here

}

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

614 621 2888  main

 

  
614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j_lentzz
Sent: Tuesday, September 18, 2007 10:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to see if method is implemented in class

 

Hi,

I've got a problem I'm trying to resolve concerning validating a page
before submitting it to the server. I have a way to recursively get
each child on the page. However, I can't figure out a way to see if
the child has the validate() method implemented. Most of the
components are extended from TextInputs, ComboBox, etc, where I've
integrated a validator into each one that is custom for that type. So
my custom components will have a validate method, however, other
components - like Images, Buttons, etc - on the page don't have a
validate method. Is there a way to test that a method exists, before
trying to call it and causing an exception?

Thanks,

John

 



RE: [flexcoders] Math.cos...?

2007-09-17 Thread Mike Krotscheck
I may take you up on this challenge- I've got this strange masochistic
urge to see if ML has the same restriction. I seem to recall proving e^i
to an arbitrary significant digit, so Pi shouldn't be too much
different.

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Samuel R. Neff
Sent: Sunday, September 16, 2007 11:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Math.cos...?

 

 

It's not sloppy, it's just how floating point numbers work.  Try the
same thing in other programming languages and you still will not get
zero (unless they round the output).  For example, .NET reports the
result as 

6.12303176911189E-17.  

 

Sam

---
We're Hiring! Seeking a passionate developer to join our team building
Flex based products. Position is in the Washington D.C. metro area. If
interested contact [EMAIL PROTECTED]
  

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Krotscheck
Sent: Sunday, September 16, 2007 5:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Math.cos...?

The documentation's actually fairly clear on this: The cosine of a 90
degree angle is zero, but because of the inherent inaccuracy of decimal
calculations using binary numbers, Flash Player will report a number
extremely close to, but not exactly equal to, zero.

 

Nevertheless, it seems... sloppy to me.

 

Michael Krotscheck

Senior Developer

 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Sunday, September 16, 2007 5:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Math.cos...?

 

 Why does Math.cos(Math.PI/2) not return zero?

Round-off error in the Math libs? It does return a value very close to
0 (1.7xe-17).

Troy.

 



[flexcoders] Math.cos...?

2007-09-16 Thread Mike Krotscheck
Why does Math.cos(Math.PI/2) not return zero?

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

614 621 2888  main

 

  
614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 



RE: [flexcoders] Math.cos...?

2007-09-16 Thread Mike Krotscheck
The documentation's actually fairly clear on this: The cosine of a 90
degree angle is zero, but because of the inherent inaccuracy of decimal
calculations using binary numbers, Flash Player will report a number
extremely close to, but not exactly equal to, zero.

 

Nevertheless, it seems... sloppy to me.

 

Michael Krotscheck

Senior Developer

 


RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

614 621 2888  main

 

  
614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Sunday, September 16, 2007 5:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Math.cos...?

 

 Why does Math.cos(Math.PI/2) not return zero?

Round-off error in the Math libs? It does return a value very close to
0 (1.7xe-17).

Troy.

 



RE: [flexcoders] sequencing effects

2007-09-12 Thread Mike Krotscheck
If you set up a transition to said state that contains AddChild
directives, they will occur in the order and with the timing configured.

 

Michael Krotscheck

Senior Developer



RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com

614 621 2888  main

614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of grimmwerks
Sent: Wednesday, September 12, 2007 12:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sequencing effects

 

Trying to do about 50 things at once for a demo today.

Say I've got a state with a number of addChildren elements. I've got
a transition I want to call on those children, but not all at once --
in sequence. How can I do this? I realize the Sequence is for
sequencing effects, not elements; but is there something like that
here? Or will I have to roll my own function to step through an array?

 



RE: [flexcoders] sequencing effects

2007-09-12 Thread Mike Krotscheck
You need to have the addChild in the state declaration and the
transition itself, but yes- effectively what you're doing is telling the
state when it should remove the child. Here's a brief example on
something I did recently- it's not AddChild, but if I hadn't built it
out explicitly like this the removechild of the state itself would have
fired before the transition started.

 

mx:Transition fromState=state1
toState=state2

mx:Sequence

mx:Parallel
duration=2000

mx:Move

 
target={floatingOffStageComponent}

 
xFrom=0

 
xTo=-400

 
easingFunction={mx.effects.easing.Cubic.easeOut}

 
/

mx:Move

 
target={floatingOnStageComponent}

 
xFrom=-400

 
xTo=0

 
easingFunction={mx.effects.easing.Cubic.easeOut}

 
/

/mx:Parallel

mx:RemoveChildAction
target={floatingOffStageComponent} /

/mx:Sequence

/mx:Transition

 

 

Michael Krotscheck

Senior Developer



RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com

614 621 2888  main

614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of grimmwerks
Sent: Wednesday, September 12, 2007 4:29 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] sequencing effects

 

You put the addChild WITHIN the transition?

 

Is there an example of this somewhere? I didn't know you could do that.

 

 

On Sep 12, 2007, at 3:11 PM, Mike Krotscheck wrote:





If you set up a transition to said state that contains AddChild
directives, they will occur in the order and with the timing configured.

 

Michael Krotscheck

Senior Developer

   

RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com http://www.resource.com 

614 621 2888  main

614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com ] On Behalf Of grimmwerks
Sent: Wednesday, September 12, 2007 12:25 PM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: [flexcoders] sequencing effects

 

Trying to do about 50 things at once for a demo today.

Say I've got a state with a number of addChildren elements. I've got
a transition I want to call on those children, but not all at once --
in sequence. How can I do this? I realize the Sequence is for
sequencing effects, not elements; but is there something like that
here? Or will I have to roll my own function to step through an array?

 

 



[flexcoders] Localization Proxy and Compiler Warnings

2007-09-11 Thread Mike Krotscheck
I am attempting to create a localization strings ValueObject class that
acts as a proxy to an XML file. The following code below works just as
designed, however everytime I try to bind to it the compiler throws a
warning that the application will not be able to detect changes to said
variable. Is there a way to modify the below class so that:

A) The compiler won't throw these warnings, and
B) the propertyChange event is properly fired?

Michael Krotscheck
Senior Developer

RESOURCE INTERACTIVE
www.resource.com

---

package
{
import com.adobe.cairngorm.vo.IValueObject;
import flash.utils.Proxy;
import flash.utils.flash_proxy;
import flash.events.Event;
 
dynamic public class StringsVO extends Proxy implements
IValueObject
{
// Private strings cache
private var _cache  :Object = new Object();

// Pointer to xml repository
private var _xml:XML;

flash_proxy override function getProperty(name:*):*
{
var _name   :String =   String(name);

// See if we have it in the cache
if(_cache.hasOwnProperty(_name))
{
return _cache[_name];
}

// Since we don't have it in the cache, put it
there.
if(_xml)
{
_cache[_name] =
String(_xml.string.(@name == _name)[EMAIL PROTECTED]);
return _cache[name];

var foo:Event
}

}

public function StringsVO():void
{
}

public static function fromXML(xml:XML) :StringsVO
{
var strings:StringsVO = new StringsVO();
strings._xml = xml;
return strings;
}
}
}



RE: [flexcoders] Re: Setting flashVars via SWFloader

2007-08-28 Thread Mike Krotscheck
Might it be possible to listen for the complete event on the SWFLoader
and then applying the variables directly? As long as the variables in
the encapsulated flex application are bindable, any changes should be
picked up- in other words you may not have to reload the app every time
you change the variables.

 

 

Michael Krotscheck

Senior Developer



RESOURCE INTERACTIVE

http://www.resource.com/ www.resource.com

614 621 2888  main

614 410 3195  direct

412 726 8087  mobile

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason The Saj
Sent: Tuesday, August 28, 2007 1:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Setting flashVars via SWFloader

 

I tried doing that in Flex but it balked.

mx:SWFLoader source=mymovie.swf?testVar=foo/

Is this what you mean, or is there something else to it? Because the
above did not work for me. Nor did assigning it in ActionScript.

- Jason

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

 Instead of setting the FlashVars in the HTML wrapper, you can set URL
 parameters:
 
 http://www.jasonthesaj.com/myswf.swf?foo=1bar=2
http://www.jasonthesaj.com/myswf.swf?foo=1bar=2 
 
 Both FlashVars and URL parameters end up setting name/value pairs on
the
 Application.application.parameters Object.
 
 - Gordon
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Jason The Saj
 Sent: Monday, August 27, 2007 2:25 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Setting flashVars via SWFloader
 
 
 
 I have a .swf file created by Flex. Normally, this app is loaded into
 an HTML page and passed a number settings via flashVars.
 
 I've written a second app which facilitates the configuring of these
 custom settings. I've tried to load the first Flex .swf into the
 second application via SWFloader with the intent of showing the
 result of the various settings.
 
 I am able to pull the swf file in. But I need to be able to set the
 values for the flashVars, or if that is not possible - set the values
 for the corresponding internal variables.
 
 --
 
 Any one done this? Even a simple example of on Flex .swf loading
 another. And setting the .text value of a textArea component in a
 second .swf would be exceedingly helpful.
 
 Sincerely,
 Jason