[flexcoders] Re: manual update of air by opening new version fails - but update framework works

2009-08-31 Thread arieljake
Basically, now, when we click to open a .air file that has a newer version, it 
only opens the existing app, like a shortcut.

Doesn't this cause an update for others?

--- In flexcoders@yahoogroups.com, "arieljake"  wrote:
>
> We are able to use the update framework to update our apps, and I remember at 
> one point, users could double click a newer version of our .air file to 
> update their program, but that has stopped working.
> 
> What needs to be in place for that type of manual update to work?
> 
> Thanks.
>




[flexcoders] Flex-based AIR App with javascript stuff, too

2009-08-30 Thread arieljake
Is it possible to start building some pages/components in AIR app in javascript 
when it has already been built up till now in Flex?



[Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-27 Thread arieljake
that's pretty funny. :)

--- In flexcoders@yahoogroups.com, Paul Hastings  wrote:
>
> Nick Middleweek wrote:
> > Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc 
> > -version*
> 
> it means tom lives in cave & writes his code by banging together two rocks 
> while 
> fighting off cave bears ;-)
>




[flexcoders] code hinting won't work occasionally since switch to ant builds

2009-08-14 Thread arieljake
Ever since I started using ant to build my app, every once in a while I get a 
situation where one project is not seeing (as in code hinting) classes from 
other projects that are dependencies.

I thought that refreshing the workspace fixed the problem, but this time 
around, that is not helping.

Anyone have any ideas how I might fix this problem?



[flexcoders] manual update of air by opening new version fails - but update framework works

2009-08-13 Thread arieljake
We are able to use the update framework to update our apps, and I remember at 
one point, users could double click a newer version of our .air file to update 
their program, but that has stopped working.

What needs to be in place for that type of manual update to work?

Thanks.



[flexcoders] Exploit.SWF.Gen virus reported by BitDefender

2009-07-20 Thread arieljake
Has anyone else seen this? 

All of a sudden, BitDefender is reporting a virus called Exploit.SWF.Gen in the 
every copy of the applicationupdater_ui.swc file inthe Update Framework code, 
even when I download a new copy from the project webpage.



[flexcoders] using ant as the builder in eclipse

2009-06-17 Thread arieljake
If i have one application and one library, in my ant file that i have specified 
as the builder in the project settings for the application, am I supposed to 
set depends="library-build" or not? 

I have the library specified as a dependency in the project properties, and it 
seems as if the library's build.xml file is being called automatically when I 
build the application, but I don't see how to get the application's build to 
wait till the library is done compiling.

The alternative is to use depends="library-build" to make sure they happen in 
the correct order, but the only way I see to disable the application build from 
automatically triggering the library build is to remove the link in the project 
properties, but then will code references work in the editor??

How are people handling this?



[flexcoders] Flex / Fireworks integration

2009-06-02 Thread arieljake
Anyone know in Fireworks how to load a css to make those styles available as 
font styles, box styles, and image assets?



[flexcoders] SWF Encryption using the Local Encrypted Store

2009-06-02 Thread arieljake
Hi all, I need some help from the community with this. I am very close to a 
solution, but may have hit a snag.

The accepted approach for encrypting an AIR app is to deliver an encrypted swf 
with a wrapper that decrypts and loads the child.

The issue becomes how/where to store the decryption key for the wrapper to use 
when loading the child.

Nitro-LM / Simplified Logic embeds the key in wrapper and uses proprietary 
methods to make extracting that key difficult.

Here is the alternative I am playing with:

Company X create a simple program compiled with the same product id and AIR 
certificate as the program they are distributing to generate at home base the 
files for an empty Encrypted Local Store that has had the encryption key added 
to it. Then, the Encrypted Local Store files created by AIR are added to the 
AIR file - these files are encrypted with AIR's encryption mechanism. When the 
AIR file is installed, these files are then copied by the wrapper into the 
Encrypted Local Store directory and then read from using the AIR API for the 
Encrypted Local Store - and voila - the wrapper has the decryption key and the 
key is never transmitted in clear text.

I tried this and it seemed to work, but then it seems as if it doesn't work 
from one computer to the next - AIR seems to encrypt the ELS files with a 
formula that includes the program ID, the AIR certificate, AND the user's 
computer id, which prevents the company from distributing the original ELS 
files. 

Can only Adobe verify whether this solution will work? Can anyone lend insight 
/ advice on this? Thanks.



[flexcoders] Re: one to one chat

2009-05-22 Thread arieljake
http://labs.adobe.com/technologies/stratus/

--- In flexcoders@yahoogroups.com, Pedro Sena  wrote:
>
> On the other hand
> 
> I would recommend you GraniteDS
> 
> IMHO its easier than BlazeDS
> 
> Make your try
> 
> On Thu, May 21, 2009 at 4:20 PM, valdhor wrote:
> 
> >
> >
> > Depends on your back end.
> >
> > Here is one I got with a quick Google search...
> >
> >
> > http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+Builder
> >
> > Also, WebORB has a sample chat application. Check them out at
> > http://www.themidnightcoders.com
> >
> > HTH
> >
> > Steve
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "dev.achiever"  wrote:
> > >
> > > Please help me one to one chat application develop by using flex
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>




[flexcoders] htmlLoader - saving document HTML - using HTML.htmlText

2009-05-19 Thread arieljake
Hi all,

I recently tried to save the html of a webpage I downloaded with my HTMLLoader.

When I tried to set the htmlText of an HTML control, the page was not rendered 
correctly.

I presume this is because the links to stylesheets and images and such don't 
resolve.

ColdFusion addresses this with an option in their http tag that will resolve 
all relative links to absolute ones.

Does anyone else think this is the culprit? If so, how to solve?



[flexcoders] encrypted local store

2009-05-17 Thread arieljake
anyone know a reliable method of determining the physical location of the 
encrypted local store files on a user's machine, any OS?



[flexcoders] Re: encrypted local store

2009-05-17 Thread arieljake
Am I missing any OSes?

If your OS is not listed above, please check for your ELS directory.

If your OS IS listed above, please verify the directory is correct.

I am developing a swf protection scheme that i would be happy to share with the 
community, but I need to get this part right first.



[flexcoders] Re: encrypted local store

2009-05-17 Thread arieljake
From: http://www.sitepen.com/blog/2009/02/17/queued/

Vista
C:\Users\[myuser]\AppData\Roaming\Adobe\AIR\ELS\



[flexcoders] Re: encrypted local store

2009-05-17 Thread arieljake
From: http://funkatron.com/spaziki/Encrypted-Local-Store/

Mac OSX  
~/Library/Application Support/Adobe/AIR/ELS/

Windows XP  
C:\Documents and Settings\[username]\Application |Data\Adobe\AIR\ELS



[flexcoders] shu-player.com

2009-05-15 Thread arieljake
anyone know if wrapping an air app in the product at http://www.shu-player.com 
will protect the app from being decompiled?



[flexcoders] swf decompiling and embedded assets

2009-05-06 Thread arieljake
Hi,
I am looking at various decompiling tools, and one thing I am noticing is that 
none of them seem to make the resource bundles available for export. Does 
anyone understand why and whether this is something that can be relied upon?



[flexcoders] alpha - containers, buttons, and skins

2009-05-04 Thread arieljake
Hi, I am trying to understand a weird behavior i am observing when trying to 
use the alpha property.

Please see this image: 
http://ariel-jakobovits.com/AJ/images/flex/browserControlsAlpha.png

I am trying to fade out a box of internet browsing controls when the mouse is 
rolled-out because the controls are placed over the html control.

When i set the alpha property of the container (HBox), clearly the background 
of the box and the buttons themselves are all affected, but there is a clear 
variation in the coloring.

The box is styled with a background image, and the buttons are skinned with 
images as well.



[flexcoders] List sizing - height="100%"

2009-04-22 Thread arieljake
I am trying, in MXML, to size a list to 100% of its container, but when I do, 
it only shows 2 rows. It is using a custom item renderer. I tried setting a 
rowHeight as well but still doesn't size right. I also set an explicitHeight in 
the item renderer itself. Nothing.

In a fixed size layout, i can set the rowcount but I want it to be fluid in 
case the user resizes the window.

Anyone know why a list wouldn't size by percent to fill a parent container?



[flexcoders] Re: Problem using sdk version 3.3

2009-04-22 Thread arieljake
LOL. This is already fixed. I got it right away after your previous post. No 
really, thanks Tom. :)



--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Tuesday 21 Apr 2009, arieljake wrote:
> > Thank you Tom, you really helped me a lot. I had to debug something and
> > couldn't debug without that. Thanks.
> 
> Have you tried running 'dir' on the string you gave for the path, for 
> instance ?
> 
> -- 
> Helping to centrally implement efficient cutting-edge infrastructures as part 
> of the IT team of the year, '09 and '08
> 
> Tom Chiverton
> Developer
> Tel: +44 0161 618 5032
> Fax: +44 0161 618 5099 
> tom.chiver...@...
> 3 Hardman Square, Manchester, M3 3EB
> www.Halliwells.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 together with 
> a list of those non members who are referred to as partners. We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. 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] Re: Problem using sdk version 3.3

2009-04-21 Thread arieljake
Thank you Tom, you really helped me a lot. I had to debug something and 
couldn't debug without that. Thanks.

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Tuesday 21 Apr 2009, arieljake wrote:
> > >java -jar DMV-source.jar "C:\Documents and Settings\All Users\Application
> > > Data\Adobe\Flex"
> 
> One of the paths is wrong.
> 
> -- 
> Helping to autoschediastically synthesize paradigms as part of the IT team of 
> the year, '09 and '08
> 
> Tom Chiverton
> Developer
> Tel: +44 0161 618 5032
> Fax: +44 0161 618 5099 
> tom.chiver...@...
> 3 Hardman Square, Manchester, M3 3EB
> www.Halliwells.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 together with 
> a list of those non members who are referred to as partners. We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. 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] Re: Problem using sdk version 3.3

