RE: [flexcoders] Intriguing AMFPHP sample

2008-08-21 Thread Kevin Aebig
If it's going to an Air application, than it can write the bytes
temporarily, load the Movie and delete the temporary file. I did that years
ago with C# and Flash and it worked really well.

 

!k

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nik Derewianka
Sent: Wednesday, August 20, 2008 9:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Intriguing AMFPHP sample

 

Hi,

Was just looking through some blogs on AMFPHP and came across a php 
snippet that showed:

function getSwf()
{
return new ByteArray(file_get_contents("my.swf"));
}

But no sample of what to do on the Flex side to turn it back into 
something useable.

How would you convert that ByteArray of the swf file back to a 
MovieClip/SWFLoader/something displayable ??

Thanks,
Nik

 



RE: [flexcoders] Flex 3 / AIR: Checking for a window's existence and if it has focus

2008-07-23 Thread Kevin Aebig
Why not just keep a hash of all open windows with references to them. Then
you can check to see if they're open and if so, use the reference to focus
it.

 

!k

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Good
Sent: Friday, July 18, 2008 11:32 AM
To: flexcoders
Subject: [flexcoders] Flex 3 / AIR: Checking for a window's existence and if
it has focus

 

Hi all,

 

I've built a very basic chat application with flex 3 and packaged it up in
an AIR app and I'm wanting to refine it a bit.  Currently I can double click
a name in my buddy list and create a new window.  The problem is if the
window already exists and I double click the buddies name again I create
another window.  What I am trying to do is build in the ability for the
buddy list to check if a window has already been created for the selected
buddy, and if it has, bring the window forward and set it's focus.

 

I was playing around with NativeApplication.nativeApplication.openedWindows
but I'm not really sure how I use this, all I did was trace() the object.
Am I on the right track?  If so, then what would be my next step, if not
then how would I check for a windows existence?

 

Thanks!


Steve Good

http://lanctr.com

 





 

 



RE: [flexcoders] Re: Working with Start Up companies...

2008-06-12 Thread Kevin Aebig
I expect a percentage of your gross salary is pretty well the norm. In my
experience, 10 to 20 percent of your gross is a nice bonus, but there are no
hard and fast rules about this.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of erik.lockel
Sent: Thursday, June 12, 2008 10:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Working with Start Up companies...

 

No one is in this position or no one wants to share/say ? :)

--- In [EMAIL PROTECTED]  ups.com,
"erik.lockel" <[EMAIL PROTECTED]> 
wrote:
>
> When working with a start up, what % of stock/options would you 
expect 
> to get for joining the company?
> 
> The company is delivering flex/air based products and you are the 
only 
> flex developer and the company size is 6 people.
> 
> Perhaps a touchy subject but I've never gone down this route before 
and 
> don't know what I'm getting into
> 
> Thanks
>

 



RE: [flexcoders] OOP and Work for Hire

2008-06-10 Thread Kevin Aebig
Hi Amy,

 

Personally, I refuse to sign off on the idea that code can be owned. What
are the chances that you're write similar code down the road? How can they
say that the new code you wrote is any different from the code you provided
to them?

 

Instead, I normally offer a non-competition agreement which stipulates that
I won't work for their competitors for a given period. That way they're safe
and I get to reuse my code for projects that won't affect them.


!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Tuesday, June 10, 2008 3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] OOP and Work for Hire

 

I was recently asked to sign an agreement that would designate a Flex 
project as "Work for Hire." I.e. I would not retain any ownership of 
the code I wrote for the project. This seems to defeat the purpose of 
OOP, if I create a whole body of code that I can't then reuse. How do 
most Flex developers handle the idea of Work for Hire?

Thanks;

Amy

 



RE: [flexcoders] Supporting (implementing) for each

2008-05-29 Thread Kevin Aebig
You could just reference the source property instead to get at the core
data. 

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, May 28, 2008 4:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Supporting (implementing) for each

 

Hey Guys,

How do I implement for each? ArrayCollection has public fields (such as
length) that don't turn up in a for each, which is what I'll get if I just
define my class as dynamic. Is it just by implementing ICollectionView or
IList, or is there more to it? I could just dive into ArrayCollection.as and
try and figure it out, but I'm hoping there's an easier answer ;-)

I'm writing an "ordered set" collection btw if that explains why I want to
do this :)

-J

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

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

 



RE: [flexcoders] SQL Lite syntax issue, need something cleared up regarding SELECT

2008-05-16 Thread Kevin Aebig
That's not really a good way to go about using parameters with SQLite and
you'll continue to have type issues. 

 

Everything is explained at the following link, including the solution to
your problem:

http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_07.html

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bredwards358
Sent: Friday, May 16, 2008 1:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SQL Lite syntax issue, need something cleared up
regarding SELECT

 

While working on the login functionality of the application I'm
developing, I noticed that SQL seems to be interpereted differently
than what I'm used to. Here's my current select statement that I'm
using for validation:

sqlText = "SELECT * FROM Up18Technicians WHERE TechName = " + userName
+ " AND Password = " + pass;

Which translates to:

SELECT * FROM Up18Technicians WHERE TechName = Ross AND Password = 358029

Now, when the application gets to the execute portion, it throws this
error:

SQLError: 'Error #3115: SQL Error.', details:'no such column: Ross',
operation:'execute'
at flash.data::SQLStatement/internalExecute()
at flash.data::SQLStatement/execute()
at
MatMgr::DataManager/techLogin()[C:\Tech_Connect\MatMgr_Proto\src\MatMgr\Data
Manager.as:453]
at
MatMgr_Proto/login()[C:\Tech_Connect\MatMgr_Proto\src\MatMgrProtoSource.as:2
10]
at
MatMgr_Proto/__btnLogin_click()[C:\Tech_Connect\MatMgr_Proto\src\MatMgr_Prot
o.mxml:18]

This indicates that it is trying to find columns by the name of what
was entered instead of trying to find values in those columns matching
what I entered. I looked up SQL as its understood by SQL lite, but it
seems a bit confusing and I'm unsure if it's even the problem. If it
is, then I'm just wondering if it may have something to with perhaps
the "AND" keyword isn't understood or maybe there's something up with
how I'm using the WHERE clause.

Here's the function I'm using to perform this in case it helps:

public function techLogin(userName:String, pass:String):void
{ //This loads information needed to login technicians
sqlText = "SELECT * FROM Up18Technicians WHERE TechName = " +
userName + " AND Password = " + pass;
trace(sqlText);
selectStatement = new SQLStatement();
conn = new SQLConnection();
selectStatement.sqlConnection = conn;
conn.open(dbFile);
selectStatement.addEventListener(SQLEvent.RESULT, selectTechLoginResult);
selectStatement.addEventListener(SQLErrorEvent.ERROR, errorHandler);
selectStatement.text = sqlText;
selectStatement.execute(); //Error happens here, doesn't go any further
}

 



RE: [flexcoders] Can AIR app get Workstation Credentials?

2008-05-15 Thread Kevin Aebig
Yeah... with that I completely agree. I was assuming that he came to terms
with the fact that his login *should* be in the application itself instead
of breaking it up into pieces.

 

Cheers,

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Winscot
Sent: Thursday, May 15, 2008 4:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can AIR app get Workstation Credentials?

 

Crossing authentication barriers is always a hot topic. and the
EncryptedStore would be a great place to mount a single sign-on solution for
AIR apps. However - to keep this all in perspective - remember that any
authentication method that allows credentials acquired during a handshake to
be 'handled' outside the originating system isn't secure. it's a very bad
idea. 

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, May 15, 2008 10:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can AIR app get Workstation Credentials?

 

Isn't this a perfect usage of the EncryptedStore feature? Why not save the
login credentials when the person first logs in, than save them via the
EncryptedStore for the remaining usage.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Geoffrey
Sent: Wednesday, May 14, 2008 3:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can AIR app get Workstation Credentials?

 

Our flex app requires a login(HTML page) before launching the main
app(the SWF does not handle the logging in). 

Converting to an AIR app and I was wondering if I could get the logged
in user's credentials from the workstation so we don't require a login
screen.

 



RE: [flexcoders] Can AIR app get Workstation Credentials?

2008-05-15 Thread Kevin Aebig
Isn't this a perfect usage of the EncryptedStore feature? Why not save the
login credentials when the person first logs in, than save them via the
EncryptedStore for the remaining usage.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Geoffrey
Sent: Wednesday, May 14, 2008 3:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can AIR app get Workstation Credentials?

 

Our flex app requires a login(HTML page) before launching the main
app(the SWF does not handle the logging in). 

Converting to an AIR app and I was wondering if I could get the logged
in user's credentials from the workstation so we don't require a login
screen.

 



RE: [flexcoders] How to create .doc files (Word files) with Flex ?

2008-05-13 Thread Kevin Aebig
Why would you be surprised? The Word format is bloated and extremely feature
rich. Every time you wonder why a specific feature wasn’t added to the Flash
Player, remember how big it is…

 

You need to be more specific in what you’re trying to accomplish if you want
specific help. What features do you need from Word? Would a PDF be as
accommodating? Could you potentially use a server side service to create the
document and than download it?

 

Cheers,

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mathieu Fernandez
Sent: Tuesday, May 13, 2008 10:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to create .doc files (Word files) with Flex ?

 

zoltan a écrit : 

If you need this functionality only for windows and you are using AIR then
this may help you http://aperture. 
fluorinefx.com/

