Unable To Set Property Model

Nov 10, 2009

I have an Application with modules. Every Module lives for itself. There are no shared events or something between them.In my modules there is a datagrid and with a contextmen¼, the details of selected data opens in a popup window.The modules are controlled by an loalEventMap and a presentationModel as usual.If i closed the popup immediantly and open it again, all works fine, but if i change some data in the popup, close it unload my module and loade the module again, open the popup again, mate throw the following error[code]....

View 1 Replies


Similar Posts:


Actionscript 3 :: Flex Syntax Error 1202 (Access Of Undefined Property Connection In Package Model)

Aug 9, 2011

I am getting Syntax Error 1202 (Access of undefined property connection in package model) in the following code while trying to access the model.connection property. I don't see any reason why this would appear, can anyone see something I may be overlooking?

[Code]....

View 1 Replies

Unable To Bind To Property Of Custom Component

Feb 25, 2010

Can't seem to bind to data from within a custom component. I've tried BindUtilis and {} but can't seem to fathom it out. Here's what I've got:

I have a class DataModel which has been made bindable

Within Mainn.mxml I have two components: DataGrid (used for testing) & CustomComponent (which extends Canvas)

When the data within DataModel.somelist is updated the DataGrid reflects the changes but the CustomComponent doesn't appear to.

I was expecting to see the trace (CustomComponent.dataProvider) fired whenever this._dataModel.itemList is changed. [code]...

View 1 Replies

Actionscript 3 :: Flex - Unable To Bind To Property 'foo' On Class 'Object?

May 29, 2009

I've got an object that contains a dozen or so fields I want to bind to form elements, so that I can use that object to send the data back to the server to be saved.

[Code]...

View 6 Replies

Flex :: Data Binding To A [Bindable] Property Of A Variable (unable To Detect Warning)?

Apr 1, 2012

I have the following code:

