[flexcoders] Re: How to create another stage in a single AIR 2 application and display on secondary monitor

2010-08-21 Thread Yohanes Iwan Sugiarto
I think I've managed to found the answer from:
http://help.adobe.com/en_US/flex/using/WSacd9bdd0c5c09f4a-690d4877120e8b878b0-7fd8.html

and here:
http://help.adobe.com/en_US/AIR/1.5/jslr/flash/display/NativeWindow.html



/ i w a n


On Sat, Aug 21, 2010 at 9:39 PM, Yohanes Iwan Sugiarto 
iwansugia...@gmail.com wrote:

 Hi..
 Is it possible to create two stages in a single AIR 2 application?
 The first stage should be displayed in primary monitor and second stage on
 secondary monitor?
 (or maybe even three monitors with different content on each of them).
 The first stage will be the controller for the output of the other
 monitor/screens.

 If this isn't possible, I will may need to create two AIR apps, and
 communicate between them using socket.
 Am I in the right direction? Or should there any other easier ways?

 Thanks.

 / i w a n



[flexcoders] How to create another stage in a single AIR 2 application and display on secondary monitor

2010-08-21 Thread Yohanes Iwan Sugiarto
Hi..
Is it possible to create two stages in a single AIR 2 application?
The first stage should be displayed in primary monitor and second stage on
secondary monitor?
(or maybe even three monitors with different content on each of them).
The first stage will be the controller for the output of the other
monitor/screens.

If this isn't possible, I will may need to create two AIR apps, and
communicate between them using socket.
Am I in the right direction? Or should there any other easier ways?

Thanks.

/ i w a n


[flexcoders] Is it this difficult to purchase Flex in south east asia?

2008-11-18 Thread Yohanes Iwan Sugiarto
Hi..

