[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-27 Thread Bjorn Schultheiss
> No current requirement for Flex components

That seems like a relevant factor in the decision..


--- In flexcoders@yahoogroups.com, "Mike Chabot" <[EMAIL PROTECTED]> wrote:
>
> None of the factors you mention seem highly relevant to making the
decision.
> 
> Are the developers already comfortable using Flash? Flex? Do the
> developers have design backgrounds or programming backgrounds? If you
> have designers that already know Flash, do the developers need to do
> anything other than embed the SWF files into HTML?
> 
> Is this a Web application deployed to an environment with a user-base
> that you know will be able to meet the higher requirements demanded by
> Flex, or is this more like an Internet application?
> 
> Is using neither technology an option? What is driving the need for
> either Flash or Flex that isn't provided by a technology like ASP.NET
> or Ajax?
> 
> -Mike Chabot
> 
> On Sun, Apr 27, 2008 at 8:22 PM, bick <[EMAIL PROTECTED]> wrote:
> > I wanted to get some opinions on whether to use Flex or Flash on a
> > large scale site.
> >
> > Some details about the site:
> >
> > Very modular
> > Some timeline based swfs provided by designers that need to be loaded
> > Uses webservices
> > Multiple remote developers
> > Intending to use automated builds (thinking Maven)
> > ASDocs
> > No current requirement for Flex components
> >
> > Thoughts?
>




Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-27 Thread Jon Santos
For sure the function loaderCompleteHandler exists.
Any other suggestions?
I have one similar example.and i get the result succesfully.
Here is the soruce.
http://www.adobe.com/2006/mxml"; 100%"438" 
backgroundAlpha="1.0" 
borderStyle="solid">  this.coverImg.source = event.currentTarget.content asBitmap; 
      
    
        
 privatefunctionshowCover():void{  
this.coverImg.source = null;   vargetCoverEvent:GetCoverEvent = 
newGetCoverEvent(this.myMovieId);  this.myMovieId = 
this.grdMovies.selectedItem.movieId; 
In this examplei display the image...when i selected one row in the 
datagrid.
 
The event, command and other class are the same as in the other example.
And teh unique thing diferent thing in the ViewModelLocator.as
import
  { 
 loader.loadBytes(
 loader.contentLoaderInfo.addEventListener(Event.COMPLETE,   
Application.application.adminmovies.loaderCompleteHandler);
   } 
}
I hope someone can help me. Thanks in 
advanceflash.display.Loader;publicfunctiondisplayImage():void{   
if(this.movieCover != null&& this.movieCover.length > 0)  varloader:Loader 
= newLoader();this.movieCover);
- Original Message 
From: valdhor <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, April 26, 2008 3:26:28 AM
Subject: [flexcoders] Re: TypeError: Error #2007: The parameter listener must 
not be NULL + Cairngorm


Instead of adding an event listener, just try to call the function -
does it work? Does the function exist? 

--- In [EMAIL PROTECTED] ups.com, Jon Santos <[EMAIL PROTECTED]> wrote:
>
> But i don´t understand.. ..i have debug my application. ...i have
traced.. ..but i donñt understand why always this errorfrom
where is generated... .
> please...can you check my source...
> Thanks in advance.
> 
> 
> 
> - Original Message 
> From: valdhor <[EMAIL PROTECTED] ..>
> To: [EMAIL PROTECTED] ups.com
> Sent: Thursday, April 24, 2008 8:19:27 PM
> Subject: [flexcoders] Re: TypeError: Error #2007: The parameter
listener must not be NULL + Cairngorm
> 
> 
> Check the value of your listener function:
> 
> Application. application. repeatermovies. detailmovie.
loaderCompleteHa ndler
> 
> The error says that this is null.
> 
> 
> 
> 
> 
 _ _ _ _ _ _
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile. Try it now. 
http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
>

 


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Re: [flexcoders] number and string validator

2008-04-27 Thread shaun
Hi,

You can also restrict the type of characters entered by the user with 
the restrict property. 

Luke Vanderfluit wrote:
> Hi Josh.
> 
> Josh McDonald wrote:
> 
>>Just use a number validator and check it's > 999 and < 1?
> 
> 
> That's great! Thanks.
> minLength="1000" maxLength=""

cheers
  - shaun



Re: [flexcoders] number and string validator

2008-04-27 Thread Luke Vanderfluit
Hi Josh.

Josh McDonald wrote:
> Just use a number validator and check it's > 999 and < 1?

That's great! Thanks.
minLength="1000" maxLength=""

Kr.
Luke.

> 
> On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit 
> <[EMAIL PROTECTED] 
> > wrote:
> 
> Hi.
> 
> I have a postcode field that I want to test on digits as well as length.
> So the field must have digits and the field should be of length 4.
> 
> I thought I would do 2 validators:
> 
>  source="{organisationPostcode}"
> property="text"
> minLength="4" maxLength="4"
> tooShortError="Please enter a 4-digit postcode"/>
> 
>  source="{organisationPostcode}"
> property="text"/>
> 
> However only the StringValidator works here...
> 
> How would I use validators to check both lenght and whether the pc
> is 4 digits?
> 
> Kr.
> Luke.
> 
> -- 
> Luke Vanderfluit
> Analyst / Web Programmer
> e3Learning.com.au 
> 08 8221 6422
> 
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]  


-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422


Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread Mike Chabot
None of the factors you mention seem highly relevant to making the decision.

Are the developers already comfortable using Flash? Flex? Do the
developers have design backgrounds or programming backgrounds? If you
have designers that already know Flash, do the developers need to do
anything other than embed the SWF files into HTML?

Is this a Web application deployed to an environment with a user-base
that you know will be able to meet the higher requirements demanded by
Flex, or is this more like an Internet application?

Is using neither technology an option? What is driving the need for
either Flash or Flex that isn't provided by a technology like ASP.NET
or Ajax?

-Mike Chabot

On Sun, Apr 27, 2008 at 8:22 PM, bick <[EMAIL PROTECTED]> wrote:
> I wanted to get some opinions on whether to use Flex or Flash on a
> large scale site.
>
> Some details about the site:
>
> Very modular
> Some timeline based swfs provided by designers that need to be loaded
> Uses webservices
> Multiple remote developers
> Intending to use automated builds (thinking Maven)
> ASDocs
> No current requirement for Flex components
>
> Thoughts?


Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread Ralf Bokelberg
I think, both of them are equally valid. Flex ist a bit faster in
development, wheres Flash gives you total flexibility.
Cheers
Ralf.

-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


On Mon, Apr 28, 2008 at 2:22 AM, bick <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I wanted to get some opinions on whether to use Flex or Flash on a
>  large scale site.
>
>  Some details about the site:
>
>  Very modular
>  Some timeline based swfs provided by designers that need to be loaded
>  Uses webservices
>  Multiple remote developers
>  Intending to use automated builds (thinking Maven)
>  ASDocs
>  No current requirement for Flex components
>
>  Thoughts?
>
>  


Re: [flexcoders] number and string validator

2008-04-27 Thread Josh McDonald
Just use a number validator and check it's > 999 and < 1?

On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit <
[EMAIL PROTECTED]> wrote:

>   Hi.
>
> I have a postcode field that I want to test on digits as well as length.
> So the field must have digits and the field should be of length 4.
>
> I thought I would do 2 validators:
>
>  source="{organisationPostcode}"
> property="text"
> minLength="4" maxLength="4"
> tooShortError="Please enter a 4-digit postcode"/>
>
>  source="{organisationPostcode}"
> property="text"/>
>
> However only the StringValidator works here...
>
> How would I use validators to check both lenght and whether the pc is 4
> digits?
>
> Kr.
> Luke.
>
> --
> Luke Vanderfluit
> Analyst / Web Programmer
> e3Learning.com.au
> 08 8221 6422
>  
>



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

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


[flexcoders] number and string validator

2008-04-27 Thread Luke Vanderfluit
Hi.

I have a postcode field that I want to test on digits as well as length.
So the field must have digits and the field should be of length 4.

I thought I would do 2 validators:





However only the StringValidator works here...

How would I use validators to check both lenght and whether the pc is 4 digits?

Kr.
Luke.

-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422


Re: [flexcoders] change event

2008-04-27 Thread Luke Vanderfluit
Hi Alex and Shaun.

Alex Harui wrote:
> The best way is to use different event handlers, i.e.:
> 
>  
> 
> textInput.addEventListener(Event.CHANGE, textInput_changeHandler);
> 
> comboBox.addEventListener(Event.CHANGE, comboBox_changeHandler);
> 
>  
> 
> You can also test for which one like this:
> 
>  
> 
> function generic_changeHandler(event:Event):void
> 
> {
> 
> if (event.target is ComboBox)
> 
> …
> 
> else if (event.target is TextInput)
> 
> …
> 
> }

Thanks very much. Both methods (Shaun's too) worked.

Kr.
Luke.


> 
>  
> 
> 
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Luke Vanderfluit
> *Sent:* Sunday, April 27, 2008 9:36 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] change event
> 
>  
> 
> Hi.
> 
> I have a textinput and combobox.
> Both dispatch a change event.
> Is there a way of discerning which type of event so I can take appropriate
> action based on the type?
> 
> TextInput change dispatches flash.events.Event
> ComboBox change dispatches mx.events.ListEvent
> 
> Thanks.
> Kr.
> Luke.
> 
> -- 
> Luke Vanderfluit
> Analyst / Web Programmer
> e3Learning.com.au
> 08 8221 6422
> 
> 


-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Guidance for Java API integration needed

2008-04-27 Thread Anirudh Sasikumar
Hi Dan,

On Sun, Apr 27, 2008 at 10:53 AM, dnii303 <[EMAIL PROTECTED]> wrote:
>  I was now approached with the question if we can use Flex (or Flex
>  AIR) to make use of a 3rd party Java API to connect to their application.
>
>  I have access to a Java sample application that uses NetBeans and a
>  socketclient component that showcases the Java API.
>
>  Can Flex/AIR be used for such an integration?

If you can connect and use the Java API via sockets, then you can
indeed use Flex or AIR for integration.

Take a look at 
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html,
http://www.gotoandlearn.com/ for video tutorials.

Also, take a look at "Strict socket rules" ->
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_04.html

Cheers,
-- 
Anirudh Sasikumar
http://anirudhs.chaosnet.org/


RE: [flexcoders] Label As Combobox Itemrenderer not working properly

2008-04-27 Thread Alex Harui
The renderer's visible is always set to true when refreshed.  There is
no allowance for invisible renderers.  The mouse logic will detect hits
in the area of the renderer in case the renderer doesn't fully cover its
area in the dropdown.  There is a disabled list selection example on my
blog, and plenty of others have solutions.  Search the archives.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Sunday, April 27, 2008 4:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Label As Combobox Itemrenderer not working
properly

 

Hello Friends can any tell me what is wrong with this code. I am trying
to disable the labels but they are not disabled even visible = false not
working can u tell me why..
here is complete code.

http://www.adobe.com/2006/mxml
 " layout="vertical"
creationComplete="{init()}">






 




 


 


 



RE: [flexcoders] Combobox And Datagrid

2008-04-27 Thread Alex Harui
Renderers are recycled.   See my blog (blogs.adobe.com/aharui).  It is
almost never correct to use creationComplete in a renderer.  Setting
selectable="false" has also caused problems in the past.  Why do you
need to turn off selectable?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Sunday, April 27, 2008 9:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Combobox And Datagrid

 

Hi Friends .. 

I am writting a simple code in which i have one datagrid with two
coloumns . in first coloumn iam using combobox as itemrenderer.
but this combobox is working abnormally when more and more item are
added to the grid or when scroll bar appears .
some one told me that this problem is solved in flex 3 but it is not .
i have compiled and run this code on three version of flex i.e Flex
2.0.1 ,Flex 2.0.1(Hot Fix Three),
and Flex Three.
But the application is behaving in different ways in both version . plz
help me to find the problem.
i am sharing my code with u plz run it and help me




http://www.adobe.com/2006/mxml
 " creationComplete="{init()}" >
















http://www.adobe.com/2006/mxml
 " width="50" paddingRight="5"
paddingLeft="5" xmlns:fc="*" close="{closeEventHandler()}" >





Thanks Parkash Arjan..

 



RE: [flexcoders] How to get the reference to an item renderer given item index in dataProvider?

2008-04-27 Thread Alex Harui
Because renderers are recycled, unless you can guarantee that the data
is on-screen, there may not be a renderer fro some index into the
dataprovider.  For more info see my blog (blogs.adobe..com/aharui)

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Marcin Glowacki
Sent: Sunday, April 27, 2008 12:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get the reference to an item renderer given
item index in dataProvider?

 

In Flex 3 DataGrid, how to get the reference to item renderer given
item index in dataProvider and column number? 
I am extending DataGrid, and I need to access it in MyDataGrid.

Lets say I want itemRenderer for item in dataProvider at index 5 and
column 2.

And 

how to get the array of all itemRenderers and/or itemEditor for a
given index of an item in dataProvider?

 



RE: [flexcoders] adjust row height of datagridcolumns?

2008-04-27 Thread Alex Harui
Getting a row to expand when showing the editor can be tricky.  I think
folks end up using rendererIsEditor instead of creating the editor on
the fly.  You can also change DataGridColumn.editorHeightOffset and have
the editor overlap the rows below.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ibo
Sent: Sunday, April 27, 2008 7:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] adjust row height of datagridcolumns?

 