2009-04-20 Thread arieljake
Anyone know why this is happening when i try to expand the data visualization 
source code?

>java -jar DMV-source.jar "C:\Documents and Settings\All Users\Application 
>Data\Adobe\Flex"

Exception in thread "main" java.lang.NoClassDefFoundError: flex/license/Logger
Caused by: java.lang.ClassNotFoundException: flex.license.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: flex.charts.Extractor. Program will exit.



--- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
>
> Ah, yeah the quotes for the arg.  Sorry bout that, I'll look and see if we 
> can get that updated in the release notes.
> 
> 
> On 3/4/09 2:09 PM, "markgoldin_2000"  wrote:
> 
> 
> 
> 
> Ok, this finally created the fbpro folder:
> D:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\lib>java -jar  
> DMV-source.jar "
> C:\Documents and Settings\All Users\Application Data\Adobe\Flex"
> 
> --- In flexcoders@yahoogroups.com  , 
> "markgoldin_2000"  wrote:
> >
> > Actually this command triggers execution:
> > java -jar  "D:\Program Files\Adobe\Flex Builder 
> > 3\sdks\3.3.0\lib\DMV-source.jar" "C:\Documents and Settings\All 
> > Users\Application Data\Adobe\Flex"
> >
> > Microsoft Windows XP [Version 5.1.2600]
> > (C) Copyright 1985-2001 Microsoft Corp.
> >
> > C:\Documents and Settings\mgoldin>java -jar  "D:\Program Files\Adobe\Flex 
> > Buil
> > r 3\sdks\3.3.0\lib\DMV-source.jar" "C:\Documents and Settings\All 
> > Users\Applic
> > ion Data\Adobe\Flex"
> > using license {flexbuilder3.displayedFirstLaunchMessage=true, 
> > flexbuilder3.dis
> > ayed20DaysLeftMessage=true, flexbuilder3=***}, outputing
> >  directory ..
> > license is valid, extracting datavisualisation and automation files to ..
> >
> > C:\Documents and Settings\mgoldin>
> >
> >
> > but fbpro is not there.
> >
> >
> > --- In flexcoders@yahoogroups.com  , 
> > "markgoldin_2000"  wrote:
> > >
> > > Right, and this is my command line:
> > > java -jar  "D:\Program Files\Adobe\Flex Builder 
> > > 3\sdks\3.3.0\lib\DMV-source.jar" C:\Documents and Settings\All 
> > > Users\Application Data\Adobe\Flex
> > >
> > > Still no fbpro is created.
> > >
> > > --- In flexcoders@yahoogroups.com  , 
> > > Matt Chotin  wrote:
> > > >
> > > > Java -jar will actually run the executable code that's included within 
> > > > that JAR.  It requires the license key found in your license.properties 
> > > > which should be located in the location we specified.  Look in that 
> > > > folder and see if license.properties is there.  If it isn't, find your 
> > > > license.properties and use that location.
> > > >
> > > > Matt
> > > >
> > > >
> > > > On 3/4/09 12:22 PM, "markgoldin_2000"  wrote:
> > > >
> > > >
> > > >
> > > >
> > > > I am having problem with:
> > > > ..
> > > > Extract the sources for the data visualization components from 
> > > > DMV-source.jar
> > > >
> > > > If I open DMV-source.jar with winrar I see folders named Flex and 
> > > > META-INF
> > > > so
> > > > java -jar DMV-source.jar  C:\Documents and Settings\All 
> > > > Users\Application Data\Adobe\Flex
> > > >
> > > > does not create the fbpro folder.
> > > >
> > > > AM I doing something wrong?
> > > >
> > > > --- In flexcoders@yahoogroups.com  
> > > >   , Matt Chotin  wrote:
> > > > >
> > > > > Download from: http://www.adobe.com/products/flex/flexdownloads/
> > > > >
> > > > > Instructions: 
> > > > > http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#Datavisualization
> > > > >
> > > > > On 3/4/09 11:51 AM, "markgoldin_2000"  wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Not sure I uderstand how to download and install it.
> > > > >
> > > > > --- In flexcoders@yahoogroups.com 
> > > > >   
> > > > >   
> > > > >  , Matt Chotin  wrote:
> > > > > >
> > > > > > Make sure to download the DMV components.
> > > > > >
> > > > > >
> > > > > > On 3/4/09 11:35 AM, "markgoldin_2000"  wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > After pointing Builder to sdk 3.3 I am getting an error:
> > > > > > 1172: Definition mx.collections:HierarchicalData could not be found.
> > > > > >
> > > > > > Please help.
> > > > > >
> > > > >
> > > >
> > >
> >
>




[flexcoders] merapi to os bridge application for flex developers

2009-04-17 Thread arieljake
Is there someone out there who has the motive and the time to develop a 
standalone Merapi-enabled Java application with a documented api for flex 
developers using the Merapi bridge to perform a basic library of functions that 
one can't do in AIR?



[flexcoders] Re: adobe team: do you get the Windows crash reports when we send them?

2009-04-13 Thread arieljake
Nope, I am referring to this:

Adobe AIR Debug Launcher has encountered a problem and needs to close.  We are 
sorry for the inconvenience.

--- In flexcoders@yahoogroups.com, Sam Lai  wrote:
>
> If you're talking about the dialogs that come up with Eclipse crashes,
> then I highly doubt it. But if Microsoft sees an abnormally high
> number of reports for, say about the Flash plugin, they'll probably
> get on the phone and work it out with Adobe given how important that
> is for most users.
> 
> 2009/4/13 arieljake :
> >
> >
> >
> >
> > 
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location: 
> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> >
> >
> >
> >
>




[flexcoders] adobe team: do you get the Windows crash reports when we send them?

2009-04-13 Thread arieljake




[flexcoders] Re: Eclipse Ganymede

2009-04-06 Thread arieljake
Would people mind sharing their eclipse.ini files for ganymede? I am having 
issues up-ing the max memory usage:

-showsplash
org.eclipse.platform
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Xms512m
-Xmx650m
-XX:+UseParallelGC
-XX:PermSize=256m

If I change it Xmx to 660 or more, the program throws an error on startup. What 
do others use?

--- In flexcoders@yahoogroups.com, claudiu ursica  wrote:
>
> I use ganymede for quite a while now and haven't ran into any issues...
> 
> C
> 
> 
> 
> 
> 
> From: Tim Rowe 
> To: "flexcoders@yahoogroups.com" 
> Sent: Monday, April 6, 2009 3:42:19 AM
> Subject: RE: [flexcoders] Eclipse Ganymede
> 
> 
> I recently installed Builder on a fresh system with 
> Eclipse(Ganymede) , and had to do two things:
> 1.  Install the old Builder Plug-in to my Ganymede 
> install.  You have to insist "yes, this is an eclipse 
> dir"
> 2.  Get the absolute latest version of builder 
> standalone, and then copy over the newer jars from that install to my plug-in 
> environment.
>  
> Supposedly the plug-in version is available as the same 
> version, but I couldn't find it.
>  
> Alternatively, try this:
> http://www.tekool. net/blog/ 2008/06/28/ flex-builder- 3-plugin- dont-work- 
> with-eclipse- 34/
>  
> Tim Rowe
> Software 
> Engineer
> carsales.com Ltd
>  
> 
> 
>  From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
> Behalf Of Albert 
> Waltner
> Sent: Monday, 6 April 2009 10:30 AM
> To: flexcod...@yahoogro ups.com
> Subject: [flexcoders] Eclipse 
> Ganymede
> 
> 
> Still using Windows XP and trying Eclipse Ganymede with Flex 3.
> The 
> messages going back to 9/08 discuss Ganymede problems but without 
> a clear 
> explanation. I have installed Eclipse 3.2.2 and Flex3 and 
> that works but 
> when installing Eclipse current version (Ganymede) 
> it does not.
> On Adobe.com an example posted says it uses Eclipse Ganymede so,
> it would seem, 
> the poster had NO problems with Ganymede. Why not?
> Everyone OK with Ganymede? 
> Or not using it? Thanks.
>




[flexcoders] Re: model locator population too late

2009-04-02 Thread arieljake
Do what I do:

public function get users():ArrayCollection
{
   if (_users == null)
   {
   _users = new ArrayCollection();
 
   var httpSvc:HTTPService = new HTTPService();
   httpSvc.addEventListener("result",function (event):void
   {
_users.source = result.data; // etc, whatever it takes
   });
   httpSvc.send();
   }

   return _users;
}

That way you can return the data/arraycollection before it is populated and the 
data will show immediately when ready.



[flexcoders] Re: .properties actionscript parser

2009-04-02 Thread arieljake
package readers.text
{
import mx.utils.StringUtil;

public class Properties
{
public var values:Object;

public function Properties(props:String = "")
{
this.properties = props;
}

public function set properties(props:String):void
{
values = Properties.parseProperties(props,values);
}

public function hasProperty(name:String):Boolean
{
return values.hasOwnProperty(name);
}

public function getProperty(name:String):String
{
if (values.hasOwnProperty(name))
return values[name];

return null;
}

public function serialize():String
{
return Properties.serializeProperties(values);
}

public static function serializeProperties(values:Object):String
{
var serialized:String = "";

if (values == null)
return serialized;

for (var property:String in values)
{
serialized += property + "=" + 
String(values[property]) + "\n";
}

return serialized;
}

public static function 
parseProperties(properties:String,values:Object = null):Object
{
if (values == null)
values = {};

if (properties == null || properties == "")
return values;

var lines:Array = properties.split("\n");

for each (var line:String in lines)
{
if (line != "")
{
var parts:Array = line.split("=");

var property:String = parts[0];
var value:String = (parts.length > 1) ? 
parts[1] : "";

if (property.charAt(0) != "#" && 
property.length > 0)
values[property] = 
StringUtil.trim(value);
}
}

return values;
}

}
}



[flexcoders] arraycollection vs listcollectionview

2009-03-26 Thread arieljake
I'm confused.

I have an ArrayCollection. And I listen for the COLLECTION_CHANGE.Remove event 
to know when to delete the item from the database.

