ActionScript 3.0 :: SWF Communicate With Internet Enabled Location
Aug 26, 2010
I have a SWF, that calls a php script. I set the requestMethod and variables etc.. everything works fine and I get the returned data from the php script. But, this only works when running the SWF inside of flash. When I run the SWF by itself, I get the Adobe Flash Player Security warning message, which says that the SWF in trying to communicate with Internet Enabled location 192.168.0.201. (this IP is specified in the URLRequest). I click settings to go the the adobe page and allow the location/domain. This doesn't seem to work. I have tried the crossdomain.xml and Security.allowDomain(). Nothing seems to work!
View 2 Replies
Similar Posts:
Nov 4, 2011
My program running in web browser. I dont have internet connection. How can i call Javascript functions.Also not working ExternalInterface.
View 11 Replies
Mar 6, 2006
At the end of the movie I would like to check if the user is still connected to the Internet (they maybe on an unstable dial-up connection and lost connection). Is there anyway to do that? I mean, is there a way to check if a user is connected to the Internet using ActionScript?
View 4 Replies
Apr 27, 2009
I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.
View 16 Replies
Aug 21, 2011
I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
View 13 Replies
Feb 16, 2005
How can I move my MC from one location (x, y) to another location (x1, y1) wirh action script..?.. and I would like to have my motion tween rounded to (x,y) so it will look sharp.
View 8 Replies
Feb 22, 2012
I have this application that consists of two phases. Queuing phase and chatting Phase.The chatting uses UDP (a flash-app).So before the user enters the queue phase I want to check if UDP traffic is possible.I could do this both in the ASP.NET app (that wraps the flash-app) or in the flash-app.I'm not sure on how to do this in either of themMy initial thougth is to connect via UDP to some tiny webservice a server, but is there an easier way of doing it
View 1 Replies
Oct 13, 2007
Ive tried using <b>, <strong>,<bold> etc..nothing happens My text field is 11pt verdana, bitmap text, HTML enabled.
[code]...
The text is showing up fine, but no tags are being enabled. Here is an example node that I am loading in.
[code]...
View 8 Replies
Sep 28, 2009
I tried using a .enabled = false; when I already had a click event on that movie clip. I found that you need to remove the eventlistener instead of making enabled false.Why doesn't enabled work when you have event listeners?I'm really more curious than in need of an answer since removeEventListener worked fine.
View 2 Replies
Mar 4, 2003
in the attached file there are 2 MC, I want to activate the ball_mc only when I�m over other MC. I tried multiple things but I can�t manage to find what is the problem.
View 2 Replies
Nov 20, 2009
I have a button on the stage that when it is clicked I want to disable it until an animation is done playing then re-enable it.
Code:
button.addEventListener(MouseEvent.CLICK, onButtonClicked);
function onButtonClicked(e:MouseEvent):void {
[code]....
View 2 Replies
Jun 11, 2010
What will my movie clips not disable here. They are still clickable? I get my trace 24 times. what am i doing wrong. I have 24 cards all named card0_mc - card23_mc
code:
function disableCards() {
for (i=0; i<24; i++) {
trace("in here");
this["card"+i+"_mc"].enabled=false;
}
}
View 1 Replies
Sep 23, 2009
when I enable my Adobe Shockwave Object my screen will flicker when i move the mouse around the screen. I have uninstalled it and reinstalled but it didn't work.
View 1 Replies
Oct 18, 2009
I have the following situation
MainMove.swf is doing a loadmovie of SecondMovie.swf
The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
on (release) [code].........
How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf?
View 2 Replies
Apr 16, 2010
i have a 3 buttons in library i need: if i click to 1button i see 1mc but can not click to 2button and 3button, just after i close 1mc i can click to 2button and 3button, and sure for 1button again why its not working in my example?
[Code]...
View 6 Replies
Sep 9, 2010
[URL]Looks like we are going to be able to develop and distribute native iPhone apps with CS5 after all!
View 2 Replies
Apr 7, 2011
Got a button (imported png defined as a button in the library).The button is dragged onto the stage, given an instance name "btn".Clicking the button fires an eventListener which is doing all the right things, except...
btn.enabled = false;
...only changes the cursor from a pointing finger to an arrow. What?! It is still clickable.My intention is to disable the button so it cannot be clicked. But it can still be clicked. Not good.How do I disable a button and prevent it from being clicked?
View 1 Replies
Dec 11, 2009
It is possible to enabled hardware optimization (wmode) from haxe?
View 1 Replies
Jun 15, 2010
I want to make a button disabled if a datagrid is empty and it should be enabled when there is atleast 1 entry. The entries in the grid are made at runtime. I tried this this is the button:
<mx:Button id="update" label="Update Contact" enabled="{isButtonEnabled()}"/>
And the function is defined as where dg_contact is the datagrid:
public function isButtonEnabled():Boolean {
if(dg_contact.selectedIndex==-1) {
return false;
} else {
return true;
}}
View 1 Replies
Nov 27, 2010
Flash has the ExternalInterface class which can communicate to JavaScript running in the browser Can you use the ExternalInterface.available property to check if JavaScript is enabled?
View 2 Replies
Aug 7, 2011
I've put text in TextField, set Z coordinate to enable 3D, and placed object close to the screen plane. Text quality is very bad. Is there any way to force Flash draw proper vector text? Fonts are embedded, so it's not a problem.
View 1 Replies
Mar 1, 2010
I'm trying to set the rtBtn to 100% alpha after the tableButton has been pressed by the user. Currently rtBtn is living on the stage and set to 25% alpha. I've gotten all the other parts of this code to work, except the color transform. I imagine I'm declaring it improperly.... any suggestions? Originally I was trying to apply a tint, but that seemed to be only AS 3.0?..[code]
View 2 Replies
Oct 27, 2007
I got a problem while making a fullscreen enabled flv player.I developed a player which will got to fullscreen but the problem comes when the monitor is wide. There comes blanh space left and in the right side of the video.
my code is like this
function goFullScreen() {
Stage["displayState"] = "fullScreen";
flvplayer._width = 600;
flvplayer._height = 450;
[code].....
flvplayer is the movieclip which contain the video.
View 4 Replies
Jun 10, 2010
i dont know how to validate enabled input field by a checkbox.
I got 4 checkboxes each of them enabling/disabling its own input field when checked/unchecked. This for a little explanation of the user's choice. So i need to validate if the enabled input text has some text in it, if not, restrict the submit of the form (by button).
I tried something like this:
Code:
} else if (checkBox1_txt.enabled = true || checkBox1_txt.text ="") {
status_txt.text = "Please, explain your choice";
[Code]....
View 1 Replies
Jul 28, 2011
I made an AIR app and enabled it so the user can move it around the desktop where they want. One problem is on a page of textfields, if the user tries to select text (click, drag cursor to select the text) the app drags instead.
Any easy solutions other than having to set up listeners for every textfield and "interrupting" dragging?? (AIR 2.7)
View 1 Replies
Mar 26, 2009
I am loading text dynamically into some dynamic textfields. The text I am loading into them overflows. How do I make the textboxes vertically scroll enabled?
View 1 Replies
Oct 7, 2009
I'm currently learning Flex, and am having the hardest time getting scroll bars to work. In short, I'm making a giant form for users to fill out, contained within a viewstack component. The user will type up information in one view, and it will be displayed in the other. But right now in the first canvas I have components that run off the screen and flex doesn't automatically add a scroll bar, so I added 'verticalScrollPolicy="on"' to my canvas. Now, while it gives me a scroll bar, it gives me an empty scroll bar. I still cannot move it up or down, meaning components are still trapped off the bottom of my screen. Am I missing something simpleEdit - I'm using Adobe Flex Builder 3, and the components it lets you drag in. http://img12.imageshack.us/img12/218/problem1f.jpg This is a picture of the problem, and i guess relavent code would be.
<mx:Application xmlns:mx="adobe.com/2006/mxml" layout="absolute" width="830" height="835">
<mx:ViewStack x="10" y="72" id="viewstack1" width="790" height="751" >
<mx:Canvas label="Design Mode" width="100%" height="100%" verticalScrollPolicy="on"
[code].....
View 2 Replies
Feb 22, 2010
If I'm loading images via the <img> tag in a dynamic text field and an IOError is thrown, what would I attach the event listener too? the text field?
I tried this...
var textField:TextField = new TextField();
textField.htmlText = "here is some text <img src='image.jpg'> and then some more";
textField.addEventListener(IOErrorEvent.IOError, function (e:Event):void {
trace("error caught")
});
to no avail...
View 3 Replies
Nov 10, 2010
I have a list that uses a checkbox itemrenderer. The dataprovider is a collection of people. When I load the data from a file, each list item shows the person's name (last, first -- labelFunction), and the checkbox's selected property shows the person's included property. I.e.,Smith, Doug - [x]Williams, Bob - [ ]orris, Anne - [x]However, each person also has an active property. I want to disable the checkbox for people who are inactive (meaning, "you can't include inactive people").to do the same thing in a datagrid. However, none of them work and all the checkboxes are enabled regardless of the person's active status. Here is my basic code:
<mx:List id="peopleIncludedList"
dataProvider="{someProvider}"
labelFunction="peopleLabelFunction">
[code]....
View 2 Replies
Jan 26, 2011
if mouse events are used instead of touch events on touch enabled devices, does that limit "touch" input to one touch at a time.
if a mouse down event is currently in progress will a following mouse down event simply not register or cancel the previous?
how are mouse events, historically used as single control pointers on desktop systems, handled on touch enabled devices capable of several simultaneous touch points?
event classes have a clone() function typically used to fire multiple events, so i'm assuming MouseEvent is not limited. however, my goal is to actually limit my application to one touch at a time (exclusive touch), but i'm not sure if this will be automatically handled with the use of mouse events.
View 1 Replies