Flex :: Removing Flash Meta-policy Communication Warning?

Jun 6, 2009

I am communicating to an external server via a URLLoader and receiving the following warning: Warning: Domain domain name does not specify a meta-policy.Applying default meta-policy 'master-only'.This configuration is deprecated.

The provided link redirected me to another page, which didn't really explain how to remove this warning. It looks like it might involve modifying the crossdomain.xml file on the server, but I'm not sure exactly how. how to remove this warning?

View 1 Replies


Similar Posts:


Flash - SWF Loader And Flex's SWFLoader: Child SWF Sandboxing Policy?

Jan 7, 2010

[URL] With regards to a parent SWF loading a child SWF via the Loader class, is it possible to prevent the loaded child SWF from:

Making any network calls, or Making calls to specific domains Basically, I'm looking for a programmatic version of allowNetworking:

[URL]

Additionally,Are there any Flash Player version and Actionscript version discrepancies?Are there any discrepancies if using Flex's SWFLoader is used instead?

View 1 Replies

ActionScript 3.0 :: Compile Warning: "Warning: Actions On Button Or Movie Clip Instances Are Not Supported

Jan 6, 2010

I'm a very new user to AS3 and I'm attempting to migrate a site from Flash CS3 to CS4 on a Mac. I keep getting the following compile warning: "Warning: Actions on button or movie clip instances are not supported in Action Script 3. All scripts on object instances will be ignored." This is very confusing to me. I thought that scripts could be attached to both frames and objects? Is this a bug that is a result of switching from versions? Or is this warning true; and I have to abandon all uses of attaching scripts to objects on the stage?

Also: Can anyone illuminate me on the keystroke to call the actions window in AS3? It is supposed to be the F9 function key and another that I can;t locate on my keyboard!? As I said,I'm a very new user, so be kind!!

View 2 Replies

Actionscript 3 :: Flex Embed Png, Meta Data Required?

Jul 19, 2010

this is a part of my code

[Embed(source='dmr/images/icones/icnPresenceInline.png')];
[Bindable]
private var presentAuBureau:Class;

View 3 Replies

Flex :: Flash Builder - Datagrid Within Repeater - Data Bind Warning?

Jul 8, 2010

In my Flex app I am using a repeater to show a report on my database data. On this report the user can "drill-down" on the data to show more detail. In order to make this easier on the eye I have a header label and then a datagrid within the repeater.Whilst this works perfectly, because the dataprovider for the datagrid comes from an array in the repeaters dataprovider, it is causing the following warning:Data binding will not be able to detect assignments to "report"The warning is for this line:

<mx:DataGrid id="dgReport" dataProvider="{rptReport.currentItem.report}" rowCount="{rptReport.currentItem.report.length}">
<mx:Script>

[code].....

View 1 Replies

ActionScript3 :: Flex - What Types Of SVG Gradient Fills Are Supported When Using The Embed Meta Tag

Jul 7, 2009

I've been trying to embed some svg files into an AS3 project using the Embed meta tag. For example:

[Code]...

However when displaying these files as Sprites only some of the gradients are surviving the embeding process. From what I've found simple (2 step) horizontal gradients seem to stand the best chance of being preserved, but sometimes other kinds of gradients are as well. In one case simply rotating an object 90 degrees causes the gradient to vanish when displayed in flash. Does anyone know a rough set of rules to use when creating svg gradient fills so they are preserved when rendered in flash? BTW: I used Inkscape to create the images in question.

Update: Bizarrely the solution to this seems to be setting the opacity of any object in the svg file whose gradient isn't displayed properly to a value below 1. Don't ask me why this works but it does. It does however have the unwanted side effect of the objects edges not being rendered as smoothly.

View 4 Replies

Flex :: Fill A List With A Combination Of Database Entries And Meta-values?

Aug 31, 2009

I am acquiring the contents of a table to fill a dropdown box in a Flex 3 application:

<mx:ComboBox dataSource="{myList}" />

The list is populated by the contents of a database table of persons:

Public, John Q
Doe, Jane
...

The combo box, however, also needs to have some other meta-entries in it that do not come from the database:

ALL
ALL MEN
ALL WOMEN
Public, John Q
Doe, Jane
...

View 1 Replies

Flash :: Communication Between 2 Flex Apps On The Same Webpage?

Dec 21, 2010

What's the best way to communicate between 2 Flex/Flash apps on the same webpage? I need a 3rd party Flash app to call a function on my Flex 4 app (they are ready to customize their 3rd party app how I specify). I use ExternalInterface.call("javascript_function", arguments) extensively. I know there's a bridge to go from Javascript to Actionscript as well. So I guess I could go from their flash app -> javascript function -> flex bridge -> my flex app. Do I have to go through javascript? Is there a better way?

View 1 Replies

Actionscript :: Disable Warning (especially Binding Warnings) In Console In Flex (eclipse With Flex Plugin)?

Nov 10, 2010

