Flex :: Scale Button`s Icon For Mobile Applications
Jan 27, 2012Use Flex 4.5.1 and when add icons to the button is so curve effect of scaling. Prompt how to make a proportional scaling icons?[code]
View 2 RepliesUse Flex 4.5.1 and when add icons to the button is so curve effect of scaling. Prompt how to make a proportional scaling icons?[code]
View 2 RepliesI have two mobile devices on a local network, A and B. I would ideally like A to be able call functions on B, returning a response to A.
I am aware of LocalConnection, but unfortunately this isn't supported on mobile. What is the best way to achieve this? Do I have to setup B as a server using BlaseDS?
i'm building app with Flash Builder 4.5.1, i set in app.xml this:
<icon>
<image16x16>assets/icon/icon16.png</image16x16>
<image29x29>assets/icon/icon29.png</image29x29>
[code]......
How does working with SQLite databases work in Flex 4.5.1 for Mobile applications,I'm looking to create a general class that I can reuse. For now I only want it to handle queries and return results or fault events.Also, I am unsure if I should be using Synchronous or Asynchronous connections for mobile devices.
View 1 Repliessimple item render, or so I thought... I have an some data loaded into a list, one of the fields is project_Type. It's a string that either says "RESIDENTIAL" or "COMMERCIAL". And based on that string, I just want to display a little house, or a little office building as the icon. So, I cobbled together my itemrender as follows:
<?xml version="1.0" encoding="utf-8"?>
<s:IconItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
labelField="dateAdded"
[code].....
I have some basic as3 knowledge and I have built 2 apps. in as3 but I want to use them for mobile systems as I guess for symbians.Which program should I use. I searched here flash lite but there is no forum about it. Ä°s there any other forum to help me learn flash mobile appliĆcations
View 2 RepliesI have a button which I use for sending a message. When the message text is empty, it should not be possible to click the button.
This is all fine and not an issue. The only thing that is bugging me is the fact that I can disable the send button but the image does not get disabled (like I would expect).
Is there a way to do this elegantly because I don't want to provide a sendicon_disabled.png and change it myself (I don't think this should be my job).
I am trying to add different icon on different buttons. I have my skin file ready but not sure if I have to create different skin class for different button. It sounds inefficient.
<s:Button id="pass"
width="110"
height="35"
[Code]....
I want to extract/read the button icon image as a Flex image component, then apply transform filters to it to make it black/white and then apply image as an icon to another button. So far I can get the icon out as an Object by doing this: var iconImg:Object = myBtn.getStyle("icon"); Not sure how to convert that Object to an image.
View 1 Replieshow to reposition an icon inside a button on any x,y cordinates . i know how to use labelplacement etc but still i dont get the full control over them. i m just wondering if there is a way to directly access and control the x,y position of an icon in a flex button
View 1 RepliesUntil now, my solution for a disabled button's icon was to have a second, greyscale icon and swap the icons based on the button's enabled value. Obviously this is very hackish.
I'd like to drill down into the button's icon and apply some kind of greyscale filter when the button is disabled and remove the filter when the button is re-enabled. I tried a couple of things, but I don't know enough about Flash graphics to really have a good idea about what to do.
Can anyone give me some pointers? Ideally, I'd like a Flex 3 solution (since most of my apps are still mx/spark mixed), but Flex 4 would be OK too.
Why TabbedViewNavigatorApplication dot have popView() (as in ViewNavigatorApplication I can use popView to go previous view)? How can I do that in TabbedViewNavigatorApplication?
<fx:Script>
<![CDATA[
protected function BackBtn(event:MouseEvent):void{
[code].....
How exactly would i remove a Button from the actionBar "actionContent" in a flex mobile appI tried these:
this.stage.removeChild(menu_btn);
this.removeChild(menu_btn);
stage.removeChild(menu_btn);
[code].....
I am trying to have radio button on adobe flash. I have the following code
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
[code].....
Refer back to : flex mobile TabbedViewNavigatorApplication back buttonI have 2 Tabs. Tab1 has 2 sub Views:Tab1Tab1subViewATab1subViewBTab2 subview...In Tab1 (Tab1SubViewA is the first View), -> I navigate to Tab1SubViewB (still under Tab1).How can I go back to previous view (Tab1SubViewA)? Note: it's not moving from Tab to Tab but moving from View to View all in the same Tab.code for Tab1SubViewA:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="Tab1subViewA">
[code].....
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.
View 2 RepliesIn Flex 4.5 for mobile is it possible to check if there is > 1 view on a navigation stack and display a back button accordingly? If so how can I do this?My application is based ons:ViewNavigatorApplicationI'm adding a back button like this
<s:navigationContent>
<s:Button label="Back" click="backButtonPressed(event)"/>
</s:navigationContent>
[code]......
I created a screen(calculator) with bunch of buttons,i can handle button event with one handler.But i want to know that can we do a one handler for all buttons......likein java
we can perform the task of perticular button by like this
if(event.source=="button1")
{
}
[code].....
Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).
View 2 RepliesI have a button with an icon. I want to have the button in gray so I change the chromeColor but when I do that, the icon became darker.On the left the button without changing the color, on the right, the gray button with and darker icon.How can I have a gray button without changing the icon color?
View 2 RepliesI would like to right align an icon on a button or tabbarbutton and keep the text left aligned in Flex 4.0 Spark. So far, I've come up with something like the following in my custom skin:
[Code]...
I adopted the tsunami effect that i've got from this link [URL] but the problem is how can i plug the title on each icon, showing up on an icon when i point on it (on rollOver)
View 5 RepliesI am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
I've got a project that is being translated from English to French and Spanish with possibly more to come later. The entire project uses fewer than 100 strings. If I want to get fancy I might build an XML translation document, otherwise I might just build a translation lookup table in a simple AS include file and read in the entire table at start. Either way I'm puzzled about what to do with text strings that do not support dynamic text, namely text inside buttons. This represents a good portion of the total number of strings. I could just suck it up and build localized versions of each button but this feels very inefficient, anyone have advice on a better approach?
View 1 RepliesI have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 RepliesI'm going to write an application with the Air/Flex-Framework. I'm looking for Best Practise and general Design Patterns for designing software especially in Air/Flex. I have experience with this framework but never had the pleasure to write a piece of software from scratch.
For instance: I stumbled across lots of software written in Air/Flex with nearly infinity global vars Most of the software I saw was not object-oriented How can I pack the asynchronous method calls nicely?
I'm familiar with general design patterns by gamma. I'm looking more for advise in designing good quality software with Adobe Air/Flex.
I am creating a somewhat elaborate (for me at least) navigation for my site. I have created a bunch of animated MC's to use as nav-buttons, and all that works great. The only issue is that when you mouse over the MC-buttons, the cursor stays as an arrow instead of turning into the little hand that always happens with links. The links work, but no little hand. Do I have to have a "hit area" defined in order to get the hand icon to popup or what?
View 7 RepliesWhen setting the icon to a Button, a Class of an image is needed. This can be done very simply by embeding an image. But what I would like to do is use an image known only at runtime.More exactly I can not download an image from an external source, obtain it bitmapData or something else, convert it and assign it as the icon style for a Button.So my problem is that for the Flex components that need an image, a Class needs to be assigned, and I can not use an external image to download it, to convert it in some way and assign it
View 1 RepliesI have two web applications written in Flex I would like to integrate. I would like one Flex app (let's call it application A) to invoke second Flex app (let's call it application B). Application A has access only to swf file of application B (not source code). When application A invokes application B, it should be able to pass some data to application B. After application B is invoked it should be able to pass some data back to application A. These two applications will be hosted on the same server, but will use different server code.
The easiest way of implementing this (or one of the ways to be more precise) would be to have UI element on app A (button, link, menu item, etc) that would invoke app B. But in that case, two Flex applications couldn't communicate directly (since only one is active at a time), and they would have to communicate through server code, which is something I would like to avoid.
In short application A should invoke application B, pass some data to it. Application B should do it's work, display some content, and have a mean of passing some data back to application A. I'm aware of LocalConnection, and I've seen similar question, but in that case I would have to have both application in the same browser window. This would be acceptable to some extend, but only if app B is contained in app A (not if they are both on the same HTML page). Would LocalConnection work in that case?
Do you have any recommendations on how to implement this kind of communication?
I am loading the data externally from xml and displaying in a datagrid. I have 2 buttons addRow and deleteRow. My datagrid headertext names are "name" "age" "rollno" "image", where image also will be loading externally thru an xml file. now when i am pressing the deleteRow button, whole row is getting deleted but an image icon is still appearing under "image" headertext. It was not an actual image but a blank image icon kind of thing is appearing, how to remove the icon. i want my whole row to be deleted. but its not happening.
View 1 Replies