<fx:Script>
<![CDATA[
import shared.GlobalsManager;

[code].....

View 1 Replies

Flash :: Silverlight - MVVM - Presentation Model In Flex Vs Presentation Model In Silverlight: Advantages And Disadvantages?

Apr 10, 2011

As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.

What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?

View 2 Replies

Flex :: Unable To Bind To Property 'xmlnode' On Class 'XML' (class Is Not An IEventDispatcher)

Mar 14, 2012

i am using xmllistcollection for displaying data in list. whenever i run my application data is display in list control, but this warning has displayed in console. How can i remove this warning warning: unable to bind to property 'xmlnode' on class 'XML' (class is not an IEventDispatcher)

View 1 Replies

Javascript :: Resize Flash Error "Unable To Set Value Of The Property 'height': Object Is Null Or Undefined"?

May 22, 2011

I'm wondering if its possible to resize flash with javascript. I can't change any code in the flash object alone all I have is html, javascript and php to work with. Heres what I've found so far:

[Code]....

Content Embed is the embed tag and content object is the object tag in the flash. This works in chrome (and probably firefox) but not ie. In internet explorer I get the error: Unable to set value of the property 'height': object is null or undefined Here is the example page I have been using:[URL]

View 1 Replies

Professional :: Warning Unable To Load SWC And Unable To Test Movie Afterwards (CS5.5 Also In CS5)

Oct 13, 2011

I work with Flash Pro allmost 11 hours per day and every while i get a error  which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.

View 1 Replies

Create An Interactive 3D Model?

Aug 13, 2009

How to create an interactive 3D model? Which software should we need to do that?

View 1 Replies

Importing Blender / 3Ds MAX / 3D Model

Aug 20, 2009

Can I import 3D models from Blender/3Ds MAX 2010 to Flash CS4?I would like modelling 3D models with a 3D software and then import them to Flash CS4 to animate.

View 1 Replies

Professional :: Convert 3D Model To Swf?

Nov 27, 2010

Is there a way for me to convert a 3D model (.dae or .3ds) into a swf movie that you can orbit around it, like when you view a 3D model in photoshop using flash.

View 5 Replies

ActionScript 3.0 :: Dynamic 3d Model With Php?

May 2, 2010

I want to create a rotatable 3D model SWF, but I need to build it dynamically using PHP or some sort of scripting. The ideea is I need to make a dental arch, and depending on the variables, include all the teeth, or exclude the ones that are missing, and then show the final model.I have the models for all the teeth.

View 4 Replies

Flash 10 :: 3D Model/Map Of Buildings

Aug 31, 2011

I've been asked to create a model of an airport. Very basic. No textures and only simple shapes to represent check in zones, stairs, restaurants etc. It needs to be able to animate from floor to floor in birds eye view and to the outside of the building at an eye level view. It will be an annotated clip that plays following a persons movements. It needs to be incorporated into an adobe air application. I'm not sure even what software i should use for this. bear in mind i don't have any experience with 3D packages like 3DS Max. I suppose its possible in Flash Professional but can imagine drawing it all being a bit of a pain, is there something out there more suited?

View 7 Replies

ActionScript 3.0 :: Loading SWF With The Class Model?

Jan 11, 2011

Im working with AS3 and in my application I have a base SWF (with its document class) main.swf / main.as

And I have several SWF that includes a video inside with some navigation code (some buttons that I code in individual classes for each SWF). The problem is that I cannot find a method to load the swf's right, because the event that triggers the load process happens in the loaded SWF (the child).

View 1 Replies

ActionScript 3.0 :: Interactive 3D Model In Flash?

Oct 31, 2011

I would like to make some kind of interactive 3D model in flash.
 
In the image below you see a 3D model. It's just an example to explain what I have in mind. You see a red disc 1, a blue disc 2 and a pushbutton. The idea is that the blue disc rotates (for example 45 degrees) compared to the red disc when you push the button. Is that possible in a 3D model that you also can turn around with your mouse?
 
I can make the models in Rhinoceros 4.0, that's no problem. Importing the model into flash is also no problem (papervision). But how can I add some interactives to the 3D model like a pushbutton and a slidecard?

View 1 Replies

Physics SDK For Flash With Realistic Model

Feb 1, 2010

There are some open SDK for Flash, that could be done. Rotating photos with physics? Examples of such programs BumTop, ePic, Coloris (no physics). The photo on the plane, it can be moved to the real physics?

View 1 Replies

Java :: Getting Image From Game Model

Feb 26, 2010

So I'm not 100% sure if it's possible, but what I'd like to do is take a model that someone has created for a game, say in Blender or something similar, in various formats, and from that create an image to show on a website. Are there any Java libraries around? Java3D maybe? Or even something in Flash? Ideally you'd be able to rotate the model in some embedded flash app, but I'd settle for a plain old image.

View 2 Replies

Flash :: Collada Model After Add It To The View 3d?

Mar 25, 2010

I have a Collada (.dae) file that I found on Google's 3d Warehouse. Using Away3d, I'm able to load the file and display it on my view using the following code:

var object3d = Collada.parse(FooXML, { material:"white", x:0, y:0, z:0 });
view.scene.addChild(object3d);

The problem is that it's just floating out in space and no matter how I adjust the position via .x, .y, or .z, it never moves from its spot. I'm using Flash cs4 and the latest stable release from Away3d.

View 1 Replies

Java :: 3d Model Viewer In Flash?

May 18, 2010

I want to show a box in 3d on my website, and I was thinking to do it in Flash. How I can show a 3d model?I need something very simple, it's a textured cube, no interaction required, just let the user pan and zoom.There is a 3ds viewer in flash or something like that?

View 2 Replies

Flex :: Callback To Model Object?

Jul 23, 2010

I am trying to figure out how to define a callback to my model object, via the Mate Frameworks LocalEventMap.

<EventHandlers type="{WebServiceEvent.RT_GET}" debug="true">
<HTTPServiceInvoker url="/services/rtGet.asp">
<resultHandlers>

[Code]....

I get essentially the same error if I try to make method="model.rtGetHandleResult"

So, in keeping with the presentation model... how do I have the event map get this to the model to execute?

View 2 Replies

Flex :: Store The Model Of An Application?

Apr 25, 2011

I am working on an StoryBoarding application,it is a slide based application in which the authors can put several components like image , sound , captions etc in each of the slide.A collection of slides will make a storyboard.This application will be deployed on a web server (sharepoint + IIS , and php+apache), and several users can collaborate with each other for authoring or reviewing the storyboard.In my application I also want to support auto save ,which will keep on storing the state of the storyboard.User can also save at any point of time by clicking the save button.I am confused about how to store the state of the storyboard.

1)Presently I am doing this by passing all the storyboard data to a dot net web-service and then that service is storing images,caption etc in their respective tables into a database .2)Another approach possible is to store the model of the application as a serialized object into the db , which will be more convenient since separating the components of the model (like images,captions etc..) will not be required and also restoring the state of the objects in the application will be easy . I have two doubts about using approach 2 :-i) I want the the saved storyboard to load quickly, for which I would like to support the partial so that lighter objects like caption can be loaded quickly but other heavier objects like image,video etc can be loaded on demand. Using approach 2 , do I have to send the whole data in one go or is there way to support partial loading ?