I did suppress warnings in flex compiler using "-show-binding-warnings=false". But what I am interested to achieve is to suppress run time warnings (especially binding warnings - since I am getting data in model mostly in XML structures and it is fine for me if its unable to bind to its nested child nodes) in console (I am working on flex on Eclipse with the flex plug in). Is there a way to achieve it?

View 1 Replies

Insert Stuff Like Headers (<h1>) And Meta Keywords Into Flash?

Mar 25, 2009

Can I insert stuff like headers (<h1>) and meta keywords into flash?

View 1 Replies

Facebook :: Flex Ignoring Policy File

Oct 26, 2011

I'm loading in profile images from both facebook and twitter into a flex application. Based on the answer from this question, I'm loading the domain policy from the redirected url. However, now I'm seeing this error: Error: [strict] Ignoring policy file at [URL] The crossdomain.xml file from that URL looks like this:

[Code]...

The error states that there is a missing Content-Type. How do I get around this? I, obviously, can't update facebook's files.

View 1 Replies

Java :: Binary Socket And Policy File In Flex

May 17, 2010

I'm trying to evaluate whether Flex can access binary sockets. Seems that there's a class calles Socket (flex.net package). The requirement is that Flex will connect to a server serving binary data. It will then subscribe to data and receive the feed which it will interpret and display as a chart. I've never worked with Flex, my experience lies with Java, so everything is new to me. So I'm trying to quickly set something simple up. The Java server expects the following:

DataInputStream in = .....
byte cmd = in.readByte();
int size = in.readByte();
byte[] buf = new byte[size];
in.readFully(buf);
[Code] .....

After that - EOFException happens on the server and that's it. So the question is, am I approaching whole streaming data issue wrong when it comes to Flex? Am I sending the policy file wrong? Unfortunately, I can't seem to find a good solid example of how to do it. It seems to me that Flex can do binary Client-Server application, but I personally lack some basic knowledge when doing it. I'm using Flex 3.5 in IntelliJ IDEA IDE.

View 1 Replies

Flex :: Recovery From Policy File Load Failure?

Apr 1, 2011

