[flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Peter Blazejewicz
--- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote:

 If you go to http://www.adobe.com/shockwave/welcome/
 
 in the flash player about does it show 9,0,16,0 ?
 
 -sam
 
Hi sam,

I've submitted that as serious usability issue to Flex QA team during
beta and haven't got any
confirmation yet,
just tried any sample, eg. from that page:
http://labs.adobe.com/showcase/special/flexderby/
click Zoom In (say I'm impared person and do want to read some text)
and then try to see all content again,
tested with *.16 public plugin in FireFox (IExplorer hosts development
plugin),
that's not the only issue I know that is not fixed and not listed in
know issues I think,

regards,
Peter





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: printing/zooming bugs

2006-06-15 Thread Peter Blazejewicz
Hi Jason,

I've submitted that (zoom in/zoom out/show all) as plugin usability 
bug some time ago to Flex 
Team QA,
haven't received confirmation yet from them though,

kind regards,
Peter Blazejewicz









 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: where's the best place to report bugs?

2006-06-15 Thread Peter Blazejewicz
hi Jason,

I've used bug report/wish form:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
to report bugs to Adobe Flex Team,
I know that is working because I've had some mail communication with 
Flex QA team after filling bugs,

kind regards,
Peter Blazejewicz







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: 1.5 - 2.0: Is it possible to use LocalConnection without creating ...

2006-06-15 Thread Peter Blazejewicz
Hello Tracy,

When writing my custom trace target based on LC I found that 
subclassing LC worked best for me,
however except of using 2 methods described in docs (subclass, 
dynamic class) you can simply put any object to client property at 
runtime, even created ad-hoc:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
 height=100%
creationComplete=initApp()
mx:Script
![CDATA[
private var lc:LocalConnection;
private function initApp():void{
lc = new LocalConnection();
var lcName:String = __test__;
var success:Boolean = false;
try{
lc.connect(lcName);
lc.client = getClient();
success = true;
}catch(e:Error){
out.text += already connected+\n;
}
if(success){
out.text += successfully connected+\n
;
var sendingLC:LocalConnection = new 
LocalConnection();
sendingLC.addEventListener(StatusEvent.
STATUS, function(e:StatusEvent):void{
out.text += sending event: +e.
level+\n;
});
sendingLC.send(lcName, doMessage, 
Hello World!);
sendingLC.send(lcName, doClose);
// after close we should get error 
status code
sendingLC.send(lcName, doMessage, 
test);
}
}
private function getClient():Object{
var c:Object = new Object();
c.doMessage = function(msg:String):void{
out.text += msg received: +msg+\n;
}
c.doClose = function():void{
lc.close();
out.text += connection closed+\n
;  
}
return c;
}
]]
/mx:Script
mx:TextArea id=out width=100% height=100%/
/mx:Application


kind regards,
Peter Blazejewicz






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

* 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: 1.5 - 2.0: Is it possible to use LocalConnection without creating ...

2006-06-15 Thread Peter Blazejewicz
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:

 Thanks, Peter.
 
you're welcome Tracy, 
I've already learned some things from your posts here and there 
;)
regards,
Peter Blazejewicz









 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: RSL: using runtime shared library prompts debug dialog [F2b3]

2006-06-07 Thread Peter Blazejewicz
Hello list,

just to let you know,
I've just got mail from Adobe Flex QE after filling bug with that 
issue, They were able to reproduce that behavior,
so guys: when testing RSL just dismiss that dialog and movie will 
continue fine,
issue will be fixed soon,

kind regards,
Peter Blazejewicz

[CLOSED]






 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: RSL: using runtime shared library prompts debug dialog [F2b3]

2006-06-06 Thread Peter Blazejewicz
Hello Tom,

thanks for looking into that :)

I've already tried different things,
my library project (which produces .swc for RSL) has also added -
debug=false into compiler additional params,
RSL .swf file is extracted in project where .swc is linked as dynamic
 for compiler (Flex build pathLibrary PathLink Type on .swc),

I haven't tried commandline compiler yet though only using that built-
in with FlexBuilder,
I've also got the same behavior with different project which should 
use RSL,
most probably I'll log that for adobe team as bug (or at least as 
feature wish for documentation - i've simply followed flex docs 
documentation to create RSL library and project that uses RSL)

regards,
Peter Blazejewicz









 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Image problems

2006-06-05 Thread Peter Blazejewicz



Hi Michael,

to embed images in custom mxml component in: {PROJECT}/com/
peterblazejewicz/youtube/view/renderers/

i've used:

[Embed(source=/assets/images/star_sm_bg.gif)]
private var backgroundIcon:Class;
[Embed(source=/assets/images/star_sm_half.gif)]
private var halfIcon:Class;
[Embed(source=/assets/images/star_sm.gif)]
private var fullIcon:Class;

and that's working fine,
however I can confirm that there are incompabilities between beta 2 
and beta 3 syntax for Embed tag and paths,
search forum for embed tag, I believe it was already posted before,

regards,
Peter Blazejewicz










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] [F2b3] refreshing datagrid view after changes in related editable datagrid

2006-06-01 Thread Peter Blazejewicz



Hi all,

I think I'm missing something easy here:
I have two different DataGrid on the same view component both using 
the same dataprovider, I cannot make second grid (non-editable) to 
refresh edited cell in dataprovider to reflect changes made in first 
grid (in dataprovider to be strict),

sample code:

mxml:

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 mx:Script
 ![CDATA[
  import data.SampleVO;
  [Bindable]
 public var initDG:Array = [new SampleVO(peter, true), 
new SampleVO(ann, false)];
 ]]
 /mx:Script
 !-- first grid --
 !-- editable --
 mx:DataGrid dataProvider={initDG} 
 mx:columns
 mx:DataGridColumn dataField=firstName/
 mx:DataGridColumn dataField=isMod rendererIsEditor=
true editable=true 
  editorDataField=isSelected
  mx:itemRenderer
   mx:Component
 mx:CheckBox selected={data.isMod} 
click=handleClick()
  mx:Script
   ![CDATA[
public var 
isSelected:Boolean;
private 
function handleClick():void{
 data.
isMod = this.selected;
 
isSelected = this.selected;
}
   ]]
  /mx:Script
 /mx:CheckBox
   /mx:Component
  /mx:itemRenderer
 /mx:DataGridColumn
 /mx:columns 
 /mx:DataGrid  
 !-- second grid --
 !-- non editable --
 mx:DataGrid id=secondGrid dataProvider={initDG}/
/mx:Application


SampleVO (data.SampleVO.as):

package data
{
 [Bindable]
 public class SampleVO
 {
  public function SampleVO(firstName:String, isMod:Boolean){
   this.firstName = firstName;
   this.isMod = isMod;
  }
  public var firstName:String;
  public var isMod:Boolean;
 }
}


thanks for helping with that,

kind regards,
Peter Blazejewicz












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Loggin API and MiniDebugTarget [F2B3]

2006-05-26 Thread Peter Blazejewicz



Hi everyone,

maybe someone has experience with mx.logging.* usage in F2,
I was trying to implement mx.logging with custom debug application 
that uses LocalConnection. I tried to use MiniDebugTarget which uses 
LocalConnection as medium, 
Maybe I don't understand logging correctly but I though that 
MiniDebugTarget should simply logs data into listening connection (so 
my custom debug target can trace incoming logs),

But what is not quite clear for me is:
- my custom Log application (standalone) need to be connected to 
local connection change with well known name (say _mdbtrace)
- I thought that MiniDebugTarget simply sends data to _mdbtrace 
specified in constructor but in constructor it actually tries to 
connect to local connection with the same name, so if my custom 
loggin application is already started and listening for data, 
MiniDebugTarget throws error from constructor because connection 
fails,
I've ended with custom subclass of LineFormattedTarget providing 
different implementation of MiniDebugTarget and that works quite well,
Now I can start my debug application at any time and my custom 
MiniDebugTarget class can send data into connection at any time,

Question: 
is that correct what Iv'e done (custom Debug application 
window and custom MiniDebugTarget implementation) or maybe I took 
wrong way with that?

LiveDocs have example of custom logging implementation:
http://livedocs.macromedia.com/labs/1/flex20beta3/1881.html

thanks for input,
kind regards,
Peter Blazejewicz

as side-note: I want to thank to Adobe team for releasing source 
files - I was be able to find what's wrong after looking into sources,











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Peter Blazejewicz



Hello Renaun,

many thanks for getting back :D 

to Adobe: are there plans to relese source for mx.rpc.* classes?

regards,
Peter

--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] 
wrote:

 There are some old posts on the board about this. Basically there 
is
 a conflict with the WebService flex classes and the Request 
parameters
 required by Amazon. The WebService flex classes overrides any 
Request
 parameter you set and therefore you get the error.
 
 The only want around it would be to create a new WebService class 
that
 doesn't conflict with the Request variable.
 
 links to old posts:
 http://groups.yahoo.com/group/flexcoders/message/34246
 http://www.cflex.net/flexcoders.cfm?Message=msg25454.html
 http://groups.yahoo.com/group/flexcoders/message/34866
 
 Renaun













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-20 Thread Peter Blazejewicz



Hello Matt,

thanks for info and filling it out,
regards,
Peter

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

 We're not planning on releasing source to the RPC classes right 
now, sorry.
 
 I've filed a bug on the Amazon issue, I spent about an hour 
debugging and can't figure it out so far so I'll see if the engineers 
can look into it :-)
 
 Matt










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-19 Thread Peter Blazejewicz



Hello everyone,

I've already used amazon ECS with REST operations without any issue 
in flex,
when i'm trying to send soap request I always get errors (usually AWS.
MissingParameters) from service , most probably because sending soap 
body tags with wrong namespace (?),

maybe someone already tried amazon ecs with soap and can sheed some 
light on that,

sample code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 width=100% height=100%
 !-- webservice --
 mx:WebService id=amazonECS
  wsdl=http://webservices.amazon.com/AWSECommerceService/
AWSECommerceService.wsdl
  useProxy=false showBusyCursor=true 
  mx:operation name=ItemSearch resultFormat=e4x 
   mx:request xmlns:m=http://webservices.amazon.com/
AWSECommerceService/2005-03-23
m:ItemSearch
 m:SubscriptionId0525E2PQ81DD7ZTWTK82/
m:SubscriptionId
 m:Request
  m:ResponseGroupItemAttributes/
m:ResponseGroup
  m:ResponseGroupItemIds/m:
ResponseGroup
  m:KeywordsFlex RIA/m:Keywords
  m:SearchIndexBooks/m:
SearchIndex
 /m:Request
/m:ItemSearch
   /mx:request
  /mx:operation 
 /mx:WebService
 !-- view --
 mx:TextArea id=txtResult width=100% height=100% text
={amazonECS.ItemSearch.lastResult}/
 mx:Button label=send click=amazonECS.ItemSearch.send()/
/mx:Application

docs:
http://docs.amazonwebservices.com/AWSEcommerceService/2005-03-23/
index.html

thanks in advance,
regards,
Peter Blazejewicz










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












Re: Ri£º [flexcoders] Flex 2 problem about remoteobject in tomcat

2006-04-25 Thread Peter Blazejewicz



Hello sank,

there's someone who already wrote such tuto:
http://www.silver-island.com/arts/flex/FDS2.0_on_Tomcat/jms_chat_on_
tomcat.html
good luck!
:D

kind regards,
Peter Blazejewicz











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Flex2b2 - DataGrid bug - using ArrayCollection of ValueObjects

2006-04-25 Thread Peter Blazejewicz



Hi Andrea,

your VO should implement IUID interface, that's discussed on list 
already,
http://www.cflex.net/flexcoders.cfm?Message=msg25112.html
http://livedocs.macromedia.com/labs/1/flex/langref/mx/core/IUID.html
you can also mark your classes dynamic and flex will assing uuid 
itself (sample):
http://www.simb.net/blog/index.cfm/2006/4/19/Using-Flex-2-List-
Controls-with-ColdFusion-Components

I've also used another solution based on boxing VO with ObjectProxy 
before building data provider,

there are some thread on list about that already (just search for 
IUID or UUID keyword),

hth,
regards,
Peter Blazejewicz












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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: force image reload

2006-04-25 Thread Peter Blazejewicz



Hello Andrea,

do you mean something like preventing using cached images?

