Flex :: Alternative Behaviour Of && Operator

Mar 9, 2011

I've faced such situation. I've used to program in C#, and such code:

[Code]...

was asking both, condition1 and condition2 to be true (the case when they both are giving false and the end-result is true, could be achieved in other way). In Flex, same code would perform "some actions" if the both conditions are false. I just was wondering if is there any chance to make it break after finding first false in a queue, or I have no choice and should write nested if's?

View 2 Replies


Similar Posts:


Flex - Security Behaviour In Adobe Air?

Apr 15, 2010

I am trying to load external SWFs in my Adobe AIR App. The loaded SWF is trying to access an URL to retrieve some informations via XML. When starting the SWF by itself it works fine. When loading the SWF from the File.applicationStorageDirectory i will get an Security-Error because the loaded App is executed in a local-with-filesystem Sandbox appareantly. First Question: Is there a way to change this? That the loaded SWF is running in a network Sandbox?

Since that first attempt didn't worked i've moved the SWF to the app:// directory.Now i'll get a Security-Error because there is no policy file on the Server available where the XML data should be retrieved. Second Question: Why is the policy file not necessary when running the SWF by itself, but is necessary when trying to load the data from the application Sandbox? What am i doing wrong?

View 1 Replies

Xml :: Flex Children() Method Strange Behaviour?

Feb 20, 2012

I have the following xml declaration:

public var reqData:XML = <root>
<Requirement ID="REQ-GEN-0.1" title="exigence gen 1" description="blabla 01" testable="true"/>

[code]....

View 1 Replies

Flex :: 4.5 : Strange Scrolling Behaviour In Custom Layout Used In A List

Sep 15, 2011

I created a custom layout for a list, to be used on a mobile (android). I used this as example : [URL], using virtualization. Now the problem I have is with scrolling : when scrolling to the bottom of the list, there seems to be always a "bounce back", as if the list would have reached and as if the bounce/pull effect is taking place. But in fact the list has not reached the end at all, in fact I can not even scroll to the last element in the list. When going back from bottom to top, there's no problem at all.

I trace the top and bottom of the Scrolling Rectangle (Rectangle.getScrollRect) and there I can see that when scrolling down, the top and bottom parameters increase, but when releasing the touchscreen, all of a sudden the parameters decrease again with a certain amount, and so never reaching the end of the list. All my code is available on google project hosting : [URL]

View 1 Replies

Flex :: Use Conditional Operator In Checkbox Using It?

Oct 21, 2009

I want to fill color based on condition so I used conditional operator for the checkbox. But it's shows the error Implicit coercion of a value of type String to an unrelated type Array. What did I do wrong ? How can I dynamically change the color of a checkbox ?[code]...

View 2 Replies

Flex :: Combine Two Images Together Using The XOr Operator?

Oct 28, 2010

Isn't there some way to combine two images together using the xOr operator? I realize I can step through pixel by pixel, but with all the graphics options available to Flash, I am reluctant to take such a ham-fisted approach. How can this be accomplished efficiently?

var pixel1:uint;
var pixel2:uint;
var xorMergedPixel:uint;

[Code]....

View 1 Replies

Flex :: Use Conditional Operator In Combo Box Dataprovider Using It?

Dec 7, 2009

In my Combo box i have to shows team names condition based . So i will try like

dataProvider="{usersXML.users.user.(id=10).name}" but shows some errors . but if i tried

dataProvider="{usersXML.users.user.name}" display all name . It's working .

How can i condition based to display the list . In combobox . Plz refer me . is it possiable to check array of id on the dataProvider ?

View 2 Replies

Actionscript :: Flex Filter Operator Not Supported

Jun 12, 2009

[code]For the above Flex Code, when I click on the label lb, I get the following message at the runtime:[code]

View 1 Replies

Flex :: Alternative (free) IDE For It?

Jun 27, 2009

I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing.

View 5 Replies

Flex :: Get Good Alternative IDE?

Mar 24, 2011

Good alternative Flex IDE? I am interested in free editions mostly but I will also take under consideration the paid ones.

View 2 Replies

Flex :: Free Alternative For BlazeDS?

Sep 28, 2010

Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better.

View 3 Replies

Flex :: Simple RichTextEditor Alternative For It?

Apr 20, 2011

Does anyone know a good alternative to the RichTextEditor component in flex?