As it does not provide currently any word specific api one option would be
to save an xml file with the content then run a vbscript that converts it to
a doc file (you would use the aperture framework to launch your script with
cscript.exe)

Another option would be towrite your own c++ library to do that and
invoke it through the framework (but I guess this is out of discussion)

 

Zoli


I need the functionality for Windows, Mac and Unix, this is the difficulty,
otherwise I was using OWC.
Java POI seems to be the most interesting but it don't allow us to make a
lot of things with Word format (the management of Excel seems to be better).

I'm really suprised, Flex (ActionScript) doesn't allow us to write this kind
of file...

 



RE: [flexcoders] reading serial port with AIR / or pipe in linux with AIR application

2008-05-08 Thread Kevin Aebig
I'm quite sure that direct port access is out of the question, but you could
build a small service that reads that data and outputs it as a realtime XML
server locally. That way you could get live updates and not worry about
delay.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yigit boyar
Sent: Thursday, May 08, 2008 1:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reading serial port with AIR / or pipe in linux with
AIR application

 

hi folks,
is there a way to read data from serial port ? (RS232 - 9pin cable)
I couldn't find any example/API and not very hopeful but Java has it why not
AIR?

I have an embedded HW and the instructor requires a good looking GUI, so I
want
to do the GUI with AIR, if I can.
>From internet searchs, people suggest to write a C code to read data and
export to a file
from which Flex will read, but considering 5ms precision will not be
possible in this way. I can do this
with pipes of linux, but is there a way to pipe an AIR application with an
executable in linux ?

Any help/suggestion is welcome,
thanks

yigit

 



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

2008-04-28 Thread Kevin Aebig
I'm pretty sure that you can override that from the service side. It's
definitely worth looking into.

 

I've got to ask, but what are you trying to process that would take longer
than 30 seconds? Have you thought about splitting the call up and dealing
with it as a queue or other method that's more manageable?

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cameron Childress
Sent: Monday, April 28, 2008 12:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Long running remoting request: Channel.Call.Failed

 

FYI - I found my answer.  Looks like the requesttimeout property of certain
service calls in AIR is broken.

https://bugs. 
adobe.com/jira/browse/SDK-15403

-Cameron

On Mon, Apr 28, 2008 at 12:10 PM, Cameron Childress <[EMAIL PROTECTED]
 com> wrote:

Anyone?  I also tried setting my requestTimeout="0" on the RemoteObject, but
it's still failing after about 30 seconds.

I just need my RemoteObject call to stay open for 120 seconds, but it
refuses to.

Bueller?  Am I asking the wrong question here?

-Cameron

 

On Sun, Apr 27, 2008 at 11:42 PM, Cameron Childress <[EMAIL PROTECTED]
 com> wrote:

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

Any advice would be welcome.

-Cameron

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




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




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

 



RE: [flexcoders] Programming an AIR App to accept input from a PALM device...

2008-04-23 Thread Kevin Aebig
Though it's unorthodox, perhaps you could post the core aspects of the VB
code and some of us can tell you if it's even feasible and if so, than how
to move forward.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bredwards358
Sent: Wednesday, April 23, 2008 6:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Programming an AIR App to accept input from a PALM
device...

 