For displaying the contents of my ArrayCollection, i am using a 
ListCollectionView with a filter function applied to it, so that the filter 
function does not affect all views using the same ArrayCollection.

But, when I change the value of a property on an item in the ArrayCollection 
that causes the filter to now filter OUT the item, the ListCollectionView 
dispatches a COLLECTION_CHANGE.Remove event.

This causes my code to remove the item from the db, undesirably.

Now I understand that the ListCollectionView must dispatch these events to 
update the ListBase, but why isn't the target different so that I can tell 
whether the Remove event came from the ArrayCollection itself or just a 
ListCollectionView of it? 



[flexcoders] interface question: function get vs. public var

2009-03-26 Thread arieljake
What is the final word, because I swear I have seen it work and not work.

If I define an interface that says

function get parameter():Object;

Will it suffice to create a public property called parameter:

public var parameter:Object;

??



[flexcoders] Re: Flex Builder Compiler Performance Benchmarking

2009-03-26 Thread arieljake
Hi highly recommend defragmenting your HD.

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Thursday 26 Mar 2009, edlueze wrote:
> > I'll work on doing that other stuff you recommended - compiling with
> > ANT/MXMLC, and generating the line count. I might also try upgrading Flex
> 
> Just try the mxmlc that comes with Builder, rather than fighting ANT. 
> 
> -- 
> Tom Chiverton
> Helping to assertively leverage prospective ubiquitous markets as part of the 
> IT team of the year, '09 and '08
> 
> 
> 
> 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 together with 
> a list of those non members who are referred to as partners.  We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. 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] FlexPrintJob - start function

2009-03-12 Thread arieljake
How does the start function pause the execution of code until the print dialog 
is responded to?

Could the Flex guys provide us a way to do something like that ourselves? Like, 
instead of having to use listeners with an Alert?



[flexcoders] distributing air apps without install

2009-03-03 Thread arieljake
Is it possible to distribute an AIR app that can be run without being
installed?

Can I zip the directory of an installed air app and distribute it to
users for them to decompress and run without having to install?



[flexcoders] flexlib and subversion

2009-03-02 Thread arieljake
i'm new to subversion, so i need some help understanding how to do this:

I want to attach my local source to the flexlib repository on google
code so i can detect changes to the library, but also...

I want to attach my local source of flexlib to my own projects
repository so that other developers can use the modified flexlib i have.

how do i accomplish this?



[flexcoders] syncing AIR/Flex app with mobile phones

2009-02-26 Thread arieljake
Has anyone handled syncing things like contacts or calendar events
with mobile phones? Are there services or libraries for integrating
with the existing contact and calendar apps on the popular smartphones?



[flexcoders] netstream.client

2009-02-16 Thread arieljake
I am using code from the example provided on the Stratus project page,
and am trying to modify the code that sets the client property on a
netstream.

The code as delivered does something to this effect:

var sc:Object = {};
sc.onPeerConnect = function ():void {}
stream.client = sc;

I am trying to change this to:

var sc:CustomClient = new CustomClient();
stream.client = sc;

However, the functions on the CustomClient are never being called.

Has anyone encountered this, and how did you solve it?

Thanks.



[flexcoders] AIR uninstall shortcut

2009-02-12 Thread arieljake
I want to file a bug with Adobe requesting that a shortcut to
uninstall an AIR program be added to the program group along with the
shortcut to the program, because I have users who don't immediately
think to use the Add/Remove programs.

But on the bugs.adobe.com/flex website, I can't tell which
product/feature to associate the request with.

Can someone point me in the right direction?

Also, is there a way to, platform independently, add an install
shortcut as a workaround?



[flexcoders] Re: Prevent ItemRenderer click from selecting row?

2009-02-04 Thread arieljake
Can you have the items catch the click event of the button and prevent
propagation?

