RE: [flexcoders] [flexcoders- to abdul] image in swf. pls help

2005-06-10 Thread nithya karthik



Hai abdul,
 thanks a lot. It works well. Abdul Qabiz [EMAIL PROTECTED] wrote:


Ok,

I got it, you mean, when you run the swf on different machine it doesn't work. But if you run the swf from same machine it works, right?

The reason behind is that, your 3724.jpg is loaded on runtime, that's why when you run the swf on other machine, it is not finding the jpg file there. To avoid this, you can embed the jpeg in the swf itself by using Embed metadata tag.



?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" backgroundColor="#FF"  mx:Canvas clipContent="true" backgroundColor="#FF" verticalGap="0" height="400" width="400" hScrollPolicy="off" vScrollPolicy="off"  mx:Image source="@Embed('3724.jpg')" height="100%" width="100%"/ /mx:Canvas
/mx:Application


But this would increase the SWF file size becase jpeg is embedded in final swf. Look at this link as well:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19243

-abdul



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Friday, June 10, 2005 9:54 AMTo: flexcodersSubject: [flexcoders] [flexcoders- to abdul] image in swf. pls help

Hai abdul,
 I forgot to attach the code in my mail. i am sending it now
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" backgroundColor="#FF"  mx:Canvas clipContent="true" backgroundColor="#FF" verticalGap="0" height="400" width="400" hScrollPolicy="off" vScrollPolicy="off"  mx:Image source="3724.jpg" height="100%" width="100%"/ /mx:Canvas
/mx:Application


When i compilt this mxml to swf and run it on a different machine it doesnt display the image. but when i tried running it from the same folder which contains the image then it works. y so? pls help m,e with this?
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










[flexcoders] [flexcoders- to abdul] image in swf. Problem again

2005-06-10 Thread nithya karthik



Hai,
 I again have a problem with loading the image. say i have an swf named img1.swf, I have an xml tag thumbNailimg1.swf/thumbnail ok. In a tilelist i try to dispaly that swf using the following code:
mx:Image id="prodThumbNail" width="80" height="80" autoLoad="true"  source="@Embed('{dataObject.thumbNail}')" creationComplete="hideWhenChanging()" /
when i run the application now again the image doesnt get displayed..
please help me.Abdul Qabiz [EMAIL PROTECTED] wrote:


Ok,

I got it, you mean, when you run the swf on different machine it doesn't work. But if you run the swf from same machine it works, right?

The reason behind is that, your 3724.jpg is loaded on runtime, that's why when you run the swf on other machine, it is not finding the jpg file there. To avoid this, you can embed the jpeg in the swf itself by using Embed metadata tag.



?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" backgroundColor="#FF"  mx:Canvas clipContent="true" backgroundColor="#FF" verticalGap="0" height="400" width="400" hScrollPolicy="off" vScrollPolicy="off"  mx:Image source="@Embed('3724.jpg')" height="100%" width="100%"/ /mx:Canvas
/mx:Application


But this would increase the SWF file size becase jpeg is embedded in final swf. Look at this link as well:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19243

-abdul



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Friday, June 10, 2005 9:54 AMTo: flexcodersSubject: [flexcoders] [flexcoders- to abdul] image in swf. pls help

Hai abdul,
 I forgot to attach the code in my mail. i am sending it now
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" backgroundColor="#FF"  mx:Canvas clipContent="true" backgroundColor="#FF" verticalGap="0" height="400" width="400" hScrollPolicy="off" vScrollPolicy="off"  mx:Image source="3724.jpg" height="100%" width="100%"/ /mx:Canvas
/mx:Application


When i compilt this mxml to swf and run it on a different machine it doesnt display the image. but when i tried running it from the same folder which contains the image then it works. y so? pls help m,e with this?
Send instant messages to your online friends http://uk.messenger.yahoo.com Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










[flexcoders]Drag and drop

2005-06-10 Thread nithya karthik



hai,
 I have a tile list from which i can drag and drop the item toa datagrid. now i also want to drag the item from the datagrid so that it gets removed from the grid. how should i do this? when i treid what happend was, i was able to remove the item but it was getting dropped to the tile list (ie, it was gettting added to the tile list) but i dont want it to happen that way. pls helpSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










RE: [flexcoders] complex Remote Objects

2005-06-10 Thread Dirk Eismann
I believe this also necessary when passing typed objects between SWFs using 
LocalConnection.

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Peter 
Farland
Sent: Thursday, June 09, 2005 6:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] complex Remote Objects


Yep - Matt's diagnosis is correct. Your OgoPhoneVO constructor might look 
something like this to make sure it doesn't override the initial states of the 
deserialized result objects:

public function OgoPhoneVO()
{
if (info === undefined)
{
info = ;
number = ;
telephoneId = null;
type = ;
}
}

This is necessary for any VO that is expected to be populated from native Flash 
Player object deserialization, e.g. instances of registered classes from 
RemoteObject that are encoded using AMF.

It's unfortunately that an example of this is not in the Flex 1.5 documentation 
- the topic will be improved in Flex 2.0.

Note: While it's taken me a while to come around on this issue, I personally 
don't believe this functionality sucks... it is a deliberately designed 
function of the Flash Player's native object deserialization (be it from LSOs, 
AMF, RTMP). It allows you to get access to the remote variables during object 
initialization (as you can't send constructor arguments via AMF).





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
Chotin
Sent: Wednesday, June 08, 2005 9:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] complex Remote Objects


Hi Christophe,
 
I bet the bug is because you have the constructor doing initial value 
assignment.  Joe Berkovitz posted a very detailed account of how Flex will 
screw you up if you do this in your VOs because the constructor is actually 
called AFTER all the variables have been assigned.  Pete then gave an 
explanation as to why we do this, which I forget.  In any case, it sucks.  So 
in your VO objects make sure that you don't assign default values to the 
properties in your constructor (or if you must put checks in the constructor to 
make sure the value hasn't already been defined).
 
HTH,
Matt
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Christoph Guse
Sent: Wednesday, June 08, 2005 10:36 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] complex Remote Objects
 
Hi Peter,

I still have the problem with my complex Remote Objects. Here is some code and 
other stuff:





Yahoo! Groups Links

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


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Memory leak in accordion?

2005-06-10 Thread Jeroen De Vos





Feeling a bit silly...
I found out that the mm.cfg file was still in my profile 
while I did remove the profiler webapp from the appserver.

Sorry for all the trouble I caused.
Jeroen.


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Matt 
ChotinVerzonden: vrijdag 10 juni 2005 6:48Aan: 
flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Re: Memory leak 
in accordion?


Usually memory 
stabilizes so Im kinda surprised that it goes up regardless of what you 
do. Whats your exact configuration? 





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: Thursday, June 09, 2005 1:24 
AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Memory leak 
in accordion?

Continuing my 'tests' on the memory allocation problem, 
I noticed thateach time you move your mouse over a component (any 
component...),without even doing something with the component, the 
memory goes up alittle bit (between 10 and 50 kb) and never-ever goes 
down again.I guess these are the mouse-over e.a. events 
firing.Am I the first to have an issue with 
this?I indeed saw on the flexcoders board several people 
noticing theproblem, but has anyone found as solution to 
it?Maybe I should try on a linux with firefox 
machine...Jeroen.Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.[GHA#Disclaimer]







Yahoo! Groups Links

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










RE: [flexcoders] CrossDomain.xml file question

2005-06-10 Thread Allen Manning





Hello Mike,

Tom Link has a good blog on this topic, 
HTH

http://tomlink.net/blog/index.cfm?mode=entryentry=6EC95F69-7E97-A3B0-E2DF6C783163B393

Best,
Allen

  
  

  


  

  Allen 
Manning

  Prismix 
Ltd t: +44 (0)870 749 1100 f: +44 
(0)870 749 1200 w: www.prismix.com 









From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mike 
AndersonSent: 08 June 2005 23:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] CrossDomain.xml file 
question
Hello, I am continuing this from the whitelist 
thread...Could you all clarify for me, precisely *where*, and in how 
many places,I must locate the "crossdomain.xml" file?Lets say, my 
Flex Server page resides at"http://192.168.10.160/mypage.mxml", 
and I am trying to access aRemoting Service which resides at "http://www.abc.com"? It's obviouswhich 
entries need to be made in the actual .xml file, but WHERE must Iplace the 
actual files?My Remoting server is actually a Microsoft IIS Server, 
using the .NETFlash Remoting .dll file. For those .NET remoting users 
out there, inorder to properly setup Flash Remoting for .NET, you must first 
setup aVirtual Directory, and then have a /bin directory underneath 
that(containing the .dll file).My actual remoting calls are made 
to"http://www.abc.com/virtualDirectory/flashgateway.aspx 
so the questionis, where do I actually place the crossdomain.xml 
files? Do I have toplace one in the actual Flex Root directory? 
If so, would it be the WebRoot, or the directory in which the .MXML file is 
being served from?Also, the same goes for my IIS Web Directory - do I place 
it in myVirtual Root? Any other places that I should be concerned 
with?If you could all clarify that for me, I'd be very 
appreciative.Thanks,Mike







Yahoo! Groups Links

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










RE: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

2005-06-10 Thread Dirk Eismann
Hi Seth,

when doing a FCS -- Flash Remoting call I always use the _Result/_Fault 
notation in the applications main.asc file to use a callback like mechanism. 

This works fine with any returned data type, i.e.

// inside the FCS script
service.myRemoteMethod(someParam, anotherParam);
myRemoteMethod_Result = function(result) {
  // handle result here...
}

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 Behalf Of Seth Voltz
 Sent: Thursday, June 09, 2005 6:07 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex / Flash / FlashComm, Remoting and CF
 
 
 Hey everyone,
 
 A while back someone posted an article on quirks when using Remoting 
 (and the flash gateway) with Flex / Flash and FlashComm. I can't find 
 it anywhere (archive searches, google, etc.) Maybe I'm just 
 not hitting 
 the right terms.
 
 If anyone remembers it I'd most appreciate the link.
 
 If not, here's the problem I'm having which I think that ink 
 will solve 
 (Off Topic):
 
 I have an FCS app which hits a CF7 server's flash gateway 
 looking for a 
 service. The services which return strings work just fine but 
 anything 
 that returns something more complex doesn't seem to work. I try 
 return.VAR, return.var, return.Var, etc. but it comes back 
 undefined.
 
 Thanks,
   Seth
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: okay, so I can't beleive that......