As per a suggestion from another member of the forum, I have decided
to repost my question with a more descriptive title. Right now I am
currently in the midst of designing an Adobe AIR application which is
basically a new and improved version of legacy software coded in VB6
(I'm using Flex 3). At the moment I'm purely working on the client
side of things and one issue I'll be having to deal with is this:

The old VB6 application was able to accept input from synchronized
PALM devices as well as others, but I want to focus on PALM first.
Now, I've never developed this kind of software before, and I'm even
quite new to Adobe Flex and AIR, having only been using them for the
past few weeks. 

That said, I'm having trouble figuring out where to get started, I'm
aware that I need some sort of conduit software, but I don't know
whether I need to code that myself or simply download it. I'm also not
sure where to begin going about setting things up so that the software
I'm working on can listen for when a client scans a barcode and having
the results show up in the application on the desktop.

I'm searching google as well but my "search-fu" is rather weak so
that'll take a while so I have decided to post here in the meantime.
This is by no means time-critical as this is just the beginning of the
project.

Thanks in advance.

 



RE: [flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

2008-04-22 Thread Kevin Aebig
Which version of AMFPHP?

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of supertodda
Sent: Thursday, April 17, 2008 6:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

 

Anybody out there experiencing this issue in flex 3 with AMFPHP?

 



RE: [flexcoders] RemoteObject CFC error - Channel disconnected - Client.Error.DeliveryInDoubt

2008-04-22 Thread Kevin Aebig
The only time I receive this error is when there's a file that has an error
in it that's included into the Service.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Switzer
Sent: Tuesday, April 22, 2008 9:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject CFC error - Channel disconnected -
Client.Error.DeliveryInDoubt

 

Has anybody encountered an error similar to this? This happens when
using RemoteObject calls (to ColdFusion CFCs).

It seems to have started happening after a new deployment the other day.

Our app was compiled using Flex2 (with the most recent hotfixes).

I can't reproduce the error locally, but it does happen on our PROD box.

[RPC Fault faultString="Channel disconnected"
faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel
disconnected before an acknowledgement was received"]
at
mx.rpc::AbstractInvoker/http://www.adobe.

com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at NetConnectionMessageResponder/channelDisconnectHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/disconnectSuccess()
at mx.messaging.channels::NetConnectionChannel/internalDisconnect()
at mx.messaging.channels::AMFChannel/internalDisconnect()
at mx.messaging.channels::AMFChannel/statusHandler()

 



RE: [flexcoders] Re: AIR & Modules - I've hit a wall

2008-04-17 Thread Kevin Aebig
OR for securities sake, you can have something like PHP proxy the SWF out.
This is actually a great way to do it and maintain more control over who can
load the SWF.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Thursday, April 17, 2008 11:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: AIR & Modules - I've hit a wall

 

That is correct.  For security reasons, you cannot load a module SWF
directly from the web into an AIR app.

 

Some folks have worked around the issue by loading the SWF as a byteArray
using URLLoader, then passing that byteArray to SWFLoader.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ed.syrett
Sent: Thursday, April 17, 2008 9:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: AIR & Modules - I've hit a wall

 

Could somebody please confirm this to me? Is it really true that we
cannot load up swf modules from a web server into an AIR app?

If so then thats a really big disappointment. I can see the need for
security etc, but if an AIR app trusts a particular domain then it
should be able to download a swf module and run it. I would expect
some function call to enable download of swfs from a particular
domain. If there are any workarounds that anyone knows about then
please post here as we would really like to know.

We already have a web app that makes good use of modules. The app
communicates with a server running JBoss using XML, and the web app
firstly downloads a list of menu items, each of which relates to a
module. The user only needs to download the modules that he accesses.

We were hoping to do this with AIR, so that we could have the user
download the AIR container app just once, and then we could add as
many modules as we liked without having to make the user re-install
the whole app. BTW the XML to JBoss seems to work - we just need to
get the modules working.

Any further info gratefully received.

Cheers,

Ed.

 



RE: [flexcoders] AIR SQL - Datatype issues

2008-04-07 Thread Kevin Aebig
Hey Muzak,

I've actually tried a few of those from references at SQLite websites but to
no avail. I think it has something to do with the way the DB is handling
data typing as I've heard that SQLite will actually allow unique datatypes
to each cell instead of column.

Thanks a lot for the examples... hopefully something clicks.

Cheers,

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Monday, April 07, 2008 1:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR SQL - Datatype issues

CREATE TABLE tbl_test ( testID INTEGER PRIMARY KEY AUTOINCREMENT , field1
DATE )

All of the following work:

INSERT INTO tbl_test (field1) VALUES ('now')
INSERT INTO tbl_test (field1) VALUES ('2008-04-07 20:57:44')
INSERT INTO tbl_test (field1) VALUES ('2008-04-07')
INSERT INTO tbl_test (field1) VALUES (CURRENT_TIMESTAMP)

More info on this page:
http://livedocs.adobe.com/flex/3/langref/localDatabaseSQLSupport.html

Look for: "Date and time formatting functions" and "Time formats" (about 3/4
down the page).

regards,
Muzak

- Original Message - 
From: "Kevin Aebig" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 07, 2008 5:22 PM
Subject: [flexcoders] AIR SQL - Datatype issues


> Hey all,
> 
> 
> 
> I've looked at the documentation about 400 times now and can't seem to
find
> myself an example of using a column of datatype Date within AIR SQL. I
know
> that it's been customized to use Actionscript / JavaScript Date objects,
but
> I can't get it to work properly for the life of me. Any examples or
> pointers?
> 
> 
> 
> Cheers,
> 
> 
> 
> !k
> 
>



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







RE: [flexcoders] Profiling AIR apps

2008-04-07 Thread Kevin Aebig
It works. I use, Run >> Profile >> AppName and it starts the profiler as
well as your application after you set the options.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Vaan S Lanko
Sent: Monday, April 07, 2008 11:24 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Profiling AIR apps

 

In the words of Dr Evil 'throw me a frikkin bone here ok'. Cmon someone 
must be using the profiler on AIR apps out there. I'm not asking for 
hand holding, just a confirmation that it even works would be start. Is 
there someting I need to config, coz at the moment all i get is socket 
timeout messages on the console and all the profiler buttons are grayed 
out, inaccessible.

Cheers
Vaan

 



RE: [flexcoders] AIR SQL - Datatype issues

2008-04-07 Thread Kevin Aebig
Hi Vaan,

Thanks... I just found references to using a specific date function which
I'm going to try out.

convert string to datetime object: 
strftime('%Y-%m-%d %H:%M:%S','timeStringShouldGoHere','localtime')

Cheers,

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Vaan S Lanko
Sent: Monday, April 07, 2008 10:39 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR SQL - Datatype issues

Hey Kevin,

Heres an example of some sql text on a SQLStatement that I use in an AIR 
app I'm building. I use a dateformatter for the actual date output i.e 
'2008-04-06' and if I need the time component, I just build up and 
replace the end of the text with my vars, its not pretty but it works 
fine. The thing to watch out for is that AS regards 12am as 24 rather 
than 00. Hope that helps..

Cheers
Vaan

select * from Foo where bar_id = "2" and datetime(date) = 
datetime('2008-04-06 00:00:00');

Kevin Aebig wrote:
>
> Hey all,
>
> I've looked at the documentation about 400 times now and can't seem to 
> find myself an example of using a column of datatype Date within AIR 
> SQL. I know that it's been customized to use Actionscript / JavaScript 
> Date objects, but I can't get it to work properly for the life of me. 
> Any examples or pointers?
>
> Cheers,
>
> !k
>
>




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







RE: [flexcoders] AIR SQL - Datatype issues

2008-04-07 Thread Kevin Aebig
Hi Fidel,

 

Actually, the version of SQLite that AIR uses has been customized to
implement dates as julian dates and stores them as REAL. My issue arises in
that I'm getting the dates originally from a MySQL DateTime column and still
want to be able to use that form of formatting to query the local database
with date ranges and ordering.

 

It would be nice if there were better examples of using the AIR SQL engine.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Fidel Viegas
Sent: Monday, April 07, 2008 9:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR SQL - Datatype issues

 

On Mon, Apr 7, 2008 at 4:22 PM, Kevin Aebig <[EMAIL PROTECTED]
<mailto:kevin%40keslabs.com> com> wrote:

> Hey all,
>
>
>
> I've looked at the documentation about 400 times now and can't seem to
find
> myself an example of using a column of datatype Date within AIR SQL. I
know
> that it's been customized to use Actionscript / JavaScript Date objects,
but
> I can't get it to work properly for the life of me. Any examples or
> pointers?

The database engine used in Air is SQLite. I am not that experienced
with SQLite, but I suppose that there should be a DATE and TIME
datatypes. I have seen people use Text and Real for storing date
values. So, just do a search on the web for sqlite.

All the best,

Fidel..

 
<http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/msgI
d=109106/stime=1207584342/nc1=4507179/nc2=3848644/nc3=5170406> 
 



[flexcoders] AIR SQL - Datatype issues

2008-04-07 Thread Kevin Aebig
Hey all,

 

I've looked at the documentation about 400 times now and can't seem to find
myself an example of using a column of datatype Date within AIR SQL. I know
that it's been customized to use Actionscript / JavaScript Date objects, but
I can't get it to work properly for the life of me. Any examples or
pointers?

 

Cheers,

 

!k



RE: [flexcoders] What's this Called?

2008-03-24 Thread Kevin Aebig
That's called bad practice. The lookup method you're referring to is called
an associative array or dictionary.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Monday, March 24, 2008 6:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What's this Called?

 

When I do this["idOfsomethingImLookingfor"]

I usually do this if I have to loop something.

So:

for (i=0; i<10; i++){
var example:Object = this["myComponent" + i]
//do some more stuff
}

I'm trying to do the same thing in .NET. I don't know what it's
called though so I'm having a hard time googling it.

Thanks,

Nate

 



RE: [flexcoders] Re: Kiosk support in AIR?

2008-03-13 Thread Kevin Aebig
You can do it with Flex and SWFStudio, which is a custom Flash player that
can limit what is available for the end user. It specifically has features
for kiosk use.


!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Blake Eaton
Sent: Thursday, March 13, 2008 9:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Kiosk support in AIR?

 

You might be able to do this with Linux.

Thanks,
Blake Eaton
http://blakeeaton.  blogspot.com 


--- In flexcoders@yahoogroups.com, "Ramsey, Robert L" <[EMAIL PROTECTED]>
wrote:
>
> What would happen if you made the Air app the shell for windows? You
> don't have to have explorer.exe as the shell.
> 
> Bob
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Jeffry Houser
> > Sent: Wednesday, March 12, 2008 6:46 PM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Kiosk support in AIR?
> > 
> > 
> > As the FAQ says, that Kiosk feature is not a driving force of the
> AIR
> > runtime. Yes, you can run full screen apps. But, I could not find a
> > way to prevent the user from quitting out of it or using alt-tab. I
> > have not tried on the 1.0 release, so would love to hear if things
> have
> > changed.
> > 
> > Beau Scott wrote:
> > >
> > > So the FAQ on the old labs site for AIR noted that kiosk support was
> > > planned, but it gave no mention of which specific kiosk-bits of
> > > functionality would be available. Anyone know if this made it in and
> if
> > > so what/where?
> > >
> > >
> (http://labs.adobe.com/wiki/index.php/AIR:Developer_FAQ#Can_I_create_CD-
> > ROM_or_kiosk_applications_that_leverage_Adobe_AIR.3F)
> > >
> > > I'm looking for a few specific settings like locking in full screen,
> > > disabling program exit (hotkey) and application switching - but
> would be
> > > curious also as to what else was put in. I imagine I could intercept
> > > some of that and force it to behave similarly, but there would be
> some
> > > platform-specific logic in there that would defeat the purpose of
> using
> > > a platform independent vm/framework...
> > 
> > 
> > 
> > --
> > Jeffry Houser
> > Flex, ColdFusion, AIR
> > AIM: Reboog711 | Phone: 1-203-379-0773
> > --
> > Adobe Community Expert
> > 
> > My Company: 
> > My Podcast: 
> > My Blog: 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> >
>

 



RE: [flexcoders] Export To outlook in flex...

2008-03-12 Thread Kevin Aebig
Export what? Email, Mail Folders, Contacts, other?

 

Please be more precise in and post what you've tried already to accomplish
this on your own. Perhaps one of the list members will be able to help you
work through the problems.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bhaskar M
Sent: Wednesday, March 12, 2008 12:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Export To outlook in flex...

 

Hi

 

 

I need to implement Export To Outlook feature in flex application..

 

could anyone give tips.

 

 

Thanks

Bhaskar.

 

  

  _  

Looking for last minute shopping deals? Find
  them fast with Yahoo! Search.

 



RE: [flexcoders] FileReference.browse sometimes takes minutes for dialog to open

2008-03-11 Thread Kevin Aebig
In debugging, I have the same issue on my Dell Laptop (WinXP), but not as
bad. It normally only take 5 to 10 seconds for the dialog to open on my
machine and this seems to only happen during debugging, which is what I
wrote it off as.

 

!k 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of thirtyfivemph
Sent: Tuesday, March 11, 2008 10:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FileReference.browse sometimes takes minutes for
dialog to open

 

I don't ever have this problem on my machine (MacBookPro, OSX), but my
partner has it quite often on his (Dell laptop, WindowsXP):

In our app, we call FileReference.browse for the user to select a
local file. I've got a that call as basically the only code in the
click event handler for a button. On my partner's machine, he clicks
the button and sometimes has to wait a minute or more before the OS
open dialog shows up.

I'm not sure what I could be doing to affect the amount of time it
takes for the OS dialog to show, and it may just be a quirk of his
machine. Is there any way I can fix this, or if not, handle it gracefully?

Troy.

 



RE: [flexcoders] Re: how to call a function in a popup parent?

2008-03-11 Thread Kevin Aebig
If you're requiring a passed instance and hard-coding the method it calls,
than yes, the flexibility is lost. But this method is just a flexible and
doesn't require listeners:

 

Component reference var:

public var onSubmit:Function;

 

Set the reference:

myComponent.onSubmit = myFunction;

 

To trigger inside the component:

onSubmit.call();

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Tuesday, March 11, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: how to call a function in a popup parent?

 

Glad you got it working, but I vote with Ralf.  Having the popup dispatch an
event allows for reuse of that popup in other applications and places within
the current application.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Derrick Anderson
Sent: Tuesday, March 11, 2008 11:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: how to call a function in a popup parent?

 

passing an instance to the parent class as a variable is exactly what i did,
thanks guys!

On Tue, Mar 11, 2008 at 2:26 PM, actionscript_czar <[EMAIL PROTECTED]
 cc> wrote:

Since it looks like MiniTextEditor is a custom component, you could 
make a public variable, or at least a public setter, inside your 
component so that a reference is available in your component. Then 
you would instantiate it like this:

textPopUp = new MiniTextEditor();
textPopUp.creator = this;
PopUpManager.addPopUp( textPopUp, this );

Then the variable should be available to you.

--- In [EMAIL PROTECTED]  ups.com,
"Derrick 

Anderson" <[EMAIL PROTECTED]> wrote:
>
> hi,
> 
> i create a popup like this from file A:
> 
> textPopUp =
> MiniTextEditor(
> PopUpManager.createPopUp(this, MiniTextEditor));
> 
> in this case 'this' is file B:
> 
> from my popup I am trying to call a function in file A, and since 
the parent
> i pass to the popup is not actually the 'parent' - i can't figure 
out how to
> reference a function in the actual parent. any ideas?
> 
> d.
>

 

 



RE: [flexcoders] how to call a function in a popup parent?

2008-03-11 Thread Kevin Aebig
Why not just pass a reference to the function? 

 

inside the MiniTextEditor file:

 

public var onSubmit:Function;

 

Than your call inside would be onSubmit.call();

 

Outside you pass the reference:

 

textPopUp =
MiniTextEditor(
PopUpManager.createPopUp(this, MiniTextEditor));

 

textPopUp.onSubmit = myobj.functionToCall;

 

Done and clean.

 

!k

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Derrick Anderson
Sent: Tuesday, March 11, 2008 10:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to call a function in a popup parent?

 

hi,

i create a popup like this from file A:

textPopUp =
MiniTextEditor(
PopUpManager.createPopUp(this, MiniTextEditor));

in this case 'this' is file B:

from my popup I am trying to call a function in file A, and since the parent
i pass to the popup is not actually the 'parent' - i can't figure out how to
reference a function in the actual parent.  any ideas?

d.

 



RE: [flexcoders] AMFPHP returning XML

2008-03-06 Thread Kevin Aebig
I'm using a newer version of AMFPHP that doesn't have the method table
anymore. It assumes all methods are public unless they have a "private"
definition inside the service class.

 

But your example did give me some idea's.

 

Thanks,

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [p e r c e p t i c o n]
Sent: Thursday, March 06, 2008 1:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AMFPHP returning XML

 

sureit's pretty long so i'll give you an abbreviationhere's how the
constructor is setup...


function appointmentDataService ()
{
// Define the methodTable for this class in the constructor
$this->methodTable = array(
 "getAppointmentData" => array(
"description" => "get data from event table",
"access" => "remote"
),

"updateAppointment" => array(
"description" => "update an appointment",
"access" => "remote"
),

"deleteAppointment" => array(
"description" => "delete an appointment",
"access" => "remote"
),

"getLocationDetails" => array(
"description" => "delete an appointment location'",
"access" => "remote"
),

"getAppointmentDetails" => array(
"description" => "delete an appointment details'",
"access" => "remote"
),

   .
   .
   .
   .


);

$this->dbClass = new DBClass();


}

and this is the method...


 /***
 * FUNCTION: getAppointmentData( )
 *
 * DESCRIPTION: Returns a list of Appointments
 *
 * RETURNED: xml string
 **/
function getAppointmentData($uin)
{
// Do the query, return the record or null
$taskList =  $this->dbClass->DBGetAppointmentData( $uin);

 $content = '' .
"\n\n";


  $content .= "\n";

  if ( $taskList && count( $taskList ) > 0 )
  {
for ( $j = 0; $j < count( $taskList) ; $j++ )
{
  $content .= "\n";

  $content .= "";
  $content .= "" .
date( "n-d-y", $taskList[ $j ][ "start" ] ) .
  "\n";
  $content .= "" .
date( "g:i  a", $taskList[ $j ][ "start" ] ) .
  "";
      $content .= "\n";

  $content .= "";
  $content .=$taskList[ $j ][ "name" ];
  $content .= "\n";

  $content .= "\n";
}
  }
  else
  {
$content .= "No Appointments.";
  }

  $content .= "\n";
  $content .= "\n";

 return  $content;
}

if it's not in the actionscript then it has to be in the method table then
right??
p

On Thu, Mar 6, 2008 at 9:03 AM, Kevin Aebig <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> com> wrote:

That's the funny part. I've check the name of the method and the call about
300 times because that's what it's complaining about, but it's all right.
Would you mind publishing your service method?

 

!k

 

  _  

From: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com] On
Behalf Of [p e r c e p t i c o n]
Sent: Thursday, March 06, 2008 10:32 AM
To: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
Subject: Re: [flexcoders] AMFPHP returning XML

 

it sounds like a typo in your actionscript...i'm doing that very thing at
the moment(returning an xml string using amfphp)
p

On Thu, Mar 6, 2008 at 8:27 AM, Kevin Aebig <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> com> wrote:

Hey all,

 

I've got a method I just added that returns back an XML string, but for some
reason it's now throwing an error of AMFPHP_INEXISTANT_METHOD which makes no
sense as the method has been verified otherways.

 

I've got about 15 other methods in place and working, so the install is good
and functional. I've verified that it's not some kind of caching issue by
renaming the method and the call to something different and yet the error
persists. As well, I've found other people online with the same unresolved
issue. 

 

Has anyone returned back an XML tree string through AMFPHP 1.9 and did you
have any difficulties? 

Cheers,

 

!k

 

 

 



RE: [flexcoders] AMFPHP returning XML

2008-03-06 Thread Kevin Aebig
That's the funny part. I've check the name of the method and the call about
300 times because that's what it's complaining about, but it's all right.
Would you mind publishing your service method?

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [p e r c e p t i c o n]
Sent: Thursday, March 06, 2008 10:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AMFPHP returning XML

 

it sounds like a typo in your actionscript...i'm doing that very thing at
the moment(returning an xml string using amfphp)
p

On Thu, Mar 6, 2008 at 8:27 AM, Kevin Aebig <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> com> wrote:

Hey all,

 

I've got a method I just added that returns back an XML string, but for some
reason it's now throwing an error of AMFPHP_INEXISTANT_METHOD which makes no
sense as the method has been verified otherways.

 

I've got about 15 other methods in place and working, so the install is good
and functional. I've verified that it's not some kind of caching issue by
renaming the method and the call to something different and yet the error
persists. As well, I've found other people online with the same unresolved
issue. 

 

Has anyone returned back an XML tree string through AMFPHP 1.9 and did you
have any difficulties? 

Cheers,

 

!k

 

 



[flexcoders] AMFPHP returning XML

2008-03-06 Thread Kevin Aebig
Hey all,

 

I've got a method I just added that returns back an XML string, but for some
reason it's now throwing an error of AMFPHP_INEXISTANT_METHOD which makes no
sense as the method has been verified otherways.

 

I've got about 15 other methods in place and working, so the install is good
and functional. I've verified that it's not some kind of caching issue by
renaming the method and the call to something different and yet the error
persists. As well, I've found other people online with the same unresolved
issue. 

 

Has anyone returned back an XML tree string through AMFPHP 1.9 and did you
have any difficulties? 

Cheers,

 

!k



RE: [flexcoders] Re: Flex Encryption and Flex Application check

2008-03-06 Thread Kevin Aebig
Or how about the 1000's of other text programs out that are free to download
and use? There's no way to check for all of them... 

Your best bet as Tom mentioned is to deal with the problem, not protect it.
My question is why are you allowing someone to edit the content or have
access to it if it's that important?

What are the circumstances around this? Perhaps we can offer you a different
solution.

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, March 06, 2008 8:08 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex Encryption and Flex Application check

On Thursday 06 Mar 2008, Ritesh Yadav wrote:
> So it means one can catch the only Action script from the  Flex files not
> the MXML  code..

ABC is 'abstract byte code'. Not ActionScript.

>  Idea behind this check { notepad/Webex } is through this  we can make any
> application more secure so no one can copy the data ...

You need to perform a basic security analysis - what are you protecting, and

from who ?
For instance, if you are displaying text, and worry that Joe User will cut
and 
paste it into notepad, so you'll make sure notepad is running, then
(assuming 
that works) Bob Geek will just run your application in a virtual machine, 
screenshot the text and OCR it.

-- 
Tom Chiverton
Helping to collaboratively reinvent one-to-one applications
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A
list of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
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







RE: [flexcoders] Need help with AMFPHP - how to work with a arraycollection

2008-03-06 Thread Kevin Aebig
What you should do is instead of sending an ArrayCollection, you should send
it's source. That'll be interpreted as an array within PHP.

 

http://livedocs.adobe.com/flex/2/langref/mx/collections/ArrayCollection.html
#source

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of oneproofdk
Sent: Thursday, March 06, 2008 7:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help with AMFPHP - how to work with a
arraycollection

 

Hi
I'm using AMFPHP 1.9 as a backend for a FX2 application.

I'm desperately looking for help for the PHP side - how to receive and
work with an ArrayCollection.

Anyone with some links or code they'd be willing to share ?

Thanks for listening.

Mark

 



[flexcoders] FYI - iPhone won't support Mobile Flash

2008-03-05 Thread Kevin Aebig
In case someone was planning a project based on deploying it to the iPhone:

 

http://gizmodo.com/364173/steve-jobs-craps-on-adobe-mobile-flash-does-not-bo
de-well-for-iphone-support

 

And all this time I though Jobs was a smart guy. 

 

!k

 



RE: [flexcoders] Re: AIR QnA

2008-03-04 Thread Kevin Aebig
Well considering the consequences of offering fully web-based push button
installs as well as access to executing local processes, which might be a
case of having your cake and eating it too.

 

Though I hope a method of dealing with this in a secure fashion pops up,
I'll make due without if need be simply to ensure my clients are safe to
install the runtime without Norton throwing a fit.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan Rolander
Sent: Tuesday, March 04, 2008 10:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: AIR QnA

 

I really hope the Merapi project takes off. For me, the inability of 
Air applications to launch external processes is a huge disappointment 
and limits what I can do with it.

 



RE: [flexcoders] Flex Encryption and Flex Application check

2008-03-04 Thread Kevin Aebig
There are a couple that can decompile AS3 based Flash SWF's, but as of this
point, there aren't any that can decompile either AIR or Flex based SWF's as
the framework seems to be too much for them to handle.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, March 04, 2008 9:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Encryption and Flex Application check

 


I didn't think there were any decompilers that supported Flash Player 
9 + AS3 yet; the one you point to does not.

I'm sure creating such a decompiler would be easier now that the 
compiler is available open source. ( Easier does not equate to easy, 
though ).

Ritesh Yadav wrote:
> 
> 
> Hi Jeffry Houser,
> 
> Swf Catcher like
> 
> 
> "Download *Sothink* SWF *Decompiler*-"
> 
a.com/get/Internet/WEB-Design/Flash/Sothink-SWF-Decompiler-MX.shtml>
> 
> through which one catch the swf file and retrieve the all the component 
> of swf like : images, sound, action script 
> 
> Ritesh
> 
> On Tue, Mar 4, 2008 at 7:12 PM, Jeffry Houser <[EMAIL PROTECTED]
 com 
>  com>> wrote:
> 
> Ritesh Yadav wrote:
> >
> >
> > Hi...
> >
> > is anyone have idea of following two things about Flex 2.0
> >
> > 1. Can i send or Use .swf file from flex in encrypted manner so
> no one
> > can catch the .swf file with the help swf catcher tool. If yes
> let me
> > know how to do that with flex.
> 
> What is a swf catcher?
> 
> 
> >
> > 2. Can i check the whether a OS application[ex. Notepad] is open
> or not
> > through flex As that we can do with VB How ?
> 
> Not that I'm aware of.
> 
> -- 
> Jeffry Houser
> Flex, ColdFusion, AIR
> AIM: Reboog711 | Phone: 1-203-379-0773
> --
> Adobe Community Expert
> 
com/communities/experts/members/JeffryHouser.html
> 
com/communities/experts/members/JeffryHouser.html>>
> My Company:  com-it.com
 com-it.com>>
> My Podcast:  how.com
 how.com>>
> My Blog:  user.com
 user.com>>
> 
> 
> 

-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711 | Phone: 1-203-379-0773
--
Adobe Community Expert 

com/communities/experts/members/JeffryHouser.html>
My Company:  com-it.com>
My Podcast:  how.com>
My Blog:  user.com>

 



RE: [flexcoders] Video ads in AIR application

2008-03-03 Thread Kevin Aebig
I've yet to hear of any, but the biggest problem you'll face is dealing with
when the user is offline and doesn't have an internet connection.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Claudia Barnal
Sent: Monday, March 03, 2008 7:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Video ads in AIR application

 

Hi, is there a known framework or best practices for including
(streaming/progressive) video ads in an AIR application?

Thanks,
Claudia

 



RE: [flexcoders] A Hole in ActionScript 3.0, and a Way Around It

2008-02-29 Thread Kevin Aebig
This has been the case with Actionscript since the beginning. A variable is
always passed as a reference and not a copy. So each time you're looping
over and creating the function, you're only passing a reference to the
variable, and not the value itself.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Smith
Sent: Thursday, February 28, 2008 7:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] A Hole in ActionScript 3.0, and a Way Around It

 

I've just written an article about what I consider to be a rather ugly
behavior in ActionScript 3.0:

http://effectgenera  tor.com/blog/?p=8

I appreciate that other coders may not see this as a bug per se, but
if there is sufficient agreement then maybe a change to the compiler
could be made (or at least a warning added?). It's certainly bitten me
several times during coding.

I'd appreciate your comments. Many Thanks,

Ed

 



RE: [flexcoders] Family Tree / Flow chart

2008-02-27 Thread Kevin Aebig
Or you could save $700 bucks and look into:

 

-  Springgraph
 

-  Prefuse  

-  Flex Visual Graph Library
 

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Christophe Jolif
Sent: Wednesday, February 27, 2008 4:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Family Tree / Flow chart

 

Hi Murali,

If what you need is an organization structure (not a family tree like 
geni.com), ILOG Elixir provides such a component. You can see it in action 
here if you want to check whether that is what you are looking for:

http://visudemos.

ilog.com/webdemos/orgchart/orgchart.html

More info at: http://elixir.  ilog.com

Hope this helps,
--
Christophe

Murali sankar wrote:
> Hi All,
> 
> I am new to Flex. I want to develop a organization structure like in 
> geni.com. Can you please help me anyone, How to develop or where can i 
> get that kind of component?
> 
> Thanks in advance
> Murali Sankar
> 
> --
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> 
yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?ca
tegory=shopping> 
> 

-- 
Christophe

 



RE: [flexcoders] does anyone know if ILOG Elixir

2008-02-26 Thread Kevin Aebig
I was sincerely interested in there components until the licensing options
came out. Now I'd rather re-develop them myself to suite my needs and
honestly, I'm nearly done the dials and gauges, the diagramming and the
scheduler. 

 

Considering that many of their components should've been included with Flex
to begin with, it's pretty ridiculous.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pat Buchanan
Sent: Monday, February 25, 2008 6:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] does anyone know if ILOG Elixir

 

