Professional :: Flash Not Recognizing Domain Without Www

Feb 12, 2011

I've built a flash application on which I've created a webservice client to consume a dotnet service. when the full domain ex: www.yourdomain.com is used to load the site (primarily html and asp.net code with just a flash client) everything is fine. If I load the website using just... yourdomain (no www) then the flash interface activates but never returns a response. I've tried loading a cross domain policy file to see if that could be the issue to no avail. So far no www flash bugs are turning up as a common issue on Google, maybe I'm not using the right key words?

View 1 Replies


Similar Posts:


Professional :: Flash Cs5 Not Recognizing Type1 Fonts?

Sep 12, 2010

i'm fresh to using flash cs5. everything works smoothly,but i can't use type1 fonts (even though they work ok in flash cs3, and also, all the other types of fonts work fine).if i use a type1 font, the textfield (both render in the final swf, as well as on the stage) appears in some default font.

[Code]...

View 1 Replies

AS3 :: Professional - Auto-Format Not Recognizing Comments

Dec 12, 2011

Something is corrupt with my Flash Professional CS5 Actionscript Auto format: Comments within a block, such as ' // ' or block comments ' /* ... */ ' are tripping up the Auto Formattor, which returns this error: ' Error with autoformat near line: }'. Comments before package block don't cause an error. When I remove comments within package block, Auto format works correctly.

View 2 Replies

Professional :: Jigsaw Game: With Instances - Isn't Recognizing Symbols

Jul 31, 2011

I am trying to make a simple jigsaw game, I have copied the code but it isnt recognising my symbols. Is this an instance-naming problem? [URL]

View 7 Replies

Actionscript :: Moving A Web Application From One Domain To A New Domain Flash/Php/MySql?

Jun 3, 2011

I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?

View 3 Replies

Actionscript 3 :: Let Run Flash-app Only On Page(domain), Not Local And Not On Other Domain?

Dec 9, 2011

I created some game and would like to let the users play it only on my domain, so to forbid to play it offline or put on some other site. Is there a way to do it? Somehow check domain or so?

View 1 Replies

Professional :: Flash 10.1 Update Kills My Cross-Domain?

Jun 16, 2010

The update to Flash 10.1 kills my cross-domain. Formerly, my file looked like this:

<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy>[code]......

I updated to this based on what I read on this site:

<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM [code].....

We are using SAP Business Objects Xcelsius, which creates the .swf file that users are using to access our environment. So, I do not have any control over the code base itself.

View 2 Replies

ActionScript 3.0 :: Flash Isn't Recognizing A Function?

Mar 13, 2010

So I have a Clef class:
 