I'm sorry if this question goes a little bit out of topic.
I live in Indonesia and would like to purchase Flex 3, so I contacted
a local reseller/distributor (this distributor does listed in the
Adobe's website). FYI, there's no Adobe representative here in
Indonesia, Singapore is the nearest.
Short story, I paid full for my purchase in 22 Sept, and they promised
at least 2 (two) weeks of delivery time.

But until now (so it's been almost 2 months), they were still unsure
when they can deliver Flex.
My last contact with them was last week (10 Nov) and they asked me to
wait about 3 or 4 weeks more.

I don't quite understand what's their problem and what cause the delay
(they only said need more time to deliver)
Can you imagine, 3 months to get a software that is suppose to be
already released?

I wanted a full refund and think of buying online, but they said my
order were already processed through Adobe Singapore.
Can anyone help me? should I wait again?

-- 
/ i w a n


Re: [flexcoders] Only last row shown from dataservice result (Hibernate+LCDS)

2008-07-24 Thread Yohanes Iwan Sugiarto
Thank you Jeff,
Yes, I'm using combination of 3 properties (String - Long - Long) as an
identity,
Also I'd like to confirm that toString() does the trick. Thanks


On 7/24/08, Jeff Vroom [EMAIL PROTECTED] wrote:

It sounds like you have a complex identity object – i.e. not a set of
 primitive properties.   Try adding a toString() method in your identity
 class which returns a unique string for each instance.   I think that we
 fixed this in 2.6 so that is not necessary (now available on our web site).




 Jeff

  CUT

   Recent Activity

-  68
New 
 Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnNnAyZjRxBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMjE2ODc5NjA3

 Visit Your Group
 http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmM3FnZnA2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzEyMTY4Nzk2MDc-
  Yahoo! Finance

 It's Now 
 Personalhttp://us.ard.yahoo.com/SIG=13o6aap4d/M=493064.12016257.12445664.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1216886807/L=/B=ib3JAULaX.c-/J=1216879607401164/A=4507179/R=0/SIG=12de4rskk/*http://us.rd.yahoo.com/evt=50284/*http://finance.yahoo.com/personal-finance

 Guides, news,

 advice  more.
  Search Ads

 Get new 
 customers.http://us.ard.yahoo.com/SIG=13oanfmut/M=493064.12016308.12445700.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1216886807/L=/B=ir3JAULaX.c-/J=1216879607401164/A=3848641/R=0/SIG=1312g85fq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2003cmp=Yahooctv=Groups2s=Ys2=s3=b=50

 List your web site

 in Yahoo! Search.
  Yahoo! Groups

 Everyday Wellness 
 Zonehttp://us.ard.yahoo.com/SIG=13oh6a468/M=493064.12662708.12980600.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1216886807/L=/B=i73JAULaX.c-/J=1216879607401164/A=5349275/R=0/SIG=11nhsqmjq/*http://advision.webevents.yahoo.com/EverydayWellness/

 Check out featured

 healthy living groups.
 .

 




-- 
/ i w a n


[flexcoders] Only last row shown from dataservice result (Hibernate+LCDS)

2008-07-23 Thread Yohanes Iwan Sugiarto
Hi,

I'm using hibernate  LCDS 2.51
Using dataservices, result gets filled into an ArrayCollection, which is
then bound to a Datagrid.

My object uses composite ID, which already have the hashCode and equals
methods in the identity object.
Now the problem is only the last row is shown in the datagrid.
The rest are just blank rows and when I clicked on the blank row, the
Cannot access property null object reference error pops out.

Everything seems normal based on the log (especially when the object gets
serialized)

Have anyone experience this behaviour before?
I've read somewhere about this similar case in adobe bug reports, but I'm
not really sure if this case is a known bug or merely my bad code.
Any comments are greatly appreciated.
Thanks
-- 
/ i w a n


[flexcoders] How to represent composite-id in actionscript class ?

2008-07-16 Thread Yohanes Iwan Sugiarto
Hi..
I'm using LCDS with Hibernate as dataservice.
I have no problems with table using single id (primary key).

Question is: how do I represent composite-id in an actionscript class?
I have tried to make composite keys as a separate object (also in the server
side Java class).
Here's the code snippet of Java classes:

OrderDetail.java
private OrderDetailKey id;
 private Long qty;
private String itemCode;
//...public getters  setters

OrderDetailKey.java
private String orderId;
private Long lineId;
//...public getters  setters

And here are the ActionScript classes:

OrderDetail.as
public id:OrderDetailKey = new OrderDetailKey();
public qty:int = 0;
public itemCode:String = ;

OrderDetailKey.as
public orderId:String;
public lineId:int;

Am I going in the right direction?
How do I refer orderId and lineId in datafield property of datagridcolumn?
I've tried id.orderId and id.lineId, but failed.
In the server debug log, I can see that OrderDetail did serialized as
expected (orderId and lineId as a typed object of OrderDetailKey)


Or, does anyone know working sample of using composite-id in Hibernate with
Flex?
I've seen Peter Ent's sample on Flex-Hibernate, but AFAIK his sample uses
single id.
It's not possible for me to change the database design I'm currently working
on.

Thank you.

-- 
/ i w a n


[flexcoders] Re:[SOLVED] How to represent composite-id in actionscript class ?

2008-07-16 Thread Yohanes Iwan Sugiarto
Never mind, I've found the answer.
Actually I've already in the right direction, it was just a typo.
In the datagridcolumn I just simply create a renderer and data can be
referenced through - data.id.orderId
thanks

On 7/16/08, Yohanes Iwan Sugiarto [EMAIL PROTECTED] wrote:

 Hi..
 I'm using LCDS with Hibernate as dataservice.
 I have no problems with table using single id (primary key).

 Question is: how do I represent composite-id in an actionscript class?
 I have tried to make composite keys as a separate object (also in the
 server side Java class).
 Here's the code snippet of Java classes:

 OrderDetail.java
 private OrderDetailKey id;
  private Long qty;
 private String itemCode;
 //...public getters  setters

 OrderDetailKey.java
 private String orderId;
 private Long lineId;
 //...public getters  setters

 And here are the ActionScript classes:

 OrderDetail.as
 public id:OrderDetailKey = new OrderDetailKey();
 public qty:int = 0;
 public itemCode:String = ;

 OrderDetailKey.as
 public orderId:String;
 public lineId:int;

 Am I going in the right direction?
 How do I refer orderId and lineId in datafield property of datagridcolumn?
 I've tried id.orderId and id.lineId, but failed.
 In the server debug log, I can see that OrderDetail did serialized as
 expected (orderId and lineId as a typed object of OrderDetailKey)


 Or, does anyone know working sample of using composite-id in Hibernate with
 Flex?
 I've seen Peter Ent's sample on Flex-Hibernate, but AFAIK his sample uses
 single id.
 It's not possible for me to change the database design I'm currently
 working on.

 Thank you.

 --
 / i w a n




-- 
/ i w a n


Re: [flexcoders] Help FLEX 3 and jasperReports

2008-05-30 Thread Yohanes Iwan Sugiarto
hi.
I once was required to do the same and end up using Jasperserver, reports
are called from the repository using web services, output format can be
defined in part of the parameter as either PDF,CSV,HTML,XLS or RTF.
This guide might help you to get to it
http://www.jasperforge.org/sf/docman/do/downloadDocument/projects.jasperserver/docman.root/doc1095;jsessionid=B80C0A60DCB87BB0BC16BA313A469DB2

Calling the report is pretty straightforward, navigateToUrl will do it, but
displaying the report inside a Flex application is another thing. Embedding
HTML or PDF (using Acrobat browser plugin) inside Flex is another possible
solution (using iFrame or some other methods). I'm also interested in
viewing PDF inside Flex app, can this be done?.

I've heard Jasper4Flex (sub project of Jasperreport), but never managed to
try that one yet.
http://www.jasperforge.org/sf/projects/jasper4flex

-- 
/ i w a n


Re: [flexcoders] Flex module support multi processor ?

2008-03-26 Thread Yohanes Iwan Sugiarto
well you're right Tom, compilations may be a rare occurrence.
just a curiousity, if someday somehow we have 3 or
more users refreshing mxml pages at the same time. or even if maybe someday
Adobe release this compiler module for production use.


On 3/26/08, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 26 Mar 2008, Yohanes Iwan Sugiarto wrote:
  Will Flex compiler module take advantage from the multiprocessor box?

 Does it matter ? Compiles would be a fairly rare occurrence I'd think...

 --




-- 
/ i w a n


[flexcoders] Flex module support multi processor ?

2008-03-25 Thread Yohanes Iwan Sugiarto
Hi,

My company is about to invest a new server for development (Apache + Flex
Compiler module in Windows server environment)
Will Flex compiler module take advantage from the multiprocessor box?
i.e Quad Core Xeon vs Dual Core Xeon, will extra money we put for the quad
core worth the effort?

Thanks.
-- 
/ i w a n


[flexcoders] is there any quick way to re-arrange mxml source code based on object's visual location?

2007-05-24 Thread Yohanes Iwan Sugiarto

Dear gurus,

I was just thinking, is there any quick way to re-arrange our mxml source
code based on visual location of an object (x,y,top,bottom)? a plugin or 3rd
party utility?
I've spent hours re-arranging mxml source codes in order to fix the default
tab order.
Also, using tabIndex is not a good idea for me, because some forms might
have 10-20 input controls or even more.

Am I missing something? or it's just me who's just being too lazy...=)
Thanks
--
/ i w a n