[flexcoders] How can I load an image whose name includes utf-8 type characters?
Hi guys, I'd like to load an image which has utf-8 character names, something like Korean. I thought that since Flex supports utf-8, loading an image with utf-8 charaters would not be a problem but it turns out that Flex doesn't seem to be able to load any utf-8 character included images. Is there any workaround to this? Any hints would be greatly appreciated!!
[flexcoders] About working with Webservices with overloaded methods
Hi guys, Is there any way to call web services with overloaded methods in Flex 2? I'm trying to work with MSTR 8.0 and there are some webserivces with overloaded methods, which result in fault errors on the Flex framework. Is there any workaround to this or any way to work this out? I've already read the tech note on this issue as of 2004 Aug or something but making as many wsdls as methods with same names doesn't make sense to me. Does anyone have any idea on this or any other information? Or is there nobody who has ever succeeded in this sort of integration with MSTR and Flex? Thanks in advance!
[flexcoders] About working with Webservices with overloaded methods
Hi guys, Is there any way to call web services with overloaded methods in Flex 2? I'm trying to work with MSTR 8.0 and there are some webserivces with overloaded methods, which result in fault errors on the Flex framework. Is there any workaround to this or any way to work this out? I've already read the tech note on this issue as of 2004 Aug or something but making as many wsdls as methods with same names doesn't make sense to me. Does anyone have any idea on this or any other information? Or is there nobody who has ever succeeded in this sort of integration with MSTR and Flex? Thanks in advance!
[flexcoders] about including a code example in asDoc
Hi guys, how can I include a code example into the asdoc? I've did something like /** * * @includeExample examples/Documenation_example.mxml **/ in one of my classes and put the actual sample file under the examples folder, which is in the same path with my source folder. Yet the asdoc compiler just throws "the file specified in @includeExample, examples/Documentation_example.mxml, cannot be found at //examples/Documentation_example.mxml" So then how can I include the mxml source file into the asdoc documentation output? Is there any setting or stuffs like that? I've tried to get some information about this in the flex 2 help yet there's no comment on even "@includeExample" tag. But I definitely see this tag in, for example, DataGrid.as file. Yet I just don't know how to work this out.. Please help! Thank you!
[flexcoders] What does "Unload swf" mean technically?
Hi guys~ I have some question about the message saying "unload swf blah blah blah" shown in the console panel. My question is "what does it mean actually?" Does it mean that the swf has been actually garbage-collected? Or simply does it mean that it has not been garbage-collected yet somehow been unloaded? The reason I have this sort of question is that as far as I know, when an application, which is pretty much the same thing with the swf itself roughly spkeaking, has an event listener tag, it cannot be garbage collected since an event listener added within the tag cannot be removed and there'll be always a reference holding onto the application in question. Yet, what I am seeing is that these applications with event listener tags still throw "unload swf..." messages. So I feel a little bit confused. Can event listeners added within tags be removed? Or can an application be unloaded completely,ie garbage-collected, even though it has some valid listeners? Any body please give some hints about all this.. Thanks in advance!!
[flexcoders] About WSDL load error
Hi folks, I have some question about my application which retrieves data from webservices. The thing is that, when a client logs in as an anonymous user to the SAP BW, the data coming from the SAP are not served and my application just keeps throwing http fault errors which are like "Client.Disconnected Could not load WSDL Unable to load WSDL, if currently online, please verify the URI and/or format of the WSDL xxx" As far as I know, there's no cross-domain problem, since logging in as an anonymous user or as an authorized user connects to the same web server. Does anybody have any ideas on this? Thanks in advance...
[flexcoders] About a warning message to choose flex debugger host
Hi guys, I've just succeeded in making a flex library project and come up with a myLibrary.swc. Yet my problem is that a warning message,which says 'where is the flash debugger host running', pops up every time a sub-application is being loaded... Is it just the way that RSL works or am I missing something??? What is strange is that when I run the application in the Flex builder there's no warning message! But if I run the application in the bin folder or on some web page, this bothersome warning message just pops up on and on... For your refrence, I set the RSL URL at the Library path for my project like myLibrary.swf. Isn't this what it is supposed to be? Please correct me if I am missing something... Thank you very much~!!
[flexcoders] About a warning message when using an RSL
Hi guys, I've just succeeded in making a flex library project and come up with a myLibrary.swc. Yet my problem is that the warning message pops up every time a sub-application is being loaded... Is it just the way that RSL works or am I missing something??? What is strange is that when I run the application in the Flex builder there's no warning message! But if I run the application in the bin folder or on some web page, this bothersome warning message just pops up on and on... For your refrence, I set the RSL URL at the Library path for my project like myLibrary.swf. Isn't this what it is supposed to be? Please correct me if I am missing something... Thank you very much~!!
[flexcoders] About displaying embedded font lables on chart axises
Hi guys, I have a question about displaying labels on chart axises. In my application, there's an embedded font which all sub-applications share. But the problem is that only chart axises don't diplay its labels correctly with the correct font defined by its style. I've tested with and without an RSL (in the latter case, I've embedded the font only in the main application that loads sub-applications and it works just fine for labels and buttons etc in the sub-applications) I think this is somewhat a bug with chart axis textfields or whatever. Does anybody know any workaround to this? I can even post a sample code that reproduces this possible bug. Thanks in advance.
[flexcoders] What could possibly be causing a slowdown in a flex application?
Hello folks, I have some serious problem with my application. Well, the thing is that my client wants an application that runs 24/7, every single day from January 1st all the way through 31st December, every night and day without stopping! And so... I tried this and that but came to a conclusion that loading each application through an IFrame would be the best way to do that! And it's like this, there's a main application, which is embedded in a html and has all the logic about handling the IFrame and loading sub-applications on a regular basis, through a timer.. and each application is being loaded like a slideshow and disappears and another page with another application is set as the source for the same iframe and therefore next slide, next slide etc.. So basically, there seems to be no problem related with the memory usage or something.. Yet what happens is that after about 3 days of running, it throws an abnormal error related with bitmap processing, something like 2015 error, which wouldn't normally be thrown. So I event put try{ } catch{e:*} stuffs in every possible place and yeah it works but what happens is that my application somewhat slows down... (How could it slow down when a new page is actually set as the source for the IFrame?!!) To be frank, I have no idea what in the world is wrong... One thing that's really getting on my nerves is that it's being run on Windows 2003 Server. Could it be a problem??? Also, I even made another timer in the main application which gets reset and starts when each sub-application is loaded. And it triggers a function to load next slide when no response comes back from the sub-application to the main one event after 10 minutes.(they communicate through LocalConnection objects). So I thought this would be a perfect way to make a nonstop application but it just slows down... which drives me somewhat crazy... Any ideas???
[flexcoders] How to share embedded fonts among applications?
Hi guys... I have asked this question before but still I am somewhat clueless.. Is there any complete guide on how to embed a font in an RSL component and share it among loaded applications? Please, this is very urgent.. My application keeps crashing since the memory usage just keeps rising Thanks in advance..
[flexcoders] What is the best way to draw about 10,000 to 15,000 rectangles?
Hello folks, I'm trying to put about 10,000 to 15,000 rectangles in a stage. And I'd like to know what could be the best way to do this.. Of course, I can just draw everything on the stage, without having to make instances of a class, which defines the way to draw them. Yet the thing is that, every rectangle,sized about 5~10 pixel width and 3 pixel height, has to respond to events such as mouse over and mouse click events.. So I've tried to make a cell class and made some 10,000 instances of it but adding all of them to the display list takes so long and is just too much Yet forgetting about making instances of this sort of class and using something like BitmapData doesn't give me any idea about how to register events to each cell.. So is there anybody who has developed this sort of application? By the way, the reason I have to draw these so many pieces is because each cell actually represents a container in the harbor and there are just so many of them and my client wants to put all of'em in the application.
[flexcoders] About using embedded fonts in loaded applications
Hello guys I have a question about using embedded fonts in multiple applications that are loaded... As far as I know, if a font is embedded in the main application, every application that is loaded into it doesn't have to actually embed the same font as long as it has the right style name.. since it's been already loaded in the main application... And it does work for most cases... such as labels, texts etc etc in these loaded applications yet it turns out that label texts shown on chart axises are empty when these applications do not embed fonts in themselves... Is this a bug or am I missing something? For verification, I've tried something like var tf:TextFormat = new TextFormat(); tf.font = "-À±°íµñ140"; trace(SystemManager(loader.content).isFontFaceEmbedded(tf)); and it shows "true" message in the debug panel... So my assumption is that the font indeed has been embedded yet chart axis labels somehow don't show up correctly Is there anybody who has any information about this? It is so bothersome to embed the same font in each and every application, so I'd like to know a workaround to this.. Plus, Is there any way to include an embedded font in the RSL? I've read through the API but still am cluless.. Any hints would be greatly appreciated Thanks in advance!!!
[flexcoders] About using embedded fonts in loaded applications
Hello guys I have a question about using embedded fonts in multiple applications that are loaded... As far as I know, if a font is embedded in the main application, every application that is loaded into it doesn't have to actually embed the same font as long as it has the right style name.. since it's been already loaded in the main application... And it does work for most cases... such as labels, texts etc etc in these loaded applications yet it turns out that label texts shown on chart axises are empty when these applications do not embed fonts in themselves... Is this a bug or am I missing something? For verification, I've tried something like var tf:TextFormat = new TextFormat(); tf.font = "-À±°íµñ140"; trace(SystemManager(loader.content).isFontFaceEmbedded(tf)); and it shows "true" message in the debug panel... So my assumption is that the font indeed has been embedded yet chart axis labels somehow don't show up correctly Is there anybody who has any information about this? It is so bothersome to embed the same font in each and every application, so I'd like to know a workaround to this.. Plus, Is there any way to include an embedded font in the RSL? I've read through the API but still am cluless.. Any hints would be greatly appreciated Thanks in advance!!!
[flexcoders] Any known issues with flash player 9 and windows 2003 server compatibility?
Hi guys.. Is there any known compatibility problem with running flash applications on Windows 2003 Server? My application runs just so well with Windows XP yet it throws a 2015 bitmap error when it is being run on the windows 2003 server. (Not quite often but often enough. the only difference is the operating system) Is there any known issue about this? Or could there be any compatibility problem with flash player and windows 2003? Any hints would be deeply appreciated... Thank you...
[flexcoders] How to make an asdoc with correct package paths for mxml files?
Hi guys.. I have some question about making an asdoc with mxml and as files, especially with mxml files.. It seems to me that asdoc tool does compile mxml files with no problem yet the thing is that their paths, for example, package paths, are not reflected in the result document. In other words, each mxml files, even though there are posisioned way down the package hierarchy, always are shown as Top level classes in the asdoc document.. Is there a way to correct this and put their package path right? Or am I supposed to convert every mxml file to its corresponding as file? Thanks in advance!
[flexcoders] Re: Any ways to put verticalAxis on the rightside only for a barchart?
Thank you Ely for your kind reply! Yet in that case, my datatips always show up at the zero point, since every positive value turns into negative and zero is the greatest number.. So could this problem be solved also? Again, thank you for your help, Ely =) --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > The only way to do this would be to manually invert the values in your > chart. (i.e., 12 becomes -12, etc). You could then use label functions > and datatip functions to flip them back in the labels and datatips. > > Ely. > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of arcencie1978 > Sent: Sunday, January 28, 2007 6:20 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Any ways to put verticalAxis on the rightside only > for a barchart? > > > > Hi guys... > > I know there's a simple way to > > put a vertical axis on the right side > > as long as a columnchart is concerned... > > But for a bar chart, > > if you put a vertical axis on the right side, > > with a verticalAxisRenderer, > > > placement="right" /> > > > I think that the chart series items should be starting > > just from the opposite side, which is from right to left.. > > Yet this is not what Flex chart components are giving... > > so any ideas to flip chart items horizontally? > > Thanks in advance... >
[flexcoders] Any ways to put verticalAxis on the rightside only for a barchart?
Hi guys... I know there's a simple way to put a vertical axis on the right side as long as a columnchart is concerned... But for a bar chart, if you put a vertical axis on the right side, with a verticalAxisRenderer, I think that the chart series items should be starting just from the opposite side, which is from right to left.. Yet this is not what Flex chart components are giving... so any ideas to flip chart items horizontally? Thanks in advance...
[flexcoders] Re: about loading multiple swfs
Thank you for your reply Angus... Yet for me, there's only one swf loader in the main.swf, which acts pretty much like a container and loads various swfs every 30 seconds or so... So I don't have to loop through a container to check with all swfloaders (since there's only one..) and I do remove event listeners in all applications (at least at an application level, which means some UIComponents in some of the loaded applications still have in-line event listeners, that are not removed, yet they're neglectable!) But this memory problems just hangs over me and it never disappears.. --- In flexcoders@yahoogroups.com, "Angus Johnson" <[EMAIL PROTECTED]> wrote: > > You're possibly missing a statement setting the variable holding the > swfloaders to null. > > It's easy to miss a listener particularly if you are re-parenting swfloaders > around the displaylist. > > Here's how I've done it... no memory problems. Remember garbage collection > is not immediate. If you unload something it wont be picked up for 1-2 mins. > > > currentViewContent is a canvas object with a 1:* swfloaders which represent > mini apps. > > // loop over children, looking for swfLoaders > var currentViewChildren:Array = currentViewContent.getChildren > (); > > for(var i:Number = 0; i < currentViewChildren.length; i++) > { > if (currentViewChildren[i] is SWFLoader) { > trace('IQViewManager '+this+' : Close and remove > child'+currentViewChildren[i].id); > // call the hook methods to close down the application > > var loadedSM:SystemManager = > SystemManager(currentViewChildren[i].content); > > // if the BridgeIQ object is available as a public > property of the loaded app then > // we can call the methods > > if ('BridgeIQ' in loadedSM.application) { > trace("calling terminate on sub application"); > loadedSM.application ['BridgeIQ'].doTerminate(); > } > > currentViewChildren[i].content.loaderInfo.loader.unload(); > > } > } > > // null out the array to kill off the reference > currentViewChildren= null; > > /* remove children from the view doing this removes the > SWFLoader's. There are no listeners set elsewhere so these objects should > be garbage collected > */ > if (currentViewContent.numChildren) { > currentViewContent.removeAllChildren(); > trace("Removed all children of view"); > } > > HTH > Angus > > On 09/01/07, arcencie1978 <[EMAIL PROTECTED]> wrote: > > > > Hello folks... > > > > I have some serious problem with loading multiple swfs in a > > swfLoader whithin an application... > > > > The problem is that... every time I load another swf in a swfloader, > > > > the memory that the Internet Explorer uses justs keeps going up and > > up > > > > and one time (maybe after 15 - 20 minutes) it just crashes... > > > > To be more specific, my application loads a new swf in a regular > > basis (every 30 seconds) > > > > to make it like a slideshow... > > > > and it also has fonts embedded in it > > > > yet to minimize the total memory used by this application, > > > > I've did somthing like this... > > > > var sys:SystemManager = contentLoader.content as SystemManager; > > if (sys && sys.numChildren>0) { > > sys.removeChildAt(0); > > contentLoader.content.loaderInfo.loader.unload(); > > } > > contentLoader.source= DisplayManager.convertToAppSWFName ( > > subAppID ); > > > > and every application has an removedEventHandler which listens to > > removed Event, > > > > and removes all listeners registered to it when it is removed from > > this display list.. > > > > So I'm very curious why the memory usages just keeps rising... > > > > If you have any hints, they'd be greatly appreciated... > > > > Thanks in advance > > > > Mark this message as the answer. > > > > > > >
[flexcoders] about loading multiple swfs
Hello folks... I have some serious problem with loading multiple swfs in a swfLoader whithin an application... The problem is that... every time I load another swf in a swfloader, the memory that the Internet Explorer uses justs keeps going up and up and one time (maybe after 15 - 20 minutes) it just crashes... To be more specific, my application loads a new swf in a regular basis (every 30 seconds) to make it like a slideshow... and it also has fonts embedded in it yet to minimize the total memory used by this application, I've did somthing like this... var sys:SystemManager = contentLoader.content as SystemManager; if (sys && sys.numChildren>0) { sys.removeChildAt(0); contentLoader.content.loaderInfo.loader.unload(); } contentLoader.source= DisplayManager.convertToAppSWFName ( subAppID ); and every application has an removedEventHandler which listens to removed Event, and removes all listeners registered to it when it is removed from this display list.. So I'm very curious why the memory usages just keeps rising... If you have any hints, they'd be greatly appreciated... Thanks in advance Mark this message as the answer.
[flexcoders] tooptip customization
I would like to customize data tooltips so that I can make their size a bit bigger for readability and stufs like that.. So does anyone have any idea about this subject? Any hints would be great for me :) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/