try something similiar:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=*
 creationComplete=initApp();
 mx:Script
  ![CDATA[
   import mx.controls.Alert;
   [Bindable]
   private var imageURL:String;
   private function initApp():void{
imageURL = http://www.macromedia.com/images/
homepage/en_us/fma/fma_54_bu_messaging.gif;
   }
   private function getRand():String{
return ?+(new Date().getTime());
   }
  ]]
 /mx:Script
  mx:Image id=img width=756 height=200 source
={imageURL+getRand()} 
   complete=Alert.show('source url: '+img.source.
toString())
   click=img.executeBindings()/ 
/mx:Application

click image to refresh and see current url,

hope that helps,
kind regards,
Peter Blazejewicz










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: help with a tree

2006-03-31 Thread Peter Blazejewicz
hi Jeremy,

try something like that:

code 

mx:Script
![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function
DocDisplayModdisplayDocsListQryResult(event:ResultEvent):void{
DocTree.dataProvider = event.result;
}
private function
DocDisplayModdisplayDocsListQryFault(event:FaultEvent):void{
Alert.show(event.fault.message);
}
]]
/mx:Script
mx:WebService id=DocDisplayMod 
useProxy=false 
wsdl=http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl; 
showBusyCursor=true
mx:operation name=displayDocsListQry
result=DocDisplayModdisplayDocsListQryResult(event)
fault=DocDisplayModdisplayDocsListQryFault(event)
mx:request xmlns=
fileNum
30
/fileNum
/mx:request
/mx:operation
/mx:WebService
mx:Panel borderAlpha=1.0
mx:Tree id=DocTree labelField=@label showRoot=true/
/mx:Panel



hth,
regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: List Component Bug!!

2006-03-28 Thread Peter Blazejewicz
Hi everyone,

I've ended with boxing items into ObjectProxy that way:

[code]

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
creationComplete=initApp();
mx:Script
![CDATA[
import mx.controls.Alert;
import mx.utils.ObjectProxy;
import mx.collections.ArrayCollection;
[Bindable]
private var arrayColl:ArrayCollection;
//
private function initApp():void{
var arr:Array = new Array(10);
for(var i:uint =0;iarr.length;i++){
arr[i] = new ObjectProxy(new 
MyCustomItemVO(peter +i,
blazejewicz +i));
}
arrayColl = new ArrayCollection(arr);
}
]]
/mx:Script
mx:List id=testList width=400 height=300 
dataProvider={arrayColl} labelField=firstName 
itemClick=Alert.show(testList.selectedItem.firstName);/
/mx:Application

package {
public class MyCustomItemVO {
[Bindable]
public var firstName:String;
[Bindable]
public var surname:String;
public function MyCustomItemVO(firstName:String, 
surname:String){
this.firstName = firstName;
this.surname = surname;
}
}
}

but I would welcome something built-in instead of above solution or
using IUUD interface,

regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Peter Blazejewicz
Hello Jeremy,

try to add labelField property declaration,
e.g.:
mx:MenuBar labelField=@label 

to filter data for dataProvider,

hth,
regards,
Peter Blazejewicz





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

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

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

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





[flexcoders] Re: Menu Bar Killing me. Can someone help.

2006-03-28 Thread Peter Blazejewicz
Hi Sönke,

ops, that's not what I ment:
it should be: 

define property showRoot=false

thanx Sönke,

regards,
Peter






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

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

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

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




[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
);
dateBack[3] = 
myDateFunc.dateAdd('d',model.viewingDate,7*-3);
dateBack[4] = 
myDateFunc.dateAdd('d',model.viewingDate,7*-4);
model.theDate = new ArrayCollection(dateBack);
model.theDate.refresh();
   }
   // if the refresh fails, stop the timer
   public function onFault( event : FaultEvent ) : void{
var model : ModelLocator = 
ModelLocator.getInstance();
model.statusMessage = Refresh error: Please try again 
later.;
model.timer.stop();
Alert.show(model.statusMessage,Error,Alert.OK);   

   }
]]
/mx:Script
!--
business:Services id=statsServices /
--


that is moving business logic into main code and there is no change,
DataGrids data are updated but charts are not,
with that solution I'm not using Cairngorm for data requests at all
using basic HTTPService solution,
I think there is rather something in bindings and Charts with that
specific solution because as I mentioned I've already existing
Cairngorm based sample which updates bindings without problems,
Also Renaun mentioned bindings working fine with AMFPHP based
Cairngorm implemenation,