--- In flexcoders@yahoogroups.com, Dennis Falling  wrote:
>
> I'm using a DataGrid.  But the problem is that I want the selection
behavior
> to behave normally, except for when the buttons are clicked.
> Thanks
> 
> On Wed, Feb 4, 2009 at 10:09 AM, Fotis Chatzinikos <
> fotis.chatzini...@...> wrote:
> 
> >   if you are using a list or tile list there is a property selectable
> > which you can make false.
> >
> >
> >
> > On Wed, Feb 4, 2009 at 6:05 PM, Dennis Falling  wrote:
> >
> >>   Is there one involving item renderers?  I believe I scoured
your site
> >> pretty thoroughly, but the only time I see selection behavior being
> >> overriden is inside an extended list or DataGrid.  Is it possible
to pull
> >> this off with only an item renderer?
> >>
> >> Thanks
> >>
> >> On Wed, Feb 4, 2009 at 1:16 AM, Alex Harui  wrote:
> >>
> >>>There a example on preventing list selection on my blog
> >>>
> >>>
> >>>
> >>> *From:* flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] *On
> >>> Behalf Of *Dennis Falling
> >>> *Sent:* Tuesday, February 03, 2009 5:30 PM
> >>> *To:* flexcoders@yahoogroups.com
> >>> *Subject:* Re: [flexcoders] Re: Prevent ItemRenderer click from
> >>> selecting row?
> >>>
> >>>
> >>>
> >>> That would work for invalidating my selection, but I simply want the
> >>> selection to never occur.  That way if something was previously
selected, it
> >>> isn't altered.
> >>>
> >>> On Tue, Feb 3, 2009 at 5:08 PM, fourctv  wrote:
> >>>
> >>> have you tried datagrid.selectedItems=null?
> >>>
> >>>
> >>>
> >>> --- In flexcoders@yahoogroups.com
, Dennis
> >>> Falling  wrote:
> >>> >
> >>> > I have an ItemRenderer with buttons in it. In the click listener
> >>> functions
> >>> > for these buttons, I call event.stopImmediatePropagation (and
> >>> > preventDefault, though that doesn't seem relevant), but the row is
> >>> still
> >>> > selected. How can I prevent it from receiving the click and
> >>> highlighting
> >>> > itself?
> >>> > Thanks.
> >>> >
> >>>
> >>>
> >>>
> >>>
> >>
> >
> >
> > --
> > Fotis Chatzinikos, Ph.D.
> > Founder,
> > Phinnovation
> > fotis.chatzini...@...,
> >
> >  
> >
>




[flexcoders] Re: Flex Builder debugger problems

2009-01-23 Thread arieljake
I having been having a very difficult time debugging AIR programs. 
2/3 of the time, the app will load but the debugger will not connect 
unless I quit FlexBuilder.

--- In flexcoders@yahoogroups.com, John McCormack  wrote:
>
> If the SWF takes a long time to build you will see that.
> I sometimes got that when it couldn't find the debugger, but not 
recently.
> It's sometimes slow waiting for something to be loaded/decoded, or  
even 
> when waiting at a breakpoint.
> Because the two programs don't run independently IE may show no 
content 
> when interrupted by Flash/Flex.
> 
> John
> 
> Curtis Barrett wrote:
> > I'm running into an odd problem with the Flex Builder debugger.  
About 
> > 4/5ths of the times that I click the debug button I get a nice, 
white 
> > IE page.  It has the loading icon down at the bottom and aside 
from 
> > that, nothing.  When I click stop in flex builder the page goes 
away 
> > and when I click disconnect then the page finishes loading my 
flex 
> > app.  It is starting to get particularly frustrating when I have 
to 
> > stop it and relaunch it 5-9 times before I get a working window.  
Once 
> > it comes up all is fine and dandy. 
> >  
> > Has anyone had anything similar happen?  I am on a trial version 
of 
> > flex builder and I have reinstalled it to see if it would help at 
all.
> >  
> >  
> > Thanks in advanced,
> > Curtis Barrett
> >
>




[flexcoders] copyright notices in code

2009-01-20 Thread arieljake
How do people add copyright notices to their code? When they create a
new file? 

What if the notice changes? Do they use ant to add it before
compilation to each file? 

Does compiling Flex remove the copyright notice? If so, should one
worry about having a copyright notice in the code for if/when it is
decompiled?

Anyone notice that comments are removed from an MXML file when it is
edited in design mode?

Any and all responses are invited!



[flexcoders] AIR code signing certificate

2009-01-02 Thread arieljake
I am trying to purchase an AIR code signing certificate from Chosen
Security. They have 2 plans, one is a corporate certificate and the
other is a personal certificate. They are refusing to issue me a
personal certificate in the name of my company which is registered as
a Fictitious Business Name, but since I am not incorporated, won't
sell me a corporate certificate. Anyone know what I should do or how I
can convince them to allow me to put the certificate in my business's
name?

Adobe?



[flexcoders] Re: Text components in VBox item renderer

2008-12-30 Thread arieljake
My understanding was that Text cannot be expected to wrap if it is
given a percent rather than an explicit width. Am I mistaken?

--- In flexcoders@yahoogroups.com, "arieljake"  wrote:
>
> I have been reading for hours on the net about this issue..anyone see
> why this is not working right as a list item renderer? The Text
> controls are not sizing right, their height is not growing as
> expected. The title only shows one line, the announcement never shows
> up. I have variableRowHeight set to true on the list component.
> 
> 
> http://www.adobe.com/2006/mxml";
> xmlns:view="org.ariel.view.*" horizontalScrollPolicy="off"
> verticalScrollPolicy="off" verticalGap="3">
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
>   
> 
>




[flexcoders] Text components in VBox item renderer

2008-12-29 Thread arieljake
I have been reading for hours on the net about this issue..anyone see
why this is not working right as a list item renderer? The Text
controls are not sizing right, their height is not growing as
expected. The title only shows one line, the announcement never shows
up. I have variableRowHeight set to true on the list component.


http://www.adobe.com/2006/mxml";
xmlns:view="org.ariel.view.*" horizontalScrollPolicy="off"
verticalScrollPolicy="off" verticalGap="3">















[flexcoders] AIR feature suggestion

2008-12-23 Thread arieljake
Does anyone familiar with the bug website know which project I should
specify for a suggestion regarding the AIR installation process?



Re: RES: [flexcoders] Flex Builder caching PNGs

2008-12-10 Thread arieljake
I find that after making changes to an image in Fireworks, I need to
right-click my assets folder and say Refresh. This seems to work
because it causes a recompile.

--- In flexcoders@yahoogroups.com, "Luciano Manerich Junior"
<[EMAIL PROTECTED]> wrote:
>
> Clean & Build Project?
> 
> 
> 
> De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Em nome de tom s
> Enviada em: terça-feira, 9 de dezembro de 2008 11:27
> Para: flexcoders@yahoogroups.com
> Assunto: [flexcoders] Flex Builder caching PNGs
> 
> 
> I'm @Embedding some PNGs to skin some buttons. 
> If I Run once, then edit the PNG file, then Run again I get the old
PNG (w/o the edits), not the new one. 
> My current work-around is to rename the file after each change, but
this is a pain. 
>  
> How do I get Flex Builder to not cache the PNGs / to check for
changes on each compile?
>  
> thanks
>  
> tom
>




[flexcoders] Bug List (can't get into adobe bugs)

2008-11-23 Thread arieljake
1. Drop down menu of styleName(s) we can use in Flex Builder. A
customizable 2 layer menu would be really nice,.

2. Compiler addition: we have Interfaces, but what if we want totally
unrelated objects to implement the interface in the same manner? I
propose a compiler directive "implementswith" and a document type
InstanceImplementation to exist between a Class and an Interface. An
InstanceImpl or an Instantiation. Then...

public instantiation FilterInst implements IFilter

and

public class MyArrayCollection extends ArrayCollection implements
IMyFilter implementswith MyFilterInst

or for short:

public class MyArrayCollection extends ArrayCollection implementswith
MyFilterInst


I couldn't get into bugs, my passwords did not work and neither of the
emails for a password reset ever arrived. I figured I'll write this,
create a record of it, and put the word out to see: would anyone vote
for these?



[flexcoders] Re: Invalid Embed directive

2008-10-30 Thread arieljake
You can also use a source path like this from any source file:

/../ EX: source="/../assets/images/logo.gif"

to get to the base of the src folder and then back out of it.

--- In flexcoders@yahoogroups.com, "oneworld95" <[EMAIL PROTECTED]> wrote:
>
> Thanks. This finally worked for me,
> 
> Application {
>   backgroundImage: "global/media/flowers.jpg";
>  }
> 
> I'm guessing Embed directives are checked at compile time and for
> whatever reason, Flex compiler couldn't find the file. 
> 
> --- In flexcoders@yahoogroups.com, "Douglas Knudsen"
>  wrote:
> >
> > and if you are compiling the CSS for runtime loads, the path will be
> > different yet again
> > 
> > 
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> > 
> > 
> > On Wed, Oct 29, 2008 at 4:59 PM, Ryan Graham wrote:
> > 
> > >And the path is relative to where you are declaring the
> mx:Style that
> > > loads the stylesheet file, of course. :)
> > >
> > > HTH,
> > > Ryan
> > >
> > >  --
> > > *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On
> > > Behalf Of *Ryan Graham
> > > *Sent:* Wednesday, October 29, 2008 1:55 PM
> > >
> > > *To:* flexcoders@yahoogroups.com
> > > *Subject:* RE: [flexcoders] Invalid Embed directive
> > >
> > >   The compiler expects that image path to be in one of your
> project source
> > > folders during build. If that path exists in your bin folder
only, the
> > > compiler will never see it for an embed operation.
> > >
> > > HTH,
> > > Ryan
> > >
> > >  --
> > > *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On
> > > Behalf Of *Jim Hayes
> > > *Sent:* Wednesday, October 29, 2008 1:20 PM
> > > *To:* flexcoders@yahoogroups.com
> > > *Subject:* RE: [flexcoders] Invalid Embed directive
> > >
> > >
> > > It can be confusing as to where the file thinks it is at compile
> time - in
> > > fact I remain fairly confused about it :(
> > > You might try "/global/media/flowers.jpg" or
> "./global/media/flowers.jpg"
> > > if you need to go up a directory then ../ works fine.
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com  on
> behalf
> > > of oneworld95
> > > Sent: Wed 29/10/2008 19:56
> > > To: flexcoders@yahoogroups.com 
> > > Subject: [flexcoders] Invalid Embed directive
> > >
> > > Hi. I've got a Style tag with the following style in it,
> > >
> > > Application {
> > > background-image: Embed(source="global/media/flowers.jpg");
> > > }
> > >
> > > I keep getting the "Invalid Embed directive in stylesheet - can't
> > > resolve source." I know the image exists and is at that path. Help!
> > >
> > > __
> > > This communication is from Primal Pictures Ltd., a company
> registered in
> > > England and Wales with registration No. 02622298 and registered
> office: 4th
> > > Floor, Tennyson House, 159-165 Great Portland Street, London, W1W
> 5PA, UK.
> > > VAT registration No. 648874577.
> > >
> > > This e-mail is confidential and may be privileged. It may be read,
> copied
> > > and used only by the intended recipient. If you have received it
> in error,
> > > please contact the sender immediately by return e-mail or by
> telephoning
> > > +44(0)20 7637 1010. Please then delete the e-mail and do not
> disclose its
> > > contents to any person.
> > > This email has been scanned for Primal Pictures by the MessageLabs
> Email
> > > Security System.
> > > __
> > >   This message is private and confidential. If you have received
it in
> > > error, please notify the sender and remove it from your system.
> > >
> > > This message is private and confidential. If you have received it
> in error,
> > > please notify the sender and remove it from your system.
> > >  
> > >
> >
>




[flexcoders] Re: AIR HTML control - clicking a link that wants to open in a new window

2008-10-27 Thread arieljake
just needed the right search term in google:

see http://soenkerohde.com/2008/09/air-html-with-_blank-links/

--- In flexcoders@yahoogroups.com, "arieljake" <[EMAIL PROTECTED]> wrote:
>
> How are people handling the situation when a link clicked inside an
> HTML control is set to open in a new window. The HTML control does
> nothing, and I am wondering how we can handle this.
> 
> It's been a while since I worked with javascript...is there an object
> we can add an event listener to so that we can catch this occurence
> and set the HTML control's location? Can I add event listeners to
> javascript objects inside an AIR app written in Flex?
> 
> Thanks.
>




[flexcoders] AIR HTML control - clicking a link that wants to open in a new window

2008-10-27 Thread arieljake
How are people handling the situation when a link clicked inside an
HTML control is set to open in a new window. The HTML control does
nothing, and I am wondering how we can handle this.

It's been a while since I worked with javascript...is there an object
we can add an event listener to so that we can catch this occurence
and set the HTML control's location? Can I add event listeners to
javascript objects inside an AIR app written in Flex?

Thanks.



[flexcoders] Lookup performance: Dictionary in memory vs. SQLLite

2008-10-17 Thread arieljake
I am developing an AIR app, and am wondering what people believe would
be faster...I plan to implement an RSS reader in the app, and want to
filter the entries that have been read/saved already, so I will need
to do a lookup on every downloaded RSS item in a dictionary to see if
the user has looked at that item already.

Would it be faster to read these in from the SQLLite DB at startup and
check these in memory, or just perform queries on the SQLLite db directly?

Thanks.



[flexcoders] Generic XML serializer/deserializer in as3

2008-10-17 Thread arieljake
In case anyone can make use of it:

http://arieljake.onsugar.com/2383269



[flexcoders] Re: Every second time I debug my app, Flex closes Safari :(

2008-10-16 Thread arieljake
I think you can avoid this if you open another site in the first tab
before debugging and leave it open as you debug and re-debug.

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> If I reload the app (and kill the debugging session) in the browser
> beforehand, then Builder will reuse the tab correctly without
killing the
> browser.
> 
> -Josh
> 
> On Wed, Oct 15, 2008 at 3:41 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> 
> > Doing that kills the entire browser process. I really can't for
the life of
> > me figure out the problem. I've had it happen from Builder and
from Flex
> > Plugin, and only in some workspaces even on the same machine :(
> >
> > -Josh
> >
> >
> > On Wed, Oct 15, 2008 at 3:24 PM, Rob Kunkle <[EMAIL PROTECTED]> wrote:
> >
> >> I think this happens because the debugger is still running when you
> >> start it the second time. Try pressing the red "stop debugging"
square
> >> in flex builder to stop the debugger, and see if that fixes the
problem.
> >>
> >> r
> >>
> >>
> >> --- In flexcoders@yahoogroups.com, "Josh McDonald"  wrote:
> >> >
> >> > Hey guys,
> >> >
> >> > In one or two workspaces, everything works fine. In most of them,
> >> however,
> >> > every second time I debug an app, everything goes as normal but
then
> >> Builder
> >> > kills the Safari application (not just the old tab, but the
entire app).
> >> > This is of course *incredibly* annoying given how slow all this
> >> stuff is.
> >> >
> >> > Any ideas what causes this?
> >> >
> >> > -Josh
> >> >
> >> > --
> >> > "Therefore, send not to know For whom the bell tolls. It tolls for
> >> thee."
> >> >
> >> > Like the cut of my jib? Check out my Flex blog!
> >> >
> >> > :: Josh 'G-Funk' McDonald
> >> > :: 0437 221 380 :: josh@
> >> > :: http://flex.joshmcdonald.info/
> >> >
> >>
> >>
> >>
> >> 
> >>
> >> --
> >> Flexcoders Mailing List
> >> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >> Alternative FAQ location:
> >>
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> >> Search Archives:
> >> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> >> Links
> >>
> >>
> >>
> >>
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> >
> > Like the cut of my jib? Check out my Flex blog!
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> > :: http://flex.joshmcdonald.info/
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> Like the cut of my jib? Check out my Flex blog!
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
> :: http://flex.joshmcdonald.info/
>




[flexcoders] Re: images not appearing in AIR app

2008-10-01 Thread arieljake
I too had this start happening just recently (days). Exactly the same
issue. Had to resort to embedding my assets. I believe there was a
recent AIR update. Could it be connected? How do we start to test that
hypothesis?


--- In flexcoders@yahoogroups.com, "Andrew Wetmore" <[EMAIL PROTECTED]> wrote:
>
> Hi:
> 
> I have an AIR application going into alpha test. Images embedded in
> buttons appear fine, but several images that I display using the
> mx:Image component are not appearing. This started on the Mac a
> colleague uses, and I thought it was maybe a lab issue; but now it is
> happening in the installed version.
> 
> The images are .gif and .png. They are present in the app and work
> fine running in debug on a Windows machine. Can anyone suggest what
> steps I should take to fix this, so my boss does not take my head off?
> 
> a
>




[flexcoders] eclipse, flexbuilder, conditional breakpoints

2008-09-25 Thread arieljake
It seems from this post
(http://www.javalobby.org/java/forums/t19825.html) that java within
eclipse supports conditional breakpoints.

Does that mean that this feature must specifically be added by the
Adobe team to flexbuilder, or do we need to activate it for Flex somehow?




[flexcoders] IEventDispatcher - removeAllListeners

2008-09-15 Thread arieljake
Do people think it would be a worthwhile feature to have
IEventDispatcher define a removeAllListeners function?



[flexcoders] Re: Use FileReference to get a directory rather than a file?

2008-09-15 Thread arieljake
Sorry, I realized I was looking for File, not FileReference.

--- In flexcoders@yahoogroups.com, "actionscript_czar" <[EMAIL PROTECTED]> 
wrote:
>
> FileReference.browse is used to select a file( or files if you use 
> FileReferenceList.browse ) that gets uploaded to the server.  When 
> you actually use the FileReference API to download something from the 
> server, the normal window for your OS will come up asking you where 
> you want to save it.
> 
> I hope this helps.
> 
> --- In flexcoders@yahoogroups.com, "Josh Santangelo"  wrote:
> >
> > I'm working on an application which includes an option to let the 
> user
> > select a directory to which files should be downloaded. I'm aware of
> > FileReference.browse, and I can use that to let people select a file
> > -- but I don't want a file, I want a folder. I'm thinking something
> > like in a web browser options panel where you select a download 
> folder.
> > 
> > Is this possible? It doesn't seem like it from what I'm reading in 
> the
> > FileReference docs...
> > 
> > thanks,
> > -josh
> >
>




[flexcoders] Re: Use FileReference to get a directory rather than a file?

2008-09-15 Thread arieljake
What if we need a user to select a directory on their system (in AIR)
to specify a folder where files or settings are? Then can a user
specify a directory when browsing?

Would a solution to this be to replace the FileFilter concept with
IFileFilter so we could write our own Filters to analyze the File
objects if we want to allow for selection?

--- In flexcoders@yahoogroups.com, "actionscript_czar" <[EMAIL PROTECTED]> 
wrote:
>
> FileReference.browse is used to select a file( or files if you use 
> FileReferenceList.browse ) that gets uploaded to the server.  When 
> you actually use the FileReference API to download something from the 
> server, the normal window for your OS will come up asking you where 
> you want to save it.
> 
> I hope this helps.
> 
> --- In flexcoders@yahoogroups.com, "Josh Santangelo"  wrote:
> >
> > I'm working on an application which includes an option to let the 
> user
> > select a directory to which files should be downloaded. I'm aware of
> > FileReference.browse, and I can use that to let people select a file
> > -- but I don't want a file, I want a folder. I'm thinking something
> > like in a web browser options panel where you select a download 
> folder.
> > 
> > Is this possible? It doesn't seem like it from what I'm reading in 
> the
> > FileReference docs...
> > 
> > thanks,
> > -josh
> >
>




[flexcoders] Re: AIR - HTML - view source

2008-09-11 Thread arieljake
Programatically.

--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> Do you mean programatically, or as a normal user viewing the
> application?
>  
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of arieljake
> Sent: 11 September 2008 06:48
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] AIR - HTML - view source
>  
> I tried to search the archive for this to no avail.
> 
> Is it possible to obtain the html source of a webpage being viewed in
> the HTML control within AIR?
>  
> 
> __
> This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
> 
> This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
> __
>




[flexcoders] AIR - HTML - view source

2008-09-10 Thread arieljake
I tried to search the archive for this to no avail.

Is it possible to obtain the html source of a webpage being viewed in
the HTML control within AIR?



[flexcoders] SEO and Flash content

2008-09-08 Thread arieljake
I was wondering what it takes for the server to realize that a request
is coming from Google's indexing machines so that text can be output
instead of a Flex app.

Also, do we need to be careful doing this to not get in trouble with
Google? Are their best practices to follow when we output the text?



[flexcoders] Re: Keydownhandler fires twice for each keystroke

2008-08-18 Thread arieljake
have you called addEventListener twice?

--- In flexcoders@yahoogroups.com, "aceoohay" <[EMAIL PROTECTED]> wrote:
>
> nope...
> 
> After you posted I inserted;
> 
> event.preventDefault();
> 
> At the beginning of the function with no effect.
> 
> Like I said it seems as though the keyDownHandler function is called 
> twice for each keystroke.
> 
> Paul
> --- In flexcoders@yahoogroups.com, "Tracy Spratt"  
> wrote:
> >
> > Event.preventDefault?
> > 
> > Tracy
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of aceoohay
> > Sent: Monday, August 18, 2008 4:46 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Keydownhandler fires twice for each keystroke
> > 
> >  
> > 
> > Flex 2.0.1
> > 
> > I am trying to capture keystrokes in the keyDownHandler of a 
> > ComboBox and it appears to be firing twice for each keystroke.
> > 
> > Any ideas on what might cause this?
> > 
> > The code below works except that when the user strikes a 
>  
> > it removes two characters from _typedText.
> > 
> > Paul
> > 
> > override protected function textInput_changeHandler
> > (event:Event):void
> > {
> > _typedText += this.textInput.text;
> > if (!findFirstItem(_typedText))
> > {
> > _typedText = _typedText.substr
> > (0,_typedText.length -1);
> > findFirstItem(_typedText);
> > }
> > }
> > override protected function keyDownHandler
> > (event:KeyboardEvent):void
> > {
> > if(!event.ctrlKey)
> > {
> > if (event.keyCode == 
> > Keyboard.BACKSPACE || event.keyCode == Keyboard.DELETE)
> > {
> > _typedText = 
> > _typedText.substr(0,_typedText.length -1);
> > findFirstItem(_typedText);
> > }
> > }
> > }
> >
>




[flexcoders] Re: Flex is time consuming

2008-08-18 Thread arieljake
Turn off Build Automatically.

--- In flexcoders@yahoogroups.com, "dbronk" <[EMAIL PROTECTED]> wrote:
>
> Although I agree that 16000 lines of code broken between only 7
> classes certainly seems like a further break down of code into smaller
> classes is necessary, I also believe that Adobe needs to kick it into
> gear and come out with a patch ASAP that addresses the, from my
> experience, the absolute slowest compiler on the planet.  Also with
> that, they need to get a patch out that doesn't go into a full
> workspace build just because I make a small change to a class.  I've
> even simply added a space and saved which caused a full workspace
> build.  To me, placing this as a top priority for Flex 4 is great and
> I thank them for that, but that doesn't help me now.  My single
> greatest productivity killer right now is having to wait 60-90 seconds
> everytime I save a file.
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Howard Fore"  wrote:
> >
> > Sounds like you need to break it down further...
> > 
> > On Mon, Aug 18, 2008 at 9:30 AM, litesh_b321  wrote:
> > 
> > > Hi gyus
> > > i have around 16000 line of code
> > > which is already broke up in two mxml file and five class file
> > >
> > 
> > 
> > -- 
> > Howard Fore, howard.fore@
> > "The universe tends toward maximum irony. Don't push it." - Jeff
Atwood
> >
>




[flexcoders] HTML (Air) - view source

2008-08-11 Thread arieljake
Can we access the source code of a page being viewed in an HTML
component? I tried using the htmlText property (not set) and I can't
see a property in the HTMLLoader that would provide this.



[flexcoders] Re: Vista, SystemRestore and FlexBuilder

2008-08-11 Thread arieljake
> like SVN or CVS. 

or Perforce (my personal fave)



[flexcoders] Re: modifying a function at runtime

2008-08-05 Thread arieljake
ehem...was a little sleepy when I wrote that. I meant...

Is it possible to modify the method of a class at runtime?

The only way I can think of is to encapsulate the function into a
Function property that gets called by a wrapper class method.






[flexcoders] modifying a function at runtime

2008-08-05 Thread arieljake
Is it possible to modify a function at runtime? Like set it to a new
value?



[flexcoders] Re: Here's a great idea for flex 4 - simple color pallette utility

2008-06-25 Thread arieljake
I agree. We totally could save time coding with a tool like that. 

1. Inline stylesheet, see a "#" and popup color picker
2. Setting styles in MXML
3. Setting styles in ActionScript

It doesn't look like this has been filed yet. Does someone need help
doing that? I will vote for it.

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> I agree with Richard, the ability to do Builder plugins in
Actionscript with
> access to the parsed source tree would open the platform for all
*sorts* of
> cool stuff, not just little visual doodads like this. I'm an experienced
> Java dev, but not everybody here is. And I don't want to be doing native
> eclipse code anyway.
> 
> -Josh
> 
> On Wed, Jun 25, 2008 at 3:08 AM, Richard Rodseth <[EMAIL PROTECTED]> wrote:
> 
> > What would be *really* nice would be an adapter to write Flexbuilder
> > plug-in panels in Flex, or package Flex/AIR apps to run within
> > Eclipse/FB with special integration APIs (just as AIR apps can re-use
> > code from Flex apps, and have additional APIs to access the file
> > system).
> >
> > Imagine what the community would come up with! A tool like Kuler could
> > be available as a web app, an AIR app, or integrated into Flexbuilder.
> >
> > I believe the Design View is already a Flex app of some variety.
> >
> >
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




[flexcoders] Re: Some interesting flexcoders stats

2008-06-23 Thread arieljake
Sorry, I meant what would the tables look like (model)?

--- In flexcoders@yahoogroups.com, "Doug McCune" <[EMAIL PROTECTED]> wrote:
>
> I'm planning on letting people download the sqlite database file.
> That's a single file (with the .db extension I think) that you can
> load into any air app and access. I could also do a CSV, but it's a
> lot of data (hell, excel can't even load that many rows).
> 
> Doug
> 
> On Sun, Jun 22, 2008 at 10:18 PM, arieljake <[EMAIL PROTECTED]> wrote:
> > What will the data format be so we can plan ahead?
> >
> > --- In flexcoders@yahoogroups.com, "Doug McCune"  wrote:
> >>
> >> Within then next week I hope to have a fairly complete dataset of
> >> date, subject, and name of who posted for close to all the messages
> >> ever posted to flexcoders. I might also do a second pass to get full
> >> text of each message too. I say "close to all" because I'm scraping
> >> the mail archive website and that only shows 95,000 message, but in
> >> reality I think there are more like 116,000. Plus some of the
messages
> >> from 2004 seems to have gotten a bit jacked on the mail archive site
> >> and don't show up with the proper subjects and senders (there's a
> >> block of a few hundred).
> >>
> >> But once I get that I'm going to post a sqlite DB file that has
it all
> >> that you can load into an air app to play with. I'll let y'all know
> >> when you can start playing with the data.
> >>
> >> Doug
> >>
> >> On Sun, Jun 22, 2008 at 5:29 PM, Tim Hoff  wrote:
> >> >
> >> > flexCodersStatus = (mostRecentlyPostedThread == "The subject that
> > shall
> >> > not be named!" ? "Banned" : "Active");
> >> >
> >> > -TH :-)
> >> >
> >> > --- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
> >> >>
> >> >> Hey folks,
> >> >>
> >> >> Given the recent big thread on the subject that shall not be
> > named, my
> >> >> colleague Suchit went ahead and got some interesting
membership stats
> >> > since
> >> >> the beginning of the list.
> >> >>
> >> >> Number of people who:
> >> >>
> >> >> Joined group == 14036
> >> >> Left group == 3686
> >> >> Were Banned == 631
> >> >> Got Removed == 359
> >> >>
> >> >> I would say losing ~25% over time isn't too bad. That said we
haven't
> >> > done
> >> >> analysis to see if there's a trend in dates or if we're losing
more
> >> > people
> >> >> recently, etc. But interesting info for starters...
> >> >>
> >> >> Matt
> >> >>
> >> >
> >> >
> >>
> >
> >
>




[flexcoders] Re: Some interesting flexcoders stats

2008-06-22 Thread arieljake
What will the data format be so we can plan ahead?

--- In flexcoders@yahoogroups.com, "Doug McCune" <[EMAIL PROTECTED]> wrote:
>
> Within then next week I hope to have a fairly complete dataset of
> date, subject, and name of who posted for close to all the messages
> ever posted to flexcoders. I might also do a second pass to get full
> text of each message too. I say "close to all" because I'm scraping
> the mail archive website and that only shows 95,000 message, but in
> reality I think there are more like 116,000. Plus some of the messages
> from 2004 seems to have gotten a bit jacked on the mail archive site
> and don't show up with the proper subjects and senders (there's a
> block of a few hundred).
> 
> But once I get that I'm going to post a sqlite DB file that has it all
> that you can load into an air app to play with. I'll let y'all know
> when you can start playing with the data.
> 
> Doug
> 
> On Sun, Jun 22, 2008 at 5:29 PM, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> > flexCodersStatus = (mostRecentlyPostedThread == "The subject that
shall
> > not be named!" ? "Banned" : "Active");
> >
> > -TH :-)
> >
> > --- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
> >>
> >> Hey folks,
> >>
> >> Given the recent big thread on the subject that shall not be
named, my
> >> colleague Suchit went ahead and got some interesting membership stats
> > since
> >> the beginning of the list.
> >>
> >> Number of people who:
> >>
> >> Joined group == 14036
> >> Left group == 3686
> >> Were Banned == 631
> >> Got Removed == 359
> >>
> >> I would say losing ~25% over time isn't too bad. That said we haven't
> > done
> >> analysis to see if there's a trend in dates or if we're losing more
> > people
> >> recently, etc. But interesting info for starters...
> >>
> >> Matt
> >>
> >
> >
>




[flexcoders] Re: hslider and binding to values

2008-06-07 Thread arieljake
I know.

What I am referring to is this:



--- In flexcoders@yahoogroups.com, "kenny14390" <[EMAIL PROTECTED]> wrote:
>
> Binding is curly braces {} not square brackets []
> 
> 
> --- In flexcoders@yahoogroups.com, "arieljake"  wrote:
> >
> > I have an hslider with two tabs.
> > 
> > I am trying to create a label next to the hslider to display the
> > values it has set.
> > 
> > We access the values of the hslider using the values array. But we
> > can't bind when using square brackets.
> > 
> > what do we do?
> >
>




[flexcoders] hslider and binding to values

2008-06-05 Thread arieljake
I have an hslider with two tabs.

I am trying to create a label next to the hslider to display the
values it has set.

We access the values of the hslider using the values array. But we
can't bind when using square brackets.

what do we do?



[flexcoders] mx.rpc.remoting.remoteobject and the endpoint property

2008-06-04 Thread arieljake
does anyone know why only the mxml version of remoteobject has the
endpoint property available to set?



[flexcoders] FYI: Getting mx:Text to wrap

2008-04-16 Thread arieljake
I have a DataGrid inside a page, and I didn't want to hard code the
width of the DataGrid, much less any of the columns inside of the
DataGrid.

One of the columns in the grid is a custom item renderer, a Canvas
with an Image next to a Text field for displaying a description. The
Image was constrained to 5 pixels from the left and 50 pixels wide.
The Text field was constrained to 60 pixels from the left and 5 pixels
from the right.

At first the Text field was not wrapping as many have asked/commented
on in this group. But I got it to wrap by replacing the right side
constraint with a binding on the width to the width of the parent
component (the Canvas) minus the width of the image minus the two 5
pixel padding values, so:

width="{this.width - theImg.width - 5 - 5}"

Now the Text field wraps properly.

Just to share.



[flexcoders] Re: YouTube Video Library on your desktop with Adobe AIR

2008-04-04 Thread arieljake
I love this program. One of my favorite AIR apps yet. The program
could use a manager for downloads saved to the local hard drive.

great color scheme. I'm amazed the player can handle reflecting the
video and not just a bitmap.

nice work.

--- In flexcoders@yahoogroups.com, "robertjesionek"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am new to this group, and I do not know if this is the right place
> to post, but I have been told it is a nice Flex community here.
> 
> I'd like to put some interest of the community onto some AIR
> application I have created, which is a non-commercial and conceptual
> idea, of searching, playing back and downloading YouTube videos on the
> desktop.
> 
> The FLVPlayer is a non-commercial, conceptual AIR application,
> intended to simplify the video transfers from YouTube to computers and
> mobile devices like IPhone, IPod, smartphones. It provides the
> functionality to download videos onto PC, MAC or Linux and transfer
> them to the device later on, so the device's bandwidth is not used
> later to stream videos. Other useful functionality, is a video
> playback. It has been built with Adobe AIR and Papervision3D.
> 
> I am very interested on the community feedback. Does this have a
> chance to get popular? Is You Tube going to send a bunch of lawyers to
>  me?
> 
> This is the installation link: 
> 
> http://www.riaforge.co.uk/projects/flvplayer/
> 
> Best Regards to all Flex developers out there!!!
> 
> Robert
>




[flexcoders] framework rsl

2008-04-02 Thread arieljake
any chance the flash player helps adobe keep statistics on how many
players out there have cached the flex framework?



[flexcoders] Re: How do I set width to 100% in actionscript?

2008-03-25 Thread arieljake
Along these lines, can a resize effect with property "heightTo" be
given a percent height?

--- In flexcoders@yahoogroups.com, "westlandc" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "luvfotography"  wrote:
> >
> > How do I set the width to 100% using actionscript??
> > It only allows a number - not a string!?!
> > 
> > 
> > var newcanvas:Canvas = new Canvas();
> >  
> > newcanvas.width = "100%";
> > 
> > 
> > 1067: Implicit coercion of a value of type String to an unrelated type
> > Number.
> >
> 
> Use percentWidth
>




[flexcoders] Re: Continuous refresh() on ICollectionView

2008-03-21 Thread arieljake
Yes, exactly. It's for a filter. What I am thinking about is if I am
going to type my first name into a text input (A-r-i-e-l), if I bind
the change event directly, the list will be filtered 5 times, once for
each letter in my name. But if I delay for say 300 ms after each
letter, and reset the timer when each letter is clicked, then perhaps
I will type the whole name before the timer has a chance to expire and
actually call refresh for the first time. The filter is applied only once.

I guess you answer my question by saying that there is no performance
issue, that filtering happens quickly. My concern is that the filter
after the last letter is typed will not be delayed while the other
invocations of refresh are taking place.

--- In flexcoders@yahoogroups.com, EECOLOR <[EMAIL PROTECTED]> wrote:
>
> I can not see the need for a refresh on a ICollectionView from
typing in a
> TextInput field. Usually a TextInput field changes only one property
of one
> object in the ICollectionView. If that property is bindable, it's change
> will be reflected in the display.
> 
> On the other hand, I just thought of a situation where we indeed do
exactly
> as you descibe. We have a filter that is driven by a TextInput. In
this case
> we indeed call the refresh method on the ICollectionView when the text
> changes.
> This has been (so far) no problem and did not cause any problems. The
> filtering was performed perfectly well and very responsive.
> 
> 
> Greetz Erik
> 
> On 3/21/08, arieljake <[EMAIL PROTECTED]> wrote:
> >
> > I am binding the change event of a textinput field to a function that
> > will call refresh() on an ICollectionView. What I was wondering is if
> > it would be smarter to use some sort of Timer to call the refresh
> > function to avoid filtering too many times since someone will be
> > typing a string of characters. Anyone dealt with this?
> >
>




[flexcoders] Continuous refresh() on ICollectionView

2008-03-20 Thread arieljake
I am binding the change event of a textinput field to a function that
will call refresh() on an ICollectionView. What I was wondering is if
it would be smarter to use some sort of Timer to call the refresh
function to avoid filtering too many times since someone will be
typing a string of characters. Anyone dealt with this?



[flexcoders] Re: independent vertical scrolling in hbox elements

2008-03-14 Thread arieljake
It works if I add height="150" to the sidebar.

--- In flexcoders@yahoogroups.com, "dfalling" <[EMAIL PROTECTED]> wrote:
>
> This seems like a really simple question, but I can't figure it out...
>  I have a two-column view and want the columns to scroll independently
> of each other (if one needs to scroll, then it will show scrollbars.)
>  I've tried dozens of combinations of height and can't get it to work.
>  Either neither columns scroll, or both scroll together.
> 
> Here's a basic example I'm trying.  The sidebar below is too tall, and
> causing the entire interface to scroll.
> 
> 
>
>   
>
>
>   
>
> 
>




[flexcoders] Re: "headless" mode

2008-02-21 Thread arieljake
If a component is not visible or is not added to the display list,
will I still be able to save a bitmap of it to a file?

--- In flexcoders@yahoogroups.com, "Tim Stewart" <[EMAIL PROTECTED]> wrote:
>
> You can create and work with display objects, including Flex
> UIComponents, without adding them to the display list, so they are in
> memory only not on the screen. Or you can add them to the display but
> set visible=false.
>  
> Cheers, Tim
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of arieljake
> Sent: Saturday, 16 February 2008 7:58 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] "headless" mode
> 
> 
> 
> Can a library like the Flex Charting be used in headless mode if I
> don't want to display the chart but rather just want to iterate over
> multiple data sets and generate a JPG image of the chart for each data
> set, for saving to a file in AIR?
>




[flexcoders] "headless" mode

2008-02-15 Thread arieljake
Can a library like the Flex Charting be used in headless mode if I
don't want to display the chart but rather just want to iterate over
multiple data sets and generate a JPG image of the chart for each data
set, for saving to a file in AIR?



[flexcoders] Re: Problem loading newly uploaded module (browser cached old version)

2008-02-05 Thread arieljake
append a unique string (the date with seconds) as a query string to
the module url when loading it

--- In flexcoders@yahoogroups.com, "zvjerka24" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "zvjerka24"  wrote:
> >
> > Hello!
> > I'm working on very big project using Flex (and modules). When I'm
> > uploading new version of modules, browsers (IE, Mozilla...) cached old
> > version, because of that new version is not loaded. This thing
> > occurres sometimes, but not always!
> > Does anyone know the solution for this problem?
> > Thanks in advance!
> > 
> > Vladimir
> >
> 
> 
> ANYONE?
>




[flexcoders] Re: Adobe Air Error

2008-01-28 Thread arieljake
You can also go into Task Manager and End the AIR exe process (ald.exe
i think)

--- In flexcoders@yahoogroups.com, "jmfillman" <[EMAIL PROTECTED]> wrote:
>
> I've also found that I have to Click the "Run" button twice when I'm 
> having this same issue. The only way I've found to stop it is to 
> reboot the computer, then it's okay for a bit.
> 
> JF
> --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> >
> > Good question. I get this message often as well. Seems to happen 
> > after I've been running FlexBuilder for a while and have run the 
> > Debugger several times. I've noted that the Debugger is not 
> unloading 
> > the SWF file after I close the app, so the first launch appears to 
> > clear out the remnants of the last time I ran the app, allowing it 
> to 
> > work the second time.
> > 
> > --- In flexcoders@yahoogroups.com, Sherif Abdou  wrote:
> > >
> > >  
> > > why do i get this error when i Debug, i have to do it twice for 
> it 
> > to work. First time I get this error then i close it and then click 
> > again and it works
> > > Process terminated without establishing connection to debugger.
> > > Command:
> > > "C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0
> > \bin\adl.exe" "C:\Users\Sherif\Documents\Flex Builder 3\Test\bin-
> > debug\Test-app.xml" "C:\Users\Sherif\Documents\Flex Builder 3
> > \Test\bin-debug" 
> > > Output from command:
> > > invocation forwarded to primary instance
> > > 
> > > 
> > >   
> > 
> __
> > __
> > > Never miss a thing.  Make Yahoo your home page. 
> > > http://www.yahoo.com/r/hs
> > >
> >
>




[flexcoders] Re: Can't get web page to scroll large Flex app

2008-01-26 Thread arieljake
Generally, this has to do with the parent of the container/component
that is really long not having a width or height defined so that
scrollbars don't appear. Post some code, we can help.

--- In flexcoders@yahoogroups.com, "jack_freud" <[EMAIL PROTECTED]> wrote:
>
> Sherif,
> Thanks for your reply, but what I wanted was for the browser to scholl
> the entire page including the App, not just for the app to scroll
> itself, just like a big web page.
> 
> I stripped out everything but the simplest table on an html page and
> it worked, so I'm cool for now.
> 
> Thanks for responding.
> 
> Jack
> 
> --- In flexcoders@yahoogroups.com, Sherif Abdou  wrote:
> >
> > Browser does not add Scroll Areas, it is Flex that handles that
> since it is an Application. If you want Scrollbars just set the
> horizontalScrollPolicy to on
> > 
> > 
> > - Original Message 
> > From: jack_freud 
> > To: flexcoders@yahoogroups.com
> > Sent: Friday, January 25, 2008 4:53:09 PM
> > Subject: [flexcoders] Can't get web page to scroll large Flex app
> > 
> > Hi,
> > I have a Flex app that's quite long, more than 900 pixels. If it were
> > HTML, the browser would automatically add scrollbars for the content.
> > 
> > But the browser doesn't seem to notice that the app is bigger than the
> > viewable area of the browser.
> > 
> > I tried putting the embedded object inside an HTML table but that did
> > nothing to help.
> > 
> > Thanks!
> > Jack
> > 
> > 
> > 
> > 
> > 
> >  
>

> > Never miss a thing.  Make Yahoo your home page. 
> > http://www.yahoo.com/r/hs
> >
>




[flexcoders] FDS on Tomcat - transactions and JOTM

2007-12-17 Thread arieljake
Has anyone been able to get DataServices to work on Tomcat6?

There is a common error about transactions not working, and the
solution is to install JOTM. But I am not able to do so successfully.

I still get an error: Could not initialize class
org.objectweb.jotm.TraceTm

If someone can help, please let me know. Thanks.



[flexcoders] Managed Value Object error

2007-12-14 Thread arieljake
I have added [Managed] to a VO class and now, compiling produces these
errors:

Error: Definition mx.data:IManaged could not be found.
Error: Definition mx.data.utils:Managed could not be found.

I can't find anything on Google or this group's archives about this.
Can someone help me get rid of this error?

Thanks.



[flexcoders] Re: Binding with Associatives Arrays

2007-11-19 Thread arieljake
Binding does not work with generic Objects when referencing their
properties. You will have to create a class that has Bindable
properties or that uses a get/set function pair to dispatch events to
allow binding to work. 

Also, even though your example won't work, you need to be in the habit
of adding [Bindable] before variables that you are expecting to be
bindable.

--- In flexcoders@yahoogroups.com, "peuga" <[EMAIL PROTECTED]> wrote:
>
> hello coders.
> 
> i'm trying to bind an associative array to some component property,
> something like:
> 
> - - -
> 
>   
> 
> 
> - - -
> 
> but flex can't bind this, even with monitorInfo.getItemAt('sum').
> can anyone one help me whith this??
> 
> thanks a lot.
>




[flexcoders] Re: How set combobox item saved in database

2007-11-19 Thread arieljake
did that not work for you?

--- In flexcoders@yahoogroups.com, "danielvlopes" <[EMAIL PROTECTED]>
wrote:
>
> Hello, i had dataprovider loaded from database, and this selected
> label is saved on database in other table. But when user must edit
> your data how i initialize the combobox on edit form with selected
> item in you previous selected item?
> 
> I try this, but i don't know it is the best way:
>   public function 
> setComboItem(event:Event,item:String):void{
>   for(var i:Number = 0; i < 
> event.target.dataProvider.length; i++)
>   {
>if(event.target.dataProvider[i] == 
> item){
>   event.target.selectedIndex = i;
>   }
>   }
>   }
> 
>   
>creationComplete="setComboItem(event,objCurriculo.estado_civil)"> 
> 
>   
>   solteiro
>   casado
>   separado
>   divorciado
>   viúvo
>   união estável
>   
>   
>   
>   
>   
>




[flexcoders] Re: Re-Scaling Charts when a series is made visible / invisible

2007-11-19 Thread arieljake
have you tried calling invalidateDisplayList() or
invalidateProperties() after editing the series array?


--- In flexcoders@yahoogroups.com, "cuddlygunchi" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I give the user an option to make a series visible / invisible in a 
> chart. However, the Y axis is always scaled according to the largest 
> value a series can take, no matter if its visible or not.
> 
> How can I make the Y axis scale according to only the visible series in 
> my chart? 
> 
> I could perhaps get this effect if I remove the series item instead of 
> just setting its visible to false. But when I dynamically add / remove 
> series to the array, it does not recreate the chart and all the series 
> just stay there.
> 
> Many Thanks,
> Aman
>




[flexcoders] Re: "Enter Thru" States

2007-11-19 Thread arieljake
Add an event listener to the "keyDown" event of the application and
programmatically alter the state or visible container in the viewstack
when the charCode is that of the Return or Enter keys.


--- In flexcoders@yahoogroups.com, "dmeasbp" <[EMAIL PROTECTED]> wrote:
>
> Hello All!
> 
> I simply have a number of states, which alter a viewstack, which
> contain Panel components.  I want to be able to 'RETURN' or 'ENTER'
> thru the states.  Should I add an event listener to the application? 
> Any help would be appreciated.
> 
> D. Meas
>




[flexcoders] Re: Help with sequential function calls

2007-11-18 Thread arieljake
It seems as if your call to getMission updates the Text with the new
value directly, but that could happen before the fade effect is
complete. Instead, collaborate between the getMission function and an
event listener on fadeOut that is listening for the effectEnd event to
manage updating the text. 

In the getMission function, if the effect has ended, update the text,
otherwise, save the new text into a variable. In the event listener on
the effect, if the new text has arrived, update the text, otherwise,
update a variable to indicate that the effect has ended.

You could also put this logic into one function that gets called from
both getMission and the event listener.



[flexcoders] Re: application/container scrolling

2007-11-06 Thread arieljake
I figured this out using the replies above. I looked deeper and deeper
into the display list until i found child components that were
expected to scroll, and set their parent containers to have
minHeight="0". This allowed the Application to fit the browser window
and not scroll past.

Thanks for the help on this one guys.

--- In flexcoders@yahoogroups.com, "arieljake" <[EMAIL PROTECTED]> wrote:
>
> Along these same lines, I have a VBox inside an Application, as such:
> 
> http://www.adobe.com/2006/mxml"; 
>   layout="absolute" width="100%" height="100%" >
>   
>borderSides="top bottom left right" borderThickness="1"
> borderColor="#CC3300" borderStyle="solid" backgroundColor="#FF" />
>   
> 
> 
> The contents of the VBox is taller than the browser window. Currently,
> the application is scrolling, but i want to limit the Application to
> the size of the browser window. Will that require javascript to set
> the object/embedded swf to the size of the browser window?
> 
> --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
>  wrote:
> >
> > Set minHeight="0" on your VBox. More info:
> >
>
http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1&p=1
> > 
> > HTH,
> > Ben
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "arieljake"  wrote:
> > >
> > > When i compile this app, I get no scrollbars. I expect the Form
> > > container to add scrollbars, not the Application. What am I
> > > misunderstanding here?
> > > 
> > > 
> > >  > >   xmlns:mx="http://www.adobe.com/2006/mxml"; 
> > >   height="100%" verticalScrollPolicy="off">
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > > 
> > >
> >
>




[flexcoders] Re: application/container scrolling

2007-11-05 Thread arieljake
Along these same lines, I have a VBox inside an Application, as such:

http://www.adobe.com/2006/mxml"; 
layout="absolute" width="100%" height="100%" >





The contents of the VBox is taller than the browser window. Currently,
the application is scrolling, but i want to limit the Application to
the size of the browser window. Will that require javascript to set
the object/embedded swf to the size of the browser window?

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Set minHeight="0" on your VBox. More info:
>
http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1&p=1
> 
> HTH,
> Ben
> 
> 
> --- In flexcoders@yahoogroups.com, "arieljake"  wrote:
> >
> > When i compile this app, I get no scrollbars. I expect the Form
> > container to add scrollbars, not the Application. What am I
> > misunderstanding here?
> > 
> > 
> >  > xmlns:mx="http://www.adobe.com/2006/mxml"; 
> > height="100%" verticalScrollPolicy="off">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>




[flexcoders] Re: application/container scrolling

2007-11-05 Thread arieljake
If I don't want to set an explicit height on the form, can i get the
VBox container to handle the scrolling somehow?

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> You need an explicit height on the form to produce the scrollbars.
> 
>  
> 
> You can use a calculated height: height="{this.height}"
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of arieljake
> Sent: Monday, November 05, 2007 8:11 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] application/container scrolling
> 
>  
> 
> When i compile this app, I get no scrollbars. I expect the Form
> container to add scrollbars, not the Application. What am I
> misunderstanding here?
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
> <http://www.adobe.com/2006/mxml> " 
> height="100%" verticalScrollPolicy="off">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>




[flexcoders] application/container scrolling

2007-11-05 Thread arieljake
When i compile this app, I get no scrollbars. I expect the Form
container to add scrollbars, not the Application. What am I
misunderstanding here?


http://www.adobe.com/2006/mxml"; 
height="100%" verticalScrollPolicy="off">































































































[flexcoders] Re: Deep binding with Cairngorm question

2007-10-27 Thread arieljake
Could you declare the productList "final" and force future modifiers 
to call removeAll() instead of creating a new one?

--- In flexcoders@yahoogroups.com, "dbronk" <[EMAIL PROTECTED]> wrote:
>
> Thank you very much and this did help.  Thought I'd reply what I 
found
> to work in case you were interested.
> 
> First, I guess because my Product class is declared as Bindable, I
> didn't have to call prodList.itemUpdated(myProduct) which was nice
> since other objects that update myProduct shouldn't have to know 
where
> it is stored.
> 
> Second, swapping my mx:Binding with adding a listener on
> CollectionEvent.COLLECTION_CHANGE definitely did the trick, but with
> one bad consequence.  If somewhere along the way code was written
> prodList = new ArrayCollection, it broke.  My solution to that was 
to
> add back the mx:Binding, but when that fires, it simply runs a
> function that reestablishes the event listener on
> CollectionEvent.COLLECTION_CHANGE.  Now it seems to work no matter 
how
> I set the list.
> 
> Hope that made sense and thanks again.
> 
> Dale
> 
> --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
>  wrote:
> >
> > Never used the Binding tag so I can't say for certain why adding 
an
> > item isn't firing your binding. I would think it should but I 
don't
> > know what kind of listener is being set up by . As far as
> > updating an attribute on a Product, you'll want to call
> > prodList.itemUpdated(myProduct) afterwards but again I can't 
guarantee
> > it will work with .
> > 
> > If you set up a listener in AS for 
CollectionEvent.COLLECTION_CHANGE
> > then that approach should definitely work and adding an item to 
the
> > collection will fire the binding as well.
> > 
> > HTH,
> > Ben
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "dbronk"  wrote:
> > >
> > > I have a VO:
> > > 
> > > [Bindable]
> > > public class Product
> > > {
> > > public var productName : String;
> > > // several more attributes here
> > > }
> > > 
> > > I place a large number of Products in my Cairngorm Singleton
> > > SellModelLocator in var productList : ArrayCollection;
> > > 
> > > The entire SellModelLocator is declared Bindable.  In one of my 
mxml
> > > views I have the following:
> > > 
> > >  > > destination="refreshFilters" />
> > > 
> > > I need this binding to execute refreshFilters whenever I 
add/remove a
> > > Product to productList as well as when I change an attribute in 
one of
> > > the Products contained in productList.  How do I do this?
> > > 
> > > The follow will fire the refreshFilters:
> > > - SellModelLocator.getInstance().productList = new 
ArrayCollection();
> > > - SellModelLocator.getInstance().productList =
> someOtherArrayCollection;
> > > 
> > > The following will NOT fire the refreshFilters:
> > > - SellModelLocator.getInstance().productList.addItem( new 
Product() );
> > > -
> > >
> Product(SellModelLocator.getInstance().productList.getItemAt
(0)).status
> > > = "ACTIVE";
> > > 
> > > Any help on how to do a deep bind would be appreciated.
> > > 
> > > Thanks,
> > > Dale
> > >
> >
>




[flexcoders] Re: Use a CSS file in Flex

2007-10-20 Thread arieljake
2 questions regarding stylesheets in Flex:

1) is it 'background-image' or 'backgroundImage'?