$799 is nothin' if you read their licensing info. :)

 

If you want to resell it, and you used all of their components in one way or
another, it would cost you $20,000 if I remember correctly.

 

Ouch.

-Pat



 

On 2/25/08, Sherif Abdou <[EMAIL PROTECTED]  com>
wrote: 


will also sell an education version for a discounted price,$799 is crazy
money and yes i am trying to milk this whole education thing.

 

  _  

Never miss a thing. Make Yahoo your homepage.
  

 

 



[flexcoders] Custom DataProvider

2008-02-20 Thread Kevin Aebig
Hey all,

 

I've created a custom component that relies on 2D data and I'm trying to
figure out the best way to accept data into it. I'd thought about extending
the Dictionary class, but I'm not sure how fast it is at lookups or if
there's a better way to handle this type of data.

 

As it sits, inside the dataprovider each element is a date(either object or
string) and within that, there's a list of children for that date. Is there
a particular implementation that would benefit me the most in this
circumstance?

 

Sincerely,

 

!k



[flexcoders] AS only component development

2008-02-14 Thread Kevin Aebig
Hey all,

 

I'm looking to build a pretty complex composite component out of AS only.
I've only found a handle of simple examples and am looking for more detailed
examples that I can learn from. Anyone have any suggestions?

 

Cheers,

 