View 2 Replies

Actionscript 3 :: Alternative For Flash Only (not Flex)?

Dec 22, 2011

Ok we all know that you can embed assets with Flex using the [embed] code.

But is there anyway to achieve something similar to this when working with only Flash?

For example:I need to create a class (that contains certain assets) that needs to be used in the Flash IDE, but I don't want to have to drop all the assets into the library for every Flash file that happens to use the class.

View 2 Replies

Flex :: Operator Console App - Listen Java Socket To Receive XML Data?

Jul 13, 2010

We are in the middle to evaluate the technology choice to re-design an operator console application. The operator console as a hosted contact center has the abilities to queue the inactive calls, and hold, answer, transfer the active calls.

The legacy operator console used Java Swing. We want to use the latest RIA technology (Flex/Silverlight) to retire the legacy one. But the question is Flex/Silverlight can implement the functions like hold, transfer the calls? Based on my experiences, Flex can listen Java socket to receive XML data? Does it work well to receive voice data?

View 2 Replies

Flex :: Error 1123 - Filter Operator Not Supported On Type Object

Jan 25, 2012

I have a a structure like this:
e.item.fatturato_ac_s1
e.item.fatturato_ac_s2
e.item.fatturato_ac_s3
e.item.fatturato_ac_s4
[...]
and so on...

In order to compute dynamically the string I wrote:
e.item.(myStr.toString()) where myStr (type string) = "fatturato_ac_s" + Index (so I can have fatturato_ac_s1, fatturato_ac_s2, ...)
I can correctly retrieve the value of e.item.(myStr.toString()) (a numeric value), but if I try to put it in a variable I get the error in the title:
myVariable = e.item.(myStr.toString())
myVariable is a Number.

I also tried:
myVariable = Number(e.item.(myStr.toString()))
But doesn't work... the same if I try String to String....

View 1 Replies

Flex :: Flash Media Server Alternative?

Jul 26, 2010

I am not advanced yet, but i know what exactly i am looking for and want to do. After doing Air/Flex i came to a stage i need "Flash Media Server Xversion"

Question: Is there any Open/Free Linux based alternative for this "Flash Media Server"? By google i came to this, is it also possible to use as alternative 1. http://osflash.org/red5[URL]..

View 1 Replies

Flex :: Spark DataGrid Alternative Row Color Changes?

Nov 19, 2011

How to Set alternat Row Color In Flex 4.5 MobileApplication For Spark Data Grid. The Main Problem Of SparkDataGrid in Mobile Application not Allowed to Add Skin.

View 2 Replies

ActionScript 3.0 :: Alternative For NativeWindow Class For Flex Web Application?

Jun 13, 2011

I have to convert an Air application to the web application.I created a web project and I copied all classes to that project +main.mxml.now the problem that i have is the nativeWindow is just work in

[Code]...

View 1 Replies

Xml :: Xml - Different FireFox Flash Behaviour?

Jun 23, 2011

I have a flash component written in flex which reads a xml file and shows up its data. This works fine in IE and Chrome, but not in Firefox.When i used fiddler to check for the problem, it started working fine.And now i have come to the conclusion that when fillder is running in the background and i access the flash component it works fine (reads all the xml data and shows it up), but when i close fiddler and do the same....i get the following error, "Error reading {myfilename} file."

View 2 Replies

DataGrid Data And Behaviour Modification?

Sep 10, 2009