2) like when we name a style "Button" to apply to all mx:Button, can
we do this with custom components, i.e. "ArielsButton" for
custom:ArielsButton?

--- In flexcoders@yahoogroups.com, Ameet Hiremath <[EMAIL PROTECTED]> wrote:
>
> Hi Venkat,
> 
> Once you include the css file in your application, you can access
its class by using,
> 
> styleName="classname" 
> 
> 
> Thanks 
> Ameet
> 
> -Original Message-
> From: Venkat Perpati <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Date: Fri, 19 Oct 2007 04:05:27 +0100 (BST)
> Subject: Re: [flexcoders] Use a CSS file in Flex
> 
> > 
> > 
> > Hi,
> >
> >   got it. http://www.somesite.com/mystyles.css";>
 is used to include css file in the application . But how to use the
style defined in it , is it same as we use in html file 
> >
> >   like 
> >
> >   can you pls give me an example of how we use the styles after
including the CSS file in the application.
> >
> >   regards,
> >   Venkat Perpati
> >   
> > Peter Connolly <[EMAIL PROTECTED]> wrote:
> >   Here's how you reference a CSS file:
> > 
> > http://www.somesite.com/mystyles.css";>
> > 
> > After that, there's a chapter on CSS in the Flex Developer's Guide.
> > 
> > On 10/18/07, Venkat Perpati <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > Can anyone please tell me how to add a CSS file and use the
styles defined in CSS file in the flex application.
> > >
> > > Thanks in Advance
> > >
> > > regards,
> > > Venkat Perpati.
> > >
> > >
> > > 
> > Meet people who discuss and share your passions. Join them now.
> > >
> > >
> > >
> > > 
> > 
> > 
> >  
> > 
> >
> > -
> >  5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
> >
>




[flexcoders] Thermo - API - Anyone at Adobe?

2007-10-19 Thread arieljake
Any chance Thermo's API will be released so we can do our own things
with the png to component converter?



[flexcoders] errors in the index.template.html

2007-10-15 Thread arieljake
I edited my index.template.html for the first time today, and ever
since, Flex reports errors like this that obviously do not need
correcting:

Attribute value "${application}" of type ID must be a name.

How do I get these errors to go away or get Flex to not report these
errors, as they cause the dialog to popup whenever I run the app "Do
you want to proceed even with errors?"



[flexcoders] Adobe MAX event

2007-10-02 Thread arieljake
So, what happened at MAX? Anything really good?



  1   2   >