Actionscript 3 :: Flex4.5 - Adobe Air Mobile - Change The Height Of The Actionbar On All Views?
Jul 29, 2011
I am working with Flash Builder 4.5 using Adobe Air, Flex and Actionscript 3, to develop a mobile application that works with multiple views. I want to change the height of my actionbar on all my views. I know that I can dynamically change it in actionscript 3 using:
navigator.actionBar.height = newHeight;
However, I would prefer to have the height in my style (.css) file, or if that's not possible, in the mxml code in every view, so that the actual height is reflected in the design-view. How can I accomplish this?
I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.
Things go weird when i tried position a button in titleContent of ActionBar. Set both the "left" and "horizontalCenter" can't move my button.Code as below:
i've got a few fonts embedded and am using them in my mobile application, and they are all working, except for the ones i try to use for the "ActionBar". They work everywhere else, and substituting "Comic Sans MS" for "titleCGF" changes it to Comic Sans. So why won't it work with my custom fontFamily?
No matter what I do, my transitions won't work as expected. I'll explain the issues and then place the code at the bottom. There are 4 States in my application.
goButton is present only in "State1" and "State2". State1 and State2 are nearly the same, but the y property of the goButton is diffrent in each. So I've made a little transition that moves the Button back and forth. Good so far.
However, both "State1" and "State2" can also be Transitioned to "State3". But there's no goButton in "State3", so I've used the <s:Fade> and the <s:RemoveAction> effects to get rid of it.
What is the best way to make a multi column form in Flex?My current solution if more than one column is required is to put the form items inside an <s:HGroup> but the alignment isn't the best.
I would like to use a movieclip to load a flv video. The problem I have is that I want to change the video dimensions. I've tried several software to change the video dimensions but as far as it seems all of them keep the same height-width ratio than in the original video. Is there any software that would allow me to change the height and width without keeping the same height/width ratio as in the original video file?
In Flex 4, how can I change the cursor to a Bitmap image determined at runtime? All the examples I've seen use CursorManager.setCursor to set the cursor to a class specified at compile time.
What I want to do is change the cursor to a bitmap whose bitmapData is determined by the context.
I am working on a Flex mobile project and am using a TileLayout to layout a bunch of groups. The problem is, if any text in one of the groups spans several lines, ALL tiles get resized to the same height. I need the tile width to be the same for all tiles, but I want the tile height to be the tallest only on each row.
For example, in this Adobe Developer Connection article"Since we are able to compile ActionScript to ARM ahead of time, the application gets all the performance benefits that the JIT would offer and the license compliance of not requiring a runtime in the final application.""When you build your application for iOS, there is no interpreted code and no runtime in your final binary. Your application is truly a native iOS app."After reading a large amount of information like this from Adobe and other sources, I went ahead and bought an Android phone. After actually getting the .APK file published from Flash Pro CS 5.5 onto the phone and installed, it of course gave me the message that I needed to install Adobe AIR to run the program.How can that be "truly a native app?" The same happens in iOS, obviously. Is Flash running in a web browser a "truly native app" in that case? The extra step of making users download the Adobe AIR package makes it all seem so half baked compared to actual native apps. I'm assuming there is no way to package AIR with your app?
currently working on Adobe Flex Technologies. I want to know whether Adobe had launched a Flex platform for mobile devices or not. If Launched what is the name of the Framework and please come with a sample example URL .
I am developing a game for Android using Adobe AIR 3.0, also i am using Samsung Galaxy S2 to test my game, and is running pretty well with decent 30 fps.to control the game-play, i am using virtual joystick and some button on screen (e.g. to throw weapon, jump etc). however it seems that multitouch is not working fine, if i press one button and and in the same time if i down another button. first one stops working. here is the code snippet which defines multitouch behavior -
[code]...
for jump button, virtual joystick etc - i am using TouchEvent.TOUCH_BEGIN event.
I'm newbie at forum , if I opened this topic to the wrong place ; please , excuse me I'm an HTC HD2 user. nd I noticed that ; Flash 10.1 support to the Android OS had come to HTC Google Nexus One , with "Froyo" update. I watched some videos at Youtube , about "Open Screen Project" (that Adobe leads) . And Adrian Ludwig(at Flash team) was using HTC HD2 and showing the Flash 10.1 at phone. I'm thinking that , if he used Flash at HTC HD2 , then there must be a release for phone too. I'm not sure , it's very important for me.
Im creating a person search interface in Adobe Flex / Actionscript where we have an image for each person and a bit of text. Im looking to implement some like this:HorizontalList InterfaceORCarousel InterfaceBoth of these packages are unfortunately only for desktop Flex, I was wondering if anyone knew mobile flex (particularly Blackberry Playbook) alternatives?
What is the best solution for multi threading in flex, I notice if I play a mp3 in flex and do something else at the same time something ends up giving out, either the song stops playing or the UI hangs for about a split second. It doesn't have that fluid response that I am looking to achieve. If possible I would like to call a multi threaded java class to do some of the client-side end back end processing. I just don't know if that is possible.
I've recently tried FlashPunk for game development and it seems to be easy enough to comprehend, however, when me and a friend tested simple apps coded in it on the iPhone, it seems to be acquiring an unnecessarily large amount of memory plus dropping framerates.
Are there any other choices for game development with ActionScript 3 with frameworks that are optimized for mobile gaming?
I have videos with DRM using flash Access. I would like to be able to play these videos on mobile devices using Air when offline. It is possible to play streaming DRM content on mobile devices but I'm unsure how to save a voucher for offline playback. Since DRMManager is not included in Air Mobile, is this possible and how would it be done?