Xml :: Flex + Access XML Content?
Dec 23, 2009
I have a structure like This is what data.data = <node classid="1" label="Teacher" Addr="#1, CP"/> How can I access the content, i tried
data.data.@node.label
data.data.node.label
data.data.label
View 2 Replies
Similar Posts:
Mar 23, 2012
Is it possible to access and modify flash content via js (JavaScript) and if yes, then, How to do that?
View 2 Replies
Jan 24, 2010
this is my code:
var arr:Array = new Array("ABCD","BCDA");
for(var i:int =0; i < arr.length; i++)
[code].....
View 3 Replies
May 11, 2010
Will Apple ever give up trying to push quicktime and finally accept flash on the iPhone? I'm a Utah auto insurance agent and use my phone all day long and I hate when I can't access content because it is in flash.
View 1 Replies
Jan 23, 2012
I have a ActiveX control hosting a flash-player which is in turn running a flash file trying to access data from a web-address.
In an old Windows Application version of my application everything works fine and the flash file is able to access the web-content.
However, in a newer Console Appliction version of the application it can no longer access the web-content.
Is there some kind of difference between a Windows Application and a Console application in terms of security/permissions that might affect an ActiveX hosted flash-player?
View 1 Replies
Jan 25, 2009
I am building an e-learning module and including a movie. I have uploaded the move to an FTP site, and am now trying to find the URL of the file, but I cant. I am new to this so I'm sure I'm doing something wrong but I cant figure out what it is I am trying to use [URL] I can go to the file via the FTP address and access it that way, but not via the HTTP rout
View 3 Replies
May 3, 2010
I'm writing a simple little test app consisting of 'main.as' and 'test.png', both within the same subdir on my harddrive. I'm compiling via command line with mxmlc, and testing via 'open with...' and Chrome. The code uses flash.display.Loader.load( "test.png" ) - but I can't access the loaded content (or even draw it to a bitmapdata!) due to security exceptions.
My goal is to get the image into something (preferably a bitmapdata!) I can draw to other bitmapdatas, as I understand this is fastest for gaming. I've tried all sorts of things, including creating a 'crossdomain.xml' that goes in the same dir as the above files (and doing the appropriate LoaderContext thing), tried various system.Security things and still no joy.
View 1 Replies
Dec 29, 2010
I am developing a flash+flickr application for iphone and ipad.
I have the following error when I try to access to flickr server.
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
I have tried: Security.allowDomain("*", "api.flickr.com");But, it doesn't work ...Do you have any suggestion o idea that I would have to do?
View 2 Replies
Oct 20, 2010
It's too complicate to explain but I'll give you an example
I have an AS3 ResultEvent Object and this object has several propeties which can be accessed by this like:event.result.name or event.result.age and, I have this String variable: eventProperty:String that contains "name" or "age" How do I access to event.result. with the variable?
View 2 Replies
Jun 11, 2010
Some users are unable to access any of our video content, getting a Server Not Found error.We have our FMS configured to use ports 1935, 433, 80. Our firewall is allowing RTMP traffic to each of these ports. Is there something more I can do from my end to make sure users can access our FMS?
View 1 Replies
Apr 16, 2011
I have a difficulty on migrating into AS3. I have 2 file: "main.swf" and "content.swf" In "main.swf", i use Loader to load "content.swf" into movieclip called content_mc.SO, how to access the variable inside "content.swf"?
Here are my coding:
var contentLoader = new Loader();
contentLoader.load(new URLRequest("content.swf"));
content_mc.addChild(contentLoader);
[code]....
View 2 Replies
Jul 16, 2010
I have a components and classes project library. Within the library, flex builder only seems to display content/code assist options for top level classes (e.g. arguments, Array) but not other classes such as VBox. Also, within the non top level classes, class properties are not provided by content assist.
View 2 Replies
Mar 19, 2012
Does Adobe Flex have provide a Content Provider for sharing data between two applications?
If not, is there an alternative way for Flex apps to share information without being connected to the internet?
View 1 Replies
Mar 4, 2010
If I create an object like so:
class Foo {
[Bindable] public var property: String;
}
The class Foo has an implicit event dispatcher to handle property change events. How can I access that without making Foo explicitly extend EventDispatcher?
View 1 Replies
Sep 10, 2009
I've embedded a MovieClip symbol with the [Embed] syntax into my AS3 project, which I'm compiling with the Flex 3 SDK. That MovieClip has instances of other clips within it that are placed on stage with instance names. I can't just access them by instance name like I would if I were compiling with the Flash IDE. How can I reference them?
View 1 Replies
Jun 11, 2010
I've got a Flex 3 project. Flex makes an ExternalCall to some Javascript. The Javascript is then turned into XML.
But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type and IE doesn't like that. So my code looks like:
myReturn = '<myXMLReturn>' + myReturn + '</myXMLReturn>';
myReturn = '<?xml version="1.0" encoding="UTF-8"?>' + myReturn;
xmlReturn = new XML(myReturn);
How would I set: header('Content-type: application/xml'); in Actionscript?
As I understand it IE requires that the Content-type be set.
View 1 Replies
Oct 20, 2010
I'm trying to make an existing FLEX application section-508-compliant, by getting it to work smoothly with the JAWS screen reader. It kinda sorta works, but one immediate problem is that when you first go to the login screen, your cursor ends up in the userid field, but JAWS doesn't read anything useful (like the label of the field you're in!) until you hit TAB or something. Is there a way to force it to speak immediately on application startup, without making the user tab/backtab just to hear where they are?
For that matter, as cool as it is that it reads interactive controls as the user tabs around, sometimes you just need to make JAWS say something at a particular point in the logic, which might or might not be associated with a conrol... as if you could write AS code like "jaws.speak('');".
View 1 Replies
Jul 16, 2009
problem-1:In php we can easily move one page to another and easily use different type of function from those pages.In flex3 how i can use different type of .mxml pag
View 2 Replies
Feb 23, 2010
I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through.
I tried setting the z-index of the Flash app to something greater than my Flex app, and that worked, but unfortunately that solution doesn't work for my case because the Flex application has components that occasionally overlay in that area, and setting the z-index of the Flash app to be higher means those components are always stuck behind it.
View 1 Replies
Jun 21, 2010
I have an mx:TextArea and I want its height to be the same as its content height. There is nothing fancy - just a text area and text that is not editable. I need a simple and reliable way to make the control fit and show all the text without vertical scroll - something like auto resizing. Also my control's text will be set only once and will not change as it will not be editable.
<mx:TextArea id="myTextArea"
editable="false"
width="100%"
verticalScrollPolicy="off" >
<mx:text>
[Code] .....
There is one more post here on the same topic but it is not relevant to me because the setup there is a lot more complicated as it includes styling and binding.
View 4 Replies
Dec 24, 2010
In the following code i dont have any error but why is that the addchild(video); i.e, the the video captured by webcam is not displayed
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
[Code]......
View 1 Replies
Jan 10, 2011
I'm implementing some kind of combobox control (by extending spark.components.supportClasses.DropDownListBase)
Now, inside this control; I need to know:
If the dataprovider is changed/assigned. (which I can do... the first approach below works); if any item in the dataprovider collection has changed.
I tried 2 methods that did not do the trick...
1ST APPROACH:
2ND APPROACH:
UPDATE: Edited above.. The first approach lets me know if the dataprovider is changed but not if any item is updated in the dataprovider collection. The second approach does not work at all..
View 1 Replies
Mar 30, 2011
I have XML pages with some defined structure , now using flex I want to display the content of these pages. The purpose of using Flex is to give better look. If I can use something else which will provide a good UI to display then also its fine.
View 2 Replies
Apr 16, 2011
I have an application whit accordion
<mx:Accordion minHeight="200" includeIn="radegund0" top="10" bottom="10" left="10" right="10" openDuration="2000" openEasingFunction="{Elastic.easeOut}">
<s:NavigatorContent width="100%" height="100%">
[Code]......
but when click on the second tab for the first time the content is not shown until the effect is over.
View 1 Replies
Aug 25, 2009
i am doing a project and i am loading .swf files in a FLEX 3 SWFLoader. i made a HSlider as a seeker to control the .swf file (forward and backword); BUT... if the swf file has sound and i drag the seeker forward or back word the sound does not effect i want to control the sound as i control the swf file note:: the sound is in the .swf file not loaded
View 1 Replies
Sep 1, 2009
How do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only.
View 4 Replies
Sep 23, 2009
I want to load in a SWF and set it to fit in the window, whilst keeping it's aspect ratio.When I do this by setting the height and width of the SWFLoader, the SWF will resize to best fit in the space (as it is keeping it's aspect ratio).However I can't find a way to detect the height and width of that SWF now it has been resized. The size of the SWFLoader reflects what I set it to, and the SWFLoader.LoaderInfo size seems to be totally random.
I have also tried the loaderInfo.content, but again I don't get a value that compares to the size of the SWF I have loaded (or at lease the size of what is visible).The only thing I can think to do is to know the height and width before and then figure out the aspect ratio, so if I resize the width to 50% of the window, I can do the maths on the height to make the swf loader the same height as it's scaled content.
View 1 Replies
Jan 14, 2010
I'm developing a website with a flash object that dynamically generates its content and I want the flash object itself to be embeddable into other website like how youtube does it.
View 2 Replies
Feb 17, 2010
I've got content coming into my application using a query and an ArrayCollection. I know how to display the content into a DataGrid by using the dataProvider propriety, but I'd like to use TextInput components and drop the DataGrid altogether.
I'm still having a problem all that displays is [object,object]
Here is a bit of my code.
[Bindable]
private var acCon:ArrayCollection;
private function reData():void //RETRIEVE DATA
[Code].....
View 1 Replies
Mar 17, 2010
I'm creating windows in a Flex application (AIR) using the mx:Window component. I'd like the window to be automatically sized to its content (because it will be dynamic), in the same way that an mx:Panel or mx:Box would be.I've customized components before, so I'm somewhat familiar with the UIComponent lifecycle, but I'm not quite sure how best to do the logic for auto-sizing a container.If it makes it easier, I'm not expecting that the window auto-size to its content at any time, thought that would be a bonus!
View 1 Replies