2005-06-10 Thread Allen Manning





Craig,

Can you try calling the RO in AS using an anon object in 
the call rather than MXML. Also, just drop the type attribute for now in 
your CFC while you are debugging.

...

Thrust_Query({ThrustName:thrustCB.selectedItems})

...

cfargument name="ThrustName" required="no" 


Check the NetConnection Debuggerfor any 
activity.

Some Resources:

http://tomlink.net/blog/index.cfm?mode=entryentry=BBFE84D5-7E97-A3B0-EE0B2DC292F5272F

http://www.richinternet.de/blog/index.cfm?entry=74BA931D-C3DA-FDE0-C7959146205942DA


HTH,
Allen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Craig 
NewrothSent: 09 June 2005 15:01To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: okay, so I 
can't beleive that..

i have tried every combination of the "Type" that I can, now the 
cffunction has a returntype that i had set to query, so I will try array 
there, but am not hopeful that will work...
will let you knowdo you have any examples of a RO accepting mutlitple 
data and returning results? If so then please send, maybe I am missing something 
else..
thanks,
Craig
"Mercer, Dustin" [EMAIL PROTECTED] 
wrote:

  
  

  
  Ok sorry, I thought 
  he was going to Java not CFC. A method signature is just what the method 
  is expecting and what it is returning. Basically how you typed the 
  function. I.E. a java method signature looks like this : private static void someFunction( String param1, 
  String param2 ).
  
  I dont know if I 
  have enough knowledge to help you with CF, but here goes Looks like 
  your CF code should look like this : 
  
  Here is the CFC:!--- Thrust Query (Summary) 
  --- cffunction 
  name="Thrust_Query" returntype="query" output="true" 
  access="remote" 
   cfargument 
  name="ThrustName" required="no" type="string"  
   cfset var 
  MyQuery="" 
  cfquery name="MyQuery" datasource="somedb" 
  !--query removed for security reasons-- 
   /cfquery 
   cfreturn 
  MyQuery 
  /cffunction
  Look at 
  the cold bolded and red. This code should look like this if you want to 
  use selectedItems: 
   
   cfargument name="ThrustName" 
  required="no" type="array" 
  
  You have 
  to make sure your query will support an array though You may have to 
  change the way you are doing this to include some code to parse the 
  array. I would really have to see what you are doing to explain 
  better. Hopefully this was enough of an explanation to help 
  you.
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gotjosh819iSent: Wednesday, June 08, 2005 12:12 
  PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: okay, so I 
  can't beleive that..
  
  I am helping him on this, what do you mean method 
  signature?The method is Thrust_Query the argument is ThrustName the 
  web srv works fine.. the RO does 
  not.Here is the 
  CFC:!--- Thrust Query 
  (Summary) --- cffunction 
  name="Thrust_Query" returntype="query" output="true" access="remote" 
   cfargument name="ThrustName" required="no" 
  type="string" 
   
   cfset var 
  MyQuery="" 
  cfquery name="MyQuery" datasource="somedb" 
  !--query removed for security reasons-- 
   /cfquery 
   cfreturn 
  MyQuery 
  /cffunctionHere is 
  the RO call in flex:mx:RemoteObject 
  source="gvs._cfc.Copygvs_queries" id="gvsQueriesRO"  endpoint="http://mydomains.com/flashservices/gateway" 
   mx:method 
  name="Thrust_Query" result="one(event)"  mx:arguments 
  ThrustName{thrustCB.selectedItems}/ThrustName /mx:arguments /mx:method 
   
  /mx:RemoteObject--- In flexcoders@yahoogroups.com, "Mercer, Dustin" 
  [EMAIL PROTECTED] 
  wrote: What is your 
  RO expecting as a parameter? An array or a single 
  object? selectedItems is an array so you must set your RO to 
  accept an array 
  as a parameter. What is 
  the Thrust_Query method signature?_   
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On Behalf Of 
  cnewroth55 Sent: Wednesday, 
  June 08, 2005 11:36 AM To: 
  flexcoders@yahoogroups.com 
  Subject: [flexcoders] okay, so I can't beleive 
  that.. 
   
okay, so i can't beleive that I cannot pass multiple 
  valuse into a  RO tagI 
  have a list control, it is being fed from an array,  multiple selections are set to truei have tried 
  SEVERAL  different ways to 
  pass the 'selectedItems' property to my Remote  Object tag...see below the cfc call (obvious parts 
  removed): cffunction 
  name="Thrust_Query" returntype="query" output="true"  access="remote" cfargument name="ThrustName" required="no" 
  type="string"  (have 
  tired every thing in the type for this piece)  the 
  function; 
   var 
  revResult:Object; function 
  one(myEvent:Object):Void 
  { 
  revResult=myEvent.result; } 
  //Thanks Matt Boles 
   the list 
  control 
   mx:List 
  dataProvider="{link2Data}"  
  change="gvsQueriesRO.Thrust_Query.send()" id="thrustCB" 
   multipleSelection="true" 
  width="250" toolTip="Select from this list  to get an 

[flexcoders] Re: Flex / Flash / FlashComm, Remoting and CF

2005-06-10 Thread pmaegerman
I have a simplier way to test my cfc's by calling them directly in the
url:
http://myServer/mySite/myClass.cfc?method=myFunctionarg=3; ..

Use CFDump to debug, as suggested by Indy, and don't forget to add
output=yes to your cffunction if you want to see the output ;)

Cheers,
pim

--- In flexcoders@yahoogroups.com, Indy Nagpal [EMAIL PROTECTED] wrote:
 Yes...
 
 I find that is always a good idea to have a cfm page that queries your
 cfc exactly in the same manner as the remoteobject tag in your flex
 app would. And use cfdump on your cfm page to examine what the cfc
 returns. That way you know exactly what is being returned. And if you
 are using structures and queries, be careful of the capitalization of
 structure keys and query column names. Trust me, it saves a lot of
 time.
 
 Indy
 




 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: question about popup manager

2005-06-10 Thread pmaegerman
If you want your menu always on top, try this:

a.swapDepths(Number.MAX_VALUE);

Nothing can come higher than MAX_VALUE ;)

Cheers
Pim

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 6/8/05, Robert Brueckmann [EMAIL PROTECTED] wrote:
 
 [snip]
 
  Despite my call to set the depth of my menu above the News popup,
the depths
  are still the same and the news remains on top of everything else. 
 
  
  Why isn't the setDepthAbove call working? 
 





 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: FeatureReq: Drag and Drop from native app to Flex

2005-06-10 Thread pmaegerman
This is something you were able to do with Screenweaver (I just
noticed the product is discontinued), so I guess MM could do it with
Central, I guess it's gonna be hard to have it working on all OS ;)

Pim

--- In flexcoders@yahoogroups.com, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Hi all,
 
 Will Maelstrom have any support data transfer interoperability??
 
 * drag and drop from/to native applications?
 * OS clipboard transfer?
 
 It would be just great.
 
 Of course you can't open a file with in a Flex/Flash application
 but, hey, we can upload!
 Central, on the other hand, could have more features.
 
 
 To add files to your email:
 * Drag them from your system to the attachments box
 * ...and that's it
 
 :)
 
 
 Best Regards,
 Aldo
 
 
 -- 
 : Aldo Bucchi :
 mobile (56) 8 429 8300





 
Yahoo! Groups Links

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

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

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





[flexcoders] Html page pop up

2005-06-10 Thread nithya karthik



hai,
 I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replaced by the html page. pls help..

?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Style source="css/amwaylive.css"/mx:Canvas id="top" width="100%" height="80%"mx:Label htmlText="lt;a href="" quot; gt; click here to view details lt;agt;"/mx:Label/mx:Canvasmx:Canvas id="bottom" width="100%" height="20%"mx:VBox height="100%" width="100%"mx:Button label="Add to cart"//mx:VBox/mx:Canvas /mx:ApplicationSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










[flexcoders] Html page pop up

2005-06-10 Thread nithya karthik




hai,
 I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replaced by the html page. pls help..

?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Canvas id="top" width="100%" height="80%"mx:Label htmlText="lt;a href="" quot; gt; click here to view details lt;agt;"/mx:Label/mx:Canvasmx:Canvas id="bottom" width="100%" height="20%"mx:VBox height="100%" width="100%"mx:Button label="Add to cart"//mx:VBox/mx:Canvas /mx:ApplicationSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










[flexcoders] AutoTestFlash

2005-06-10 Thread tiago_simoes
Hi list,

I've just released AutoTestFlash that can be used to record and play
UI Tests for swf applications.

Take a look in:
http://www.geocities.com/tiago_simoes/flash/

Cheers,

Tiago




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] AutoTestFlash

2005-06-10 Thread Abdul Qabiz
It is not working for me on Windows XP SP2 with IE and Firefox.

It doesn't load swf on right side...

BTW! Sounds like a nice tool...

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tiago_simoes
Sent: Friday, June 10, 2005 5:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AutoTestFlash

Hi list,

I've just released AutoTestFlash that can be used to record and play
UI Tests for swf applications.

Take a look in:
http://www.geocities.com/tiago_simoes/flash/

Cheers,

Tiago




 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

2005-06-10 Thread Abdul Qabiz
Yeah, It is always a good idea to create unit tests for your CFC. As
Indy said, create a CFM page and call all CFC methods and check with
expected output...

This is a way to isolate your problems..

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Indy Nagpal
Sent: Friday, June 10, 2005 3:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

Yes...

I find that is always a good idea to have a cfm page that queries your
cfc exactly in the same manner as the remoteobject tag in your flex
app would. And use cfdump on your cfm page to examine what the cfc
returns. That way you know exactly what is being returned. And if you
are using structures and queries, be careful of the capitalization of
structure keys and query column names. Trust me, it saves a lot of
time.

Indy

On 6/10/05, dave buhler [EMAIL PROTECTED] wrote:
  Use all Uppers when you reference the remoting object.
  
  I assume you're returning a struct?
  
  If so:
  
  return tempstruct should work fine so long as you have
tempstruct.FIRSTNAME
 as the firstname variable name.
  
  If you are returning a query, you'll need to referece
result[0].FIRSTNAME,
 etc.
  
  
 
 
 On 6/9/05, Seth Voltz [EMAIL PROTECTED] wrote:
  
  Hey everyone,
  
  A while back someone posted an article on quirks when using Remoting
  (and the flash gateway) with Flex / Flash and FlashComm. I can't
