Re: [flexcoders] Reduce time to load httpservice result
So the whole 60k records or partial records must be visible on the page? You have not mention which flex sdk version you are using. On Mar 29, 2012 11:20 PM, isa_loyer isa_lo...@yahoo.fr wrote: ** Hi, I do a query to mysql database with httpservice. The result contains arround 6 records. Time to create xml file is arround 40s, to slow for my customer. I try to accelerate the process with different methods, on server side, to generate file DOMDocument XmlWriter SimpleXMLElement As customer must be able to sort datagrid, I can not use pagging. So do you have an idea to load datagrid more speedly. Thanks
[flexcoders] Re: Tap Android app slow to respond.
Use madcomponents that built on effecient as3 code
Re: [flexcoders] Re: Tap Android app slow to respond.
Yup, mobile hardware are not as powerful as desktop PC that why there are spark components optimize for mobile, but some of the 2nd generation smartphone aren't good enough, I hope LG 4x that use quad-core can overcome the limitation. So did you code in AS3 or Flex mobile project? On Wed, Mar 7, 2012 at 2:28 AM, Greg Lafrance glafra...@chikaradev.comwrote: ** So is the problem likely inefficient coding? Maybe the current devices are simply not powerful enough to run Flex AIR apps on mobile efficiently if they are trying to do too much. Anyone else have thoughts on the original problem for this post? --- In flexcoders@yahoogroups.com, James Ong yanlilei64@... wrote: Use madcomponents that built on effecient as3 code
Re: [flexcoders] Adobe AIR run time Installer
AIR 3.0 runtime for Linux is not supported. You could export a release version with Capitive Runtime that only found on FB 4.6. On Thu, Feb 23, 2012 at 7:02 PM, heman kkheman...@yahoo.com wrote: ** Hello all, I am developing adobe AIR application. I would like to bundle AIR runtime installer with my application, which has to support Window,MAC,Linux. how can i achieve this?
Re: [flexcoders] Re: Adobe AIR run time Installer
You have to export an AIR on Mac using Mac OS X. You will not be able to export a Mac installer from Windows environment. On Thu, Feb 23, 2012 at 8:47 PM, heman kkheman...@yahoo.com wrote: ** By using captive run time, the give the file will be with.exe extension.But we cannot use .exe in Mac. --- In flexcoders@yahoogroups.com, James Ong yanlilei64@... wrote: AIR 3.0 runtime for Linux is not supported. You could export a release version with Capitive Runtime that only found on FB 4.6. On Thu, Feb 23, 2012 at 7:02 PM, heman kkheman_86@... wrote: ** Hello all, I am developing adobe AIR application. I would like to bundle AIR runtime installer with my application, which has to support Window,MAC,Linux. how can i achieve this?
[flexcoders] Flex AIR mobile app reliability and stability
Hi, I wish to find out how reliability and stability using AIR for mobile app as compare to Android and iPhone SDK? On the marketplace and iTune store, almost all of the apps need bugfix or resolve the vulnerabilities, have any of the AIR you created need bugfix updates?
Re: [flexcoders] Advantages and Disadvantages of skinning
There only 3's advatanages and disadvantages: Pros: Customizable to distingish itself; ex, cancel button is red in color. More personalize for different applications rather than using boring theme style. Unique-ness Cons: Incurred more CPU processing Increase memory consumption for using Bitmap images. FXG is too verbose, complicated skinning code. It's better to use AS3. On Thu, Feb 9, 2012 at 12:32 PM, Myadi H myad...@gmail.com wrote: ** Hello folks, Today I have been asked to explain advantages and disadvantages of skinning in flex. I thought of asking this to all experienced flexers, and here it is. I hope this discussion will help everybody in future. So please input/share your knowledge. Thank you.
Re: [flexcoders] soundchannels for 3+ speakers
No, both are not related. Stage3D is for graphic, not audio On Feb 6, 2012 8:06 PM, Csomák Gábor csom...@gmail.com wrote: Hi! Since Stage3D is out, can you play sounds from specific speakers in AIR? Like in a 5.1 system, use the center? Thanks
Re: [flexcoders] soundchannels for 3+ speakers
*Multichannel audio digital output* (AIR for TV only). Adobe AIR for TV can now play Dolby Digital Plus 5.1 Surround and DTS 5.1 audio streams. The new Capabilities.hasMultiChannelAudio property, the new AudioDecoder class (containing constants representing several different multichannel audio types), and changes to the Capabilities.serverString property all allow developers to detect a device's multichannel audio capabilities and to stream the correct audio bitstream both from ActionScript and through RTMP. -- There is no plan for Flash to replace a home-theater multimedia player when Cyberlink product have much optimized code and video/audio decoder. For desktop target, you could develop a simple frontend multimedia player using AIR to control MPlayer commandline through NativeProcess. Depends on the configuration, it can sound clearer and more dynamic than you hear on Flash player. 2012/2/7 Csomák Gábor csom...@gmail.com ** yes, but i tought, if adobe wants 3d games, then maybe they'll support 3d sounds. thanks :( On Mon, Feb 6, 2012 at 1:15 PM, James Ong yanlile...@gmail.com wrote: No, both are not related. Stage3D is for graphic, not audio On Feb 6, 2012 8:06 PM, Csomák Gábor csom...@gmail.com wrote: Hi! Since Stage3D is out, can you play sounds from specific speakers in AIR? Like in a 5.1 system, use the center? Thanks
Re: [flexcoders] Native extension for windows
Yes, you could on Windows, Mac or mobile device. On Tue, Jan 24, 2012 at 9:13 PM, chiek...@gmail.com chiek...@gmail.comwrote: ** Hey people! I want to write some native app for windows, and sadly enough I have no experience with C or C++. Though, I can write Java... Is it possible to use Java as Air native extension language? I couldn't find explicit info on web about this issue. thanks, J
Re: [flexcoders] Native extension for windows
Try not to use NativeProcess, I have a bad experience with pipe data that couldn't read value from Java properly which is why I have implement Java socket to read and sent data over Flash XMLSocket. On Tue, Jan 24, 2012 at 10:22 PM, Tandon, Rishi rishitandon...@yahoo.comwrote: ** Yes you can. Use the window.runtime.flash.desktop.NativeProcess class Video to check: http://tv.adobe.com/watch/adc-presents/invoke-native-process-in-adobe-air-2/ Regards, Rishi Tandon -- *From:* chiek...@gmail.com chiek...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Tuesday, January 24, 2012 6:43 PM *Subject:* [flexcoders] Native extension for windows Hey people! I want to write some native app for windows, and sadly enough I have no experience with C or C++. Though, I can write Java... Is it possible to use Java as Air native extension language? I couldn't find explicit info on web about this issue. thanks, J
Re: [flexcoders] Re: How to access IP camera with Adobe air?
You need to convert that into MPEG-4 format before it can be playback on Adobe AIR. Try google for flash video tutorial and NativeProcess to give you some idea how to implement it. The NativeProcess function in AIR is useful to control FFMPEG application in the background which can be convert the video, once the conversion is complete, you can implement your AIR application to load the video and playback. As there are various type of video camera, we have no idea if this work for your case. On Thu, Jan 12, 2012 at 11:20 PM, markflex2007 markflex2...@yahoo.comwrote: ** Hi James, Thanks for help. how to to access offline mjpeg video? please give me a help. Thanks Mark --- In flexcoders@yahoogroups.com, James Ong yanlilei64@... wrote: Video stream back through mjpeg and output to AIR will be tricky unless you have a streaming server and serve over UDP protocol. Definitely need a server to push data into the AIR application. If you prefer to access offline mjpeg video, it should be easy as using netconnection. On Thu, Jan 12, 2012 at 3:00 AM, markflex2007 markflex2007@...wrote: ** IP camera is not attached to current computer. and just provide a access ip that is a mjpeg format file. Any idea to do this.Thanks Mark --- In flexcoders@yahoogroups.com, markflex2007 markflex2007@ wrote: Hi IP camera can provide a link/url with mjpeg format. I am not sure how air/flex can access it. The problem is how to load mjpeg link in Flex/Air now. mjpeg is motion jpeg. I try different ways and I can not load the link in flex. Please help. Thanks Mark
Re: [flexcoders] Re: Flex alternatives
Using ZK and Java is great. I'm still sticking to Flex for developing desktop applications and gaming. Of course, many will still using it for animations, there is no such thing as abandon, some developers are just over use Flash and end up hurting user experience than necessary. When it comes to web application, I stick to PHP but will definitely use Flex for mobile, desktop and components within the web browser. On Thu, Jan 12, 2012 at 10:16 AM, michael_reg...@dell.com wrote: ** Staying with Flex. Not looking elsewhere. ** ** *Michael* ** ** *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Ron G *Sent:* Wednesday, January 11, 2012 8:15 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Flex alternatives ** ** Yes, we have also abandoned Flex in favor of ZKoss. Since we are already a Java shop, on the server side, it seemed logical to use a Java based framework on the client-side. The thing I really like about ZK or ZKoss is that it has equivalent components to Flex. In fact, it actually has more components than Flex. It implements an approach that I really like of separating the UI into appearance and behavior - much like the Spark components of Flex. Well, not exactly, but sort of. :) Here's what I mean. For each UI object, it has a client side (widget) and server side (component). I won't go into further detail, but it gives you a nice separation of concerns that you can avail yourself of. This feature also greatly insulates the rendered pages from x-browser compatibility issues. Check it out for yourself at their site (zkoss.org). Ron --- In flexcoders@yahoogroups.com, Sal sal.celli@... wrote: hi, as i can sadly see from the message history bottom grid, many programmers are leaving flex. So this thread is to ask you all, if you have already found a valid alternative to flex for RIA development.
Re: [flexcoders] Re: How to access IP camera with Adobe air?
Video stream back through mjpeg and output to AIR will be tricky unless you have a streaming server and serve over UDP protocol. Definitely need a server to push data into the AIR application. If you prefer to access offline mjpeg video, it should be easy as using netconnection. On Thu, Jan 12, 2012 at 3:00 AM, markflex2007 markflex2...@yahoo.comwrote: ** IP camera is not attached to current computer. and just provide a access ip that is a mjpeg format file. Any idea to do this.Thanks Mark --- In flexcoders@yahoogroups.com, markflex2007 markflex2007@... wrote: Hi IP camera can provide a link/url with mjpeg format. I am not sure how air/flex can access it. The problem is how to load mjpeg link in Flex/Air now. mjpeg is motion jpeg. I try different ways and I can not load the link in flex. Please help. Thanks Mark
Re: [flexcoders] Re: Bug in C function caused AIR to crash
Hi, someone just fixed my code, it working fine. But how do I inspect in Flex Builder where I have installed CDT and MingGW? On Tue, Dec 27, 2011 at 9:59 PM, Tomislav i...@svemir.net wrote: ** Did you try inspecting FREResut values from FREGetObjectAsUTF8 calls? FREREsult res = FRENewObjectFromUTF8(strlen(strAll)+1, (uint8_t *)strAll, result); printf(%d, res ); --- In flexcoders@yahoogroups.com, yanlilei64 yanlilei64@... wrote: No one know? --- In flexcoders@yahoogroups.com, yanlilei64 yanlilei64@ wrote: I want to pass the James string to getTestString function, the first time, the string could return This is James without any error. Subsequently after the button is click, the application will just hang/crash (grey out), it seem there some bugs in this code? Screenshot: http://imagetwist.com/7896zupwtu97/a.jpg.html Code: FREObject getTestString(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]) { FREObject result; //Temporary values to hold our actionscript code. uint32_t albumLength; const uint8_t *str; uint8_t *strAll; //Turn our actionscrpt code into native code. FREGetObjectAsUTF8(argv[0], albumLength, str); strcpy(strAll,This is ); strcat(strAll,str); //str is James //const char *str = this is ; FRENewObjectFromUTF8(strlen(strAll)+1, (uint8_t *)strAll, result); //UTF8 to object and return return result; }
[flexcoders] AIR crash when call C function
I want to pass the James string to getTestString function, the first time, the string could return This is James without any error. Subsequently after the button is click, the application will just hang/crash (grey out), it seem there some bugs in this code? Screenshot: http://imagetwist.com/7896zupwtu97/a.jpg.html Code: FREObject getTestString(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]) { FREObject result; //Temporary values to hold our actionscript code. uint32_t albumLength; const uint8_t *str; uint8_t *strAll; //Turn our actionscrpt code into native code. FREGetObjectAsUTF8(argv[0], albumLength, str); strcpy(strAll,This is ); strcat(strAll,str); //str is James //const char *str = this is ; FRENewObjectFromUTF8(strlen(strAll)+1, (uint8_t *)strAll, result); //UTF8 to object and return return result; }
[flexcoders] .Net supported HTML5 through Visual WebGui
It mean sense for Adobe to support HTML5 as well.
Re: [flexcoders] Captive Runtime on FB 4.6
When you are exporting a release builder, it'll appear as one of the 4 options under Export as. Are you able to find it? On Thu, Dec 1, 2011 at 11:43 PM, markflex2007 markflex2...@yahoo.comwrote: ** Hi, Please give me a idea how to use Captive Runtime in FB 4.6, that is new feature for FB 4.6. I can not see any documentation about it. Thanks Mark
Re: [flexcoders] Flex and AIR on Mobile Platforms
The mission for Adobe is to help developers deliver contents to any devices without limitations. Therefore, you get the opportunity to create contents for WP7, iPhone and other devices not capable of Flash-enabled. Both HTML5 and Flash will share similarities performance since both will be using GPU for graphics acceleration. On Sun, Nov 13, 2011 at 4:01 PM, Johannes Nel johannes@gmail.comwrote: ** http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html On Sun, Nov 13, 2011 at 12:58 AM, Guy Morton g...@alchemy.com.au wrote: ** I think the only thing you should draw from this announcement is that Adobe has given up on trying to support flash as a browser plugin on mobile devices. I think they have seen that a) performance is an issue they may struggle to fix while maintaining compatibility and b) there is market resistance to plugins on mobile platforms (see the Windows 8 Metro plugin-less IE as the final domino to fall there). Flash is now in decline as a plugin technology. It will continue for a good few years yet, but it is trending downwards. Because its life as a plugin is drawing to an end, Adobe is seeking to reshape Flash as an app-building tool. This makes perfect sense, and if they do it well, they could manage to make an army of Flash/flex developers into app developers, which is not all bad. Adobe has read the writing on the wall and is putting a lot of effort into re-shaping themselves as the tool provider for HTML5. Certainly there is a need for great tools in this area, so I hope they succeed in doing this. Also, you might note with interest their purchase of nitobi, who make PhoneGap. Guy On 13/11/2011, at 1:56 AM, e_val_soft wrote: I'd like to understand more about Adobe's latest annnouncement that they will focus on HTML5 on mobile platforms(rather than Flash). Obviously a kick in the head for flex/air developers targetting applications that need or want a mobile client because mobile platform manufacturers will drop Flash (in a flash) from their product plans. I've seen some mixed messages - Adobe's version which is just a change in focus while the industry reads it like a Flash obituary. Here are two bullets from Adobe's announcement: --from Adobe.com •Shifting resources to support even greater investment in HTML5, through tools like Adobe® Dreamweaver, Adobe Edge and PhoneGap, recently added through the acquisition of Nitobi •Focusing Flash resources on delivering the most advanced PC web experiences, including gaming and premium video, as well as mobile apps -- I can almost see them sitting around the board room table debating whether to stick that , as well as mobile apps on the end of bullet 2 just to leave people like us (Flex developers I mean) confused. Pretend you're a Samsung or Motorola executive planning the next release of your latest mobile device. Do we spend $10 million and 40 developers integrating Flash? Since the vast majority of new, innovative applications involve incorporation or embracing of mobile clients, Flash's ubiquity, which is/was its greatest selling point, is gone. I mean when Jobs took a stand to ban Flash from iOS - that was a phaser blast to the holodeck, but this...this is a photon torpedo to the bridge. Am I reading this wrong, or should I be starting my new HTML5 career now? I mean once flash is gone from mobile, it is gone as a general web application framework so forget those desktop focused applications too, except some specialized graphics oriented apps. I think of what I'm developing now on Flex and it would be years away from possible with HTML5 but maybe I should be focusing on HTML5 plus one of the better JavaScript frameworks? I'm really looking for some opinions here about what flex developers think of the near term future based on this announcement. It'd be great to hear some Adobe employee perspectives (probably on gag order) but anyone with some insight, please do tell. I'd love to be told I'm exaggerating the consequence of the announcement -- j:pn \\no comment
Re: [flexcoders] Reading barcodes
use ready made libraries from Sourceforge and you can get start faster. On Wed, Sep 28, 2011 at 12:37 AM, Richard Rodseth rrods...@gmail.comwrote: ** Can anyone recommend a good strategy for reading barcodes on an AIR 3 mobile app? The as3 port of the zxing library does not appear to have been updated since 2009, but may work well, for all I know. But it occurs to me, that this could also be a good opportunity for a native extension. Any experiences or thoughts?
Re: [flexcoders] How to obtain mobile number by flex
Again, not possible except android, you will have to use Native Extension in AIR 3.0 to access Android API. On Tue, Sep 20, 2011 at 3:25 PM, j2me_soul j2me_s...@163.com wrote: ** How to obtain mobile number by flex sdk on Android OS ?
Re: [flexcoders] how common is Flex and Rails together?
What are you trying to develop? On Sun, Sep 18, 2011 at 3:43 AM, Chris Downey cdow...@gmail.com wrote: ** Hi, I'm just wondering if there is anybody who is actively working on a project or knows of projects where Flex and Rails are used together. Looking online, I see a burst of blogs between 2007-2009 but then it quickly fizzles. Any thoughts about this? Theoretically, it seems to be an interesting and useful fit, but when I start considering the details of making it work... I'm no longer so sure. Thanks, Chris
Re: [flexcoders] Can AIR get mobile number ?
Are you talking about mobile app? Only android can access contact list but it may work for AIR 3.0 that access Android API. On Sun, Sep 18, 2011 at 8:46 AM, j2me_soul j2me_s...@163.com wrote: ** Can AIR get mobile number ?
Re: [flexcoders] Fw: Help needed to build my own website on Flex builder 3
There is no better tutorial other than http://blog.flexexamples.com At the moment, it is having problem with the web hosting, keep checking back in the next few hours. On Wed, Aug 24, 2011 at 11:23 AM, anu rag rag_...@yahoo.com wrote: ** - Forwarded Message - *From:* anu rag rag_...@yahoo.com *To:* flexcoders@yahoogroups.com flexcoders@yahoogroups.com; flexcoders-subscr...@yahoogroups.com flexcoders-subscr...@yahoogroups.com *Sent:* Wednesday, 24 August 2011 8:10 AM *Subject:* Help needed to build my own website on Flex builder 3 Dear all, Can you please provide a sample website developed on adobe flex with source code? I am a New bie to this application.I could see only components in it and tourdeflex. I would be grateful for any kind of help. Thankyou
Re: [flexcoders] Could AIR create an automation app?
Not direct invocation but you can control them through NativeProcess that can pass a command of argument and received standard output from the application like Command Prompt. That right, AIR is made to be as portable as possible. For your case, you can use .Net or C# to automate those task. For easier coding, consider AutoIT which is widely use by System Admin to automate routine tasks, you can do a simple control like mouse and window position to advance control like hook DLL. I did used AutoIT in the past. On Mon, Aug 8, 2011 at 12:07 PM, MicC chigwel...@yahoo.com wrote: ** Does AIR have enough hooks to the os to create an automation app? Programs like Automate and WinAutomation script mouse position and clicks to control an app's gui, and Automate automatically recognizes menus and buttons etc if the app to be controlled conforms to something - not sure what. I really need the power of actionscript to control a widget intensive music gui. TIA, Mic.
[flexcoders] SocketMonitor and XMLSocket
Using Flex 4.5 and AIR 2.7. It seem to be buggy for 2 situations, I declare a timer for the socket private var socketTimer:Timer = new Timer(500,1); Code 1: This code took a few seconds before executing NativeProcess public function onTimerComplete(event:TimerEvent):void { socketMonitor = new SocketMonitor('127.0.0.1',8090); socketMonitor.addEventListener(StatusEvent.STATUS, socketStatusChange); socketMonitor.start(); } private function socketStatusChange(e:StatusEvent):void { if(socketMonitor.available==false xSo_start==false) { xSo_start=true; xSoDump(); //Execute NativeProcess EXE } } Code 2 (Optimize): This code will execute NativeProcess immediately but after a few mins, NativeProcess will hang by itself without any error: public function onTimerComplete(event:TimerEvent):void { socketMonitor = new SocketMonitor('127.0.0.1',8090); socketMonitor.addEventListener(StatusEvent.STATUS, socketStatusChange); socketMonitor.start(); xSoDump(); } private function socketStatusChange(e:StatusEvent):void { } Code 3 (Optimize): This solve the hanging issue when I place xSoDump on the 2nd line. public function onTimerComplete(event:TimerEvent):void { xSoDump(); socketMonitor = new SocketMonitor('127.0.0.1',8090); socketMonitor.addEventListener(StatusEvent.STATUS, socketStatusChange); socketMonitor.start(); } private function socketStatusChange(e:StatusEvent):void { } SoDump will execute a nativeprocess (Sodump.exe) which will setup a server connection of 127.0.0.1:8090. So the server will interactive with XMLSocket. Is SocketMonitor have any connection with XMLSocket? In certain situation, NativeProcess will hang itself too, this lead me to wonder if anyone encounter the same issue? In code 2, I'm sure SocketMonitor has time out and close the XMLSocket connection after it fail on the first try?