View 1 Replies

Flex :: DTO / VO Versus Presentation Model

May 5, 2011

In Flex world, is DTO / VO same as Presentation Model?

View 2 Replies

Actionscript 3 - What Is The Box Model For Flash Rectangles

Jun 29, 2011

In CSS, we have a box model to define how border, margin, padding, and fill contribute to the total width and height of a rectangle. I'm porting some of my HTML/CSS design into Flash and can't quite figure out what Flash's box model is. In Flash, I've created a rectangle with gradient fill and a non-scaling 1 pixel stroke. I'm trying to get pixel-perfect positioning and sizing, but the experience has been unpredictable. I'm not really seeing a pattern to the following questions. The answer really changes depending on the exact circumstances.

When you set x and y both to be 0, where does the border lay? Is it off the screen? Is it being cut in half by the origin? Or is it completely visible?When you set width to 100, is the fill 98 wide or 100 wide?What happens to the 1px thick border when the rectangle is not positioned at whole number coordinates?

Example:

var sh:Shape = new Shape();
sh.graphics.lineStyle(1.0, 0x00FF00, 1.0, false, LineScaleMode.NONE);
sh.graphics.beginFill(0xFF0000, 1.0);
sh.graphics.drawRect(0, 0, 100, 100);

[code]....

I tried to create a 100x100 square at x:10, y:10. When I measured the total width and height in Photoshop, it came out to be 101x101.One would either expect the final dimensions to be 100x100 (border on inside) or 102x102 (border on outside).

View 2 Replies

Actionscript 3 :: Can't Dispatch Event From Model

Nov 8, 2011

Using robotlegs i always retrieve this error. [code]...

View 2 Replies

Flex :: Bind XMLListCollection Into Model?

Mar 24, 2012

When the XMLListCollection is updated in the DataGrid, I want it to add the XML (bind it) into the Model. How would I do this? Or if not possible, how would I manually add XML into the Model?

This is a rough example of what I'm trying to do. Adding data to the DataGrid works fine; it just doesn't go into the Model when sending to the HTTPService.

<mx:Model id="model">
<root><colors>{collection}</colors></root>
</mx:Model>
<mx:XMLListCollection id="collection" />

[Code]....

View 1 Replies

ActionScript 3.0 :: Model/Class To Extend XML?

Oct 25, 2008

My flex3 application downloads XML in e4x format from my web server, and and is left as a bindable XML object locally in my flex3 application. My visual objects then bind to various aspects of the XML object to display the data that I want.My simple program is getting more complicated, and I'd like to extend the XML object and add some functions to it, so I can keep the code that manipulates the XML object separate from my base application. Lets call this new object LoginXML.Can I please get an example of how to extend the XML object in flex3/as3 to create my own custom object with it's own functions. Part of my XML looks like

<nodes>
<node id="1">A</node>
<node id="2">B</node>

[code]......

View 9 Replies

Actionscript 3.0 :: Import An External 3d Model?

Aug 10, 2009

how I can import an external 3d model and which format it must be have?

View 4 Replies

ActionScript 3.0 :: How To Record Webcam And 3D Model

Jun 22, 2010

How to record my webcam with augmented reality. Lets start from the beginning, I have a webcam application that records to a streaming server. This application hasn't bin written by me unfortunately. I have added some new futures to this application, I have implemented augmented reality that positions a 3dmodel on the marker. This is working fine while it's recording. But it only records the webcam feed. How can I include my 3dmodel in the recording? Can I use BitmapData to capture the image of the 3dmodel and store this somewhere, for instance, in the Model class. So I can addchild it later at the location where the video is created and recorded, or is this totally the wrong way to go? It is recorded at a streaming server.

View 2 Replies

ActionScript 3.0 :: Persisting Model Over Sessions Of Swf

Feb 2, 2007

So I had been working on this issue where I couldn't get a swf to reload in the same state it was originally loaded. Well further testing leads me to believe that my Model class is being persisted over multiple sessons in the player. Here is my model class:

[Code]...

So when I fire up the swf the first time in the IDE's player, i get 'no previous instance' as you would expect, then I hit ctrl + enter to restart the swf in the IDE's player and I get 'destroying instance'. So this tells me that the Model instance is getting persisted over player sessions. Unless I am mistaken, and correct me if I am wrong, I would assume clicking ctrl + enter (i.e refreshing the swf in the player) would act like a new swf session.

View 3 Replies







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