First off: This is not another question about how to load a policy file.I have an app in development that connects to a socket server, gets the policy file and works just dandy.when the socket server is down for whatever reason, I need to gracefully fallback to an alternative method of getting messages from the server (polling,

[Code]...

View 1 Replies

Flex :: Policy File Check Closes Socket

Sep 27, 2011

I have created a flex app that uses sockets. I published the flex app in a web application that runs on glassfish server. Now from that flex app i create a socket connection to a C# server and start sending/receiving data.The problem is that after i create the socket connection to C# server the flex app first checks the policy file, and after it get's it, it closes the socket, without keep the connection alive.[code] Now after i create the connection and it gets the policy from server it closes this socket, so to be able to use this connection i have to call again [code]After i do this, i can use normally the connection

View 1 Replies

ActionScript 3.0 :: Flex Socket Policy File Server?

Jul 16, 2009

Actionscript Socket Policy File Server Problems Has anyone been able to successfully implement a service to serve the required socket policy file to FlashPlayer?

[Code]...

View 1 Replies

Flex :: Turn Off A Particular Warning In Builder 3?

Oct 20, 2009

warning: unable to bind to property 'image' on class 'XML' (class is not an IEventDispatcher)Is there a way I can turn off this type of warning (but keep the others) as it is driving me crazy when I try to trace something else.

View 2 Replies

Flex :: Show A Warning Before A Radiobutton Changes?

Aug 30, 2010

In my flex app I have some radio buttons. When a user clicks the radio button, I want to popup an Alert, and if the user clicks ok the radio button will change, otherwise their change will be discarded.

How do I accomplish that? I tried event.preventDefault(); while handling the click event, but that didn't do anything.

View 3 Replies

Flex :: TextArea Strings And Prohibited Characters I.e. <meta Charset="utf-8">?

Jul 1, 2011

I'm trying to set the text of a TextArea with some text containing forbidden characters. I'm trying to set the text as <meta charset="utf-8"> and there is of course a problem with the "'s. I think it's something like this <meta charset=&#0034utf-8&#0034;>, but obviously this doesn't work.

View 1 Replies

Flash :: Meta Tag In Project Can't Handle Percentage Width/height Values?

Apr 5, 2011

I have an ActionScript project set up using the Flash Builder IDE. Using the Flex 4 compiler to compile it. At the top of my application class, I have:

[SWF(width="100%", height="100%")]
public class MediaPlayer extends MovieClip {

This is not acceptable to the compiler to do a release (it throws errors saying it can't parse the width/height values). Pretty annoying. I've tried to do things the "right" way, but none of the following work:

[Code]...

So the width and height attributes are being explicitly set to numbers here. I don't know much about the 'scale' attribute; maybe it is coming in to play here? And, to be clear: it will work as expected if I set the [SWF] meta tag to have width "100%" and height "100%"... so it seems like it actually is preferring the compiled arguments over the browser environment. Perhaps there are other settings I am missing?

View 2 Replies

Flex :: Preferred Socket Policy File Server Implementation?

Jan 22, 2010

I'm trying to get my Flash application to connect via socket to my server, so I need to set up a socket policy file server. It seems like there are various roll-your-own implementations floating around out there, but is there any kind of standard or best practice with what to use?

As an aside, it seems strange that Adobe imposes this restriction but doesn't make something readily available to support it.

View 2 Replies

Css :: Disable Flex Type Selector Warning?

Sep 30, 2009

I'm building a somewhat large Flex project that includes several modules (a single Flex project that produces multiple SWFs)

Right now, I have a single css file, being loaded in the main SWF tag:

<s:Application ... >
<fx:Style source="css/main.css" />
...
</s:Application>

[Code]....

And repeat for Button, TextArea, etc etc. I have so many useless warnings, it is impossible to see if there are any valid ones.

Is this warning caused by something I'm doing wrong? The styles are all being applied correctly and appears to work just the way I want at runtime.

NOTE: I've tried the -show-unused-type-selector-warnings=false compiler flag, and it does not work...that's for a similar but different warning.

View 6 Replies

Flex :: Security Sandbox Violation: Lack Of Policy File Permissions

Apr 15, 2011

I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- [URL] Also, the rossdomain.xml file is located in the root of the web app which serves the applet rather the web service; however, since the requests are proxied the url for the file is [URL]

[Code]...

View 1 Replies

Flex :: Disable Eclipse Warning About Generated Html?

Jul 25, 2009

When developing Flex projects, Eclipse gives warnings about the default index.html file generated by Flex Builder. The file is in the 'target' folder (or "generated artifacts" folder. Yes, I'm also using Maven). Can I eliminate or disable this warning?The code which generates the warning is below, though I would definitely prefer not changing the html - as I say this is the template suggested by Adobe. Eclipse warns of "Undefined attribute name (xxx)" for scroll on the body tag, and most of the embed attributes.[code]

View 1 Replies

Flex :: Unable To Bind Warning: Class Is Not An IEventDispatcher?

Apr 7, 2011

I am getting the error: warning: unable to bind to property 'Description' on class 'Object' (class is not an IEventDispatcher)

this is only when the data is bound to a List as an ArrayList, though. I had it in a Datagrid before (just as an Array) and it did not cause any issue. I'm not expecting to be able to bind any data back to the class 'object' not even sure which object exactly it's referring to.

My list data-provider is an ArrayList.. populated by a result event from an SQL query contained in another class:

private function loadDayComplete():void
{
var Meals:Array = _day.MealResults;

[Code].....

The day class I have is a data holder to get all the data (from several tables) for a 24 hour span.. I have classes for each individual datatype for editing them. But I'm not sure do I even need to worry about the warning if I don't plan on editing the values? it completely spams the console though whenever I touch anything, so I really would like to get rid of it. I tried an object proxy as I saw described elsewhere but nothing changed. The text is in label fields right now anyway, which can't even be edited.

View 2 Replies

Flex :: Warning: Failed To Place Object At Depth 1?

May 31, 2011

I am getting a warning when i run my application flash builder burrito.the warning is Warning: Failed to place object at depth 1.

View 2 Replies

Actionscript 3 :: Getting Actual Facebook And Twitter Profile Image URLS For Flex Security Policy?

Oct 25, 2011

I'm trying to display the profile images from both facebook and twitter. For facebook, the URLs I'm receiving are something like this (not actual urls):[URL]... Which is then redirected to the 'actual' url like this:[URL].. I'm also doing this with twitter, with the same issue (redirected url).

So, when I load the image, it loads fine. But when I close the container that the image is in, then I get the security sandbox violation. I can get this all to work if I add the URL from the 'actual' image url like this:

[Code]..

View 1 Replies

Xml :: Flex - Getting Warning: 3594: Parent Is Not A Recognized Method Of The Dynamic Class XML?

Jan 26, 2010

It's coming from this line of code:var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == nNode.parent().@question_questionID)[0];nNode is an XML node sent as an argument to the function this is called in. The code runs,and does everything expected but the compiler sends out that warning. Do I have some formatting issue?P.S. I've tried telling it that it's XML like this:var dropTargetXML:XML = XMLTemplate.template.component.section.question.(@question_questionID == XML(nNode).parent().@question_questionID)[0];

View 1 Replies

Flex :: Removing VideoDisplay In Flash

Nov 12, 2009

I have a videoDisplay object in a popup.When I remove the popup the video continues to play.How do I remove the videoDisplay object from memory?I have tried setting the variable to null but with no luck. I can just call the stop() function and forget about it but am wondering whether this won't come back and bite me.

View 1 Replies

Asp.net :: Asp Communication With Flex?

Oct 26, 2010

i was developed one .net application. It contains flash animation in one of the asp pages. And i need to write action script code for playing and pausing that swf file. I am using flex builder3. However how can i execute the asp application from flex builder? How can i load asp page into mxml file?

View 1 Replies

Flex :: Warning: Css Type Selectors Are Not Supported In Components 'sparks.component.TextInput'?

Jun 26, 2010

I am trying to do a simple CSS declaration. However, I got the warning above and not sure how to solve it. I thought s|(type) should declare the style for me

<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";[code]....

View 1 Replies







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