Hi guys, I have a datagrid, and I have created custom item editor for
each column but is bigger than the usual row height (equivalent to 3
lines and purposely designed it that way). the itemEditor gets displayed
when I click on it but the actual height of the row doesnt adjust and
scroll bars appears, rendering it all cramped and you'll hardly see
anything.
How do I make it adjust the height automatically when itemEditor springs
into action? preferably something that I can attach a resize effect.
tia.

  



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
 

 



Re: [flexcoders] change event

2008-04-27 Thread shaun
Hi,

Luke Vanderfluit wrote:
> Hi.
> 
> I have a textinput and combobox.
> Both dispatch a change event.
> Is there a way of discerning which type of event so I can take appropriate 
> action based on the type?
> 
> TextInput change dispatches flash.events.Event
> ComboBox change dispatches mx.events.ListEvent
> 
> Thanks.
> Kr.
> Luke.
> 

This should do it..

protected function handle(e:Event) {
   if (e is ListEvent) ...
}

cheers,
  - shaun


RE: [flexcoders] change event

2008-04-27 Thread Alex Harui
The best way is to use different event handlers, i.e.:

 

textInput.addEventListener(Event.CHANGE, textInput_changeHandler);

comboBox.addEventListener(Event.CHANGE, comboBox_changeHandler);

 