find
  it anywhere (archive searches, google, etc.) Maybe I'm just not
hitting 
  the right terms.
  
  If anyone remembers it I'd most appreciate the link.
  
  If not, here's the problem I'm having which I think that ink will
solve
  (Off Topic):
  
  I have an FCS app which hits a CF7 server's flash gateway looking
for a 
  service. The services which return strings work just fine but
anything
  that returns something more complex doesn't seem to work. I try
  return.VAR, return.var, return.Var, etc. but it comes back 
  undefined.
  
  Thanks,
  Seth
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
 
  
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: FeatureReq: Drag and Drop from native app to Flex

2005-06-10 Thread Abdul Qabiz
Hi,

 This is something you were able to do with Screenweaver (I just
 noticed the product is discontinued),

There are other third party wrappers available. You can look at Zinc,
SWFStudio or build your own wrapper. But please read the Flex license
and EULA terms and conditions. I understand, you can not embed Flex app
in any standalone applications except Macromedia Central platform.

As far as OS clipboard transfer is concerned, you can set the text to OS
clipboard but can not read the OS clipboard because of security
concerns.


-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pmaegerman
Sent: Friday, June 10, 2005 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FeatureReq: Drag and Drop from native app to
Flex

This is something you were able to do with Screenweaver (I just
noticed the product is discontinued), so I guess MM could do it with
Central, I guess it's gonna be hard to have it working on all OS ;)

Pim

--- In flexcoders@yahoogroups.com, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Hi all,
 
 Will Maelstrom have any support data transfer interoperability??
 
 * drag and drop from/to native applications?
 * OS clipboard transfer?
 
 It would be just great.
 
 Of course you can't open a file with in a Flex/Flash application
 but, hey, we can upload!
 Central, on the other hand, could have more features.
 
 
 To add files to your email:
 * Drag them from your system to the attachments box
 * ...and that's it
 
 :)
 
 
 Best Regards,
 Aldo
 
 
 -- 
 : Aldo Bucchi :
 mobile (56) 8 429 8300





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Html page pop up

2005-06-10 Thread Abdul Qabiz





Hi Nithaya,

You can also addtarget attribute to anchor tag. Like 
this:



?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"

mx:Script
![CDATA[
 
var linkText:String = "a href='' target='_blank'click 
here to view details/a;
]]mx:Canvas id="top" width="100%" 
height="80%"mx:Label 
htmlText="{linkText}"/mx:Label/mx:Canvasmx:Canvas 
id="bottom" width="100%" height="20%"mx:VBox 
height="100%" width="100%"mx:Button label="Add to 
cart"//mx:VBox/mx:Canvas 
/mx:Application


This 
would open another browser window with html page. But what I understand is, you 
want to open html page within Flex application. I guess, that's kind of tricky, 
if you html page has simple html tags, it can be rendered in Flex TextArea 
component. But if your html page contains complex tags like Table, Div etc, then 
you need to look at Christophe's IFrame technique.

I 
already mentioned about Christophe's IFrame technique in response of your 
previous mail. Please look at it here:



http://coenraets.com/viewarticle.jsp?articleId=95


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of nithya 
karthikSent: Friday, June 10, 2005 3:55 PMTo: 
flexcodersSubject: [flexcoders] Html page pop up


hai,
 I have an application with a top canvas and a 
botton canvas. the top canvas has a button which on click must make a 
corresponding html page to be displayed on the top canvas only. the bottom 
canvas should remain the same. how to do this? when i give the following code 
the whole application is getting replaced by the html page. pls 
help..

?xml version="1.0" encoding="utf-8"?mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Canvas 
id="top" width="100%" height="80%"mx:Label 
htmlText="lt;a href="" quot; gt; 
click here to view details 
lt;agt;"/mx:Label/mx:Canvasmx:Canvas 
id="bottom" width="100%" height="20%"mx:VBox 
height="100%" width="100%"mx:Button label="Add to 
cart"//mx:VBox/mx:Canvas 
/mx:Application
Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










RE: [flexcoders]Drag and drop

2005-06-10 Thread Abdul Qabiz





Hi Nithya,

Please always post a code sample showing what are you 
doing. This kind of things are generally logical errors in your code. We can 
quickly answer or suggest the correction if we get to see the code 
snippet.
Somebody can still answer without looking at your code, but 
that answer mightnot fit to your requirement.

I hope you understand, this is for quick solution to your 
queries.

Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of nithya 
karthikSent: Friday, June 10, 2005 12:02 PMTo: 
flexcodersSubject: [flexcoders]Drag and drop

hai,
 I have a tile list from which i can drag and drop the 
item toa datagrid. now i also want to drag the item from the datagrid so 
that it gets removed from the grid. how should i do this? when i treid what 
happend was, i was able to remove the item but it was getting dropped to the 
tile list (ie, it was gettting added to the tile list) but i dont want it to 
happen that way. pls help
Send instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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










RE: [flexcoders] complex Remote Objects

2005-06-10 Thread Abdul Qabiz
Also when you desterilizing a object saved in Local SharedObject.

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Friday, June 10, 2005 12:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] complex Remote Objects

I believe this also necessary when passing typed objects between SWFs
using LocalConnection.

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Peter Farland
Sent: Thursday, June 09, 2005 6:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] complex Remote Objects


Yep - Matt's diagnosis is correct. Your OgoPhoneVO constructor might
look something like this to make sure it doesn't override the initial
states of the deserialized result objects:

public function OgoPhoneVO()
{
if (info === undefined)
{
info = ;
number = ;
telephoneId = null;
type = ;
}
}

This is necessary for any VO that is expected to be populated from
native Flash Player object deserialization, e.g. instances of registered
classes from RemoteObject that are encoded using AMF.

It's unfortunately that an example of this is not in the Flex 1.5
documentation - the topic will be improved in Flex 2.0.

Note: While it's taken me a while to come around on this issue, I
personally don't believe this functionality sucks... it is a
deliberately designed function of the Flash Player's native object
deserialization (be it from LSOs, AMF, RTMP). It allows you to get
access to the remote variables during object initialization (as you
can't send constructor arguments via AMF).





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Wednesday, June 08, 2005 9:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] complex Remote Objects


Hi Christophe,
 
I bet the bug is because you have the constructor doing initial value
assignment.  Joe Berkovitz posted a very detailed account of how Flex
will screw you up if you do this in your VOs because the constructor is
actually called AFTER all the variables have been assigned.  Pete then
gave an explanation as to why we do this, which I forget.  In any case,
it sucks.  So in your VO objects make sure that you don't assign default
values to the properties in your constructor (or if you must put checks
in the constructor to make sure the value hasn't already been defined).
 
HTH,
Matt
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Christoph Guse
Sent: Wednesday, June 08, 2005 10:36 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] complex Remote Objects
 
Hi Peter,

I still have the problem with my complex Remote Objects. Here is some
code and other stuff:





Yahoo! Groups Links

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


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

2005-06-10 Thread Battershall, Jeff
I like to maintain mixed case of returned variables from CFCs so that
they can directly map to how I have them named in AS/Flex.

The two techniques I've used (using CFMX 6.1) are naming struct keys
like mystruct[firstName] and the like.  With queries you can
accomplish the same thing by using column aliases (at least with SQL
Server) like,

SELECT
employeeID AS 'employeeID',
firstName AS 'firstName',
lastName AS 'lastName'
FROM Personnel

Will preserve case in returned objects. The my AS code can read

var firstName:String = result[0].firstName;

OR

var firstName:String = result.firstName;

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Friday, June 10, 2005 8:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex / Flash / FlashComm, Remoting and CF


Yeah, It is always a good idea to create unit tests for your CFC. As
Indy said, create a CFM page and call all CFC methods and check with
expected output...

This is a way to isolate your problems..

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Indy Nagpal
Sent: Friday, June 10, 2005 3:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

Yes...

I find that is always a good idea to have a cfm page that queries your
cfc exactly in the same manner as the remoteobject tag in your flex app
would. And use cfdump on your cfm page to examine what the cfc returns.
That way you know exactly what is being returned. And if you are using
structures and queries, be careful of the capitalization of structure
keys and query column names. Trust me, it saves a lot of time.

Indy

On 6/10/05, dave buhler [EMAIL PROTECTED] wrote:
  Use all Uppers when you reference the remoting object.
  
  I assume you're returning a struct?
  
  If so:
  
  return tempstruct should work fine so long as you have
tempstruct.FIRSTNAME
 as the firstname variable name.
  
  If you are returning a query, you'll need to referece
result[0].FIRSTNAME,
 etc.
  
  
 
 
 On 6/9/05, Seth Voltz [EMAIL PROTECTED] wrote:
  
  Hey everyone,
  
  A while back someone posted an article on quirks when using Remoting

  (and the flash gateway) with Flex / Flash and FlashComm. I can't
find
  it anywhere (archive searches, google, etc.) Maybe I'm just not
hitting 
  the right terms.
  
  If anyone remembers it I'd most appreciate the link.
  
  If not, here's the problem I'm having which I think that ink will
solve
  (Off Topic):
  
  I have an FCS app which hits a CF7 server's flash gateway looking
for a 
  service. The services which return strings work just fine but
anything
  that returns something more complex doesn't seem to work. I try 
  return.VAR, return.var, return.Var, etc. but it comes back 
  undefined.
  
  Thanks,
  Seth
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
 
  
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to: 
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to: 
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Can you attach a wav file to a flex application

2005-06-10 Thread Abdul Qabiz





Hi,

Flash Player can only 
load and play only MP3 file(sound format)on runtime. Flash Player can also 
load other formats FLV, JPEG, SWF files.

Why don't you convert 
your WAV file to MP3 and then use Sound object to load  play in Flex. But 
this approach would load(or stream) sound and might take some 
time...

To play sound on a event 
like mouseOver or click, you can embed sound in the application itself. You will 
be assured that sound would playas soon as user interacts.

Following code 
straight from docs, is a way to embed sound in your application:

mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
   mx:Script
  ![CDATA[
 //Create global variable.
 var snd:Sound;

 //Use Embed metadata keyword to point to resource.
 [Embed(yoursound.mp3')]
 //Declare global variable for the symbol.
 var soundSymbol:String;

 function startSound() {
//Declare instance of Sound.
snd = new Sound;
//Attach sound symbol.
snd.attachSound(soundSymbol);
snd.start();
 }

 function stopSound() {
snd.stop();
 }

  ]]
   /mx:Script

   mx:VBox
  mx:Button label="Start" id="b1" mouseOver="startSound();" mouseOut="stopSound()"/
   /mx:VBox
/mx:Application

-abdul



From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Friday, June 10, 2005 12:30 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Can 
you attach a wav file to a flex application
How do you set it so that a wav file is played when you move the 
mouse over a button? 







Yahoo! Groups Links

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










[flexcoders] render Pdf document in a flex app

2005-06-10 Thread Valy Sivec
Hello flexcoders,

How can I render a pdf document in a Flex container
(panel)?  I have some library of pdf documents that I
would like to display them within the app, no pop-ups
or things like that... I'd like to be able include the
pdfs at runtime...

Thanks,
Valy




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: Question for the RIA Book Guys (or anyone with a Java back end for that matt

2005-06-10 Thread Libby
This is exactly what I am after. In Java I am returning 1 if
successful and throwing an exception if not successful; In flex it
always comes back to onResult, even when it is the exception... I want
to catch the exception in my onFault.

--- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote:
 How are you handling the faults in your Java backend? If we have a
 fault we would generally throw an exception, and the string that goes
 with the exception appears back in the RemoteObject event as
 event.fault.description
 
 Is that what you're after?
 
 Andrew
 www.flexdaddy.com
 
 
 --- In flexcoders@yahoogroups.com, Kent Henneuse [EMAIL PROTECTED]
wrote:
  The only thing I can think of off hand is that you for got to put a
 fault=
  in your mx:RemoteObject  or you might have put it in as onFault
  
  I put this in my onFault so that I can at least see what the error
 is on the
  client side while debugging:
  
 public function onFault( event : Object ) : Void
 {
mx.controls.Alert.show(event.fault.faultstring, 'Error');
 }
  
  I also took a quick look at the book and I see that on Pages 463
and 464
  they are missing the fault piece.  Depending on how you are coding
 it would
  look like this:
 fault=event.call.faultHandler( event )
  or this
 fault=event.call.faultHandler( event.result )
  
  
  -Kent
  
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Libby
  Sent: Thursday, June 09, 2005 1:08 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Question for the RIA Book Guys (or anyone
 with a
  Java back end for that matt
  
  I am very sorry, I got your name wrong. It is not Stephen,
  but Steven! I hate it when people misspell my name : (
  
  --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:
   Hi, Stephen, et al
   
   I have implemented your business delegate scenario as outlined
in the
   book in chapter 20. It works very well, except for when java
throws an
   exception, the onFault never catches it. In network Monitor, I
can see
   that an onStatus, probably System.onStatus, is invoked. I coded my
   delegate classe exactly as you have on page 479, and the onResult
   works fine. Can you give me any pointers to make the onFault catch
   the exception so I can handle it?
   
   Thanks,
   Libby
  
  
  
  
  
   
  Yahoo! Groups Links




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] clearing the Flex Cache

2005-06-10 Thread Abdul Qabiz
What about writing a server-side script, that returns image to Flex app.

mx:Image source=getImage.php?file=logo.jpg /

getImage.php sets the HTTP headers like:

Php code:


?php

// set expiry date to a past date
header(Expires: Tue, 26 Jul 1970 13:00:00 GMT);

// force always modified
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
 
// HTTP/1.1, for proxies
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);

// HTTP/1.0, 
header(Pragma: no-cache);

// set content type of JPEG
header('Content-type: image/jpeg');

// read the orignal jpeg
readfile($_REQUEST[file]);
? 


Yet another way of doing things :)

-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, June 09, 2005 11:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] clearing the Flex Cache

On 6/9/05, dave buhler [EMAIL PROTECTED] wrote:

 If you load images and such from Flex, then the web browser caches
  those.  Unfortunately it can be hard to refresh these sometimes
(based
  on what I've heard here).  One trick I know is to append a random
  string to the end of the image URL.  Do this in ActionScript.  See
  this example:
 http://www.shockwave-india.com/blog/actionscript/?asfile=skipCache.as

Another trick is to put all your images on a single HTML page.  When
you change an image, visit that page and do a hard refresh (Ctrl +
R?), which'll download the new images.  Then go back to your Flex app
in the same browser window and you're set.

That was of course for development mode, and if you're not changing
the images too often.


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Abdul Qabiz
Hi,

Flash Player can not load PDF files. However, you can do basic rendering
of PostScript files by writing ActionScript.

I will suggest you to convert PDF to SWF on server using any available
libarary and then loading SWF into Flex.

Why not convert all PDF to Flash using Macromedia Flash Paper and then
load SWF, it would be faster also.

-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 6:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf document in a flex app

Hello flexcoders,

How can I render a pdf document in a Flex container
(panel)?  I have some library of pdf documents that I
would like to display them within the app, no pop-ups
or things like that... I'd like to be able include the
pdfs at runtime...

Thanks,
Valy




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Doubt about DataGrid and XML

2005-06-10 Thread flex scripter



Hey TRacy 

Thanks for your help. It was really usefull . 

Regards 
Fx
On 6/9/05, Tracy Spratt [EMAIL PROTECTED] wrote:



http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaultfields=defaultValues=#Question373
Tracy





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of flex scripterSent: Thursday, June 09, 2005 3:26 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Doubt about DataGrid and XML



My code looks like this :?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.macromedia.com/2003/mxml mx:Model id=temp source=xml_src.xml/mx:Modelmx:DataGrid id=dg dataProvider={temp.employee}/
/mx:Applicationand in my XML file if I have employees employee name =Christina Coenraets phone =555-219-2270 email=
[EMAIL PROTECTED] active=true/ employee name =Louis Freligh phone=555-219-2100 email=
[EMAIL PROTECTED] active=true//employeesThe data grid is populated. But if I have just employees employee name =Christina Coenraets phone =555-219-2270 email=
[EMAIL PROTECTED]  active=true//employeesMy data grid isnt getting populated. 
What am I missing here ?? Thanks for your time and advice Regards Fx. 


Yahoo! Groups Links

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









Yahoo! Groups Links

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










[flexcoders] TileList Databinding -- showing undefined

2005-06-10 Thread Jeremy Bruck
Everyone,

This one has unfortunately has had me beating my head against a wall.  I
have a TileList that I am trying to pass an array of objects (gotten
from remote AMF call to CFMX CFC) to the cellRenderer and am having
problems seeing the object in the cellRenderer.  The problem is my
Object in the cellRenderer is just showing everything as undefined.

I originally had this as a repeater and it worked great, but now I need
it as 2 columns of data and thus the TileList is a good solution.

Here is the code:
mx:TileList id=groupList cellRenderer=selectableGroupList
dataProvider={myGroups} width=100% 
height={distributionTab.height*.20} backgroundColor=#FF
itemWidth=350 itemHeight=20 borderStyle=none columnCount=2/

CellRenderer Code (selectableGroupList):
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; width=100%
height=100%
mx:Script
![CDATA[
var singleGroup:Object;
]]
/mx:Script

mx:CheckBox id=groupID label={singleGroup.groupname} /
/mx:VBox

Here is a sampling of the Array of Objects that is the variable:  myGroups
  [0] (object #3)
  b_fname: Jeremy
  b_lname: Bruck
  g_buyercid: 18946
  groupname: Bearing Cage Coders
  grouptype: I
  nameid: 30048
  suppliercount: 4
  [1] (object #4)
  b_fname: Jeremy
  b_lname: Bruck
  g_buyercid: 18946
  groupname: Group Test
  grouptype: I
  nameid: 30034
  suppliercount: 5


Thanks,
Jeremy




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Rick Bullotta










Perhaps host the whole thing in a JSP
page and an IFrame (which will dynamically point to your PDF file) and use
_javascript_ to bind the two together









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 9:04
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf
document in a flex app





Hello flexcoders,

How can I
render a pdf document in a Flex container
(panel)?
I have some library of pdf documents that I
would like
to display them within the app, no pop-ups
or things
like that... I'd like to be able include the
pdfs at
runtime...

Thanks,
Valy















Yahoo! Groups Links

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












RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Jose Lora










Not ideal, but you could also convert them
to FlashPaper and load them directly into your app.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta
Sent: Friday, June 10, 2005 8:32
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Perhaps host the whole thing in a JSP
page and an IFrame (which will dynamically point to your PDF file) and use
_javascript_ to bind the two together









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 9:04
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf
document in a flex app





Hello flexcoders,

How can I
render a pdf document in a Flex container
(panel)?
I have some library of pdf documents that I
would like
to display them within the app, no pop-ups
or things
like that... I'd like to be able include the
pdfs at
runtime...

Thanks,
Valy














Yahoo! Groups Links

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












[flexcoders] Re: render Pdf document in a flex app

2005-06-10 Thread heybluez
Or you can just fake it with this:

http://coenraets.com/viewarticle.jsp?articleId=95

--- In flexcoders@yahoogroups.com, Jose Lora [EMAIL PROTECTED] wrote:
 Not ideal, but you could also convert them to FlashPaper and load them
 directly into your app.
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick Bullotta
 Sent: Friday, June 10, 2005 8:32 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] render Pdf document in a flex app
 
  
 
 Perhaps host the whole thing in a JSP page and an IFrame (which will
 dynamically point to your PDF file) and use JavaScript to bind the two
 together...
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Valy Sivec
 Sent: Friday, June 10, 2005 9:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] render Pdf document in a flex app
 
  
 
 Hello flexcoders,
 
 How can I render a pdf document in a Flex container
 (panel)?  I have some library of pdf documents that I
 would like to display them within the app, no pop-ups
 or things like that... I'd like to be able include the
 pdfs at runtime...
 
 Thanks,
 Valy
 
 
 
  
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ .




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Robert Brueckmann









I use the free utility swftoolsgoogle
ittheyre a free set of libraries that convert a whole slew of
standard file formats into a Flash document rather nicelywe have a
reporting utility that generates PDFs on the fly, which we in turn use this
utility to convert it into a SWF on the fly which we then load into our Flex app
into a Loader component embedded in a Panel component and we provide a link in
the title bar of the Panel for the PDF so the user can print it out or just
save it if they want to, to their personal computer. Works out well for us.



Rob





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jose Lora
Sent: Friday, June 10, 2005 9:38
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Not ideal, but you could also convert them
to FlashPaper and load them directly into your app.











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Bullotta
Sent: Friday, June 10, 2005 8:32
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Perhaps host the whole thing in a JSP
page and an IFrame (which will dynamically point to your PDF file) and use
_javascript_ to bind the two together









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 9:04
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf
document in a flex app





Hello flexcoders,

How can I
render a pdf document in a Flex container
(panel)?
I have some library of pdf documents that I
would like
to display them within the app, no pop-ups
or things
like that... I'd like to be able include the
pdfs at
runtime...

Thanks,
Valy










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

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










[flexcoders] broken image????

2005-06-10 Thread rockmoyosa
Is there a way to shorten the time to show the broken image?
Is just to dmn long.

Anybody?





 
Yahoo! Groups Links

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

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

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




[flexcoders] https

2005-06-10 Thread Steve Pruitt





All,

I am trying to get 
my Flex app working under https. I running with Tomcat using a self-signed 
certificate. I modified flex-config and opened up the http service 
whitelist to accept any https url. To kick it off and find the first point 
of failure, I just changed my url to 
https://localhost:8443/myApp/main.jsp. The jsp 
loads my swf file.

After a security 
popup warning, IE is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.html. 
This file or its directory does not exist. Can someone explain what Flex 
is doing?'


-S







Yahoo! Groups Links

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










RE: [flexcoders] https

2005-06-10 Thread Battershall, Jeff
Title: Message





Steve,

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


Jeff

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Steve PruittSent: Friday, June 10, 2005 11:48 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  https
  All,
  
  I am trying to get 
  my Flex app working under https. I running with Tomcat using a 
  self-signed certificate. I modified flex-config and opened up the http 
  service whitelist to accept any https url. To kick it off and find the 
  first point of failure, I just changed my url to 
  https://localhost:8443/myApp/main.jsp. The jsp 
  loads my swf file.
  
  After a security 
  popup warning, IE is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.html. 
  This file or its directory does not exist. Can someone explain what Flex 
  is doing?'
  
  
  -S







Yahoo! Groups Links

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










RE: [flexcoders] AutoTestFlash

2005-06-10 Thread Matt Chotin










It did work for me, pretty nice. Did you have
to modify components to make it work or are you just listening to their major
events?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul
 Qabiz
Sent: Friday, June 10, 2005 5:19
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
AutoTestFlash





It is not working for me on Windows XP SP2 with IE and Firefox.

It doesn't load swf on right side...

BTW! Sounds like a nice tool...

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of tiago_simoes
Sent: Friday, June 10, 2005 5:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AutoTestFlash

Hi list,

I've just released AutoTestFlash that can be used
to record and play
UI Tests for swf applications.

Take a look in:
http://www.geocities.com/tiago_simoes/flash/

Cheers,

Tiago





Yahoo! Groups Links



















Yahoo! Groups Links

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












RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Tracy Spratt










Yeah, good idea. After all, if you can
use Christophs technique to pseudo-embed a browser, all is possible!.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta
Sent: Friday, June 10, 2005 9:32
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] render
Pdf document in a flex app





Perhaps host the whole thing in a JSP
page and an IFrame (which will dynamically point to your PDF file) and use
_javascript_ to bind the two together









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Friday, June 10, 2005 9:04
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] render Pdf
document in a flex app





