AS3 :: Flash - Remove Button From Flex Mobile App Actionbar?

Sep 27, 2011

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].....

View 1 Replies


Similar Posts:


Flex :: Get ActionBar At The Bottom In Mobile Application?

Aug 22, 2011

ViewNavigator has ActionBar on top by default. I want move at the bottom.

navigator.actionbar.y=415 //gets actionbar at bottom

but in next view it comes back on top. You can set height in each view but it will show bar at the top for few seconds before bring back to bottom.

View 1 Replies

Flex :: Mobile: Can't Position The Component Properly In Titlecontent Area Of ActionBar

Apr 5, 2012

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:

<s:titleContent>
<s:Button label="HELLO" left="50"/>
</s:titleContent>

How can I position a Button at the middle of this Actionbar??

View 1 Replies

Flex :: Embedded Font Won't Work In Flex Mobile ActionBar?

Jul 20, 2011

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?

[Code]...

View 5 Replies

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?

View 1 Replies

Flex :: Radio Button On Adobe Flash Mobile?

Nov 23, 2011

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].....

View 1 Replies

Flex :: Mobile TabbedViewNavigatorApplication Back Button?

Feb 9, 2012

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].....

View 1 Replies

Flex :: Scale Button`s Icon For Mobile Applications

Jan 27, 2012

Use 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 Replies

Flex :: Mobile TabbedViewNavigatorApplication Back Button Part2?

Feb 10, 2012

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].....

View 1 Replies

Flex :: Mobile Gesture Event : Slide Between 2 Views Like Google+ Mobile?

Mar 23, 2012

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 Replies

Flex :: Mobile: Display Back Button Automatically If View Is Not First In Stack?

Nov 19, 2011

In 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]......

View 2 Replies

Java :: Create One Event Handler For More Than One Button In Mobile Flex Programming?

Mar 10, 2012

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].....

View 2 Replies

Flex :: Mobile Supports Native Mobile Features?

Jun 27, 2011

Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).

View 2 Replies

Flex :: Remove OK Button From Alert.Show?

Nov 10, 2009

Can i remove the OK Button from Alert.Show() message which displays by default?Update:private var myAlert : Alert;

public function showAlert( message: String, title : String ) : void
{
hideAlert();

[code].....

View 2 Replies

ActionScript :: Android - What Is The Difference Between Mobile Project And Flex Mobile Project

Jun 5, 2011

I 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?

View 1 Replies

Flash :: Map Component For Flex / AIR Mobile

Feb 24, 2012

Is there a component I can use in my mobile app to display maps (like Google Maps)? I need the following features:

-add markers / drop pins

-show a path (shape polygon)

View 2 Replies

Flex :: Remove Buttons Border From Toggle Button Bar?

Aug 15, 2010

how to remove the border of a togglebuttonbar button, with keeping the theme color??

i want to put the style in css file

View 2 Replies

Flex :: Remove Button In ItemRenderer Giving Error

Jun 20, 2011

I am using the following .as file as the component for an itemrenderer in a list. Basically each item is rendered in a TextInput and each TextInput has a remove button as you can see from the code. When clicking the remove button, I want to remove the selectedItem..so I am putting the function removeItem() in MainMxml.xml and calling it from the .as file.

However I am getting an error "Cannot access a method or property of a null object reference".

The .as file as follows:

package components {
import flash.events.Event;
import flash.events.MouseEvent;

[Code]...

View 1 Replies

Flex :: Remove Highlight On Selected Button From ToggleButtonBar

Jun 11, 2009

Well, title explains all. I'm trying to get rid of the highlight that comes around of the selected button in a ToggleButtonBar

View 2 Replies

Flash :: Are There Any Limitations Of Flex 4.5 Mobile Apps On IOS

Jul 1, 2011

I've looked at a few demos from adobe that show apps built with Flex 4.5 running on iOS from simple list views to video capture. This has made me wonder if its an effective solution to build cross platform mobile apps.

For those of you who have taken Flex 4.5 mobile for a spin, what is your impression on the capability and performance on iOS. Is there anything you can't do with Flex 4.5 mobile that you couldn't with a native app? Are there any limitations?

View 1 Replies

Flash :: Get Into To Flex Mobile Development With Builder?

Jan 3, 2012

I'm a longtime CF developer that is trying to get into to Flex mobile development with Flash Builder but I've become frustrated in trying to output results from a simple database query.

I'm looking to do something along the lines of this...

<cfoutput query="myQ">
<s:Button label="#title#" click="myFunction(#id#)">
</cfoutput>

View 1 Replies

Flash :: Date Formating Mobile Flex Project

Oct 28, 2011

I have a mobile app that gets a rss feed. The date on the rss feed displays Fri, 28 Oct 2011 17:30:00 GMT and I would like that to render as a short date in cst time standard dd/mm/yyyy and time. The code for my app is below. any help would be great This is the first time working with Adobe Flash Builder.

[Code]...

View 1 Replies

Flash :: Display Local PDF In Flex Mobile Project?

Jan 23, 2012

I am running Flex mobile project and I would like my mobile app to be able to load and display pdf files that are saved locally. I do not want to go out to the web to access these pdf files.

I cant figure out how to make this code work for a locally saved file.

Error MSG: "Error #2044: Unhandled ErrorEvent:. text=Load error."

<?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"
overlayControls="true" title="PDF Display"

[Code]...

View 2 Replies

Flex :: Programmatically Send An Email From A Flash AIR MOBILE App

Mar 27, 2012

I am trying to figure out how to send an email from a Flash Mobile (smartphones: blackberries, iphones, androids) app using mxml and Flash using Flash Builder 4.6. My boss told me to find out if it is possible. So far, I have been doing a lot of searching around on the internet for an answer.

I found this website: [URL], that has some classes for sending email in flash, but #1, I don't know if they work in Mobile apps, and #2, I can't find any instructions or tutorials on how to use the classes to send a simple email.

I downloaded the package from the site and imported into my project, where I am trying to send the code. But without sample code on how to simply send an email, I am not entirely sure what all do, and nor am I sure how to determine things like what port number to construct the SMTPMailer object (the SMTPMailer object is included in that package, and it takes a host string and a port number integer in it's constructor), right now I am trying 80 or 8080 for the port number, and I've tried localhost and one of our server computers, 198.162.1.109 for the host.

Anyway, I keep getting this error: Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error.

Here is some of my sample code:

[Bindable]
private var mailer : SMTPMailer;
private function init() : void {

[Code]......

View 2 Replies

Flex :: Hide (or Remove) Label Text Without Changing The Button Size?

Dec 21, 2010

I have a button with variable-length of label text. I have a User Setting that can turn on or off the label text on this button.

How can I implement this?

NOTE: the button's background has a gradient color.

I tried using BlendMode.LAYER, no luck;

I tried using Button.resizeHandler

private function resizeHandler(event:ResizeEvent):void
{
if (event.oldWidth > this.width)

[Code]....

but it only worked if the initial UserSetting value is true.

How about embedded font? I don't know how to apply it to button

View 3 Replies

Flash :: Adding Icons To TabbedMobileApplication In A Flex Mobile Project?

Feb 28, 2011

Anyone successfully added an icon to their tabs in <s:TabbedMobileApplication> ? I've tried just using something like:

<s:ViewNavigator firstView="views.appmobile_HOME" width="100%" height="100%" icon="@Embed(source='../assets/home_icon.png')"/>


I've also tried in <fx:Script> something like:

[Code]...

Neither of these methods worked, and to be safe i used the same code to embed an image on the screen and it works!. I just can't seem to get the icons to appear in the tabs also note - I was doing all of this in my main mxml file, just incase you're familiar with the Flex Burrito "Mobile application" file structure. And another thing is that I don't get any errors when trying these methods. It lets me compile and test it.

View 1 Replies

Flash :: Flex - Builder 4.5 Mobile App ... Scroller And Preloaded Images

Oct 26, 2011

I got some Images in my scroller component. while scrolling the scroller sometimes hang for a second... i think the image is loading. is it possible to load the image before the scroller is on the position?!.

View 1 Replies

Flash :: Flex 4.5 IOS Mobile Project: SharedObject Doesn't Seem To Work

Oct 27, 2011

I'm trying to use a SharedObject in a Flex 4.5 mobile project. The SDK I'm using is 4.5.1, and the AIR version is 2.6.0. I'm trying to locally store user credentials for my application using this piece of code:

[Code]...

View 2 Replies

Android :: Flex Hero - Mobile Phone Cannot Connect To Flash Debugger

May 6, 2011

I am building an Android application using Flex Hero. When I run the application I can package it fine on my mobile and run it on the device, however, as soon as I want to run in debug mode on the device, the device gives me a message like: "Can't connect to debugger (192.168.1.12). Enter IP-address or hostname". The device is connected with a USB to the PC and USB debugging is enabled on the device. I have tried to shut down the computer's firewall, but no result.

View 1 Replies

Flex :: Flash Builder - Mobile - Replacement For Navigator.pushView In TabbedViewNavigatorApplication?

Nov 9, 2011

I can use:

navigator.pushView
in ViewNavigatorApplication, but can't use it in TabbedViewNavigatorApplication?

Is there a replacement for navigator.pushView in TabbedViewNavigatorApplication?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved