ActionScript 3.0 :: Using SWF For Photoshop - ExternalInterface Error

Nov 28, 2010

I'm using a swf in an ExtendScript for Photoshop. I've written this with CS3 on WinXP and it worked no problem. Now with Win7 and CS4, I'm getting the error:
Error #2067: The ExternalInterface is not available in this container.
ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. Is there some special ActiveX plugin for IE8 that I need? I've checked to make sure activeX control was inabled in my browser.

View 5 Replies


Similar Posts:


Flash :: Flex Sandbox Error On ExternalInterface

Dec 9, 2011

My Flex application generates a sanbox error SecurityError: Error #2060: Violation securtity sanbox : ExternalInterface file:///C:/Documents and Settings/test/Bureau/FPtest/4.5/flashProspectus.swf cannot access file:///C:/Documents and Settings/test/Bureau/FPtest/4.5/flashProspectus.html.

1) this works when I do publish it on the web, does not work when I open the HTML file as file://

2) params.allowscriptaccess = "always";

3) I tested with c:flashProspectus.html (to avoid having SPACES in the file path)

4) in my flex init, I added: Security.allowDomain('*');

5) in my flex init I got

[CODE]..

View 1 Replies

ActionScript 3.0 :: Error #2067: The ExternalInterface Is Not Available In This Container

Nov 14, 2011

I have following code:

import flash.external.*;
ExternalInterface.addCallback("asFunc",asFunc);
function asFunc():Boolean {
return true;
}

But I have received following error message:

Attempting to launch and connect to Player using URL C:UsersFarhan KhalidDocumentsFarhan KhalidProjectsResearch ProjectSlider Data CapturedmyMovieT.swf
[SWF] C:UsersFarhan KhalidDocumentsFarhan KhalidProjectsResearch ProjectSlider Data CapturedmyMovieT.swf - 2531773 bytes after decompression

[code]....

View 2 Replies

Javascript :: Error Accessing Class Variables Within An ExternalInterface Callback

Aug 28, 2011

Here's my actionscript (compiled with mxmlc, embedded into html, and the functions are called with js):

[Code]...

View 1 Replies

Javascript :: Returning A Byte String To ExternalInterface.call Throws An Error?

Jan 21, 2010

I am working on my open source project Downloadify, and up until now it simply handles returning Strings in response to ExternalInterface.call commands.

I am trying to put together a test case using JSZip and Downloadify together, the end result being that a Zip file is created dynamically in the browser, then saved to the disk using FileReference.save. However, this is my problem:

The JSZip library can return either a base64 encoded string of the Zip, or the raw byte string. The problem is, if I return that byte string in response to the ExternalInterface.call command, I get this error:

Error #1085: The element type "string" must be terminated by the matching end-tag "</string>"

ActionScript 3:

var theData:* = ExternalInterface.call('Downloadify.getTextForSave',queue_name);

Where queue_name is just a string used to identify the correct instance in JS.

JavaScript:

var zip = new JSZip();
zip.add("test.txt", "Hello world!
");
var content = zip.generate(true);
return content;

If I instead return a normal string instead of the byte string, the call works correctly.I would like to avoid using base64 as I would have to include a base64 decoder in my swf which will increase its size.

Finally: I am not looking for a AS3 Zip generator. It is imperative to my project to have that part run in JavaScript

View 2 Replies

Javascript :: Run In Flex Mobile Project - Error #2067: The ExternalInterface Is Not Available In This Container

Dec 21, 2011

From what Ive seen, most of the examples of using Javascript in Flex are designed for for the full desktop version (or for the browser) and not Flex mobile. For example using ExternalInterface in a Flex mobile project gives the error: Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. Is it possible to call Javascript (such as the Google Maps Javascript API) in a Flex mobile project?

View 1 Replies

ActionScript 3.0 :: Cannot Use MSN - Error "Security Sandbox Violation: ExternalInterface"

Oct 30, 2011

I have a problem with ActionScirpt. When I log in to MSN, it displays me an error: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller at flash.external::ExternalInterface$/_initJS() at flash.external::ExternalInterface$/addCallback() at user_data_fla::MainTimeline/frame1() it makes using MSN impossible. The problem has been from the very beginning, and my computer is just a week old... I'm not really sure if I have ActionScript 3.0 or ActionScript 2.0 but it's a new computer with Windows 7 Home Premium 64-bit.

View 1 Replies

Possible To Import Photoshop Files?

Apr 24, 2009

I am updatig a site for a friend and I need to change the images. I was sent some "elements" that contain what looks like the entire web page. How would I go about importing these and editing their layers so that I can make them into links, etc?

View 1 Replies

Made A Part With Photoshop?

May 13, 2009

I'm constructing a site, at least I'm trying :P I made a part with photoshop but now I'm continuing in iweb because I thought oh it's ease to insert a photo page, because that's the only reason. I'm a little bit a noob in html and php and so on and also in flash so that was the solution at least that was wath I taught... :roll: this is how it looks in iweb:that is how it should look on the internet, it does as you can see here:but when I click on a picture to enlarge normally you should get a nice screen but I have this:As you can see that is a problem, everything moved and so on

View 1 Replies

ActionScript 3.0 :: Best Mouse To Use In A Photoshop?

Sep 4, 2009

What is the best mouse to use in a Photoshop?

View 2 Replies

Professional :: Photoshop To Animation?

Feb 27, 2011

I've made a Japanese image in Photoshop and it was going to be just a stand stil image, but since I've added a Hue/Satuaration layer and think it looks pretty damn awesome when I slide through the bar from left to right I want to make it into an animation or GIF.I notice you can make the image or PSD layers a graphic or movie clip and change it in the Advanced options for colour effects, but this isn't like a hue/ saturation edit.Is there a way in Flash that I can add a Hue/ Saturation layer to ALL layers or at least, that affects all layers? I've got a Hue/ Saturation layer in PS and saved that way but it doesn't show when in Flash, so is there a way to add this?

View 1 Replies

IDE :: Masking In Flash Like In Photoshop?

Apr 7, 2009

Is there a way to make Flash work with masks in the same way as in Photoshop?In Flash, for a mask layer to work, it needs to be in shades of transparency.In Photoshop, you can use a fully opaque mask layer, and the mask is applied by using the different shades of black and white.

View 1 Replies

IDE :: Importing Images From Photoshop?

Sep 8, 2009

I'm trying to import images from photoshop into flash but they're not the right size. I've created both documents size 720pix X 560 pix, but the size/shape of each document does not ever match

View 1 Replies

Photoshop PNG's Get Brighter When Imported Into Flash CS4?

Jun 9, 2010

Why do my photoshop saved PNG's get brighter when imported into Flash CS4. This is annoying me to the extreme.

View 2 Replies

Importing Logo From Photoshop To Flash

Jun 12, 2011

I wanna import like a logo and a few other images which I want to have a transparent background. I understand save it as a png and click interlaced. But when I import it into the flash as a png the quality of my image is seriously reduced. How to import transparent images into flash as say jpg quality.

View 1 Replies

URLLoader Not Working In Photoshop Panel?

May 7, 2009

I have started creating a panel plugin for Photoshop, but I seem to have run into a road block. I am using a simple URLLoader to grab some info from the internet, but when I load the plugin it never seems to be called nor does it fail. Here is an example of what I am trying to do.
 
var url:String = "http://www.mySite.com/page.php";var urlR:URLRequest = new URLRequest(url);urlL = new URLLoader();urlR.contentType = "text/plain";urlR.data = "var=something";urlL.addEventListener(Event.COMPLETE,

[Code].....

View 2 Replies

Flash :: Photoshop CS4 Open Simultaneous?

Dec 17, 2009

I am running Window 7 64 bit with 6 gb of RAM, two E5520 Xeons, two 10k raptors, one 320gb HD, and a ATI FirePro V5700. Brand New machine and a Fresh install of windows.
 
Everytime Photoshop CS4 is open it will cause Flash Cs4 to Crash. I can work in Flash without any issues until Photoshop is opened. Flash will usually crash in under 5 min with Photoshop open. I have tested this over and over and it is Photoshop causing Flash to crash. Does not matter whether I am running the 32 or 64 bit version of Photoshop. I am starting to believe it is a memory issue but I am not sure or how to fix if it is.I have tested the memory and it passed all tests. This is really killing my production time.

[Code]...

View 2 Replies

Flash :: Create In Photoshop To Be Transparent?

May 20, 2011

How do I get graphics I create in Photoshop to be transparent in Flash?

View 1 Replies

Javascript :: Generate Graphics Into Photoshop ?

Apr 20, 2010

I've a text file with content like this:

id, pixelsize, color, text
block1, 200x60, black, Header
block2, 200x180, white, Body[code]....

I want to generate a psd file which would generate a 3 vertical block graphics (like this) after parsing the given file. All the blocks are placed vertically on top of each other. Convert this psd file into PDF automatically using the script.Automate this whole process without opening photoshop. Is it possible?

View 3 Replies

How To Import Photoshop Shapes In Flash

Sep 14, 2010

I'm looking for a method to import Photoshop shapes intro flash. I want to import them as vectors not bitmaps. Is it possible?

View 2 Replies

Photoshop :: Image Quality In Flash?

Mar 26, 2012

am using Flash CS5 and Photoshop CS3. The issue I am facing is while exporting from photoshop (optimized for web and devices) as png-24 , most of the images lose their quality inside flash. I have tried to make the publish settings for image quality 100. On lossless compression of the images, the image gets blurry. The total quality of display is highly degraded in flash in comparison to that of photoshop

View 1 Replies

Make A Rounded Corner Box In Photoshop CS?

Nov 3, 2005

How do I make a rounded corner box in Photoshop CS? I don't want to "feather" it because that makes it blurry. I just want rounded corners.

View 9 Replies

IDE :: Importing Photoshop Files Into Flash?

Mar 25, 2010

Well I have been having a major problem for the past four days. I imported 1 photoshop file into flash, everything was okay. I tried to import the others and an error message appeared stating that flash has crashed and has to close unexpectedly. I've re-installed flash and it does the same thing- so I know that isn't the issue. I have used other computers and it is still the same. I have been racking my brain everyday trying to figure it out. I checked the file sizes and they aren't that big and I compared them to other photoshop files I've imported and they are roughly the same size.

Also other photoshop files import, but the ones I actually want to use do not work at all. There is no way I'm re-designing 10 photoshop files!!

By the way when I saved some of the PSD files there was no extensions on the files, so I had to add them afterwards.

View 2 Replies

ActionScript 3.0 :: Looking For Colorize Effect Like In Photoshop

Apr 1, 2011

So I've looking for a colorize effect like the one in Photoshop but the ones I find (like greensocks ColorMatrixFilterPlugin and M Klingemans ColorMatrix) doesn't work the same way. In Photoshop, blacks and whites are preserved, and full color is mid grey, meaning a gradient from white to black colorized by red will go from white, to full red, to black. But in the AS3 versions, white is full color, meaning the same gradient will go from full red to black. This means that a colorized photo will get much darker than the original since you loose all the white. I've also seen functions doing the opposite, where black gets full color, meaning they will be brighter than the original. Any info, If there exist an AS3 colorize version that works same way as the Photoshop one?

View 1 Replies

Importing Photoshop Image Into Flash Without Discoloration?

Aug 13, 2009

I just put together a banner image in photoshop that I would like to import into Flash and put a small navigation menu at the bottom but whenever I use the import to stage feature I am getting a large amount of discoloration in the image.  I've tried saving it as a .tif and .png but both came out looking poor. Attached is an image to show what I mean.

Attachments:

Picture 2.png
(1.1 MB)

View 4 Replies

Flash :: Compatibility Of CS4 With Photoshop/Acrobat/Illustrator CS2?

Sep 26, 2009

I happily use the CS2 suite.  I would like to buy and use Flash CS4 (unless CS2 is still available).  Will I have compatibility problems?

View 1 Replies

Professional :: Imported Photoshop File Exported As?

May 27, 2010

I've imported a multi-layered Photoshop file (that contains layers with elements smaller than the project size... so each layer is alpha with an element floating somewhere on the canvas.I was pleasantly surprised to see that it not only imported into Flash CS3, but also kept all the alpha and successfully exported as a Flash file with the alpha (of each layer) intact. I didn't think it would be able to do that!Anyway, the one thing that concerns/interests me is whether whatever it's doing is compatible on all systems that it'll reach.  At first, I thought it was converting each layer into a PNG file, since (to the best of my knowledge) jpegs dont' support transparency, and the layers were not converted to vectors.

So, what exactly IS it doing to each layer?  What is it exporting them as?  How compatible is that on other systems (browsers, O/S's, etc) these days?  Also, are PNG files now fully supported in all browsers and systems?I'd hate to build my whole site, only to find that it's not compatible on some other system....Bit of back story...  I'm creating a multi-layered interface (background, then another level with some random loaded swf file, then the 'moving stuff' (nav buttons, titles, etc), and then an odd shaped frame on top of that.  Previously, I did it by making everything with Flash vectors... but this time, I tried making all the elements/layers in Photoshop with just bitmaps (rather than vectors), as I wanted a bit more detail.

Originally, I was considering vectorizing them, so it would be all vectors and no bitmaps.... but with all the gradients and details, they would be an inefficient nest of vectors.... quite a mess.So, then I considered doing most of the screen as a bitmap background image, and putting the 'moving stuff' as vectors on top (...and perhaps use masks so that they appeared to go behind the frame and foreground items... but I was worried that (on perhaps other systems or configurations) the image and the vector matte wouldn't align for some reason.

View 2 Replies

Professional :: Loading Image Into Flash From Photoshop?

Jun 9, 2010

I am creating a plug-in for photoshop using javascript. I am trying to display a photo within my flash plugin window, but when I pass the address of the file to the mxml code, it uses a home directory indicator, and not a full file path.For example:C:Users***DesktopPicspicture_name.jpgis passed as ~DesktopPicspicture_name.jpgAnd the mxml can't find that file because it is not in full path format.

View 2 Replies

ActionScript 3.0 :: Making A Zoomer Just Like Navigator In Photoshop?

Aug 4, 2010

http://www.auktionsverket.se/dbk/rdbk_oversikt.asp?d=2010-06-04&at=k&s p=en&bm=E006&id=2855&snr=0
Click on any image, then one popup window will open, then click on "zoon in" buttton then

[code].....

View 8 Replies

Professional :: Import Animation Layers Into Photoshop?

Sep 21, 2010

ive made a nice animation(tween)with a bubble ,but id like to import it into photoshop so the frames cane be on seperate layers.is there a way to do this?

View 14 Replies







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