Hello flexcoders,

How can I
render a pdf document in a Flex container
(panel)?
I have some library of pdf documents that I
would like to
display them within the app, no pop-ups
or things
like that... I'd like to be able include the
pdfs at
runtime...

Thanks,
Valy














Yahoo! Groups Links

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












[flexcoders] popup in subdirectory ?

2005-06-10 Thread jamiebadman
Hi,

I think this is probably a very basic question - but I'm really 
having trouble figuring this out - wonder if someone here can 
explain...

Basically I've just restructured my project; it started off as 
a 'demo' and now it's outgrowing that and I needed to structure it a 
little better so...

I now have it broken down in to a logical directory structure...

And it all works except the popups!

In this specific case, the popup screen is in a directory 
called... 'popups' under the directory in which the current .mxml 
resides.

The AS script *was*:

var popupScreen:TitleWindow = 
  TitleWindow( PopUpManager.createPopUp( this,
 ManageCreditItems,
 true,
 {title: 'Credit Note 
Items', closeButton: false, parentComponent: this.itemData},
 false) );


The 'ManageCreditItems.mxml' *used* to be at the same directory 
level as this calling code - and it all worked fine.

Now it's in './popup/ManageCreditItems.mxml' and it won't work 
anymore!

How do I qualify the reference to the popup in order for it to work ?

Thanks,

Jamie.





 
Yahoo! Groups Links

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

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

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




[flexcoders] TileList Databinding -- showing undefined

2005-06-10 Thread jeremybruck
Everyone,

This one has unfortunately has had me beating my head against a wall
and I am sure it is something little.  I have a TileList that I am
trying to pass an array of objects (gotten from remote AMF call to
CFMX CFC) to the cellRenderer and am having problems seeing the object
in the cellRenderer.  The problem is my Object in the cellRenderer is
just showing everything as undefined.

I originally had this as a repeater and it worked great, but now I
need it as 2 columns of data and thus the TileList is a good solution.

Here is the code:
mx:TileList id=groupList cellRenderer=selectableGroupList
dataProvider={myGroups} width=100%
height={distributionTab.height*.20} itemWidth=350 itemHeight=20
columnCount=2/

CellRenderer Code:
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; width=100%
height=100%
  mx:Script
  ![CDATA[
  var singleGroup:Object;
  ]]
  /mx:Script
 
  mx:CheckBox id=groupID label={singleGroup.groupname} /
/mx:VBox

Here is a sampling of the Array of Objects that is the variable: 
myGroups
[0] (object #3)
b_fname: Jeremy
b_lname: Bruck
g_buyercid: 18946
groupname: Bearing Cage Coders
grouptype: I
nameid: 30048
suppliercount: 4
[1] (object #4)
b_fname: Jeremy
b_lname: Bruck
g_buyercid: 18946
groupname: Group Test
grouptype: I
nameid: 30034
suppliercount: 5


Thanks,
Jeremy




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: https

2005-06-10 Thread Brian Deitte





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


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

Itried both entries 
and I still remain stuck trying to load

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


-S


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







Yahoo! Groups Links

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










[flexcoders] Re: Colorpicker issues - loading initial values

2005-06-10 Thread nextadvantage
--- In flexcoders@yahoogroups.com, nextadvantage [EMAIL PROTECTED] wrote:
 We are using the colorpicker in an accordion and we can't get the
 default values to load initially, also we can't get manually typed
 values to pass to db only clicked colors. Right now we have a button
 initialize the swatches and we have not been able to get them to
 initialize on load...
 
 Any ideas???

Any help we spent hours yesterday trying to resolve this issue...





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] popup in subdirectory ?

2005-06-10 Thread Mike Anderson
Hi Jamie!

(long time no talk, it's me Mike - the ex-Firefly user, off Flashcoders)

In your main application tags, I think you need to add another namespace
entry - like xmlns:mx=http://www.macromedia.com/2003/mxml; - you need
another one, to reference the popup directory xmlns:xx=popup.*

Where xx is the prefix YOU choose to use, versus mx that Macromedia
references, to access all their built-in classes, etc.

I am sure I will be corrected on this - but I am confident this is the
overall path you must take, in order to reference files, that don't
reside in the native directory.

Mike

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jamiebadman
Sent: Friday, June 10, 2005 11:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] popup in subdirectory ?

Hi,

I think this is probably a very basic question - but I'm really having
trouble figuring this out - wonder if someone here can explain...

Basically I've just restructured my project; it started off as a 'demo'
and now it's outgrowing that and I needed to structure it a little
better so...

I now have it broken down in to a logical directory structure...

And it all works except the popups!

In this specific case, the popup screen is in a directory called...
'popups' under the directory in which the current .mxml resides.

The AS script *was*:

var popupScreen:TitleWindow =
  TitleWindow( PopUpManager.createPopUp( this,
 ManageCreditItems,
 true,
 {title: 'Credit Note Items',
closeButton: false, parentComponent: this.itemData},
 false) );


The 'ManageCreditItems.mxml' *used* to be at the same directory level as
this calling code - and it all worked fine.

Now it's in './popup/ManageCreditItems.mxml' and it won't work anymore!

How do I qualify the reference to the popup in order for it to work ?

Thanks,

Jamie.





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] question about popup manager

2005-06-10 Thread Manish Jethani
On 6/10/05, Robert Brueckmann [EMAIL PROTECTED] wrote:

 Is there a way to set the depth of my menu so it is ALWAYS on top
 (DepthManager.setDepthTo(kTopmost)) for my menu VBox component?

YES!  It is POSSIBLE! :)

See this sample code.  It works.  The menu is always above the Alert box.

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=* creationComplete=showWindow()
  mx:Script
import mx.controls.Alert;
 
private var window:Alert;

public function raiseMenus():Void
{
  menuBar.getMenuAt(0).setDepthAbove(window);
}

public function showWindow():Void
{
  window = Alert.show(Move me close to the menu bar above, then
open the menu and see that it's higher than me., Window,
Alert.NONMODAL);
}
  /mx:Script
  mx:MenuBar id=menuBar menuShow=raiseMenus()
mx:dataProvider
  mx:XML
menuitem label=Click Here
  menuitem label=SubMenuItem 1-A /
  menuitem label=SubMenuItem 2-A /
/menuitem
  /mx:XML
/mx:dataProvider
  /mx:MenuBar
/mx:Application


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] popup in subdirectory ?

2005-06-10 Thread Manish Jethani
On 6/10/05, jamiebadman [EMAIL PROTECTED] wrote:

 The 'ManageCreditItems.mxml' *used* to be at the same directory
 level as this calling code - and it all worked fine.
 
 Now it's in './popup/ManageCreditItems.mxml' and it won't work
 anymore!

Add this line at the top of your script.

 import popup.ManageCreditItems;

You could also fully qualify the name when passing it to the
PopUpManager as 'popup.ManageCreditItems'.  Hope that helps.


 
Yahoo! Groups Links

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

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

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





[flexcoders] DataProvider ?

2005-06-10 Thread Doodi, Hari - BLS CTR
Hi All,
Is it possible to send a DataProvider, created dynamically in action
script, back to server? This is what I am trying to accomplish
In my mxml file I make a RO call to java class and java class returned an
array of VOs. I stored them in an action script variable called price_do.
Then I created a DataProvider object using
createClassObject(DataProvider,myDP,1); and then assigned price_do to
myDP.dataprovider. I am doing this because user want to see the retrieved
info in a free form format not a grid format. Once user click save button on
the screen I am getting values from individual textinputs and update the
myDP object using myDP.editField( ) method and invoke a remote method to
send this dataProvider object back to my java class. 