stop();
import fl.events.DataGridEvent;
function endEditHandler(evtObj){ trace(DataGrid_Main.getItemAt(evtObj.rowIndex)

[code].....

View 7 Replies

Arrow Up / Down Default Behaviour In A TextField

Jun 19, 2009

I am making a input field for keywords, and while the users writing I'm displaying suggestions for keyword on a list underneath the caret position.The input field is single line, so I am using the arrow up/down key to select a suggestion and Enter to insert it.And it's mostly working, with the big exception that the up/down key also changes the caret position to the begining/ending of the TextField.

I've tried using preventDefault() and stopImmediatePropagation() in the KeyboardEvent.KEY_DOWN event listener that I also use to change the selected suggestion, but that does not change anything.I checked the carret has not yet moved when KeyboardEvent.KEY_DOWN event is fired, bu visually I can see that it is being move before key is released (key up).

View 4 Replies

ActionScript 3.0 :: SWF Behaviour Changes For No Apparent Reason

Sep 30, 2010

I have several two-sided ecards made with Papervision and TweenLite to flip them over.A couple of days ago the "flip" animation changed behaviour. This is in ecards I made several months ago. The ecards work OK but the PPV object is not positioned correctly.On the server, in IE the object is displaced to right and down by about 20 px. In FF it is displaced to up and left by about 10 px.In Chrome and Safari the display is OK.(Just to confuse you further, the display in FF is OK on my localhost).This effect seems to be local to my PC.

I have scanned for malware etc twice but nothing. I have the latest Flash player and browsers.

View 1 Replies

Professional :: Adjust The Seek Behaviour Of An FLV In Playback?

Feb 2, 2010

How does one adjust the seek behaviour of an FLV in playback? youtube videos work the way I expect them to: As you click and drag the seek bar it shows you the current frame. Any of the players I have experimented with don't do this. What they do is show you a still frame and update the video window only after you release the seek bar.

View 5 Replies

Professional :: Undefined Display Behaviour With AS Animation

Mar 18, 2010

I'm currently dealing with a very annoying problem, for which I can't find any solution, because - as I think - it does not result from a AS coding mistake but more or less has to do with the rendering of the swf.I am generating a seamless tileable stripe out of a few symbols. Then I am creating an endless animation that scrolls that stripe up. The scrolling is implemented as follows: I'm creating a second BitmapData of 500pxl height, that with every frame scrolls all its pixels 10 pixels downwards and then copies the 10 "missing" pixels at the top from the appropriate position of the prepared seamless tileable stripe.

During the animation there seems to be (at least on less performant systems) some kind of flickering (stripes tthat look like the animation wouldn't use a seamless tileable stripe - ALTHOUGH IT DEFINITLY DOES!!!)...The only guess I have - that it could result from a unsynchronized rendering of the swf..To the right you see a section of the prepared seamless tileable stripe from which these 10 pxl sections are copied.

View 2 Replies

Professional :: Can't Find Rewind Behaviour In Tutorial?

Oct 27, 2010

working through the tutorial to familiarise myself with basic terms and concepts. I have been working through the behaviours section, assigning behaviours to the video buttons in the example. I've done the play and pause, but when I try to assign a behaviour to the rewind button, there is no rewind behaviour listed in the embedded video section of the add behaviours function. I am using education version 7.2.

View 1 Replies

ActionScript 3.0 :: Erractic Behaviour In Button Movieclip?

Mar 13, 2012

I'm working on my first button and, instead of making simple symbol buttons, I chose to make some complex stuf like animations for the rollover, rollout and click state. I've been following some tutorials on this of course, and I've completed my first button. The problem is that I'm getting weird erratic behaviour because of this Text (TLF) layer I've got (I animated color and size) in a classic tween.if I delete the layer, everything works great. I can't figure it out!

[Code]...

View 14 Replies

Flex4 - Funny Behaviour From Adobe Transitions?

Oct 23, 2011

No matter what I do, my transitions won't work as expected. I'll explain the issues and then place the code at the bottom. There are 4 States in my application.

goButton is present only in "State1" and "State2". State1 and State2 are nearly the same, but the y property of the goButton is diffrent in each. So I've made a little transition that moves the Button back and forth. Good so far.

However, both "State1" and "State2" can also be Transitioned to "State3". But there's no goButton in "State3", so I've used the <s:Fade> and the <s:RemoveAction> effects to get rid of it.

[Code]...

View 3 Replies

ActionScript 3.0 :: Attach Button Behaviour To DisplayObject?

May 13, 2007

If I am using Loader to load external swfs, can I give them button behaviours?

View 12 Replies

ActionScript 2.0 :: Change The Behaviour Of A Movie Clip?

May 31, 2007

just wondering if there is a script that could let me change the way that a movie clip behaves, for example, I have movie clip "a" and in a certain frame I have the function;

a.onRollOver = function (){
gotoAndPlay ("that");
}

can I later have a script that removes the onRollOver property so that the movie clip is once again JUST a movie clip and not a movie clip button?

View 1 Replies

Flash :: Strange Behaviour In A String Matching Algorithmn

Aug 13, 2011

I know my 'algorithm' isn't useful at all, but I think I encountered a very strange behaviour.

[Code]....

View 1 Replies







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