ActionScript 3.0 :: Add Element To A View Of A Mobile Application?

Mar 15, 2011

I have a program with a list of item. An item is an actionScript class that extends View. When I click on the list, it push the view. In the constructor of this class I add some buttons and I have a function that add another button. My problem is that the view display only the button create in the constructor and not the one create in the function.

The class

Code:
package
{
import spark.components.Button;

[Code]....

View 0 Replies


Similar Posts:


Actionscript 3 :: Add Element To A View Of A Mobile Application In It?

Mar 15, 2011

I have a program with a list of item. An item is an actionScript class that extends View. When I click on the list, it push the view. In the constructor of this class I add some buttons and I have a function that add another button.My problem is that the view display only the button create in the constructor and not the one create in the function.[code]...

View 1 Replies

Iphone :: Access Mobile Device Camera From A Grails Application Using Jquery Mobile

Feb 23, 2012

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices. Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.

View 1 Replies

Java :: View Part Of A Web Application - What Technology For A Pretty Intensive Grid View

Aug 3, 2010

I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.

Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.

View 2 Replies

Actionscript 3 :: Flash - Why Size Of An .ipa File Is Large As I Export A Mobile Application As IOS Application

Aug 18, 2011

I have made one one mobile application in flash builder using flex mobile project I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!

View 1 Replies

Determine When Application Is Running As A Mobile / Desktop Air Application?

Dec 6, 2011

How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...

View 4 Replies

Android :: Load Flex Application In Mobile Application?

Mar 7, 2012

I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.

[Code]...

View 1 Replies

Professional :: View Library Element Usages?

May 6, 2010

I am searching for a way to find out where elements in the library are used.I've just "inherited" a fairly messy .fla with most elements badly/unnamed and I'm trying to organize it.However there's up to 6-7 levels of reccursion and sometimes figuring out what is what is hard without finding where it's used.

View 1 Replies

Flex :: View State Transitions Optimize For Mobile?

Jul 26, 2011

I have decided to go the route of using ViewNavigator and having one view with 3 states. Each state is a "page". It runs just fine on the desktop but when compiled for mobile, the transitions between the pages is really laggy, even for the Samsung Galaxy S. The phone has the 2.7 runtime and I recompiled my application with ADT 2.7, still no performance increase.

I have also tried cacheAsBitmapMatrix on all 3 pages, which are all contained in a VBox and that hasn't shown any significant performance bumps. All I'm changing is the y component of the VBox for each transition.

EDIT: I have done some more research and I am now to the point where I have hardware acceleration turned on and cacheAsBitmap = true and cacheAsBitmapMatrix = new Matrix(). I am also using Stats.as to see the FPS. I notice on my state changes I go from 25 FPS to 2 and then it goes back up again.

View 1 Replies

Actionscript 3 :: Flex Mobile Persist View Data?

Sep 18, 2011

I built a simple hello world app to check out the Flash Builder 4.5 mobile capabilities.Here's how it works:The Default View asks for name in an textinput and has a continue button.When you click the continue button it pushes a new view in the viewNavigator which just displays "Hello " + name in a label.When you click anywhere in this view, it pops a view (i.e. itself) from the viewNavigator, to go back to the default view

I see only 1 issue with this:When I get back to the default view, it is in its initial state, i.e. the textInput is blank. It seems as if the viewNavigator created a new view of the default view's class and pushed this, instead of just removing the top view and displaying the previous one.I see this being especially problematic for programs which display data in a grid and you can click the data to view the detail...when you get back, the grid will be empty.

EDIT:
Project name: HelloWorld
Code below:[code]....

Clicking on screen 2 gets us back to initial screen. Notice the blank textInput

View 2 Replies

Actionscript :: Getting A Custom View To Scroll In Flex 4.5 Mobile?

Nov 21, 2011

I'm trying to create a custom view (one that is not 100% listview, for example), mix and matching images and labels.One issue is that when the label overflows greater than the screen height, the rest just gets off. I had assumed scrolling or touch-drag scrolling would be automatically enabled? How do you enable the touch-drag scrolling that happens naturally in list view?

View 1 Replies

Flex :: Create Tree View (like Expandable List ) In Builder For Mobile?

Sep 16, 2011

I want to create a tree view (expandable list ) in flex 4.5 builder mobile,Is it possible for web projects in flex builder for web [URL]

View 1 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

Flex Mobile 4.6 - Pass Data (selectedItem) From Master To Detail View In Splitview?

Dec 26, 2011

I have a tabbed view with in the second tab a splitview controller.

The master view shows a list. When selecting an item from that list it opens a second view with a new list by using navigator.pushView.

When I select an item in the second view/list it has to be passed to the detailview. Is there a simple solution available?

View 1 Replies

Flex :: Mobile Application Without ViewNavigator?

Mar 21, 2011

I'm making a mobile application with abobe air and flex.I want to know if it's possible to do it without ViewNavigator, or at least for some part, use something else.

View 1 Replies

Embed Air In Flex Mobile Application?

Oct 15, 2011

I'm quite new to developing in Flex. I've found out that it's possible to create mobile applications with Flex 4.5. So far so good, I've made an app and it's working well on my mobile phone. But there is one thing that I'm not very happy with. When I'm installing the app I also have to install Adobe Air (stand alone application). So is not realy cool and not the way to go in my opinion because this will look strange to the users of the app. And especially the users which aren't realy 'geek minded'.

Any solutions to this? Is it possible to include or embed Air in the app? It will make the filesize of the app bigger but that's a much smaller problem then having to install a complete different app next to the real app.All the best from NL.

View 1 Replies

Keep My Mobile AIR Application On Landscape Mode?

Feb 12, 2012

I can't seem to find any way to force it to go landscape mode all the time. When I go to MyApp-app.xml and edit the <aspectRatio></aspectRatio> tags to landscape, only the main view is landscaped. If I navigate to the second view, it turns back to portrait.

View 1 Replies

Hide View Stacks In AIR Application?

Jul 24, 2009

I have two viewstacks one for Main menu and another one for submenu. I want to show viewstack page infomation at the time only one viewstacks . Another one hide . if i click submenu viewstack then Mainmenu viewstack will be hide . [code]...

View 1 Replies

Flex :: Open A Pdf File In A Mobile Application?

Jul 29, 2011

Is it possible to open a pdf file in a Flex Mobile application?I have searched but I didn't find anything.

View 1 Replies

Flex :: Customize A List In Mobile Application?

Aug 7, 2011

the thing I mean cannot be probably done with the component, but I don't know how is the component I want called. I would like to achieve a list but with sort of "icon look". You could say some sort of springboard navigation.

Here is just a quick sketch in Photoshop how it should look like: [URL]

The item is the one actual item in the list or something.

View 2 Replies

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 :: Update - Updating A Mobile Application

Sep 1, 2011

Is updating a Flex Mobile Application done in the same way an Air application is updated? Can't seem to find information specifically for mobile on this. Apparently, if I trace out Updater.isSupported, it gives back false. From the Adobe documentation: The AIR update framework is only supported in the desktop profile. It is not supported for extended desktop applications (applications installed with a native installer), and it is not supported on the mobile profile (iPhone applications written with ActionScript 3.0). Check the Updater.isSupported property at runtime to see if the update framework is supported. So how do you implement updates for Mobile Apps created with Flex (Android + iOs)?

View 1 Replies

Flex :: Loading Modules In A Mobile Application?

Jan 9, 2012

I am going to write a Flex mobile application which can benefit from loadable modules, but encountered "Modules are not supported for AIR mobile applications." statement here.

Is there any workaround to load swf modules (containing UI with some code) in the mobile application developed for iPhone/Android/BlackBerry?

View 1 Replies

Flex :: Mobile Application TextInput Width

Jan 19, 2012

I made a simple Flex mobile application to test TextInput fields. I define my View with width=height=100% and use vertical layout. Inside I'm simply placing static TextInput components with width of 100, 200, 300, 400 respectively.I'm also displaying the width of each TextInput in its text property and it shows values which I've defined. What bothers me is the actual width of the TextFields doesn't match the properties of the phone emulator I'm running (Samsung Epic WxH = 480x775) or actual device. For instance the TextInput with width of 400 completely extends past the left and right sides of the device, while it should be contained inside it: it's 400 pixels wide and device has 480 usable pixels available. So do all other TextInputs.

View 1 Replies

ActionScript 2.0 :: Develop Mobile Application For Android?

Dec 13, 2011

Is it possible to develop a mobile application for Android. ?Is there a tutorial or any resource about this ?

View 0 Replies

Flex :: Split View In Adobe Flex Mobile?

Nov 24, 2011

I have four views:1.SplitView (main view)2.SplitViewHomeView(root Panel)3.SimpleView(Right panel)4.Details(child of Right Panel View).I am trying to accomplish the split view as in Ipad in adobe flex mobile.But unable to connect the root panel to right panel...Can any one suggest the path to me.My Code is below

Split View
**
<?xml version="1.0" encoding="utf-8"?>

[code]...

View 1 Replies

Full Screen View Of Flex Application

Oct 20, 2009

I want full screen view(through code,without pressing F11) of my flex application.

View 1 Replies

Flex :: Refreshing View When Application Is Visible?

Aug 16, 2010

Flex application is contained in one of the rows of a html table, and that row is hidden as per one use case. Flex application is refreshed when visibility of the row is changed to visible. This results in lose of data that is already entered in the flex application. Is there any way to stop this behavior?

View 1 Replies

Actionscript 3 :: Initial View For A Flex Application?

May 26, 2011

I want to load an initial component to be displayed in my flex app, depending on whether a value in the SharedObject is set (first launch). How do I accomplish that?

View 1 Replies

Actionscript 3 :: Break Down A View In A Flex Application?

Sep 25, 2011

I've written a flex (mobile) application, that ended up bigger than I expected.

I'm pretty happy with all my classes and everything on my AS files. However, the view turned out really big, as I'm using MXML to layout my app.

I was thinking about creating external components I could call on my view to make it more readable, but am not sure what's the best way to do, or if doing so is the best way at all.[code]...

View 1 Replies







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