I am having problems in the last step- sending dataprovider to java class. I
have system print outs in my java class and none got executed. It looks like
object passed back to java class is not recognized as array of VOs. Please
some one help me out. I am attaching my mxml and java class for your
reference. Thanks in advance..


 schedPrice.mxml  save.txt 
Thanks!
Hari



 
Yahoo! Groups Links

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

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

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


schedPrice.mxml
Description: Binary data
public static String saveSchedPrice(SchedPriceVO[] schedPriceVOArray) throws 
SQLException
  {
Connection conn = null;
PreparedStatement stmt = null;

int itemsid;
String irm;
String price;
SchedPriceVO schedPriceVO;
System.out.println(from DAO Save  );
try
{
  conn = ConnectionPool.getConnection();
  System.out.println(DAO Save  array length +schedPriceVOArray.length);
  System.out.println(array is  : +schedPriceVOArray);
  System.out.println(array string is  : +schedPriceVOArray.toString());
  System.out.println(array class is  : +schedPriceVOArray.getClass());

  for(int x=0;xschedPriceVOArray.length;x++)
  {
schedPriceVO = new SchedPriceVO();
schedPriceVO = schedPriceVOArray[x];
System.out.println(x : +x);
//itemsid = schedPriceVO.getItemSid();
irm = schedPriceVO.getIrmonth();
System.out.println( 1 );
price   = schedPriceVO.getPrice();
System.out.println( 2 );
itemsid  = 1168960;
System.out.println(price : +price+  irm  : +irm);

StringBuffer strBuffer = new StringBuffer(update work_item_price );
strBuffer.append(set REPORTED_PRICE1 = +price+ );
strBuffer.append(where ITEM_SID = +itemsid+ );
strBuffer.append(and IRM = '+irm+');
String sqlString = strBuffer.toString();

System.out.println(sqlString : +sqlString);
stmt = conn.prepareStatement(sqlString);
stmt.executeQuery();
System.out.println(update is successful +x);
  }
  return Update Succesful;
}
catch(SQLException ex)
{
  ex.printStackTrace();
  throw new SQLException(ex.getMessage());
}
finally
{
  try
  {
if (stmt != null)
{
  stmt.close();
}
if (conn != null)
{
  conn.close();
}
  }
  catch (Exception ex)
  {
// non-fatal; only closing if pooled.
// don't overthrow original exception
System.out.println(from SchedAdjDAO Closing exception : 
+ex.getMessage());
  }
}

  }

Re: [flexcoders] Re: Colorpicker issues - loading initial values

2005-06-10 Thread Manish Jethani
On 6/10/05, nextadvantage [EMAIL PROTECTED] wrote:
 --- In flexcoders@yahoogroups.com, nextadvantage [EMAIL PROTECTED] wrote:
  We are using the colorpicker in an accordion and we can't get the
  default values to load initially, also we can't get manually typed
  values to pass to db only clicked colors. Right now we have a button
  initialize the swatches and we have not been able to get them to
  initialize on load...
 
  Any ideas???
 
 Any help we spent hours yesterday trying to resolve this issue...

Can you show jus an example of your code not working?  Then we can try
to find the problem and fix it?


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] popup in subdirectory ?

2005-06-10 Thread Tarik Ahmed







This is a name space problem. In your mx:Application if you do
a xmlns="popups.*" that should do it I think.

http://livedocs.macromedia.com/flex/1/flex_builder_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Using_Flex_Builderfile=brady405.htm

Though if you do a xmlns:popups="popups.*"

can you do this:

PopUpManager.createPopUp(this,popups:ManageCreditItems,true,)

? Or popups.ManageCreditItems?

jamiebadman wrote:

  Hi,

I think this is probably a very basic question - but I'm really 
having trouble figuring this out - wonder if someone here can 
explain...

Basically I've just restructured my project; it started off as 
a 'demo' and now it's outgrowing that and I needed to structure it a 
little better so...

I now have it broken down in to a logical directory structure...

And it all works except the popups!

In this specific case, the popup screen is in a directory 
called... 'popups' under the directory in which the current .mxml 
resides.

The AS script *was*:

var popupScreen:TitleWindow = 
  TitleWindow( PopUpManager.createPopUp( this,
 ManageCreditItems,
 true,
 {title: 'Credit Note 
Items', closeButton: false, parentComponent: this.itemData},
 false) );


The 'ManageCreditItems.mxml' *used* to be at the same directory 
level as this calling code - and it all worked fine.

Now it's in './popup/ManageCreditItems.mxml' and it won't work 
anymore!

How do I qualify the reference to the popup in order for it to work ?

Thanks,

Jamie.





 
Yahoo! Groups Links

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

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

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



  










Yahoo! Groups Links

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











RE: [flexcoders] broken image????

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

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


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

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

Anybody?





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] popup in subdirectory ?

2005-06-10 Thread Mike Anderson
Oh yes *import* works great too - as us Flash users, are probably more
accustomed to doing it this way.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Friday, June 10, 2005 1:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] popup in subdirectory ?

On 6/10/05, jamiebadman [EMAIL PROTECTED] wrote:

 The 'ManageCreditItems.mxml' *used* to be at the same directory level 
 as this calling code - and it all worked fine.
 
 Now it's in './popup/ManageCreditItems.mxml' and it won't work 
 anymore!

Add this line at the top of your script.

 import popup.ManageCreditItems;

You could also fully qualify the name when passing it to the
PopUpManager as 'popup.ManageCreditItems'.  Hope that helps.


 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] clearing the Flex Cache

2005-06-10 Thread Manish Jethani
On 6/10/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
 What about writing a server-side script, that returns image to Flex app.
 
 mx:Image source=getImage.php?file=logo.jpg /
 
 getImage.php sets the HTTP headers like:
 
 Php code:
 
[snip]

I believe this should be possible without writing a script.  You
should be able to configure your web server to set those header for
certain file types.

I guess this is the setting for Apache:
http://forums.digitalpoint.com/showpost.php?p=8974postcount=6


 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Service Call Timeouts in Cairngorm

2005-06-10 Thread charged2885
Steven,

With the help of Macromedia Consulting Group's FAST product, I've almost
completed my implementation. Here is what I have so far...

I created MyServiceLocator which extends ServiceLocator. In
MyServiceLocator, I override getService and inject an invoke method on
the service object like so:

public function getService(serviceId:String):Object
{
var service:Object = super.getService(serviceId);
service.invoke = function(methodName, methodParameters) {
var call = service[methodName].apply(null, 
arguments.slice(1));
var callback =  function(call) {
call.timedOut = true;
var event = Object();
event.call = call;
event.type = fault;
event.fault = {faultcode:Server.TimeOut, 
faultstring:The request timed out.};
call.faultHandler(event);
};
call.timer = setInterval(callback, 5000, call);
return call;
}; 
return service;
}

Now, in getService's injected invoke method, I create a callback
function which is called when the request times out. In this function, I
set the timedOut property and invoke the call's faultHandler() method
with my Server.TimeOut fault.

I also created a ServiceCommand class that implements the Command and
Responder interfaces. This is needed so I can call clearInterval() on
the timer in execute, onResult and onFault. onResult has some logic
which checks for event.call.timedOut incase a result is returned after a
time out. Now all a command needs to do to repond to a time out is look
for Server.TimeOut in event.fault.faultcode.

With all that said, this implementation forces the developer to change
the way he or she invokes the remote service. Instead of
service.method(arg1[, arg2] ...), they need service.invoke(method,
arg1[, arg2] ...); What do you think about this limitation?

-- 
Todd Boland
Charged Software

--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote:
 Hi Todd,
 
 Glad to see you're taking a stab at this; John Bennett of Macromedia
 Consulting implements a neat solution for handling timeouts in the
 Macromedia Consulting framework that was announced recently on
 www.macromedia.com/devnet/flex/
 
 Personally, I think the handling of timeouts/retries etc, would best be
 abstracted in the ServiceLocator; you would define on a service the policy
 for timeout and retry, the business delegate would blindly invoke methods on
 services, and the service locator would handle retries and timeouts on
 behalf of the business delegate.  If the service failed catastrophically (ie
 max retries/etc) then a fault could be passed back to the delegate (and the
 commands if needs be).
 
 The reason we didn't implement this ourselves in Cairngorm, was simply to
 keep the framework simple for most people; but if you implement this scheme
 in the ServiceLocator, I'd be keen for you to share your implementation with
 us ?
 
 I'd recommend pushing this functionality down into the ServiceLocator rather
 than up into the Command ... Thoughts ?
 
 Glad to see you thinking on this,
 
 Best,
 
 Steven 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of charged2885
 Sent: 08 June 2005 18:04
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Service Call Timeouts in Cairngorm
 
 I'm seeking opinions on implementing service timeouts into a caingorm-based
 application. 
 here's what i'm thinking:
 
 I will create a new interface called Timeout which defines a single method:
 onTimeout. The Commands which implement the Responder interface must also
 implement the Timeout interface. When the command is executed, i will set a
 timer (in the execute method) which will be unset once the onResult or
 onFault methods of the responder interface are called. if it is not unset in
 say 5 seconds, an EVENT_TIMEOUT Event will be dispatched with the original
 Event in the Event's data property.
 
 how have others implemented this? if so, how does it compare?
 
 i'm new to flex and actionscript so i'd love to hear some feedback.
 
 todd
 
 
 
 
  
 Yahoo! Groups Links




 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Html page pop up

2005-06-10 Thread Manish Jethani
On 6/10/05, nithya karthik [EMAIL PROTECTED] wrote:

  I have an application with a top canvas and a botton canvas. the top
 canvas has a button which on click must make a corresponding html page to be
 displayed on the top canvas only. the bottom canvas should remain the same.
 how to do this? when i give the following code the whole application is
 getting replaced  by the html page. pls help.. 

It's not possible to load HTML in a Canvas.  You should try using
Christophe's IFrame component to load an HTML page inline.

http://coenraets.com/viewarticle.jsp?articleId=95


 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Html page pop up

2005-06-10 Thread Matthew Shirey



Okay, I just looked at that IFrame example... that's pretty damn slick!

M.On 6/10/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 6/10/05, nithya karthik [EMAIL PROTECTED] wrote:I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be
 displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replacedby the html page. pls help..