You can also test for which one like this:

 

function generic_changeHandler(event:Event):void

{

if (event.target is ComboBox)

...

else if (event.target is TextInput)

...

}

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luke Vanderfluit
Sent: Sunday, April 27, 2008 9:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] change event

 

Hi.

I have a textinput and combobox.
Both dispatch a change event.
Is there a way of discerning which type of event so I can take
appropriate 
action based on the type?

TextInput change dispatches flash.events.Event
ComboBox change dispatches mx.events.ListEvent

Thanks.
Kr.
Luke.

-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422

 



[flexcoders] change event

2008-04-27 Thread Luke Vanderfluit
Hi.

I have a textinput and combobox.
Both dispatch a change event.
Is there a way of discerning which type of event so I can take appropriate 
action based on the type?

TextInput change dispatches flash.events.Event
ComboBox change dispatches mx.events.ListEvent

Thanks.
Kr.
Luke.

-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422


Re: [flexcoders] Granite Data Services 1.1.0 RC1 released

2008-04-27 Thread Jon Santos



- Original Message 
From: fwolff999 <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, April 25, 2008 9:05:48 PM
Subject: [flexcoders] Granite Data Services 1.1.0 RC1 released


Hi all, 
 
The new 1.1.0 release candidate 1 of Granite Data Services, the freealternative 
of Adobe LiveCycle Data Services for Flex/J2EE servers, wasreleased. 
 
This release brings many new features, improvements and bug fixes: 

* A tighter Granite/JBossSeam integration (Tide). 
* An improved ActionsScript3 generator (Gas3). 
* A new ActionsScript3/ Java type conversions stack. 
* A (partially) automated configuration for several Flex/Granite 
options. 
See more on GDS forum here. 
 
Best regards, 
Franck.  


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Re: [flexcoders] Secure Login

2008-04-27 Thread Samuel Neff
We use challenge-response authentication with our Flex app.  It's pretty
easy to implement, but for some reason it isn't done much in web
applications.  Provides for secure authentication without requiring HTTPS.

I outlined the detailed steps (with challenge-response plus storing hashed
password in db) here on the Fluorine mailing lists.

http://www.nabble.com/Protection-of-User-Password-Information-to15454614.html#a15454617

We use ASP.NET with Fluorine so session support is automatic.

HTH,

Sam


On Wed, Apr 23, 2008 at 2:06 AM, timgerr <[EMAIL PROTECTED]> wrote:

> I was wondering how people create a secure login system.  Do you use a
> php back end or what?  How do you handle sessions and or cookies?
>
> Thanks for the info,
> timgerr
>
>
>
-
We're Hiring! Seeking passionate Flex, C#, or C++ (RTSP, H264) developer.
Position is in the Washington D.C. metro area. Contact
[EMAIL PROTECTED]


[flexcoders] Long running remoting request: Channel.Call.Failed

2008-04-27 Thread Cameron Childress
I have a particularly long running remoting request that Flex is giving up
on before it has a chance to answer.  The error thrown is
"Channel.Call.Failed - NetConnection.Call.Failed: HTTP: Failed".  I have
tried upping the requestTimeout on my RemoteObject definition, but it
doesn't seem to be having the desired effect.  I'm using Cairngorm if that
matters.  I just need Flex to wait 120 seconds or so for a reply before
giving up.

Any advice would be welcome.

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


[flexcoders] Large application strategy - Flex or Flash?

2008-04-27 Thread bick
I wanted to get some opinions on whether to use Flex or Flash on a
large scale site.

Some details about the site:

Very modular
Some timeline based swfs provided by designers that need to be loaded
Uses webservices
Multiple remote developers
Intending to use automated builds (thinking Maven)
ASDocs
No current requirement for Flex components

Thoughts?



[flexcoders] AMFPHP Examples now available for Flex

2008-04-27 Thread Alan Gruskoff
I have interest in database work with MySQL/PHP so looked at the
AMFPHP product. I tried the AMFPHP examples in Flash, which worked
fine. Being disappointed the Flex examples were missing I decided to
go ahead and make my own. So I did.

At this web address: http://digitalshowcase.biz/flex/examples/AMFPHP/

you will find 3 of the first AMFPHP examples in Flex mxml mode, with a
bit of my own internal comments about how things work together.

As was my main interest, I migrated a MySQL Read example, in its own
directory as above, with a Product.sql file and a screen shot that
helped me see where and what the result object looked like.

Feel free to use these items as your own starting point.
- Alan Gruskoff




[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread todd_geist
Hey thanks Robert and Alex.

I figured it out kind of like Robert suggested.

All of the images are in one Canvas.

I create a new BitmapData object setting the color and the transparency to true.

Then I draw() the canvas on to it. That flattens all the images.

encode the Bitmap Data as a png using PNGEncoder

Encode the png with Base64 so I can pass it to the server.

then I download the file

--

Seems kind of strange to have upload the file to the server, just to download 
it again, but 
since it is Flash Web app, I have no choice.

Todd



[flexcoders] adjust row height of datagridcolumns?

2008-04-27 Thread ibo
Hi guys, I have a datagrid, and I have created custom item editor for each 
column but is bigger than the usual row height (equivalent to 3 lines and 
purposely designed it that way). the itemEditor gets displayed when I click on 
it but the actual height of the row doesnt adjust and scroll bars appears, 
rendering it all cramped and you'll hardly see anything.
How do I make it adjust the height automatically when itemEditor springs into 
action? preferably something that I can attach a resize effect. tia.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[flexcoders] Re: LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Marcin Glowacki
That was it.

Thank you.



--- In flexcoders@yahoogroups.com, "Robert Cadena" <[EMAIL PROTECTED]>
wrote:
>
> Hi Marcin,
> 
> it looks like the jvm can't find the class for a java transaction
> exception. have you tried installing jotm and any required libraries
> for java transactions into your tomcat commons directory?
> 
> here is some info on installing jotm on tomcat:
> 
>
http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Installation_Instructions
> 
> best of luck
> 
> /r
> 
> 
> On Sun, Apr 27, 2008 at 9:50 AM, Marcin Glowacki
> <[EMAIL PROTECTED]> wrote:
> > I am having trouble getting notes.mxml application to work in my dev
> >  environment. I am using Flex 3 and LCDS 2.5.1 on tomcat 5.5. Most of
> >  sample application do work, but the one that I am most interested in
> >  notes.mxml DOES NOT.
> >
> >  My project setup:
> >  I created Flex new flex project with J2EE server that I pointed to
> >  tomcat 5.5 and JRE from Flex Builder:
> >  C:\Program Files\Adobe\Flex Builder 3\jre\bin>java -version
> >  java version "1.5.0_11"
> >  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> >  Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
> >  I used web tier compiler since that is what works with samples
better.
> >
> >  ---
> >  Following is my tomcat server console output that I get when running
> >  notes.mxml:
> >
> >  Apr 27, 2008 12:17:41 PM
org.apache.catalina.core.AprLifecycleListener
> >  lifecycleEvent
> >  INFO: The Apache Tomcat Native library which allows optimal
> >  performance in production environments was not found on the
> >  java.library.path: C:\Program Files\Adobe\Flex Builder
> >  3\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
> > 
Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >  Files\Intel\Wireless\Bin\;C:\Program
> >  Files\ThinkPad\ConnectUtilities;C:\Program Files\Common
> >  Files\Lenovo;C:\Program Files\Lenovo\Client Security
> >  Solution;C:\Program Files\Executive Software\Diskeeper\;C:\Program
> >  Files\Common Files\Adobe\AGL;c:\Program Files\Microsoft SQL
> >  Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program
> >  Files\Intel\Wireless\Bin\;C:\Program
> >  Files\Intel\Wireless\Bin\;C:\Program Files\ATI
> >  Technologies\ATI.ACE\Core-Static
> >  Apr 27, 2008 12:17:42 PM
org.apache.coyote.http11.Http11BaseProtocol init
> >  INFO: Initializing Coyote HTTP/1.1 on http-8080
> >  Apr 27, 2008 12:17:42 PM org.apache.catalina.startup.Catalina load
> >  INFO: Initialization processed in 1281 ms
> >  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardService
start
> >  INFO: Starting service Catalina
> >  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardEngine
start
> >  INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
> >  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardHost start
> >  INFO: XML validation disabled
> >  04/27 12:17:43 INFO Loading configuration file
> > 
C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-webtier-config.xml
> >  04/27 12:17:44 INFO Loading configuration file
> > 
C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-config.xml
> >  Apr 27, 2008 12:17:44 PM
> >  com.opensymphony.oscache.general.GeneralCacheAdministrator 
> >  INFO: Constructed GeneralCacheAdministrator()
> >  Apr 27, 2008 12:17:44 PM
> >  com.opensymphony.oscache.general.GeneralCacheAdministrator
createCache
> >  INFO: Creating new cache
> >  Apr 27, 2008 12:17:44 PM
org.apache.catalina.core.ApplicationContext log
> >  INFO: FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
> >  Apr 27, 2008 12:17:44 PM
org.apache.catalina.core.ApplicationContext log
> >  INFO: FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666
> >  [Flex] [INFO] Starting Adobe LiveCycle Data Services 2 Express
> >  [Flex] [INFO] Adobe Flex Data Services Build: 173666
> >  [Flex] [INFO] Endpoint my-amf created with security: None
> >  at URL:
> >  http://{server.name}:{server.port}/{context.root}/messagebroker/amf
> >  [Flex] [INFO] Endpoint my-polling-amf created with security: None
> >  at URL:
> > 
http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling
> >  [Flex] [INFO] Endpoint my-http created with security: None
> >  at URL:
> >  http://{server.name}:{server.port}/{context.root}/messagebroker/http
> >  [Flex] [INFO] Endpoint my-secure-amf created with security: None
> >  at URL:
> > 
https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure
> >  [Flex] [INFO] Endpoint my-rtmp created with security: None
> >  at URL: rtmp://{server.name}:2037
> >  [Flex] [INFO] Endpoint per-client-qos-rtmp created with security:
None
> >  at URL: rtmp://{server.name}:2040
> >  [Flex] [INFO] Endpoint my-secure-ht

[flexcoders] Re: DataGrid Click Event

2008-04-27 Thread Lisa Lee
Perfect!  Thanks so much, Aaron!

--- In flexcoders@yahoogroups.com, "Aaron Miller" <[EMAIL PROTECTED]> wrote:
>
> Maybe you are wanting to listen to the 'itemClick' event instead, 
which is
> not dispatched when the header is clicked. If you want to track 
both types
> of clicks, you can also listen for the 'headerRelease' event for 
the header
> clicks.
> 
> Hope this helps,
> ~Aaron
> 
> On Sun, Apr 27, 2008 at 4:14 PM, Lisa Lee <[EMAIL PROTECTED]> wrote:
> 
> >   I have assigned a function to the "click" event on my DataGrid. 
When
> > the user clicks on the DataGrid, how can I tell whether they've 
clicked
> > on the header (for instance, to sort the data) or on actual data 
in the
> > grid itself?
> >
> >  
> >
> 
> 
> 
> -- 
> Aaron Miller
> Chief Technology Officer
> Open Base Interactive, LLC.
> [EMAIL PROTECTED]
> http://www.openbaseinteractive.com
>




Re: [flexcoders] How to prevent tab change

2008-04-27 Thread Scott Melby
This has been discussed a number of times on this list.  Try searching 
the list archives for "TabNavigator".

hth
Scott

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



deepcworld wrote:
> I need to prevent a tab from being changed when user changes tab. This
> is a typical form dirtiness check use case.
> 1. User changes form in tab A.
> 2. User clicks tab B without saving tab B.
> 3. User remains in tab A and a confirmation dialogue pops up with save
> or cancel option.
> 4. Either option eventually takes user to tab B.
>
> Using 'Tabnavigator' component, I can not stop the tab from changing.
> I need something like 'preventDefault' feature for the  tab change/tab
> click event.  But looks like since tab change/click is a
> non-cancellable event, I can't use preventDefault. Stop propagation of
> the change event does work but fails to continue when needed(step 4).
>
> Any suggestion would be nice.
>
> Thanks
> - Deep
>
>
>   



Re: [flexcoders] LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Robert Cadena
Hi Marcin,

it looks like the jvm can't find the class for a java transaction
exception. have you tried installing jotm and any required libraries
for java transactions into your tomcat commons directory?

here is some info on installing jotm on tomcat:

http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Installation_Instructions

best of luck

/r


On Sun, Apr 27, 2008 at 9:50 AM, Marcin Glowacki
<[EMAIL PROTECTED]> wrote:
> I am having trouble getting notes.mxml application to work in my dev
>  environment. I am using Flex 3 and LCDS 2.5.1 on tomcat 5.5. Most of
>  sample application do work, but the one that I am most interested in
>  notes.mxml DOES NOT.
>
>  My project setup:
>  I created Flex new flex project with J2EE server that I pointed to
>  tomcat 5.5 and JRE from Flex Builder:
>  C:\Program Files\Adobe\Flex Builder 3\jre\bin>java -version
>  java version "1.5.0_11"
>  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
>  Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
>  I used web tier compiler since that is what works with samples better.
>
>  ---
>  Following is my tomcat server console output that I get when running
>  notes.mxml:
>
>  Apr 27, 2008 12:17:41 PM org.apache.catalina.core.AprLifecycleListener
>  lifecycleEvent
>  INFO: The Apache Tomcat Native library which allows optimal
>  performance in production environments was not found on the
>  java.library.path: C:\Program Files\Adobe\Flex Builder
>  3\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
>  
> Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>  Files\Intel\Wireless\Bin\;C:\Program
>  Files\ThinkPad\ConnectUtilities;C:\Program Files\Common
>  Files\Lenovo;C:\Program Files\Lenovo\Client Security
>  Solution;C:\Program Files\Executive Software\Diskeeper\;C:\Program
>  Files\Common Files\Adobe\AGL;c:\Program Files\Microsoft SQL
>  Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program
>  Files\Intel\Wireless\Bin\;C:\Program
>  Files\Intel\Wireless\Bin\;C:\Program Files\ATI
>  Technologies\ATI.ACE\Core-Static
>  Apr 27, 2008 12:17:42 PM org.apache.coyote.http11.Http11BaseProtocol init
>  INFO: Initializing Coyote HTTP/1.1 on http-8080
>  Apr 27, 2008 12:17:42 PM org.apache.catalina.startup.Catalina load
>  INFO: Initialization processed in 1281 ms
>  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardService start
>  INFO: Starting service Catalina
>  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardEngine start
>  INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
>  Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardHost start
>  INFO: XML validation disabled
>  04/27 12:17:43 INFO Loading configuration file
>  
> C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-webtier-config.xml
>  04/27 12:17:44 INFO Loading configuration file
>  
> C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-config.xml
>  Apr 27, 2008 12:17:44 PM
>  com.opensymphony.oscache.general.GeneralCacheAdministrator 
>  INFO: Constructed GeneralCacheAdministrator()
>  Apr 27, 2008 12:17:44 PM
>  com.opensymphony.oscache.general.GeneralCacheAdministrator createCache
>  INFO: Creating new cache
>  Apr 27, 2008 12:17:44 PM org.apache.catalina.core.ApplicationContext log
>  INFO: FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
>  Apr 27, 2008 12:17:44 PM org.apache.catalina.core.ApplicationContext log
>  INFO: FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666
>  [Flex] [INFO] Starting Adobe LiveCycle Data Services 2 Express
>  [Flex] [INFO] Adobe Flex Data Services Build: 173666
>  [Flex] [INFO] Endpoint my-amf created with security: None
>  at URL:
>  http://{server.name}:{server.port}/{context.root}/messagebroker/amf
>  [Flex] [INFO] Endpoint my-polling-amf created with security: None
>  at URL:
>  http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling
>  [Flex] [INFO] Endpoint my-http created with security: None
>  at URL:
>  http://{server.name}:{server.port}/{context.root}/messagebroker/http
>  [Flex] [INFO] Endpoint my-secure-amf created with security: None
>  at URL:
>  https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure
>  [Flex] [INFO] Endpoint my-rtmp created with security: None
>  at URL: rtmp://{server.name}:2037
>  [Flex] [INFO] Endpoint per-client-qos-rtmp created with security: None
>  at URL: rtmp://{server.name}:2040
>  [Flex] [INFO] Endpoint my-secure-http created with security: None
>  at URL:
>  https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure
>  Starting HSQLDB database for sample applications...
>  [EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false) entered
>  [EMAIL PROTECTED]: [Thread[main,5,m

Re: [flexcoders] The XML Class / E4X - best tutorials?

2008-04-27 Thread ibo
dont know any online but the Oreilly actionscript cookbook has a whole chapter 
discussing E4X. excellent stuff.

Josh McDonald <[EMAIL PROTECTED]> wrote: Hey guys, 
just a quickie - while I'm getting what I need done, I'm definitely not making 
the best use of the E4X features; I'm wondering if anybody's seen any 
particularly good tutorials online I should check out?
 
Cheers,
-J

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

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

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [flexcoders] DataGrid Click Event

2008-04-27 Thread Aaron Miller
Maybe you are wanting to listen to the 'itemClick' event instead, which is
not dispatched when the header is clicked. If you want to track both types
of clicks, you can also listen for the 'headerRelease' event for the header
clicks.

Hope this helps,
~Aaron

On Sun, Apr 27, 2008 at 4:14 PM, Lisa Lee <[EMAIL PROTECTED]> wrote:

>   I have assigned a function to the "click" event on my DataGrid. When
> the user clicks on the DataGrid, how can I tell whether they've clicked
> on the header (for instance, to sort the data) or on actual data in the
> grid itself?
>
>  
>



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


[flexcoders] DataGrid Click Event

2008-04-27 Thread Lisa Lee
I have assigned a function to the "click" event on my DataGrid.  When 
the user clicks on the DataGrid, how can I tell whether they've clicked 
on the header (for instance, to sort the data) or on actual data in the 
grid itself?



[flexcoders] Re: how to show datatip manually in a chart?

2008-04-27 Thread sarotalotus
Do you mean that you want to show a dataTip for a specific datapoint, 
where its visibility is controlled by some event other than onhover?

--- In flexcoders@yahoogroups.com, "prashant194" <[EMAIL PROTECTED]> 
wrote:
>
> Hello all,
> Is there any way that i can show the datatip manually in the chart at
> the desired location?
>




[flexcoders] Shade background

2008-04-27 Thread cailie

I have a LineSeries in a Cartesian Chart, where the x-axis is date/time. What
I want to do is shade the background of the chart according to the x-value
-- e.g. all Tuesdays should be shaded blue. I can't yet figure out how to do
it. Anyone have an idea? Thanks...
-- 
View this message in context: 
http://www.nabble.com/Shade-background-tp16852593p16852593.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread Alan Gruskoff
Hi Todd, we met at LAFLEX. You missed the Ribbit show.

I have been thinking of doing something similar.

If you can use PHP, lots of graphic image manipulation stuff built in,
see:
http://us.php.net/manual/en/book.image.php

The standard is ImageMagick, which can be used with almost every
programming language, see:
http://www.imagemagick.org/script/index.php

Good luck
- Alan Gruskoff


--- In flexcoders@yahoogroups.com, "todd_geist" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I have several layered png with transparencies in a flex app.
> 
> I need to merge those separate pngs into a single png and then
download it to the user's 
> machine.
> 
> Can anybody point me in a relevant direction?
> 
> Thanks very much for your advice.
> 
> Todd
>




[flexcoders] LiveCycle Data Services ES sample notes.mxml application problem

2008-04-27 Thread Marcin Glowacki
I am having trouble getting notes.mxml application to work in my dev
environment. I am using Flex 3 and LCDS 2.5.1 on tomcat 5.5. Most of
sample application do work, but the one that I am most interested in
notes.mxml DOES NOT.

My project setup:
I created Flex new flex project with J2EE server that I pointed to
tomcat 5.5 and JRE from Flex Builder:
C:\Program Files\Adobe\Flex Builder 3\jre\bin>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
I used web tier compiler since that is what works with samples better.

---
Following is my tomcat server console output that I get when running
notes.mxml:

Apr 27, 2008 12:17:41 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files\Adobe\Flex Builder
3\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Intel\Wireless\Bin\;C:\Program
Files\ThinkPad\ConnectUtilities;C:\Program Files\Common
Files\Lenovo;C:\Program Files\Lenovo\Client Security
Solution;C:\Program Files\Executive Software\Diskeeper\;C:\Program
Files\Common Files\Adobe\AGL;c:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Intel\Wireless\Bin\;C:\Program
Files\Intel\Wireless\Bin\;C:\Program Files\ATI
Technologies\ATI.ACE\Core-Static
Apr 27, 2008 12:17:42 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 27, 2008 12:17:42 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1281 ms
Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Apr 27, 2008 12:17:42 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
04/27 12:17:43 INFO Loading configuration file
C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-webtier-config.xml
04/27 12:17:44 INFO Loading configuration file
C:\dev\tools\eclipse\workspaces\marcin\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\LCDSSamples\WEB-INF\flex\flex-config.xml
Apr 27, 2008 12:17:44 PM
com.opensymphony.oscache.general.GeneralCacheAdministrator 
INFO: Constructed GeneralCacheAdministrator()
Apr 27, 2008 12:17:44 PM
com.opensymphony.oscache.general.GeneralCacheAdministrator createCache
INFO: Creating new cache
Apr 27, 2008 12:17:44 PM org.apache.catalina.core.ApplicationContext log
INFO: FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
Apr 27, 2008 12:17:44 PM org.apache.catalina.core.ApplicationContext log
INFO: FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666
[Flex] [INFO] Starting Adobe LiveCycle Data Services 2 Express
[Flex] [INFO] Adobe Flex Data Services Build: 173666
[Flex] [INFO] Endpoint my-amf created with security: None
at URL:
http://{server.name}:{server.port}/{context.root}/messagebroker/amf
[Flex] [INFO] Endpoint my-polling-amf created with security: None
at URL:
http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling
[Flex] [INFO] Endpoint my-http created with security: None
at URL:
http://{server.name}:{server.port}/{context.root}/messagebroker/http
[Flex] [INFO] Endpoint my-secure-amf created with security: None
at URL:
https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure
[Flex] [INFO] Endpoint my-rtmp created with security: None
at URL: rtmp://{server.name}:2037
[Flex] [INFO] Endpoint per-client-qos-rtmp created with security: None
at URL: rtmp://{server.name}:2040
[Flex] [INFO] Endpoint my-secure-http created with security: None
at URL:
https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure
Starting HSQLDB database for sample applications...
[EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false) entered
[EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false) exited
[EMAIL PROTECTED]: Startup sequence initiated from main() method
[EMAIL PROTECTED]: Loaded properties from [C:\Program Files\Adobe\Flex
Builder 3\server.properties]
[EMAIL PROTECTED]: Initiating startup sequence...
[EMAIL PROTECTED]: Server socket opened successfully in 0 ms.
[EMAIL PROTECTED]: Database [index=0, id=0,
db=file:/C:/dev/tools/eclipse/workspaces/marcin/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/LCDSSamples/WEB-INF/db/flexdemodb/flexdemodb,
alias=flexdemodb] opened sucessfully in 2234 ms.
[EMAIL PROTECTED]: Startup sequence completed in 2250 ms.
[EMAIL PROTECTED]: 2008-04-27 12:17:53.343 HSQLDB server 1.8.0 is o

[flexcoders] How to get the reference to an item renderer given item index in dataProvider?

2008-04-27 Thread Marcin Glowacki
In Flex 3 DataGrid, how to get the reference to item renderer given
item index in dataProvider and column number? 
I am extending DataGrid, and I need to access it in MyDataGrid.

Lets say I want itemRenderer for item in dataProvider at index 5 and
column 2.

And 

how to get the array of all itemRenderers and/or itemEditor for a
given index of an item in dataProvider?





[flexcoders] Re: printAsBitmap true vs. false

2008-04-27 Thread toofah_gm
I'm not sure what happens underneath the printing API, but sure would
be nice if they improved the API to let us set vector/raster on a
component by component basis...this would really work well for me
instead of having to set it for the entire object added to the print
job.  Is it worth writing up a bug with this sort of suggestion?

BTW, we have used ImageSnapshot as well.  It allows us to create
prints of effects, like drop shadows, etc. which don't show up at all
otherwise...but it seems to have the same results as
printAsBitmap=true, text looks much worse than vector printed text.

Can't I just have the best of both worlds from Adobe?


--- In flexcoders@yahoogroups.com, Frederico Garcia <[EMAIL PROTECTED]>
wrote:
>
> Just another annoyance from the "not so great" Flash printing API. 
> You're not missing anything, you actually have to choose between vector 
> text or transparency. printAsBitmap=false can also give some unpleasant 
> surprises since in some versions of Flash Player images just don't show 
> at all.
> For FlexReport the choice was obvious... Reports are mostly text, and 
> it's not a big deal not being able to use transparent backgrounds. If 
> you really need transparency you'll have to live with crappy text.
> By the way, why do you need the transparency... there are some 
> workarounds you can try (such as getting a imagesnapshot of the 
> container holding the image)
> 
> Kind Regards,
> 
> Frederico Garcia
> 
> Dmitri Girski escreveu:
> > And? 
> >
> > It sets printAsBitmap = false.
> > So what? It does not answer the question.
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "nathanpdaniel"  wrote:
> >   
> >> Have you looked into FlexReport?  http://code.google.com/p/flexreport
> >>
> >> --- In flexcoders@yahoogroups.com, "toofah_gm"  wrote:
> >> 
> >>> I am working on printing for my application.  It seems that if I
> >>> choose raster printing by setting 'printAsBitmap=true' then my text
> >>> looks terrible, but my images with transparency print correctly.
> >>>
> >>> If I choose vector printing by setting 'printAsBitmap=false' then my
> >>> text looks great...even with very very small fonts, but the
> >>> transparency on my images turns completely BLACK, which is totally
> >>> unacceptable.
> >>>
> >>> Am I missing something here that could give me the best of both
> >>> worlds?  I hate to be forced to offer two printing options, both of
> >>> which are not very good.  It is also not an option for us to give 
> >>>   
> >> the
> >> 
> >>> user a PDF or JPEG.
> >>>
> >>> Thanks!
> >>>
> >>>   
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links
> >
> >
> >
> >
> > __ NOD32 3056 (20080426) Information __
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
> >
> >
>




[flexcoders] Combobox And Datagrid

2008-04-27 Thread parjan
Hi Friends .. 

I am writting a simple code in which i have one datagrid with two coloumns . in 
first coloumn iam using combobox as itemrenderer.
but this combobox is working abnormally when more and more item are added to 
the grid or when scroll bar appears .
some one told me that this problem is solved in flex 3 but it is not .
i have compiled and run this code on three version of flex i.e Flex 2.0.1 ,Flex 
2.0.1(Hot Fix Three),
and Flex Three.
But the application is behaving in different ways in both version . plz help me 
to find the problem.
i am sharing my code with u plz run it and help me




http://www.adobe.com/2006/mxml"; 
creationComplete="{init()}"  >

 















http://www.adobe.com/2006/mxml"; 
width="50" paddingRight="5" paddingLeft="5" xmlns:fc="*" 
close="{closeEventHandler()}" >

  




Thanks Parkash Arjan..





[flexcoders] Re: looking for PNG handling resources

2008-04-27 Thread robertxcadena
Hey Todd,

check out:

http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=8406

so, I'd draw those multiple images on top of each other into a
bitmapdata then save it out as specified in that recipe above.

best of luck.

/r
http://www.machine501.com/

--- In flexcoders@yahoogroups.com, "todd_geist" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I have several layered png with transparencies in a flex app.
> 
> I need to merge those separate pngs into a single png and then
download it to the user's 
> machine.
> 
> Can anybody point me in a relevant direction?
> 
> Thanks very much for your advice.
> 
> Todd
>




[flexcoders] merging PNGs loosing transparency.

2008-04-27 Thread todd_geist
Hello,

I have to pngs that I would like to merge into a new PNG, while maintaining the 
transparency.  I can get them to merge, but i can't keep the transparency

I am a newbie, not sure what I am missing

Here is my code


http://www.adobe.com/2006/mxml"; layout="absolute" 
backgroundColor="#393838">










 





[flexcoders] intermediate value between the widely separated datapoints of line chart?

2008-04-27 Thread prashant194
Hello all,
i am newbie to Flex and right now i am working on Flex 3.
I drew a line chart based on two datapoints as shown:

   
http://www.adobe.com/2006/mxml";
layout="absolute">
  
 
 
 
 
 
 
 
 
 
 


Please correct me if there is anything wrong with this. Actually i want
to draw a line chart based on two cartesian coordinates (0,55) and
(92,0).
I used the above technique to accomplish this and the chart shown the
line correctly.
My problem is the line chart shows only two datapoints given by me when
i move mouse over to those datapoints and how can i get the intermediate
value between those two points when i move/click mouse on the line
between those data points.






[flexcoders] Guidance for Java API integration needed

2008-04-27 Thread dnii303
Hi there,

I am very new to the Flex development environment but have bin able to
develop a nice web application that makes extensive use of the
Advanced Data Grid. The client is very happy.

I was now approached with the question if we can use Flex (or Flex
AIR) to make use of a 3rd party Java API to connect to their application. 

I have access to a Java sample application that uses NetBeans and a
socketclient component that showcases the Java API.

Can Flex/AIR be used for such an integration? 

Your guidance would be greatly appreciated to help me understand what
the capabilities of Flex/AIR are and how to go about it.

Thanks in advance,
Dan



[flexcoders] How to prevent tab change

2008-04-27 Thread Subhadeep Chatterjee
Hi,

I need to prevent a tab from being changed when user changes tab. This is a 
typical form dirtiness check use case. 
1. User changes form in tab A.
2. User clicks tab B without saving tab B.
3. User remains in tab A and a confirmation dialogue pops up with save or 
cancel option.
4. Either option eventually takes user to tab B.

Using 'Tabnavigator' component, I can not stop the tab from changing. I need 
something like 'preventDefault' feature for the  tab change/tab click event.  
But looks like since tab change/click is a non-cancellable event, I can't use 
preventDefault. Stop propagation of the change event does work but fails to 
continue when needed(step 4). 

Any suggestion would be nice.

Thanks
- Deep


[flexcoders] How to prevent tab change

2008-04-27 Thread deepcworld
I need to prevent a tab from being changed when user changes tab. This
is a typical form dirtiness check use case.
1. User changes form in tab A.
2. User clicks tab B without saving tab B.
3. User remains in tab A and a confirmation dialogue pops up with save
or cancel option.
4. Either option eventually takes user to tab B.

Using 'Tabnavigator' component, I can not stop the tab from changing.
I need something like 'preventDefault' feature for the  tab change/tab
click event.  But looks like since tab change/click is a
non-cancellable event, I can't use preventDefault. Stop propagation of
the change event does work but fails to continue when needed(step 4).

Any suggestion would be nice.

Thanks
- Deep



[flexcoders] how to show datatip manually in a chart?

2008-04-27 Thread prashant194
Hello all,
Is there any way that i can show the datatip manually in the chart at
the desired location?




Re: [flexcoders]Setting DataGrid header to transparent

2008-04-27 Thread Stephen Downs

Or you could skin it and with something transparent.


On 23 Apr 2008, at 07:08, Alex Harui wrote:



Dude, that was four months ago!  You could’ve asked again sooner.



Another approach may be to subclass, get the .header, getChildByName 
(“headerBG”) and set its alpha=0




From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from  
dorktown

Sent: Tuesday, April 22, 2008 9:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Setting DataGrid header to transparent



I've been working on this for a while with no luck... can you  
provide an example or some tips?


On Thu, Dec 27, 2007 at 6:53 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

Override drawHeaderBackground?



From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from  
dorktown

Sent: Thursday, December 27, 2007 3:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]Setting DataGrid header to transparent



Is there a way to set the Datagrid header to transparent? I want to  
set the header background fill to transparent and show a border  
along the bottom of the column headers. Currently the CSS Design  
View does not let me change the Datagrid header fill alpha.


Here is the code I am using:












dataField="@column1"/>


dataField="@enabled"/>













[flexcoders] Label As Combobox Itemrenderer not working properly

2008-04-27 Thread parjan
Hello Friends can any tell me what is wrong with this code. I am trying to 
disable the labels but they are not disabled even visible = false not working 
can u tell me why..
here is complete code.

http://www.adobe.com/2006/mxml"; layout="vertical" 
creationComplete="{init()}">



 



   




 




   





[flexcoders] The XML Class / E4X - best tutorials?

2008-04-27 Thread Josh McDonald
Hey guys, just a quickie - while I'm getting what I need done, I'm
definitely not making the best use of the E4X features; I'm wondering if
anybody's seen any particularly good tutorials online I should check out?

Cheers,
-J

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

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


[flexcoders] Get type of a variable?

2008-04-27 Thread Josh McDonald
Guys,

What's the easiest way to get the type of a variable in a static class? What
I mean is just a regular class, with a bunch of regular staticly typed vars.
I'm having trouble locating an easy way to do this when the member object is
null.

-J

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

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