hth,
kind regards,
Peter Blazejewicz





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

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

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

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





[flexcoders] Re: Beta 2 - RSS reader

2006-03-28 Thread Peter Blazejewicz
Hello Dave,

in Flex Builder docs there is an example that reads Matt Chotin's feed,
just search for RSS keyword in Builder help file,
also you should try open source library posted on labs:
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:libraries#RSS_and_Atom_libraries
written especially for RSS/Atom feeds parsing,

hth,
regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: Message destinations in the context of a multi-room chat app

2006-03-28 Thread Peter Blazejewicz
Hi Tom,

as to dynamic topics,
I've read something about that during weekend playing with
ActiveMQ/Flex and it seems that you need to find specific
JMS-imlemenation/vendor because with standard Sun implementation
dynamic topics are not supported by JMS itself:
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024752

not being experienced in Java yet, can someone confirm that?

regards,
Peter Blazejewicz






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

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

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

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





[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
Hello Jonathan  Renaun,

I've added:

 executeBindings(true);

in onResults handler posted previously and now chart are working fine,
not tested with original Jonathan's example yet though,

kind regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: Cairngorm problem

2006-03-28 Thread Peter Blazejewicz
hi Jonathan,

calling Application.application.executeBindings(true) within orginal
StatsCommand onResult handler make your example working fine for me
(when requesting data from jsp dynamic page),

regards,
Peter Blazejewicz






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

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

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

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





[flexcoders] Re: Flex2 beta2 bug - Focus does not work on lists

2006-03-23 Thread Peter Blazejewicz
Hello Benoit,

 Indeed, making all my VO classes dynamic solves the problem.
 Not very clean, but excellent workaround ;).

