to exclude specific classes - as long as you're sure that
your code _will_ have access to them at runtime.
Documentation here:
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html
HTH,
Ian
On Fri, May 22, 2009 at 4:13 PM, lytvynyuk lytvyn...@... wrote:
Any
I want to show people what I beed dooing from time to time in moment
when I had spare time. I think It can be useful for people who want to
make galleries but not to be care about backend anf for anybody who want
to intergrate their apps with Google Picasa
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=init()
mx:Script
![CDATA[
import mx.collections.ArrayCollection;
private var a:Object
Any ideas? Hey, Flex gurus I know you are here! :)
I've created SWC consisting from a single class but class contains a bunch of
methods and when I built SWc i found that it is 87Kb. In same time report.xml
stated that my class is only 3kb, everything else is garbage consisting from
many Flex frameworks classes used directly or indirectly in
I have XML instance like that:
var xml:XML = data
summary type='text'test/summary
title type='text'test/title
/data
I want to edit text in summary and title elements.
I do:
xml.summary = This is my summary;
xml.title = This is new title;
but in resulting XML
is see something like
Thank you, but it doesn't work!!
But!!! I think I forgot to mention one thing, my original XML has
defined namespace... and look like that:
var xml:XML = data xmlns='http://www.w3.org/2005/Atom'
summary type='text'test/summary
title type='text'test/title
/data
I've tried without
You can create simple redirect script that redirects requests from your app to
requester resource. Drawback - all traffic goes through your host.
--- In flexcoders@yahoogroups.com, Baz thinkl...@... wrote:
Hi,
Is there a solution out there for proxying public services like amazon's
Is there any library which allow you manipulate images but with better
resulting quality then original effects in Flex?
If you do 5 rotation to an Image it looks really ugly... same with
Zoom and scale.
Lets say I applied rotation to an image.
I kept that Image object reference.
Then I want to apply other effect to same image object, but previous
effect already altered image.
So question is how to restore original state of the image?
Reloading not seems to be working, I mean image.load()!!!
I need to somehow trace that another tab selected to do some action
based on it. Cannot find proper event which can be generated when I
click on tabs or switch tabs.
Well, I've picked file by browsing using FileReference's browse()
method, and my file is simple *.png
--- In flexcoders@yahoogroups.com, Sean Clark Hess [EMAIL PROTECTED] wrote:
The other thing is that the file may be corrupted, or doesn't exist...
On Wed, Jul 2, 2008 at 1:43 PM, lytvynyuk
Update:
I works under IE7 doesn't work with Rirefox 2.0.0.15!
Doesn't work with Opera as well! I suspect this is not browser issue,
this is FlashPlayer issue, because Firefox and Opera uses same Flash
Player binaries!
--- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote:
I
versions running in IE and firefox?
On Thu, Jul 3, 2008 at 8:56 AM, lytvynyuk [EMAIL PROTECTED] wrote:
I getting this error, but when I put breakpoint at my server side code
nothing coming through!! When I created little HTML page with file
upload filed to same servlet location - IT WORKS!
I used Live HTTP headers to see activity on HTTP requests -
nothing nothing going through, also I used
, lytvynyuk [EMAIL PROTECTED] wrote:
I getting this error, but when I put breakpoint at my server
side code
nothing coming through!! When I created little HTML page with file
upload filed to same servlet location - IT WORKS!
I used Live HTTP headers to see activity on HTTP requests
I did. I all cases request can reach server, in my case no. Just an
exception, no network activity I'm puzzled.
--- In flexcoders@yahoogroups.com, Sean Clark Hess [EMAIL PROTECTED] wrote:
You have to do it serverside -- for example, if you're using PHP,
you have
to change Apache's maximum
I have situation that in addition to my RemoteObject call, which
invokes medthod on my server with object containing some fields, I
need to send content of some file as well. I thought I can some how
load it to the client the make it like one of the fields of RO. But I
don't think I can read local
Because
var temp:Dictionary = new Dictionary();
// put something in Dictionary
var new:Dictionary = ObjectUtil.copy(temp) as Dictionary;
doesn't work;
Sorry friend but I think your case will not gonna work ;)
what is put methods? Dictionary doesn't have it :)
But here is my corrected case, where I do object copy of entries, this
case will not gonna work If you entries is Dictionary or Class
static public function
Yes!!! Thank you, actually u helped me a lot! :)
--- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote:
hey... i was close ;)
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
http://blog.fastlanesw.com
lytvynyuk wrote:
Sorry friend
gets its first render
event and
sets the columns. Hmm. its 4:05 a.m. - and I'm thinking that this
probably
isn't the best way to do this. Let me get some sleepy and I'll look at
this
again.
Rick Winscot
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
Behalf Of lytvynyuk
Jeff I didn't want to turn this into discussion of your website
design, but I think any great idea have nice visual presentation :)
I like to participate to anything which gives me as much knowledge as
possible, I too new to Flex/RIA sphere to know people who are great
here, so cant say anything.
May be I do something wrong, but I will give a change to somebody from
Adobe tell me what is going on.
http://bugs.adobe.com/jira/browse/SDK-15121
CSS type selectors are not supported in components: 'Alert'
I getting all over the places in my application and modules, I have
Alert {} style defined in external main.css files. When Flex
compiler build this it always complains (Warnings) but in application
actually all styles in place. HM?
I saw some examples like that:
// create a new object, and put a reference to it in a:
var a:Object = {foo:bar}
// copy the reference to the object into b:
var b:Object = a;
// delete the reference to the object in a:
delete(a);
But it definitely wont even compile.
Is there any techniques to do
Ralf.
On Mon, Mar 31, 2008 at 5:03 PM, lytvynyuk [EMAIL PROTECTED] wrote:
I saw some examples like that:
// create a new object, and put a reference to it in a:
var a:Object = {foo:bar}
// copy the reference to the object into b:
var b:Object = a;
// delete
Hm, sorry, but I don't like design of http://www.dot-com-it.com
--- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote:
Hi Everybody,
Some of you may know me, but many probably not. I'm Jeffry Houser,
producer of The Flex Show, a flex related podcast. I also run a
Sorry friend, I didn't quite understand what do you suggesting.
Example is extremely simple and it suppose to be simply working, but
it is not.
I suspect there are some funky things going on with columns when it DG
tries to draw them.
Question - is it BUG or I'm using it improperly?
--- In
When DG created by AS and placed into tab navigator, it completely
ignores its width, why?
Here is an example:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
creationComplete=init();
mx:Script
![CDATA[
Aha, that is the answer for my question! Thank you Manish ;)
Thank you all guys for participating, I still have many things to
learn, so I will be around for a while :)
Is it true if I have singleton class instantiated in main
application and
in module, instances will be different?
[snip]
Is it true if I have singleton class instantiated in main application
and in module, instances will be different?
public class DataManager
{
private static const singleton_:DataManager = new DataManager();
public static function get instance():DataManager {
The following code cannot be even compiled, not work What do u meant
there?
I thought about something like this too.
So, let's say we have the followig code:
public function aFunction():XML
{
public var publicParameter:XML = new XML;
addEventListener( Event.SomeEvent,
I figured out the case. I, actually, made first instance in another
module not in main App.
Conclusion is: if you make instance in your main app - everything works
fine.
If you did it in one of modules, this and all others will get new
instances. Very easy to see when put trace(BLAH) in the
This will not change anything, still will be many times instantiated
singleton as in my example. Scope control is just to prevent funny
guys doing something like var Vasya = new DataManager();
--- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED]
wrote:
I just looked at your source.
Thank you for attention to this problem. I run it for an hour and
found memory growth.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Don't have time to run it right now, but I think it doesn't actually
leak them in the release player. It will be a pain for running
Here i s little example which shows constant grows number of instance of
WeakMethodClousure... with this rate over night hm
?xml version=1.0?
!-- charts/BasicColumn.mxml --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script![CDATA[
import
O, thank you! What about array.length = 0;?
Returning to WeakMethodClosure - in 1 hour of running application
profiller has 5600 instances of this thing, take 90kb of memory.
Examinig backreference shhows that many of them is adding events
listener inside components like charts. Are this valid
One more things -
Is it possible to have any potential problem with constructiuon like:
arayColl.addItem({name:Name, value:23}); ?
in favor of following piece of code:
var myObj = new MyObj();
myObj.name = Name;
myObj.value = 23;
arayColl.addItem(myObj); ?
How typically you detect if Charts are leaking? Coz I having troubles
with that, but definitely something going on.
The doc says setting length it will work, but I've never tried it.
If you have WMC's referencing Charts, you need to make sure the
Charts
aren't leaking, and that when a
My gola is to create Column chart with series which can be dynamically
modified (number of series may vary)
I created this piece of code, i works, but pluut memory alot by
ColumnSeries object which are loitering or just hanging.
I spent a lot of time to find a way to destroy them, not
During my research with Flex performance found that instances of
WeakMethodClosure constantly increasing. I do not have knowledge what
is that and how to avoid it. 1859 instances for example can take only
30k of memory... but still
BTW found that Flash player running under Firefox Opera newer
I having really serious troubles with my application when using
charts. My application collects lots of data in pseudo realtime (poll
for data every 5 sec) and display charts and graphs. Everything works
fine but with time memory allocated by Firefox process getting
enormous and Firefox eventually
How to turn off exception messages ( e.g. ActionScript errors ) in
release version?
I see, still I have debug version, which popups exceptions when
something happened. (BTW, how to distinguish between debug and non
debug, size?)
But another fun started when I deployed everything under Linux (Red
Hat) Application was build and linked using framework_3.0.189825.swz
under
://bugs.adobe.com/flex with your test case
Thanks,
Gaurav
--- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote:
Nothing happened, same size. That is mean, It didn't checks that
options or I do something wrong. Need to do deeper investigation. All
that FlexAntTasks story is so
In that case no point to report bug, everything works for me too.
Problem for me is different actually it is about RSL.
I try to build everytinh with RSL which suppose to decrease size of my
application. WQhich is not happening. AS you see I included RSL into
my flex build task but it doesnt
are using FB 3, it would use runtime-shared-library-path and
not runtime-shared-libraries.
runtime-shared-library-path was introduced in flex 3 to support
framework caching.
Thanks,
Gaurav
--- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote:
In that case no point to report bug
Here is piece of my flex ant file:
mxmlc file=${BUILD_SPACE}ActiveUpdate.mxml
output=${DEPLOY_DIR}/ActiveUpdate.swf
actionscript-file-encoding=UTF-8
services=${BUILD_SPACE}res/services-config.xml
What is the point to copy?! What about to create something yourself?
--- In flexcoders@yahoogroups.com, Fidel Viegas [EMAIL PROTECTED]
wrote:
Hello folks,
I am trying to implement the Office 2007 menus, and I am trying to
imagine what sort of Containers to use. So far, I have figured that I
in the .actionScriptProperties file to see what libraries FB is
linking against and see if you have anything additional?
Thanks,
Gaurav
--- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote:
Here is piece of my flex ant file:
mxmlc file=${BUILD_SPACE}ActiveUpdate.mxml
output
Ok,I see I did exactly like that :)
--- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED]
wrote:
Yeah, you could do arrays, something like this:
[Embed('myimage1.png')]
private var myimage1:Class;
[Embed('myimage2.png')]
private var myimage2:Class;
public var
I have problem to bind image to static var
my piece of code is:
[EMAIL PROTECTED]('/images/image.png')]
[Bindable]
public static var image:Class;
getting exception:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at support::PublicConstants$/get
Thank you Troy for answer, what about arrays of embedded images, It
will be nice to refer via index, what do you think, is it possible?
--- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED]
wrote:
That piece of code should be giving you a warning... I don't think
you can
bind to
Message
From: lytvynyuk [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 29, 2008 11:24:23 AM
Subject: [flexcoders] Embedded image and static variable problem.
I have problem to bind image to static var
my piece of code is:
[EMAIL PROTECTED]('/images/ image.png
I would like to know about this more too. People please share!
--- In flexcoders@yahoogroups.com, bdealy1 [EMAIL PROTECTED] wrote:
Hi,
I am implementing a system which makes use of RemoteObject services
within flex to speak to server side services like database, and other
server-side code.
I'm owner Flex 2.0.1 License and Charts. Before F2b3 my license for
Flex Builder and Flex Charts works well, but now it said - Invalid key!?
Are licenses incompatible now?
Here is a piece of my build file. I want application build it using
RSL. I don't have any clear direction what to do. Basically I want to
simulate Library path tab option Framework linkage in Eclipse. How can
I modify existent build script to achieve desired result?
---
target name=build
Personally i think it very bad idea, can you imagine sort/search 1M
records at client, how fast it will be ? What if you decided to do
full text search by pattern? your client will die! Can you image how
much memory it will consume at client side?
best way to do is - smart server querying,
If you are not getting any SQL exceptions, check you OrgId, and actual
IDs in table. Then check what do you have in result variable.
--- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote:
Okay, I'm trying to execute a query on my local SQLite database using
the following
Modules work only with Flex 2.0.1
RSLs mentioned here only with F3B2!
What kind of version are you running?
Keep in mind you can link SWC anly at compile time, if somebody think
I'm wrong, please correct me. SWFs you may load at run time for sure.
But can you execute code from them - I doubt.
My
BTW, according to my personal experience flash player unable to handle
more that 10K records in data grid. Just physically unable - out of
memory error!
--- In flexcoders@yahoogroups.com, letterpigeon [EMAIL PROTECTED] wrote:
Hi all,
We've built a flex grid that supports mass action on its
based on the itemEditors Height not the itemEditors Height. - sound
funny, but I understand what do u mean ;)
Make your Editor and Renderer height same, that is it. But is they are
physically cannot be same height, as I understand your problem, after
edit done row height not coming back to
Here is a piece of my build file. I want application build it using RSL.
I don't have any clear direction what to do. Basically I want to
simulate Library path tab option Framework linkage in Eclipse. How can I
modify existent build script to achieve desired result?
---
target name=build
.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lytvynyuk
Sent: Wednesday, October 31, 2007 7:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Type coercion error for ToggleButtonBar in
very simple example
I have difficulties to send array of string over RPC.
At server side I always receiving Object[].
Is any special ways to get at Java end array of certain type?
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lytvynyuk
Sent: Tuesday, October 30, 2007 6:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Type coercion error for ToggleButtonBar in
very simple example possibly
--- In flexcoders@yahoogroups.com mailto:flexcoders
Here is example
Application:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
import mx.controls.Alert;
]]
/mx:Script
mx:Button x=133 y=10 label=s1 id=button1
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Shared code problem. Put all shared classes in the main app or a shared
code module.
Thank you Alex for assistance! But I didn't get what doest it mean!
Should I physically include all classes used in modules to main
Thank you Alex! Exactly that I did and it works well now. Also
embedded loader progress into my component as well.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Subclass SWFLoader and override the regenerateStyleCache and
notifyStyleChangeInChildren methods and have
Thank you Troy, for your suggestions.
I cannot understand one thing, using SimpleXMLDecoder i got Object
from XML BUT I cannot make this ObjectProxy cast to my Album Object.
What is the condition to cast object fields are same, I cant
understand how does it works :(
--- In
Does anybody have good examples how SimpleXMLDecoder works ?
--- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote:
Thank you I kinda knew about that way ;)
but if my object contains30 fields and also has a bunch of another
objects, this procedure will be painful ;)
What
Situation I have XML like that
album
name/name
images
image/image
image/image
image/image
/images
/album
using HTTPService I'm getting this XML.
I have AS Class:
public class Album {
public var name:String;
public var images:ArrayCollection;
}
straight cast like:
var album:Album = Album
from there.
ie
var album:Album = new Album();
album.setData(event.result);
class Album
{
public function setData(data:XML):void
{
//populate the album
}
}
Derrick
Derrick Grigg
www.dgrigg.com
--- In flexcoders@yahoogroups.com, lytvynyuk
74 matches
Mail list logo