!k



RE: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)

2008-02-12 Thread Kevin Aebig
Fair enough. I appreciate the explanation and though I think you might be
fighting a losing battle trying to get people to ditch Windows as their
desktop, I respect the fact that you're willing to do it anyhow. =]

 

Cheers,

 

Kevin

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Thompson
Sent: Tuesday, February 12, 2008 2:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Adobe People, Save me from Silverlight!
(Microsoft's Legal Record)

 

Also Kevin, I think you might have mis-interpreted by what I meant by "I
will only use Microsoft products on the server".

To clarify, I did not mean I will only choose MS server products on the
server, but that, of all of Microsoft technologies there are, the only ones
I will use, are on the Server.

I am completely ditching Windows Vista and any support or any use of
Microsoft software, I'm only going to use Mac OSX, and will continue to
support customers that I've developed solutions for Windows for, only for
the Windows Server platform, not for any client side technology whatsoever.

I do not intend to make the mistakes I have in the past - ever - the cannot
be trusted period.  But my risk is minimal by supporting a Server technology
if I have to or if the customer wants it.  If they want Silverlight, I'll
tell them why they shouldn't be using Silverlight or even using Windows for
that matter as their personal computer...until the day I die, I'll testify
to that.

-r


Kevin Aebig <[EMAIL PROTECTED]> wrote:

I've never been an advocate to either side of the debate, but don't you
think you're being quite hypocritical in saying that the client aspect of
Microsoft is evil, but that you still actively use the server products?

 

If you're looking for a reason to not go with Silverlight, than go on the
tried and true backup that no matter what Microsoft says, it will never be
as flexible and well adopted as Flash already is. Adobe has the client
market covered between Acrobat and Flash, so I won't be losing any sleep
anytime soon.

 

!k

 


  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Thompson
Sent: Tuesday, February 12, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adobe People, Save me from Silverlight!
(Microsoft's Legal Record)

 

Here is a big reason why NOT to go with Silver-Light:

I am Robert D. Thompson.

Here is Federally Published public record of something,

http://www.fedcirc.us/case-reviews/thompson-v.-microsoft-corporation-4.html

I will not discuss the above public record, but will discuss why I believe
it would be Historically of poor judgment to trust Microsoft with a Client
side technology, including it's lost to SUN Microsystems for licensing and
then hacking it's client-side technology, and other cases such as Stac
Electronics.

Steven Ballmer went to Country Day Prep academy here in my homestate of
Michigan and I know several people there through individuals I've known
through Track and Field and running in the Junior (high-school level) TAC
national championship team with through regionals.  I've also had an
attorney who has gone to that same school at the same time as Steven
Ballmer.

- OpenGL is standard, Microsoft will force DirectX even though it's losing
ground to OpenGL among the vendors.  It will find ways to tie into the API
and hack things up like they did in the SUN MICROSYSTEMS's Java Hack - can
you imagine; these people at Microsoft actually licensed Sun's Java and got
the source code to it and hacked it up so it wouldn't run on Windows IE well
without bugs.  Even Rick Segal has posted comments after being quietly
abandoned by Microsoft after the "Steve Barkto Incident" (google that) as
saying that Microsoft hi-jacked the efforts of both Apple's QuickTime and
Blue Mountain software through unethical methods and when the court asked
for source code record, Microsoft said it was not available and Segal argued
this was ridiculous (google "Blue Mountain v Microsoft".  I talk about State
Attorney generals who have had much harsher things to say about MS than
anyone on my site www.ActiveCommunity.com

- Microsoft is losing ground to Apple, to OpenGL (look into Papervision 3D,
it's amazing and can run on ALL PLATFORMS; MS will limit other platforms to
a viewer only and it's been buggy as far as I've heard).

- I am a .NET Programmer who specializes in using ActionScript 3.0 and
integrating it with SQL Server 2005 using stored procedures.  I will only
use Microsoft products on the server because, (a) I still like the server
but will never invest in trusting Microsoft for ANY Client end software as
they will betray you in the end; don't do it, you will lose to them if you
trust them, (b) I have found a Gold Certified Microsoft provider who, in

RE: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)

2008-02-12 Thread Kevin Aebig
I've never been an advocate to either side of the debate, but don't you
think you're being quite hypocritical in saying that the client aspect of
Microsoft is evil, but that you still actively use the server products?

 

If you're looking for a reason to not go with Silverlight, than go on the
tried and true backup that no matter what Microsoft says, it will never be
as flexible and well adopted as Flash already is. Adobe has the client
market covered between Acrobat and Flash, so I won't be losing any sleep
anytime soon.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Thompson
Sent: Tuesday, February 12, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adobe People, Save me from Silverlight!
(Microsoft's Legal Record)

 

Here is a big reason why NOT to go with Silver-Light:

I am Robert D. Thompson.

Here is Federally Published public record of something,

http://www.fedcirc.us/case-reviews/thompson-v.-microsoft-corporation-4.html

I will not discuss the above public record, but will discuss why I believe
it would be Historically of poor judgment to trust Microsoft with a Client
side technology, including it's lost to SUN Microsystems for licensing and
then hacking it's client-side technology, and other cases such as Stac
Electronics.

Steven Ballmer went to Country Day Prep academy here in my homestate of
Michigan and I know several people there through individuals I've known
through Track and Field and running in the Junior (high-school level) TAC
national championship team with through regionals.  I've also had an
attorney who has gone to that same school at the same time as Steven
Ballmer.

- OpenGL is standard, Microsoft will force DirectX even though it's losing
ground to OpenGL among the vendors.  It will find ways to tie into the API
and hack things up like they did in the SUN MICROSYSTEMS's Java Hack - can
you imagine; these people at Microsoft actually licensed Sun's Java and got
the source code to it and hacked it up so it wouldn't run on Windows IE well
without bugs.  Even Rick Segal has posted comments after being quietly
abandoned by Microsoft after the "Steve Barkto Incident" (google that) as
saying that Microsoft hi-jacked the efforts of both Apple's QuickTime and
Blue Mountain software through unethical methods and when the court asked
for source code record, Microsoft said it was not available and Segal argued
this was ridiculous (google "Blue Mountain v Microsoft".  I talk about State
Attorney generals who have had much harsher things to say about MS than
anyone on my site www.ActiveCommunity.com

- Microsoft is losing ground to Apple, to OpenGL (look into Papervision 3D,
it's amazing and can run on ALL PLATFORMS; MS will limit other platforms to
a viewer only and it's been buggy as far as I've heard).

- I am a .NET Programmer who specializes in using ActionScript 3.0 and
integrating it with SQL Server 2005 using stored procedures.  I will only
use Microsoft products on the server because, (a) I still like the server
but will never invest in trusting Microsoft for ANY Client end software as
they will betray you in the end; don't do it, you will lose to them if you
trust them, (b) I have found a Gold Certified Microsoft provider who, in
contrast to Microsoft, keeps their integrity intact.

Use what Microsoft has to offer, but if you are to deploy anything that will
be distributed on a client end -- I can ensure you that your efforts should
consider the legal record of Microsoft that involves, Patent Theft (Stac
Electronics), Bad-Faith hacking of licensed code (SUN Micrososystems),
Bad-Faith Funding of anything that will pull down competitors (see Funding
and Astroturf campaigns and research the SCO v IBM legal history).

You've been forwarned; DO NOT TRUST MICROSOFT *EVER* on the Client side, or
you will lose your intellectual property and your initiative if you can ever
believe the constant truth that "He who ignores History is bound to repeat
the Mistakes of the past".

-r


"Merrill, Jason" <[EMAIL PROTECTED]> wrote:

Here is a lot written by Jesse Warden on Silverlight from his Flash/Flex
perspective:  http://jessewarden.
 com/category/silverlight

 

Also, here is a list I compiled last summer after speaking with a
Silverlight engineer.  Some things in Silverlight may have changed since
then, hope this helps some.  

 

Pros
Integrates very very well with .NET/Visual Studio
Programming in C#, VisualBasic, Javascript, Python, or Ruby - CLR (Common
Language Runtime)
Easier for .NET developers to start developing for than Flash
Microsoft deep-pocket backing and product integration
All code remains external, no republishing after coded update like you do
with Flash
Runs on Mac OSX, Windows XP and Vista

 

Cons
Requires programming in C#, Javascript (inconsistent across browsers),
VisualBasic, Python, or Ruby
Not geared towards multimedia artists, learning community

RE: [flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Kevin Aebig
Yeah, that works too... =]

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Thursday, February 07, 2008 4:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What is the best way to add a day to a date?

or:

var ms:Number = 24*60*60*1000;
var d:String = "2008/12/20";
var newDate:Date = new Date(Date.parse(d)+ms);


- Original Message - 
From: "Kevin Aebig" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, February 07, 2008 6:19 PM
Subject: RE: [flexcoders] What is the best way to add a day to a date?


> Create a date object with the string, than add the day to it like this:
> 
> 
> 
> newDate = new Date(a[0], a[1], a[2]);
> 
> newDate.seconds += 8640; // seconds in a day or (60*60*24)
> 
> 
> 
> !k 



--
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







RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
For the List classes that works well, but the RPC source hasn’t been
released near as I can tell.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cancil
Sent: Thursday, February 07, 2008 1:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Extending Base Classes

 

You do realize you can import the Flex framework directly into your eclipse,
so anytime you need to open a class, just hit CTRL + SHIFT + T and type it
in That works best.

-Eric

On Feb 7, 2008 1:43 PM, Kevin Aebig <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> com> wrote:

Actually I'm currently using the Scheduling Framework, but have found that
it doesn't scale with fluid layouts, which is a big problem in the
application I'm building. 

 

Thanks anyhow,

 

!k

 

  _  

From: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com] On
Behalf Of Dimitrios Gianninas
Sent: Thursday, February 07, 2008 12:08 PM


To: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
Subject: RE: [flexcoders] Extending Base Classes

 

Cant help with RemoteObject, but for the List based on, use the link below
an scroll to the bottom and take a look at the Scheduling framework

 

http://code. <http://code.google.com/p/flexlib/wiki/ComponentList>
google.com/p/flexlib/wiki/ComponentList

 

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

 

 

  _  

From: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com] On
Behalf Of Kevin Aebig
Sent: Thursday, February 07, 2008 12:16 PM
To: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
Subject: RE: [flexcoders] Extending Base Classes

Hi Dimitrios,

For the List based Component:

I'm looking to make a component that would be the same as a timesheet.
Basically a vertical list of time slots where items can be dragged and
resized to reflect time ranges inside of a day. The key with this is that
the time ranges could occupy multiple rows at once. A good example would be
the day view inside of the Outlook Calendar… 

For RemoteObject:

I'm looking to extend the RemoteObject class to incorporate a security
implementation transparently as well as a more simple interface to make
calls with.

Thanks,

!k

  _  

From: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com] On
Behalf Of Dimitrios Gianninas
Sent: Thursday, February 07, 2008 10:56 AM
To: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
Subject: RE: [flexcoders] Extending Base Classes