that is so interesting that I've spend few minutes on that,
try another way which seems for me to not be a work around:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
mx:Script
![CDATA[
import mx.utils.UIDUtil;
import mx.utils.ObjectProxy;
import mx.controls.Alert;
import mx.collections.*;
[Bindable]
public var collection:ArrayCollection;
   
public function loadWithClassInstances():void {
  var item1:ItemVO = new ItemVO();
  item1.label = Item 1 (class);
  var item2:ItemVO = new ItemVO();
  item2.label = Item 2 (class);
  var item3:ItemVO = new ItemVO();
  item3.label = Item 3 (class);
  collection = new ArrayCollection(
[new ObjectProxy(item1, 
UIDUtil.createUID()),
new ObjectProxy(item2, 
UIDUtil.createUID()), 
new ObjectProxy(item3, 
UIDUtil.createUID())]);
}
   
public function loadWithObjects():void {
  collection = new ArrayCollection([{label:Item 1
(object)},
  {label:Item 2 (object)},
  {label:Item 3 (object)}]);
}
]]
/mx:Script
mx:Button label=Load with class instances
click=loadWithClassInstances() /
mx:Button label=Load with objects click=loadWithObjects() /
mx:List id=list  dataProvider={collection}
rowCount=5 width=180 
click=Alert.show('ItemVO.label:
'+ItemVO(ObjectProxy(list.selectedItem).object_proxy::object).label);/
/mx:Application

the only problem is additional coding is required when:
- data provider is build
- you are accessing proxied object and need to cast it to original
class (proxiedItem.object_proxy to ItemVO),
but that seems to work fine,

also if your other classes use uid you can consider adding custom public
namespace to your class for that property to avoid conflict
with IUID namespace,

kind regards,
Peter Blazejewicz





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

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

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

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





[flexcoders] Re: Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-10 Thread Peter Blazejewicz
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 You should file a bug for us to make the 'enabled' property bindable.
 
 - Gordon

Hi Gordon,

done,

regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-10 Thread Peter Blazejewicz
Hello Matt,

yes, all other required properties are dispatched by framework (move,
show, hide, changes in states, etc) and thats very easy in flex to
register for that events from component for every container down to
application root and unregister when component is destroyed :D
thanx for taking that into consideration as ehnancement,

regards,
Peter

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

 So most other properties that you cared about were working otherwise?
 I'll file an enhancement for having the enabled property dispatch an
 event when it is changed.
 
 Matt





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

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

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

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




[flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Peter Blazejewicz
Hello Mike,

native from what I've learned from docs is replacement for
intrinsic in AS2 language,

see Global.as flex framework class, that is real native usage
sample, all impementation is within plugin, and class is for compile
time check only,

regards,
Peter Blazejewicz





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

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

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

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




[flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-10 Thread Peter Blazejewicz
Hi Mike,

--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
 PS, You found it in the docs? Where would that be so I can check it
out. If

in specifications:
http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=as3_specification176.html
http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=as3_specification66.html

regards,
Peter

Peter Blazejewicz





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

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

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

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





[flexcoders] Flex2: watch/unwatch AS3 solution to track component enabled property

2006-03-09 Thread Peter Blazejewicz
Hello everyone,

I'm looking for solution to watch changes in enabled property in
component's parent container,

Scenario:
mx:Panel id=parent2
  mx:VBox id=parent1
view:MyComp /
  /mx:VBox
/mx:Panel

now I want to change state within MyComp custom component when
enabled property of any container changes (e.g. to stop sounds in
MyComp),
MyComp is added at runtime so I cannot use states or bindings (which
do not work with enabled),
I've tried with ObjectProxy ObjectEvent.CHANGE but can't do much with
that to achieve something that I can do with watch/unwatch in AS1/AS2,
does someone know solution?
for a moment I'm adding listeners that watch for drawing events in
component parents to reflect changes, not nice but works,

thanx in advance,

regards,
Peter Blazejewicz
 





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

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

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

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




Re: [flexcoders] SharedObject across Applications

2005-04-13 Thread peter blazejewicz







Hello everyone,

I'm not sure if that will work with Flex application but to avoid such
collision names in standalone desktop application I've used names
following package pattern:
eg:

var soName:String = "com.company.cookieName";
var so:SharedObject = SharedObject.getLocal(soName, "/");
there is a subset of characters which are not allowed in SO name but
dots are allowed
:)

hth,
regards,
Peter

Peter Blazejewicz

JesterXL wrote:
As long as your apps are both
deployed on "cow.com", then just add a "/" to the 2nd parameter of your
get, and it'll put the .sol at the top level of the domain. Currently,
it's scoped to a folder name same as your app path. The 2nd parameter
creates it's own folderpath/namespace. Maknig a "/" puts it at the top.
  
  however, watch for out
collisions of data since your both sharing. You don't have to worry
about file handles or anything, but you know why checkin/checkout
systems were invented in the first place...









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] Using Zinc with Flex

2005-04-12 Thread peter blazejewicz

Hi Scott,

it sounds similar to Flex/Central integration:
Flex application is hosted within Central shell and as source file 
during installation:
[quote]
application name=SomeApp
src=SomeApp.mxml.swf
 
[/quote]
(from example product.xml)

regards,
peter

Peter Blazejewicz

Scott Barnes wrote:

Ok, Say you build a SWF thats got a few API classes in there that
interface to ZInc's FSCOMMAND level ones.

Then using a loadMovie() approach you bring in an external swf - that
being your flex server...aka myurl.com/app/blah.mxml.swf

Inside that swf, it can excute commands within its parent container
(ie swf inside the zinc luv).

To me that should be fine as thats like saying you can't use a browser
to run your flex apps. Furthermore it would then mean MM have to
release an approved browser list as what classifies as an agent for
FLEX based mxml/swf files?




 
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 SWF in Zinc

2005-03-14 Thread peter blazejewicz




Hi Jessie,

I wondered about the same licensing question when I've been testing
Flex inside ZINC,
I've simply use .exe as shell container for .swf served from Flex just
like in browser ,
thanx for asking that,

regards
Peter,

MDM Support Team [EMAIL PROTECTED]

JesterXL wrote:

Is wrapping a Flex SWF using Zinc, and distributing the EXE ok via the EULA? 
Aral Balkan brought this up to me after I told him my progress on a project, 
and thought I'd ask.

I wrote a small GUI for NaturalDocs (naturaldocs.org) since it's only 
command line. I used Zinc as the wrapper since Central cannot get folder 
paths.

Thanks in advance if you can help!

--JesterXL