Actionscript 3 :: Push Data Into TabbedViewNavigator In View?

Apr 3, 2012

I have a view like this in my Flex mobile Application:

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="aaa" actionBarVisible="false" creationComplete="view1_creationCompleteHandler(event)">
<fx:Declarations>

[Code]....

And I want to send data(gelen) to tabbedviews (to views.HastabilgileriView/views.MenuView) How can I do that?

View 2 Replies


Similar Posts:


Flex :: Taken Push View Object Into Next View?

Sep 28, 2011

My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.

View 1 Replies

Actionscript :: Flex - Push A View From A Class?

Nov 16, 2011

I have a remoteobject class that handles all interactive with my remote data service. each time a call is made the dataservice checks that the user has a valid session. if they don't it won't run the requested method and it returns a fail. I can capture this fail in the fault handler. What I want to do it if it happens is push the login screen to the user.I have tried the following

var navigator:ViewNavigator;
navigator.activeView.navigator.pushView(views.LoginScreen);

But this is not working and fails with Cannot access a property or method of a null object reference. which makes sense. so my question is how can I get a reference to the current running view navigator object and push the view?As requested here is the full remote object class

package remoting
{
import events.RemoteExceptionEvent;
import flash.events.*;

[code]....

View 1 Replies

ActionScript 3 :: Instantiate TabbedViewNavigator For Playbook

Nov 16, 2011

How can I instantiate a TabViewNavigator from actionscript for the playbook? Currently, I add the necessary spark frameworks and have this piece of code in the Main of my actionscript project:

[SWF(width="1024", height="600", backgroundColor="#ffffff", frameRate="30")]
public class Main extends Sprite {
private var waitDialog:BaseDialog = new BaseDialog ();
public function Main() {
super ();
[Code] .....

When the button is clicked, the button disappears as you would expect but the tab navigator is not added/does not appear. I tried without removing the Main class but that does not work either. What do I need to do to set up a tab interface. I can get similar code working through Flex and MXML but not in actionscript.

View 1 Replies

Flash :: How To Add Data With Push

Jan 19, 2012

I am trying add data to an array, but using myArray.push() isn't working the way I want it to. I am using a datagrid so the array has to be in the format var tabledata:Array = [{'Column Name':'Something', 'Another Column':'More data'}]; but then adding to it using tabledata.push([{'Column Name':'Something', 'Another Column':'More data'}]); Doesn't seem to be working - it adds a row but doesn't add any data to the cells. **Fixed it, just have to remove the square brackets in the push command tabledata.push({'Column Name':'Something', 'Another Column':'More data'});

View 2 Replies

Flash :: Push Data To Flex Client?

Mar 14, 2010

I want to push data to flex clients. I am talking about anywhere between 5000-15000 concurrent users, need to get data every time a currency is changed so that means lots of changes for lots of users.

I have been looking into WebOrb.net, but the performance seem very poor (100 users concurrent) for a product so pricy (we purchased a license).

So, I have to look into alternatives, I know there's fluorineFx but it seems no one is really using it for products and it lacks in examples and documentation.

My question is: what products can answer my needs (.net backend) and what are the performance I can expect out of these products?

View 1 Replies

Asp.net :: Push Data To Flash/silverlight Client?

Nov 18, 2010

I'm developing chat application. I use flash as front end and asp.net back-end. My question is: can my asp.net web app send data to flash app in browser without post back ?actually it mean asp.net push data to flash client.

View 4 Replies

Flash :: Realtime Update And Push Data In AS3

Aug 13, 2011

i want to make a real-time update for my flash application. Instead on making it refresh each 30secs, i would prefer the push technology. What is the best way to push data in Actionscript 3?

View 1 Replies

ActionScript 3.0 :: Push Data Dynamically Into A Vector

Sep 21, 2011

I wonder if is there any way in AS3 to push data dynamically into a Vector using for() some thing like this:

[Code]...

View 7 Replies

Flash :: Obtain And Push JSON Data Into Arrays?

Sep 13, 2010

so I have a JSON link that contains a couple of nodes (not sure what you call them in JSON) that I need to put into arrays in ActionScript, but I'm still having trouble trying to trace out all the specific node content.I found a similar question here, but the fix just showed how to trace out the entire JSON file (which shows up in my output window as [object Object],[object Object],[object Object],...)first node: {"captions":[{"content":"[hello world] ","startTime":0,"duration":4000}

My code:

private function onCaptionsComplete( event:Event ):void
{
//var jsonObj:Object = JSON.decode(event.target.data);[code].....

captions: undefined

TypeError: Error #1010: A term is undefined and has no properties.What I would like to be able to do is put the content data into the captionsContent Array, and the startingTime into a startingTime Array, same with the duration data.

View 1 Replies

Java :: Push Data From Service To Flex Clients?

Dec 9, 2010

Since my service, I would like to push data (messaging).

@Service
@RemotingDestination
public class LoginService implements ILoginService
{

[Code]....

With this implementation, nothing to do ... clients receiveid nothing.

So, how I push data from a service like that ? Is it possible ?

View 2 Replies

Android :: WCF Data Push To Flash Client Without RTMP?

Mar 22, 2012

I am interested in connecting my android, iOS and flash clients to a wcf service and want to push updates to my clients from the WCF service as and when events regarding the client occurs.From the google searches, i got weborb.net and flourinefx.net. But these are based on rtmp, so i cant manage push for android and iphone clients.

View 1 Replies

ActionScript 3.0 :: Flash Push Data Dynamically Into A Vector?

Sep 21, 2011

I wonder if is there any way in AS3 to push data dynamically into a Vector using for() some thing like this:

Code:
var verticesT0:Vector.<Number> = new Vector.<Number>();
for(var i:int = 0; i < 5; i++)
{

[Code].....

View 3 Replies

ActionScript 3.0 :: 15 Seconds Delay When Push Or Pull Data From The Database?

Dec 4, 2009

my normal work day involves screen sharing with a programmer while we engineer the software.We are currently working on a site that involves flash .as3(created with flash CS3) talking with an .asmx web service (created in Visual Web Developer 2005) that talks to a sql (2008)database.When can push or pull data from the database successfully, but we are experiencing a 15 second delay if more than one request from the database is made at the same time. i.e. two customers login at the same time, or one customer logs in and another submits changes to their account.

The second request will not be instant until 15 seconds have elapsed In other words, if someone sends logs in and another person logs in 10 seconds later, the wait will be 5 seconds.Of course, the delay is cumulative...so if 3 people log in simultaneously, there is a 30 second wait. Gross.This only occurs when we are trying to access the database...flash and the web service seem to talk great together otherwise.

View 3 Replies

Java :: Push Data From BlazeDS Without Receive Message From Flex Client?

Dec 9, 2009

I am using BlazeDS for data-push feature in my Flex application project. From the official tutorial, Getting started with BlazeDS, it shows messaging example with producer/consumer from API. but how can I implement server side which doesn't need to be invoke from Flex client, but from within server-side instead. I got some idea but I don't know how to do because I'm a Flex developer, not Java developer In Google, there's a tutorial show about I need to extend ServiceAdapter class in Java-side, which extends Invoke method. Do I need to extend other class instead of this to do what I want?

View 3 Replies

Flex :: Messaging - Selective Server Data Push Using Spring Blazeds

Mar 1, 2011

I have a flex UI which communicates with server using spring blazeds. I have a very typical requirement of Live data streaming on a panel in UI. Requirement is like this, We have an object say, Person and server keeps pushing its data on blazeds message destination where UI panel consumer has subscribed and hence user can see this live data in a panel. User can open multiple panels in same browser to view data for different Persons at the same time (e.g id=1,2,3 respectively). There can be multiple UI users who may be viewing the same data for person id=1 at a given time, lets say.

Basically I want to separate data between UI panels. UI panel opened for person id=1 must not display data of that for person id=2. I am doing this using headers-selectors, but apparently I found out that the differentiation to select and display what data happens on UI which is causing performance issues. I learned that using subtopics may improve performance. But, before proceeding for it, I want to know, will UI browser end up in receiving data irrespective of subtopic assigned to data and then consumer will decide to accept it or not?

View 1 Replies

Java :: MessageBrokerServlet Initialization Problems- Push Data To Flex Application

Jan 25, 2012

I am working on a server push from Java to Flex. But some how the MessageBrokerServlet is not getting initialized, seems like it is calling a method from: flex.messaging.config.LoginCommandSettings.setMatch() Eventually I found out that this method indeed does not exist in that class (LoginCommandSettings). I there something else that is going wrong?

[Code]....

View 1 Replies

ActionScript 3.0 :: Scope Within Package - Trace Always Shows A Blank Array Before Push And An Array With One Object In It After The Push

Nov 12, 2009

I have a class in which I have declared an array. The functions in that class are designed to make changes to the array, but it's not working:

[Code]...

Anything I do to customerCheck treats it as if it were a new array. This is especially obvious when using customerCheck.push in addCharToCheck() -- the trace always shows a blank array before push and an array with one object in it after the push... then next time it does the same. I know I'm making some sort of fundamental error regarding the scope of the array within the class but I just cannot find any good information on how to fix it! Moving to AS3 (been coding it for all of about 3 weeks) is a nightmare so far, and it seems to be the 'easy' stuff that causes me problems

View 6 Replies

Flash :: View Data Passed To It?

May 26, 2010

I have a flash file that I am trying to debug. It loads a second flash file which it passes data to, and then that data is sent to a server. Unfortunately the data isnt coming out how it should.

I would like to know if anyone knows of a way to see what data is being passed to the embeded flash file from the original flash file. I need to make sure the data going to it is correct.

View 1 Replies

Flex :: Get A View To Read Data?

Dec 6, 2011

I need to convert a lot of stuff in my profession - so I'm building a conversion tool for my phone with some of the conversions I use a lot. Now, I want to be able to build this properly. So far, here's my code:

[Code]...

View 2 Replies

Java :: View Data From Excel In Flex App?

Apr 4, 2011

I have a flex-application deployed on tomcat with blazeds. User constantly selects ranges excel-document. Now, a user enters a cell addresses in text fields (for example, C1: C20). But it is very inconvenient! How to display excel-data as a table in my application? I think, I can parse excel-document using Apach POI and transmit these data to the Flex-application. But there are other ways?

View 2 Replies

Flex :: Get Data From Datagrid In A View To A Label?

Oct 26, 2011

<mx:DataGrid id="dgAutoFill" x="11" y="234" width="934" dataProvider="{rssHln.lastResult.rss.channel.item}">
<mx:columns>

[Code]....

I'm trying to get the title from the selecteditem from this datagrid (which is filled by a rss-feed) in a label. I've searched for ways, but I can't find how I should get this done.

This is the eventhandler I've added to the datagrid, and the function:

dgAutoFill.addEventListener(ListEvent.ITEM_CLICK, showDetails);
public function showDetails(event:ListEvent):void {
lblTitle.text = ?;
}

View 1 Replies

Flex :: Send Data Between Pages In View Stack?

Feb 22, 2010

I have a login page (that working), if details is correct, i want to go to welcome page, and display the first name and last of the user.

Is ok to access to the label in the another page, and how can i do that

This is my code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>

[Code]....

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

Media Server :: Cannot View SharedObject Data In Admin Console

Mar 2, 2010

I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:Object encoding error; terminating connection.I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work. I can connect to the shared object through another instance of the app and pull saved data but they are not inspectable in the administration console. Also,very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash.

View 9 Replies

Flex :: Avoiding Duplicate Data & Calculations In View-models?

Jul 26, 2011

I'm working on a Flex application that uses MVVM. I understand that it's recommended to have a 1-to-1 mapping between views and view-models. How then do I avoid performing the same calculations and storing the same data multiple times if it is needed in multiple views?

For example, imagine I have a program that can load project files consisting of a list of items. The main tab of my application has an export button that should only be enabled if the project is valid so I create an isExportEnabled property on the view-model for the main tab. The calculation for this involves validating the project by iterating though every item in the project and verifying some attribute on each. I have another tab which has a "Print Project Summary" button so the view-model for this tab has isPrintEnabled. The value for this flag is based on the same criteria, whether or not the project is valid.

I could put the logic for determining these values in their respective view-models, but then I end up calculating the same value twice when a project is loaded. I could move isValid to the domain model but then the model becomes denormalized. What if a saved project is edited without updating the "isValid" flag? I could make a global "Project View-Model" for the entire project which calculates whether the project is valid and then have isExportEnabled and isPrintEnabled delegate to that. However, then I end up with a hierarchy of view-models which this article recommends avoiding: Applying the Presentation Model in Flex

View 1 Replies

Silverlight :: Get Video Streaming Data From Flash Player To View On Phone?

Jan 30, 2012

Is it possible to investigate an html page that views a video streaming data using flash, and then use these data to view it on the phone? For example Al Jazeera website has a streaming service. I've looked through the html page and other resources using chrome developers tools. I found a lot of data, but couldnt figure it out which data I need.

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

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

Flex :: Presentation Model Pattern Can View Specific Logic Reside In View?

Aug 15, 2011

I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.

View 1 Replies







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