can u talk in a bit more detail in both cases of what specific needs u have?
Cause for the List based component, maybe an item renderer will solve your
problem.

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

  _  

From: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com] On
Behalf Of Kevin Aebig
Sent: Thursday, February 07, 2008 11:13 AM
To: [EMAIL PROTECTED] <mailto:flexcoders@yahoogroups.com> ups.com
Subject: [flexcoders] Extending Base Classes

Hey all,

I have a couple components I'd like to develop and use some of the base
classes to do it. The only issue I'm having is because we can't see the
inner workings of some of the base classes, it makes it more difficult to
know how to extend off of them, or which is the best for the job. Some
examples of what I mean:

-  A list based component, but needing more flexibility and
customizations than an altered Listbox could give me

-  A RemoteObject Class with added additional features and specific
usage cases

How can I develop components based off the base classes when they remain a
mystery?

Cheers,

!k


AVIS IMPORTANT

WARNING


Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

This electronic mes

RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Actually I’m currently using the Scheduling Framework, but have found that
it doesn’t scale with fluid layouts, which is a big problem in the
application I’m building. 

 

Thanks anyhow,

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dimitrios Gianninas
Sent: Thursday, February 07, 2008 12:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Extending Base Classes

 

Cant help with RemoteObject, but for the List based on, use the link below
an scroll to the bottom and take a look at the Scheduling framework

 

http://code. <http://code.google.com/p/flexlib/wiki/ComponentList>
google.com/p/flexlib/wiki/ComponentList

 

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, February 07, 2008 12:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Extending Base Classes

Hi Dimitrios,

For the List based Component:

I’m looking to make a component that would be the same as a timesheet.
Basically a vertical list of time slots where items can be dragged and
resized to reflect time ranges inside of a day. The key with this is that
the time ranges could occupy multiple rows at once. A good example would be
the day view inside of the Outlook Calendar… 

For RemoteObject:

I’m looking to extend the RemoteObject class to incorporate a security
implementation transparently as well as a more simple interface to make
calls with.

Thanks,

!k

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dimitrios Gianninas
Sent: Thursday, February 07, 2008 10:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Extending Base Classes

can u talk in a bit more detail in both cases of what specific needs u have?
Cause for the List based component, maybe an item renderer will solve your
problem.

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, February 07, 2008 11:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extending Base Classes

Hey all,

I have a couple components I'd like to develop and use some of the base
classes to do it. The only issue I'm having is because we can't see the
inner workings of some of the base classes, it makes it more difficult to
know how to extend off of them, or which is the best for the job. Some
examples of what I mean:

-  A list based component, but needing more flexibility and
customizations than an altered Listbox could give me

-  A RemoteObject Class with added additional features and specific
usage cases

How can I develop components based off the base classes when they remain a
mystery?

Cheers,

!k


AVIS IMPORTANT

WARNING


Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have received
it in error, you should immediately stop reading this message and delete it
and all attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients is
unauthorized and may be unlawful. If you have received this e-mail in error,
please notify the sender.

 



RE: [flexcoders] What is the best way to add a day to a date?

2008-02-07 Thread Kevin Aebig
Create a date object with the string, than add the day to it like this:

 

newDate = new Date(a[0], a[1], a[2]);

newDate.seconds += 8640; // seconds in a day or (60*60*24)

 

!k 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Thursday, February 07, 2008 8:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is the best way to add a day to a date?

 

I'm getting dates in my XML formatted like this:

2008/12/20

In some cases in my Flex app I need to add 1 day to that date. What 
is the best way to do that? Right now I'm working it out this way:

s = chartDates.getItemAt(0).globalDeadline;
a = s.split("/");
newDate = a[0]+"/"+a[1]+"/"+(Number(a[2])+1);

But I'm pretty sure this isn't right.

Can someone help out with the code?

Thanks
-M

 



RE: [flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Hi Dimitrios,

 

For the List based Component:

 

I’m looking to make a component that would be the same as a timesheet.
Basically a vertical list of time slots where items can be dragged and
resized to reflect time ranges inside of a day. The key with this is that
the time ranges could occupy multiple rows at once. A good example would be
the day view inside of the Outlook Calendar… 

 

For RemoteObject:

 

I’m looking to extend the RemoteObject class to incorporate a security
implementation transparently as well as a more simple interface to make
calls with.

 

Thanks,

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dimitrios Gianninas
Sent: Thursday, February 07, 2008 10:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Extending Base Classes

 

can u talk in a bit more detail in both cases of what specific needs u have?
Cause for the List based component, maybe an item renderer will solve your
problem.

 

Dimitrios Gianninas

RIA Developer and Team Lead

Optimal Payments Inc.

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, February 07, 2008 11:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extending Base Classes

Hey all,

I have a couple components I'd like to develop and use some of the base
classes to do it. The only issue I'm having is because we can't see the
inner workings of some of the base classes, it makes it more difficult to
know how to extend off of them, or which is the best for the job. Some
examples of what I mean:

-  A list based component, but needing more flexibility and
customizations than an altered Listbox could give me

-  A RemoteObject Class with added additional features and specific
usage cases

How can I develop components based off the base classes when they remain a
mystery?

Cheers,

!k


AVIS IMPORTANT

WARNING


Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have received
it in error, you should immediately stop reading this message and delete it
and all attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients is
unauthorized and may be unlawful. If you have received this e-mail in error,
please notify the sender.

 



[flexcoders] Extending Base Classes

2008-02-07 Thread Kevin Aebig
Hey all,

 

I have a couple components I'd like to develop and use some of the base
classes to do it. The only issue I'm having is because we can't see the
inner workings of some of the base classes, it makes it more difficult to
know how to extend off of them, or which is the best for the job. Some
examples of what I mean:

 

-  A list based component, but needing more flexibility and
customizations than an altered Listbox could give me

-  A RemoteObject Class with added additional features and specific
usage cases

 

How can I develop components based off the base classes when they remain a
mystery?

 

Cheers,

 

!k



[flexcoders] Inline Renderer & component namespace

2008-02-05 Thread Kevin Aebig
Hey all,

 

I've got a datagrid with 2 columns as inline renderers with a custom
Combobox component allowing a selectedValue property to be used. My issue is
that inside the renderer, the custom Combobox class can't be seen. Is there
a way to accomplish this?

 

Sincerely,

 

!k



RE: [flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Kevin Aebig
So there isn't a way to simply enable / disable the shortcuts. I'll look
into what you both mentioned.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Tuesday, January 29, 2008 11:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AIR - Disable/Enable both Copy/Paste

 

just disable the Icons, u can always remove the Event Listeners on the
Custom Menu and then add them later. FOr the Copy and past you can play
around with the selectable property

- Original Message ----
From: Kevin Aebig <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 29, 2008 11:40:34 AM
Subject: [flexcoders] AIR - Disable/Enable both Copy/Paste

Hey all,

 

I?m building an application that can only copy certain items and only paste
them in a certain situation. I?d like to disable the shortcuts and the
custom menu items to accommodate this and avoid any potential errors. Anyone
tackle this already or have an idea?

 

Thanks for your help,

 

!k

 

 

  _  

Never miss a thing. Make Yahoo
<http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs>  your homepage.


 



[flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Kevin Aebig
Hey all,

 

I'm building an application that can only copy certain items and only paste
them in a certain situation. I'd like to disable the shortcuts and the
custom menu items to accommodate this and avoid any potential errors. Anyone
tackle this already or have an idea?

 

Thanks for your help,

 

!k



RE: [flexcoders] Gauge, Dial, or Speedometer component

2008-01-27 Thread Kevin Aebig
I have one that I created that I'll post. It's a little rough around the
edges, but it works well.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Rusher
Sent: Friday, January 25, 2008 4:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Gauge, Dial, or Speedometer component

 

With Flex 3 on the close horizon, you should look at the ILOG Elixir
components.

http://www.ilog.  com/products/elixir/

Regards,
Rob

On Jan 25, 2008 1:59 PM, Cailie Crane mailto:[EMAIL PROTECTED]> gmail.com> wrote:

Hello all,

Trying to find a visual component that looks like a gauge, dial, or
speedometer. Can anyone point me towards such a component (commercial
or non-commercial) that can be used in a commercial web application?

I did find a (Flex 1.5) gauge component from Peter Ent, at
http://weblogs.  macromedia.com/pent/.
I just want to see what other
choices exist.

Thank you!
-C




-- 
-- 
Regards,
Rob Rusher

Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor
m: 303-885-7044
im: robrusher 

 



RE: [flexcoders] Flare For Flex

2008-01-19 Thread Kevin Aebig
Just what I needed to hear. Thanks!

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Maciek Sakrejda
Sent: Friday, January 18, 2008 12:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flare For Flex

 

Hi Kevin,

I've gotten flare to work in our Flex-based app. I'm still just
experimenting with it, but it works quite well. The main trick is to add
a Visualization instace to a UIComponent, and then add that UIComponent
to your Flex application (you can't add Visualization directly as a
child because it doesn't implement IUIComponent. I believe Jeff plans to
add (some) more Flex support, but looking at svn, he's focusing on the
data package right now.

-Maciek

-Original Message-
From: Kevin Aebig <[EMAIL PROTECTED] <mailto:kevin%40keslabs.com> com>
Reply-To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
Subject: [flexcoders] Flare For Flex
Date: Fri, 18 Jan 2008 12:31:44 -0600

Hey all,

Has anyone successfully used the Flare library inside of a Flex/Air
application yet? I know that it's been compiled to .swc's but I noticed
that within the source it uses the Flash based classes instead of the
Flex variations.

Thanks,

!k

 



[flexcoders] Flare For Flex

2008-01-18 Thread Kevin Aebig
Hey all,

 

Has anyone successfully used the Flare library inside of a Flex/Air
application yet? I know that it's been compiled to .swc's but I noticed that
within the source it uses the Flash based classes instead of the Flex
variations.

 

Thanks,

 

!k



RE: [flexcoders] RTE hide panel

2008-01-04 Thread Kevin Aebig
Since the early days of FlashCoders, you've been making me feel like an
idiot with these simple solutions... =]

Cheers and thanks!

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Friday, January 04, 2008 1:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RTE hide panel

   

- Original Message - 
From: "Kevin Aebig" <[EMAIL PROTECTED]>
To: 
Sent: Friday, January 04, 2008 6:27 AM
Subject: [flexcoders] RTE hide panel


> Hey all,
> 
> 
> 
> I've been trying to figure out a way to get rid of the panel that's shown
> with the RichTextEditor either by:
> 
> 
> 
> -  Changing the inheritance, which seems unlikely
> 
> -  Disabling the Panel from showing, which seems difficult given
the
> fact that the core controls are embedded inside it
> 
> 
> 
> I'm sure someone has tried to accomplish this before, but a la google
finds
> nothing.
> 
> 
> 
> Anyone shed some light on this?
> 
> 
> 
> Cheers,
> 
> 
> 
> !k
> 
>


--
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






[flexcoders] RTE hide panel

2008-01-03 Thread Kevin Aebig
Hey all,

 

I've been trying to figure out a way to get rid of the panel that's shown
with the RichTextEditor either by:

 

-  Changing the inheritance, which seems unlikely

-  Disabling the Panel from showing, which seems difficult given the
fact that the core controls are embedded inside it

 

I'm sure someone has tried to accomplish this before, but a la google finds
nothing.

 

Anyone shed some light on this?

 

Cheers,

 

!k



RE: [flexcoders] AMFPHP & Flex 3 Beta

2007-11-02 Thread Kevin Aebig
You and me both. Thanks a lot for your help. I'm going to look into whether
or not I've set up AMFPHP properly, as well as contact some of the develops
to see if perhaps I can hack away at the source to return back something
more useful. Wrapping the results is still on the chopping block though. so
at least I have options.

 

Cheers,

 

Kevin

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Samuel R. Neff
Sent: Friday, November 02, 2007 2:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] AMFPHP & Flex 3 Beta

 

 

ah, that's the format the old Flash Recordset class used so it makes sense
that AMFPHP would use the same format.  Fluorine provides support for both
that style and for ArrayCollection of Object instances which is more Flex
friendly.  My suggestion would be to create a Recordset implementation and
use that as a wrapper.  You can look at the Recordset.as file included with
Flash 8 remoting for hints on how it's done.  I'm actually surprised nobody
else has solved his problem already for AMFPHP.

 

HTH,

 

Sam

 

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

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Friday, November 02, 2007 3:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] AMFPHP & Flex 3 Beta

Well I've exposed a dump of the actionscript object easily enough that's
being returned and the object in PHP is just a result from a MySQL query.

 

I can get at the data currently, but if you notice down below, there aren't
any named references for the columns, which make it nearly impossible to
using bindings.

 

public function getProjects():void

{

  amfConnection.call( "Something.getProjects", new
Responder(getProjectsOnResult, OnFault), userInfo.uid);

}

  

public function getProjectsOnResult( result:Object ) : void

{

var projectDP:ArrayCollection = new ArrayCollection();

  for( var i in result.serverInfo.initialData) {

   var name:String = result.serverInfo.initialData[i][3];

   var pid:String = result.serverInfo.initialData[i][0];

   projectDP.addItem({name:name, pid:pid});

  }

  projects.labelField = "name";

  projects.dataProvider = projectDP;

}

 

The old phrase of "If it ain't broke, don't fix it" comes to mind when I see
whats being returned ala AMF3. Any suggestions you can make would be greatly
appreciated.

 

Cheers,

 

Kevin

 

 



RE: [flexcoders] AMFPHP & Flex 3 Beta

2007-11-02 Thread Kevin Aebig
Well I've exposed a dump of the actionscript object easily enough that's
being returned and the object in PHP is just a result from a MySQL query.

 

I can get at the data currently, but if you notice down below, there aren't
any named references for the columns, which make it nearly impossible to
using bindings.

 

public function getProjects():void

{

  amfConnection.call( "Something.getProjects", new
Responder(getProjectsOnResult, OnFault), userInfo.uid);

}

  

public function getProjectsOnResult( result:Object ) : void

{

var projectDP:ArrayCollection = new ArrayCollection();

  for( var i in result.serverInfo.initialData) {

   var name:String = result.serverInfo.initialData[i][3];

   var pid:String = result.serverInfo.initialData[i][0];

   projectDP.addItem({name:name, pid:pid});

  }

  projects.labelField = "name";

  projects.dataProvider = projectDP;

}

 

The old phrase of "If it ain't broke, don't fix it" comes to mind when I see
whats being returned ala AMF3. Any suggestions you can make would be greatly
appreciated.

 

Cheers,

 

Kevin

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Samuel R. Neff
Sent: Thursday, November 01, 2007 2:14 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] AMFPHP & Flex 3 Beta

 

 