It's not possible to load HTML in a Canvas.You should try usingChristophe's IFrame component to load an HTML page inline.http://coenraets.com/viewarticle.jsp?articleId=95
Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

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










RE: [flexcoders] render Pdf document in a flex app

2005-06-10 Thread Valy Sivec
Hello,

I used Christoph's technique and works like a charm..
I'll try to find the utility Robert mention to be able
load the pdf as well.

THANK YOU ALL!!! This comunuty is GREAT!.

Valy

--- Tracy Spratt [EMAIL PROTECTED] wrote:

 Yeah, good idea.  After all, if you can use
 Christoph's technique to
 pseudo-embed a browser, all is possible!.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick Bullotta
 Sent: Friday, June 10, 2005 9:32 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] render Pdf document in a
 flex app
 
  
 
 Perhaps host the whole thing in a JSP page and an
 IFrame (which will
 dynamically point to your PDF file) and use
 JavaScript to bind the two
 together...
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Valy Sivec
 Sent: Friday, June 10, 2005 9:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] render Pdf document in a flex
 app
 
  
 
 Hello flexcoders,
 
 How can I render a pdf document in a Flex container
 (panel)?  I have some library of pdf documents that
 I
 would like to display them within the app, no
 pop-ups
 or things like that... I'd like to be able include
 the
 pdfs at runtime...
 
 Thanks,
 Valy
 
 
 
  
 
 
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
 
 
 * Your use of Yahoo! Groups is subject to the Yahoo!
 Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] https

2005-06-10 Thread Carson Hager
Title: Message





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


Carson

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



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

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


-S


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

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


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



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





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

Steve,



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




Jeff

  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve PruittSent: Friday, June 10, 2005 11:48 
  AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  https
  
  All,
  
  
  
  I am trying to get my Flex app 
  working under https. I running with Tomcat using a self-signed 
  certificate. I modified flex-config and opened up the http service 
  whitelist to accept any https url. To kick it off and find the first 
  point of failure, I just changed my url to 
  
  https://localhost:8443/myApp/main.jsp. 
  The jsp loads my swf file.
  
  
  
  After a security popup warning, IE 
  is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.html. 
  This file or its directory does not exist. Can someone explain what Flex 
  is doing?'
  
  
  
  
  
  -S







Yahoo! Groups Links

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










RE: [flexcoders] https

2005-06-10 Thread Steve Pruitt
Title: Message





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


-S


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

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


Carson

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



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

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


-S


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

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


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



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





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

Steve,



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




Jeff

  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve PruittSent: Friday, June 10, 2005 11:48 
  AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  https
  
  All,
  
  
  
  I am trying to get my Flex app 
  working under https. I running with Tomcat using a self-signed 
  certificate. I modified flex-config and opened up the http service 
  whitelist to accept any https url. To kick it off and find the first 
  point of failure, I just changed my url to 
  
  https://localhost:8443/myApp/main.jsp. 
  The jsp loads my swf file.
  
  
  
  After a security popup warning, IE 
  is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.html. 
  This file or its directory does not exist. Can someone explain what Flex 
  is doing?'
  
  
  
  
  
  -S







Yahoo! Groups Links

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










RE: [flexcoders] https

2005-06-10 Thread Carson Hager
Title: Message





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

Dave - Do you see anything missing 
here?


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



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

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


-S


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

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


Carson

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



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

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


-S


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

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


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



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





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

Steve,



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




Jeff

  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve PruittSent: Friday, June 10, 2005 11:48 
  AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  https
  
  All,
  
  
  
  I am trying to get my Flex app 
  working under https. I running with Tomcat using a self-signed 
  certificate. I modified flex-config and opened up the http service 
  whitelist to accept any https url. To kick it off and find the first 
  point of failure, I just changed my url to 
  
  https://localhost:8443/myApp/main.jsp. 
  The jsp loads my swf file.
  
  
  
  After a security popup warning, IE 
  is hung trying to load https://localhost:8443/anywhere/flex-internal/secure/history/history.html. 
  This file or its directory does not exist. Can someone explain what Flex 
  is doing?'
  
  
  
  
  
  -S







Yahoo! Groups Links

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










RE: [flexcoders] Re: Service Call Timeouts in Cairngorm

2005-06-10 Thread Steven Webster
Hi Todd,

Good to see your thinking on this .. thanks for sharing.

 With all that said, this implementation forces the developer to change the
way he or she  invokes the remote service. Instead of service.method(arg1[,
arg2] ...), they need 
 service.invoke(method, arg1[, arg2] ...); What do you think about this
limitation?

Actually, you've just reminded me what it was about the FAST implementation
that I didn't like; and that's the idea of the passing of the method name
and arguments to the invoke() method strategy.

I don't like the idea of compile-time checking becoming run-time failures;
ie if method does not exist, this will be caught at run-time not
compile-time.  Similarly, passing arguments as you do, we lose compile-time
type-checking on the argument list.  Again, this is a sacrifice that makes
me think there has to be a better implementation.

21:30 on a Friday evening is not the time to think about this; ask me on
Monday :)

What do you think -- you share my concerns ?

Best,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.



 
Yahoo! Groups Links

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

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

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




[flexcoders] CFC Web Services and Boolean types in Flex

2005-06-10 Thread Sean McKibben


So we're trying to get a complex object with boolean properties in coldFusion to serialize into a complex object with boolean properties in Flex, but we keep getting wrongly typed results. Depending on the method we choose, we get a string value of "true" or "false" or a (case insensitive) string value of "yes" or "no". Has anyone been able to get complex objects in CF webservices to properly type booleans?Here is an example of what we're getting:item             key xsi:type="xsd:string"lock/key             value xsi:type="xsd:string"false/value/itembut we should get:item             key xsi:type="xsd:string"lock/key             value xsi:type="xsd:boolean"false/value /itemAny thoughts?(sorry this is a bit more about CF than flex, but actionScript is the more strongly typed language that cares about the difference between "false" and false!)Thanks,Sean McKibben







Yahoo! Groups Links

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









[flexcoders] Re: TileList Databinding -- showing undefined

2005-06-10 Thread alex_harui
Your sample didn't show a call to setValue().  The list calls 
setValue with the object from the dataprovider.  Your setValue call 
would set the singleGroup variable.  See cell renderer examples for 
implementations of setValue

--- In flexcoders@yahoogroups.com, jeremybruck [EMAIL PROTECTED] wrote:
 Everyone,
 
 This one has unfortunately has had me beating my head against a wall
 and I am sure it is something little.  I have a TileList that I am
 trying to pass an array of objects (gotten from remote AMF call to
 CFMX CFC) to the cellRenderer and am having problems seeing the 
object
 in the cellRenderer.  The problem is my Object in the cellRenderer 
is
 just showing everything as undefined.
 
 I originally had this as a repeater and it worked great, but now I
 need it as 2 columns of data and thus the TileList is a good 
solution.
 
 Here is the code:
 mx:TileList id=groupList cellRenderer=selectableGroupList
 dataProvider={myGroups} width=100%
 height={distributionTab.height*.20} itemWidth=350 
itemHeight=20
 columnCount=2/
 
 CellRenderer Code:
 ?xml version=1.0 encoding=utf-8?
 mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; width=100%
 height=100%
   mx:Script
   ![CDATA[
   var singleGroup:Object;
   ]]
   /mx:Script
  
   mx:CheckBox id=groupID label={singleGroup.groupname} /
 /mx:VBox
 
 Here is a sampling of the Array of Objects that is the variable: 
 myGroups
 [0] (object #3)
 b_fname: Jeremy
 b_lname: Bruck
 g_buyercid: 18946
 groupname: Bearing Cage Coders
 grouptype: I
 nameid: 30048
 suppliercount: 4
 [1] (object #4)
 b_fname: Jeremy
 b_lname: Bruck
 g_buyercid: 18946
 groupname: Group Test
 grouptype: I
 nameid: 30034
 suppliercount: 5
 
 
 Thanks,
 Jeremy




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: How to use flash swc file in flex

2005-06-10 Thread alex_harui
Flex4Flash did not ship in 1.5 or we hid it in a legacy directory, I 
can't remember.  You will still be better off by using the new CompC 
workflow to just port your source to Flex.

--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] 
wrote:
 On 6/9/05, yhsphil [EMAIL PROTECTED] wrote:
  thanks a lot, btw where can i download flex4flash.zip , can't find 
it
  macromedia homepage, google,etc and no luck.
 
 Search for it in your Flex installation directory. :)




 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Popup windows behaving oddly

2005-06-10 Thread JesterXL
Avoid loading SWF's; that's the only time I've had weird things happen. 
You're not doing that are you?

- Original Message - 
From: Eric Raymond [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, June 10, 2005 8:53 PM
Subject: [flexcoders] Popup windows behaving oddly


We've been having a number of problems with popup windows doing
strange things.

1) They popup behind the window which created them.

2) They pop up in the upper left even though we asked them to be
centered over their parent via centerPopup().


Are there a know sets of tricks to make popups behave well.  Are there
things to avoid?





Yahoo! Groups Links








 
Yahoo! Groups Links

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

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

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




[flexcoders] AutoTestFlash now runs saved test scripts

2005-06-10 Thread tiago_simoes
Hi List

AutoTestFlash 1.1 has been released.

Improvements include:
- Ability to run saved scripts
- Ability to capture test resuts in your application

Happy Testing,
Tiago Simoes

http://www.geocities.com/tiago_simoes/flash/




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: AutoTestFlash

2005-06-10 Thread tiago_simoes
Hi,

Just listening to major events.
And since you work at Macromedia...
To improve the tool I would like to have local file access, reading
command line arguments and writing to Standard Output. I can create a
projector easly on windows but is there any cheap wat to accomplish
this in a cross platform way (+Mac + Linux)?

I want to make thins integratable with ANT and daily build practices.

Cheers,
Tiago


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 It did work for me, pretty nice.  Did you have to modify components to
 make it work or are you just listening to their major events?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Abdul Qabiz
 Sent: Friday, June 10, 2005 5:19 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] AutoTestFlash
 
  
 
 It is not working for me on Windows XP SP2 with IE and Firefox.
 
 It doesn't load swf on right side...
 
 BTW! Sounds like a nice tool...
 
 -abdul 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of tiago_simoes
 Sent: Friday, June 10, 2005 5:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AutoTestFlash
 
 Hi list,
 
 I've just released AutoTestFlash that can be used to record and play
 UI Tests for swf applications.
 
 Take a look in:
 http://www.geocities.com/tiago_simoes/flash/
 
 Cheers,
 
 Tiago
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ .





 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Memory Useage with Flex