package Clefs
{
import flash.display.MovieClip;
import flash.ui.Keyboard

[Code]....
 
Yeah, I have no idea why it thinks getNoteCode isn't a function. For the record, I'm coming from AS2. I don't like that I can't give linkage instance names to objects in my root .fla - that was handy.

View 16 Replies

Flash :: Recognizing Instances Placed On The Stage?

Jan 16, 2012

I'm working with Flash Builder 4.6 as an IDE and Flash CS5.5 to create library items. The problem is - when I put an instance of a library item on the stage or inside of another item, Flash Builder fails to detect the instance name that was declared in Flash CS. This doesn't prevent the code from compiling just fine though.

I understand that the IDE only sees the fields that I have declared directly in the .as file, but it really hinders me that I the IDE goes crazy when I do this.

Is there any way to circumvent this - other than dynamically creating and placing the instances?

View 1 Replies

Actionscript 3.0 :: Flash CS5 Not Recognizing Or Seeing File

Jul 8, 2010

I have recently been given an Actionscript framework that was developed in Flash CS3 or CS4 and it compiles fine in Flash CS3 and Flash CS4. I am now working with Flash CS5 and do not have CS3 or CS4 installed. When i compile the files in Flash CS5 it throws an error and does not properly compile. It appears that Flash is not recognizing one of the AS classes in one of the directories within the framework. Has anyone experienced this with Flash CS5. These files worked fine in Flash CS3 and CS4 but I can't seem to figure it out for CS5; is there a setting or config option I am missing?

View 4 Replies

ActionScript 3.0 :: Post The Code For A Working Cross-domain Securityfile That Allows Access Only From The Same Domain?

Jun 1, 2010

post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..

View 3 Replies

Media Server :: Videos Start Immediately In Domain, 20+ Sec Delay Outside Domain

Apr 23, 2009

We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
 
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.

View 14 Replies

ActionScript 3.0 :: Flash Not Recognizing AddChild Command, Errors Not Going Away?

Aug 13, 2011

package{  import flash.display.MovieClip;public class Main extends MovieClip  { var startPage:StartPage public function Main() { startPage = new

[code].....

View 2 Replies

Actionscript 3 :: Recognizing Set Width/height Of Flash Cs5 Component?

Feb 28, 2011

i have a class, that extends Sprite and i want to build a Flash CS5 component out of it (using the component panel in Flash CS5, so some designers can benefit from it).

The specialty is, i am overriding the setters/getters of width/height and also scaleX/scaleY of my component, because i want to do some special stuff there, but of course i still call super.width, ... and so on.

So, i set up everything, drag an instance on the stage at author time, resize it to my needs. But at runtime now, i had to find, that neither my overridden width or height setters, nor my overridden scaleX / scaleY setters are ever called.

Still, my component got resized. So i ask myself, what is Flash CS5 doing to change the size of my component, if it is not using width/height or scaleX/scaleY? Everything else works as expected, i have some parameters, which i set to inspectable and i can set them in the panel in the flash IDE, it just works fine. Only my overridden setters are not called.

View 1 Replies

Professional :: Bypass The Cross Domain Xml?

May 1, 2011

What my swf (on mysite1.com) need to do, is that POSTing some php values from mysite1.com (paid hosting) to a file on mysite2.com (free hosting) and get the 100% of the html response. I've started this project in AS2 but I couldn't find a function that get the source of a website, so I recreate the project in AS3 with URLRequest and URLLoader. Everything went fine, I've finished the project, uploaded the file, and there comes the cross domain problem. I can't upload/modify any file on mysite2.com because I can only add pages/posts (like a blog).  I've read at least 20 forums about this, but can't find the solution.

I know (from the manual) that in later versions of flash and/or AS, the swf file asked the user for permission (like now for the webcam). Is there a way to do this in as3 or any way to bypass the need of the crossdomain xml file? If no, what is that older flash version that can do this permission request or that don't need that xml, (but still can post to php files and get the whole response).
 
I'm really upset, because I worked a lot of hour on this, and I was so happy that I could finish it, but I didn't know that there is such a big difference in security between local and online swf files.

View 4 Replies

IE Not Recognizing Post Data Using LoadVars From Flash Inside A Frameset?

Sep 16, 2010

This code is being run from a frameset in IE8. When the new window is opened, the form data is not being recognized. It appears that the http header, "content-type: application/x-www-form-urlencoded", is not being passed into IE and this is causing the post data not to be processed. The data is there, IE is just doing nothing with it.

This code works fine in FF and Chrome, and in fact the correct headers are passed in FF and Chrome.

NOTE: The new page is on a different site, but i don't know why that would cause a problem with a POST and not a GET.

Flash code:

varSender = new LoadVars();
varSender.title = _parent.tCourseTitle;
varSender.notes = input_txt.text;
varSender.send("http://example.com/notes/print.cfm", "_blank", "POST");

I have tried adding the header to the send request, but that has no effect at all. The contenttype header is still missing and it still works everywhere but IE.

My current work around is to use a GET instead of a post, but that's ugly and it limits us in the size of data we can pass but for now at least it works.

View 1 Replies

Professional :: Cross Domain Retrieval Of Xml Data?

Jan 12, 2010

Question: How do I create the ability to load a xml file from another domain?
 
For example, I am creating an embeddable video player that will play on the domain which the xml file resides and also embedded on other sites. I am to the point where the video player completely works on the domain that the xml file resides and when I embed it on another domain, the .flv plays but the xml data will not pull.
 
FYI, I have complete access to the domain where the xml file resides.
 
Here are some snippets of security settings that I have been trying to get to work:
 
Code from Player:
System.security.loadPolicyFile(domain + "data/crossdomain.xml");
Code from "data/crossdomain.xml":
<?xml version="1.0"?>

[Code].....

View 2 Replies

Professional :: Cross-domain-policy Is Not Working?

May 18, 2010

I'm getting an error:

Error #2048: Security sandbox violation: http://www.m.com/p/bin-debug/main.swf cannot load data from http://rateservice.m.com/rateservice.svc/.

My cross domain file at http:[url]....

<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*.m.com"/></cross-domain-policy> 

using m as alias . how I'm gonna fix this as it should work. I done a firbug test and the cross domain is being found by lash in firebug

View 16 Replies

Flash :: IDE - Website + Not Recognizing Frame Labels / Stop Action - Plays Through Timeline

Mar 14, 2009

I have built a couple of sites in Flash, however, I have a problem with a current site I'm working on. My client wants various photos to fade out in a "checkerboard" fashion, which I am doing via its own movie clip and adding in the appropriate area on the main timeline. However, when I add a blank keyframe on the following page to add a new movie clip (with the next set of pictures, the timeline starts playing through the entire website, not recognizing stop actions or frame labels.

[Code]...

View 1 Replies

ActionScript 2.0 :: Cross Domain SendAndLoad Via Cross Domain Script

Nov 5, 2010

My swf works fine when previewed locally but because of flash cross domain issues (link below) doesnt work live. [URL] Ive used a 'crossbrowser.php file to .load in xml but am not having success with the sendAndLoad command. [URL]

View 3 Replies

ActionScript 3.0 :: KEY_UP Not Recognizing ?

Mar 7, 2011

I have a typing game and I want to be able to detect period and commas, however unless you are holding down another key (any other key), the period and comma keys do not trigger KeyboardEvent.KEY_UP.  I found that sometimes they would work when focus was set to the document class.  After hours of debugging my game trying to figure it out, I decided to create a new project to JUST test this problem.  Here's the absolute barbones example:
 
package
{
import flash.display.MovieClip;[code]..............
 
If you run this, it should automatically set focus to the document class.  At this point, the period and the comma do not work.  Now click the stage and you will find that the comma and period do not work UNLESS you hold down another key (for example hold down the m key and then press the comma key).  Also at this time, focus is set to null.Now click the textfield, and the comma and the period work again.

View 1 Replies

ActionScript 3.0 :: Recognizing ROLL_OUT?

Jan 13, 2011

I'm programming a Flash-based site designed by the client. The trouble is the SWF dimensions are small within the HTML page, and the thumbs show the larger images on roll over. The large images are meant to disappear on mouseout, but it's easy to move the cursor too quickly for the mouseout to be recognized -- so the image gets stuck on screen.

View 3 Replies

ActionScript 2.0 :: Recognizing The 'end' Of An Array?

Mar 5, 2010

Code:
SetNextProject = function () {
i++;
ProjectPreloadB(currentArray[i]);

[code]....

The point of this code is to make button mc_arrowF go away when the end of the array is reached. Its BASICALLY working, however when i load, say currentArray[18], the end of the array, the button doesn't disappear until i press it again. Basically, the button doesnt disappear until currentArray[19]... even though currentArray.length=18.

View 1 Replies

ActionScript 3.0 :: Recognizing Picture In Textfield?

Jan 18, 2010

is there away to reconize a picture in a textfield I want to heighlight the picture when it is pressed

View 3 Replies

ActionScript 2.0 :: Recognizing Individual Frames?

May 27, 2010

I need a way of recognizing what weapon is currently being held.The way the weapons works is it is a movie clip, with multiple frames, each with a different weapon, and each weapon has a different minimum/maximum damage they can do. How can i make a code that recognizes which frame the weapon movie clip is on?

View 6 Replies

ActionScript 2.0 :: Recognizing And Using Decimal Places?

Apr 29, 2008

I would like to put in 250.00 as an amount and with all the other calculations I would liek that decimal place to be recognised and then in the final calculation that decimal point is displayed correctly, but it doesnt. If there is a simple reason for this then great, but if you need screen schots, fla the action script

View 1 Replies

Flash :: Getting Domain In AS3?

Jan 17, 2010

I know how to get the URL of the page, but how can I extract simply the domain and the domain alone? It must return the same value with or without www, and it must also return the same value regardless of file, with or without trailing slash, etc.

So[url].... would return [url]...., and [url]......... would return the same as well.Is this possible?If so, is there a way to do it without calling ExternalInterface.call('window.location.href.toString')?

View 2 Replies

ActionScript 3.0 :: Recognizing Key Presses Without A Mouse Click?

Dec 15, 2008

My program beings with a frame with a "play" button on it. Once he "play" button is clicked the user is taken to the second frame to play a game. Control for the game is done via key presses. The control works well; I'm able to move the sprites and so forth. However, my problem is after the user clicks "play" and is taken to the second frame the game will not recognize key presses until the user has clicked the applet again. How do I get the game to recognize key presses automatically after the user has clicked "play"?

Here is the code I use in the second frame to listen for key presses:

View 2 Replies

ActionScript 3.0 :: HitTestPoint Not Recognizing Full Shape?

Nov 20, 2011

why "hitTestPoint(character.x, character,y, true)" would be hit testing off the origin point in the center of the character, and not the whole shape??

This is my code from my document class.  There's a custom splat class in there, but don't worry about that. This code is inside 2(1 nested) for loops.
 
function hitTestBalls(e:Event) {
for (var i = ballArray.length - 1; i >= 0; i--) {
for (var m = MonsterArray.length - 1; m >= 0; m--) {

[Code]....

View 3 Replies

ActionScript 3.0 :: Package Not Recognizing List W/instance Name?

Jul 13, 2009

I have an .as package that I have attached to a simple .fla with a List component and named it list. I have done this in an earlier document that I built using a tutorial and it worked then. Now I am getting an error:1120: Access of undefined property list.This is something that I've seen a thousand times when I forget to give something an instance name, but this time I have not forgotten. I've double and triple checked. The .fla file is just a document with a list component on it. It will be getting its data from a html page via javascript. Here is my package:

ActionScript Code:
package {
import flash.display.MovieClip;

[code]......

View 0 Replies







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