We use Fluorine and NetConnection directly.. much smaller than using the mx
rpc classes and is more future proof since NetConnection is built into the
player and won't change whereas rpc classes don't even have source available
and have a history of breaking stuff in hotfixes with 3rd party AMF
implementations.

 

I don't think any of the "proper" wrappers of NetConnection provide data
reformatting for AMF--that's provided by the player.  With Fluorine we
certainly don't see things coming back ugly or restructured.  So perhaps the
better quest to ask is to show a dump of the data in PHP and then in AS3 and
ask for how to get it to what you want (stating what you want of course).

 

HTH,

 

Sam

 

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

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, November 01, 2007 11:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP & Flex 3 Beta

 

Hey all,

 

I've seen all kinds of posts and suggestions from people online suggesting
various ways to connect to an AMFPHP service, but I want to do it the
*proper* way. I'm somewhat old school and have made connections with
NetConnection, but the data that comes back from a MySQL result is ugly and
has obviously been restructured. 

 

What's the best way and can someone provide an example of using this method
in AS3?

 

Thanks for your time,

 

!k

 



RE: [flexcoders] AMFPHP & Flex 3 Beta

2007-11-01 Thread Kevin Aebig
And then there was silence. =]

 

In case someone actually responds back, an answer about what's happening
with credentials would be extremely helpful as well.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Aebig
Sent: Thursday, November 01, 2007 11:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP & Flex 3 Beta

 

Hey all,

 

I've seen all kinds of posts and suggestions from people online suggesting
various ways to connect to an AMFPHP service, but I want to do it the
*proper* way. I'm somewhat old school and have made connections with
NetConnection, but the data that comes back from a MySQL result is ugly and
has obviously been restructured. 

 

What's the best way and can someone provide an example of using this method
in AS3?

 

Thanks for your time,

 

!k

 



[flexcoders] AMFPHP & Flex 3 Beta

2007-11-01 Thread Kevin Aebig
Hey all,

 

I've seen all kinds of posts and suggestions from people online suggesting
various ways to connect to an AMFPHP service, but I want to do it the
*proper* way. I'm somewhat old school and have made connections with
NetConnection, but the data that comes back from a MySQL result is ugly and
has obviously been restructured. 

 

What's the best way and can someone provide an example of using this method
in AS3?

 

Thanks for your time,

 

!k



RE: [flexcoders] Help with my first Flex App...

2007-05-28 Thread Kevin Aebig
You need to post the classes you've included as I'm almost positive you're
missing a reference.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bmelendy
Sent: Friday, May 25, 2007 4:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help with my first Flex App...

 

This has got to be a simple one. I am writing the tiny app given in 
a video tutorial by Sho Kuwamoto. The tutorial is on displaying 
flickr pictures in a basic tilelist control and is located here:

http://labs.

adobe.com/technologies/flexbuilder2/tutorials/sho_kuwamoto
/

I have identified these KEY points:

1. An HTTPService call, of which mine looks like this:

http://api.flickr. 
com/services/rest/?
method=flickr.photos.search&api_key=f09abdbe2fada94609244a5de3f4b8
de&per_page=9&tags={input.text}"/>

2. I call the web request with a button click like so:



3. Finally, the data provider for the TileList control in the 
tutorial is:

dataProvider="{service.result.rsp.photos.photo}"

However, while watching the video, as he types "services." he gets 
two options, "result" and "resultFormat", however, I am only getting 
an option for "resultFormat"? This is leading me to believe that 
maybe the ".result" property has been removed??? And that is why my 
application fails? 

The end result is that I have this thing setup identical to the 
tutorial but it just won't do anything on the results display. The 
only thing that is different is that I went to Flickr and created my 
own account and search feed at 
http://www.flickr. 
com/services/api/explore/. (This is exactly the 
method used to create a feed in the tutorial) 

I have uploaded the project bin folder here:

http://brad. 
melendy.com/code/flex/flickr/Flickr.html

I'd love to see this work and it looks so easy in the video (15 
minutes!) but I've spent several hours on this now to no avail. 
Thanks for any help out there

 



RE: [flexcoders] Parse Unknown XML Structure

2007-05-17 Thread Kevin Aebig
Thanks John. That helped.

 

!k

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Robinson
Sent: Wednesday, May 16, 2007 2:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Parse Unknown XML Structure

 

I think you want to use XML.children() and XML.attributes(). 

 

John

 

 

 

On May 16, 2007, at 2:32 PM, Kevin Aebig wrote:





Hey all,

 

First post, so be gentle.

 

Back in the ol days, Flash developers had to use recursion to parse through
an XML document. I'm finding myself again in this position, but don't know
how to proceed as my initial attempts don't recurse currently. Also, I'd
like to find out if there is a better way to do it with AS3 these days.

 

Basically I need to be able to look at every node and tell:

-  whether or not it has specific attributes

-  whether or not it has children

 

I know this seems easy, but the XML structure isn't known beforehand, so
using simple object notation seems futile.

 

Thanks for any help you can provide.

 

!k

 

 



[flexcoders] Parse Unknown XML Structure

2007-05-16 Thread Kevin Aebig
Hey all,

 

First post, so be gentle. 

 

Back in the ol days, Flash developers had to use recursion to parse through
an XML document. I'm finding myself again in this position, but don't know
how to proceed as my initial attempts don't recurse currently. Also, I'd
like to find out if there is a better way to do it with AS3 these days.

 

Basically I need to be able to look at every node and tell:

-  whether or not it has specific attributes

-  whether or not it has children

 

I know this seems easy, but the XML structure isn't known beforehand, so
using simple object notation seems futile.

 

Thanks for any help you can provide.

 

!k