2005-06-10 Thread alex_harui
Start commenting out portions of the app and see if you find a 
subsection that is sucking up the memory.

Make sure you've optimized the number of layout containers used.  
Should you be using a Grid instead of a network of VBox/HBox?

Are you using Repeaters?  They can be memory hungry.  Consider Lists 
with custom cell renderers instead.

Is your app resizable?  If not, and you're really desperate, take out 
the layout containers and use a single Canvas and your own layout logic.

There's no single process to go through, but if you can figure out what 
is the most memory hungry someone will have an idea for you

--- In flexcoders@yahoogroups.com, Joel Parish [EMAIL PROTECTED] 
wrote:
 Hello all :)
 Is there any way to optimize flex to use less memory? At the momment
 flex is quite a resource hog and uses about 400mB. Any and all help is
 appriceiated.
 
 Thanks,
 Joel




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] DataProvider ?

2005-06-10 Thread Matt Chotin










Try having your Java class take a List
instead of a SchedPriceVO[]. The List should contain your VO objects.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR
Sent: Friday, June 10, 2005 11:23
AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] DataProvider
?





Hi All,
 Is it possible to
send a DataProvider, created dynamically in action
script, back to server? This is what I am trying
to accomplish
In my mxml file I make a RO call to java class and
java class returned an
array of VOs. I stored them in an action script
variable called price_do.
Then I created a DataProvider object using
createClassObject(DataProvider,myDP,1);
and then assigned price_do to
myDP.dataprovider. I am doing this because user
want to see the retrieved
info in a free form format not a grid format. Once
user click save button on
the screen I am getting values from individual
textinputs and update the
myDP object using myDP.editField( ) method and
invoke a remote method to
send this dataProvider object back to my java
class. 

I am having problems in the last step- sending
dataprovider to java class. I
have system print outs in my java class and none
got executed. It looks like
object passed back to java class is not recognized
as array of VOs. Please
some one help me out. I am attaching my mxml and
java class for your
reference. Thanks in advance..


schedPrice.mxml
save.txt 
Thanks!
Hari













Yahoo! Groups Links

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












RE: [flexcoders] Re: AutoTestFlash

2005-06-10 Thread Matt Chotin










So Maelstrom will provide the file system
access, but I cant promise anything on command-line args or controlling
stdout (with the exception of flashlog.txt).



Weve been doing our own experiments
though, maybe well be able to come up with something some day.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tiago_simoes
Sent: Friday, June 10, 2005 3:06
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
AutoTestFlash





Hi,

Just listening to major events.
And since you work at Macromedia...
To improve the tool I would like to have local
file access, reading
command line arguments and writing to Standard
Output. I can create a
projector easly on windows but is there any cheap
wat to accomplish
this in a cross platform way (+Mac + Linux)?

I want to make thins integratable with ANT and
daily build practices.

Cheers,
Tiago


--- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] wrote:
 It did work for me, pretty nice. Did
you have to modify components to
 make it work or are you just listening to
their major events?
 
 
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Abdul
 Qabiz
 Sent: Friday, June 10, 2005 5:19 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] AutoTestFlash
 
 
 
 It is not working for me on Windows XP SP2
with IE and Firefox.
 
 It doesn't load swf on right side...
 
 BTW! Sounds like a nice tool...
 
 -abdul 
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of tiago_simoes
 Sent: Friday, June 10, 2005 5:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AutoTestFlash
 
 Hi list,
 
 I've just released AutoTestFlash that can be
used to record and play
 UI Tests for swf applications.
 
 Take a look in:
 http://www.geocities.com/tiago_simoes/flash/
 
 Cheers,
 
 Tiago
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 * To visit your
group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
   
 * To
unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED]

mailto:[EMAIL PROTECTED] 
   
 * Your use of
Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/
.















Yahoo! Groups Links

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












RE: [flexcoders] Re: Memory Useage with Flex

2005-06-10 Thread Matt Horn
A couple more things... turn on production mode in the flex-config.xml
file. 
 
Also, try using the profiler app to identify bottlenecks in your
actionscript code:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0828.htm
 
hth,
matt horn




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of alex_harui
Sent: Friday, June 10, 2005 10:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Memory Useage with Flex


Start commenting out portions of the app and see if you find a 
subsection that is sucking up the memory.

Make sure you've optimized the number of layout containers used.

Should you be using a Grid instead of a network of VBox/HBox?

Are you using Repeaters?  They can be memory hungry.  Consider
Lists 
with custom cell renderers instead.

Is your app resizable?  If not, and you're really desperate,
take out 
the layout containers and use a single Canvas and your own
layout logic.

There's no single process to go through, but if you can figure
out what 
is the most memory hungry someone will have an idea for you

--- In flexcoders@yahoogroups.com, Joel Parish
[EMAIL PROTECTED] 
wrote:
 Hello all :)
 Is there any way to optimize flex to use less memory? At the
momment
 flex is quite a resource hog and uses about 400mB. Any and all
help is
 appriceiated.
 
 Thanks,
 Joel






Yahoo! Groups Links


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






 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

2005-06-10 Thread Seth Voltz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thank you everyone who replied :) This was exactly what I was looking 
for.

I can't test it until monday but I believe I have everything I need to 
get around the holdup I'm experiencing.

Thanks again,
Seth


On Jun 10, 2005, at 8:47 AM, Battershall, Jeff wrote:

 I like to maintain mixed case of returned variables from CFCs so that
 they can directly map to how I have them named in AS/Flex.

 The two techniques I've used (using CFMX 6.1) are naming struct keys
 like mystruct[firstName] and the like.  With queries you can
 accomplish the same thing by using column aliases (at least with SQL
 Server) like,

 SELECT
 employeeID AS 'employeeID',
 firstName AS 'firstName',
 lastName AS 'lastName'
 FROM Personnel

 Will preserve case in returned objects. The my AS code can read

 var firstName:String = result[0].firstName;

 OR

 var firstName:String = result.firstName;

 Jeff

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Abdul Qabiz
 Sent: Friday, June 10, 2005 8:21 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex / Flash / FlashComm, Remoting and CF


 Yeah, It is always a good idea to create unit tests for your CFC. As
 Indy said, create a CFM page and call all CFC methods and check with
 expected output...

 This is a way to isolate your problems..

 -abdul

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Indy Nagpal
 Sent: Friday, June 10, 2005 3:55 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex / Flash / FlashComm, Remoting and CF

 Yes...

 I find that is always a good idea to have a cfm page that queries your
 cfc exactly in the same manner as the remoteobject tag in your flex app
 would. And use cfdump on your cfm page to examine what the cfc returns.
 That way you know exactly what is being returned. And if you are using
 structures and queries, be careful of the capitalization of structure
 keys and query column names. Trust me, it saves a lot of time.

 Indy

 On 6/10/05, dave buhler [EMAIL PROTECTED] wrote:
  Use all Uppers when you reference the remoting object.

  I assume you're returning a struct?

  If so:

  return tempstruct should work fine so long as you have
 tempstruct.FIRSTNAME
 as the firstname variable name.

  If you are returning a query, you'll need to referece
 result[0].FIRSTNAME,
 etc.




 On 6/9/05, Seth Voltz [EMAIL PROTECTED] wrote:

 Hey everyone,

 A while back someone posted an article on quirks when using Remoting

 (and the flash gateway) with Flex / Flash and FlashComm. I can't
 find
 it anywhere (archive searches, google, etc.) Maybe I'm just not
 hitting
 the right terms.

 If anyone remembers it I'd most appreciate the link.

 If not, here's the problem I'm having which I think that ink will
 solve
 (Off Topic):

 I have an FCS app which hits a CF7 server's flash gateway looking
 for a
 service. The services which return strings work just fine but
 anything
 that returns something more complex doesn't seem to work. I try
 return.VAR, return.var, return.Var, etc. but it comes back
 undefined.

 Thanks,
 Seth




 Yahoo! Groups Links









  
  Yahoo! Groups Links


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

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

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



 Yahoo! Groups Links










 Yahoo! Groups Links










 Yahoo! Groups Links







-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCqnVvsnBTlzgQQ28RAtZfAJ9EvpcFiFQ7ACpPF3Uh+EUChI9PSACgl/nY
ECK9oH+WvP0ivTsBEQB6csE=
=/Y02
-END PGP SIGNATURE-



 
Yahoo! Groups Links

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

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

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




[flexcoders] Passing data from Html to Flex application.Urgent pls

2005-06-10 Thread nithya karthik



hai,
 I have a flex application with a tilelist of images. On click of each image takes me to a html page which has some details regarding the image. I have a button on each html page say"add" then it must add the particaular item to a datagri\d in my flex application.. how should i pass the data from html page to flex application.? please help me with the code to do this. i am adding the code of mine below.

Mxml application:
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" creationComplete="iFrame.visible=true"
 mx:Model id="catalog" source="catalog.xml"/ mx:HBox width="100%" height="100%"
 mx:Panel title="Tile" width="200" height="100%" panelBorderStyle="roundCorners" 
 mx:TileList id="tile" dataProvider="{catalog.product}" width="100%" height="100%" cellRenderer="Thumbnail" itemWidth="120" itemHeight="108" change="iFrame.source=tile.selectedItem.path"/
 /mx:Panel
 mx:Panel title="Content" width="100%" height="100%" marginTop="1" marginBottom="1" marginLeft="1" marginRight="1" IFrame id="iFrame" width="100%" height="100%"/ mx:ControlBar mx:CheckBox id="cbVisible" label="IFrame Visible" selected="true" click="iFrame.visible=cbVisible.selected"/ /mx:ControlBar /mx:Panel
 /mx:HBox
/mx:Application

Html page which gets loaded during click of the first image in tileList is:
htmlheadmeta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"titleProduct Detail/title/head
bodyform ACTION="" name="cart/data" METHOD="post"input TYPE="button" name="Add to Cart" VALUE="cart"/form/body/html

Say i have a datagrid in the panel of the flex application then on click of the button "add" in the html page it must add the item(in tile list, on click of which the html page opended) to the datagrid.. how should i do it? please help.. It needs quick solution please..

thanks,
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com 







Yahoo! Groups Links

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