Actionscript :: Won't Import And Open
Sep 22, 2010When i try to import a swf that contains actionscript it wont import and open
View 1 RepliesWhen i try to import a swf that contains actionscript it wont import and open
View 1 RepliesI'm trying to set up a button that will open a dialog box, let me browse to an image on my hard drive and display it in my swf. Has anyone seen an example of this before? I've been having a look at fileReference but don't think it's what I need.
View 5 RepliesI`m using flash cs3 for my works , but i have one problem!when i use File=> Import=> Import to Library... or Import to Stage...the flash environment becomes terminated.I changed my flash version to CS4 and I have this problem again.
View 2 RepliesAnyone can show me how to insert or import a swf file into fla template file.I have a temple FLA file open and after import a SWF file , run test and the swf is not working.
View 2 RepliesThe "import "Player.as" line throws the error: 1084: Syntax error: expecting rightbrace before semicolon.
package {
import "Player.as"; //ERROR
import "Card.as";
public class Game {
I was going great with Flex, until I tried to split up my code into separate files. Now I'm struggling. Here are my files and their dependencies:
[Code]...
So I tried to code something in AS3, it works technically, but not so smoothly. Try opening the three graudge doors here: [URL]..
They don't relly want to open and seem to open when the mouse moves out of the movies clip which is not how it's programmed:
[Code]...
My query is how would I open windows open or save as dialog box through flash?
View 2 RepliesI need to made a Browser windows before that i open the Flash movie, like this one: [URL] So i need somme kind of pop up to run when somme one opens the site, and then see the movie.
View 6 RepliesI'm having problems getting the tutorial to work so I decided to look at the source fla. But the Source file won't open on my computer, get the message "failed to open document".
View 3 RepliesMy CS5 flash crashed when I changed the name of the root folder while it was open. Swf is working fine, but .fla file wont open, I get a "Failed to open document" message. This is a disaser because I've lost two days of work. Is there anything that could be done to fix this problem?
View 2 Replies1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
[Code]...
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
Is there a way to open the "open file dialog box" in a swf using javascript.
The swf is on a webpage.
Actionscript 2
main.swf (size = 800X600)
small.swf (size = 300X255)
How can I insert this "small.swf" into my page, the result I want is "small.swf" will show within the main page?
I tried the code below, but it just show "small.swf" outside the page, i can't see my main page.
Code:
onClipEvent (load){
_root.loadMovie("small.swf");
}
how can i import a AS2 SWF (contact form) into a AS3 .fla project?
Whenever i try to import, i get a bunch of grouped bitmaps on stage,.. When i publish to preview, there is no motion, no nada, as there is no code as only bitmaps are imported..
Is their a way to import a swf file into PPT? I haven't used PPT in a while, so wasn't sure.
View 3 RepliesI'm almost too embarrased to ask about how to import a text (.txt or .doc) into Flash but how?I've been working on the computer too long since 8:30 this morning or maybe I've worked in Illustrator, InDesign, Photoshop for 20+ years and know them inside and out but am still learning the different ways that Flash handles things.
View 7 RepliesI already Import PSD layers into the Flash CS3 project. But it Imported as a PNG image and not a vector shape.I am using it in a web page and Its size is not suitable for fast loading.
How can I import PSD layers to the flash projects as vector shapse?
I have some .MOV files I'd like to import into Flash, but whenever I impot them Flash freezes up.
By the way, I use Flash 8 Professional.
I wanted to know, is it possible to import swf. webpages in Adobe Flash and then turn them into JPEG?
View 3 RepliesI already submitted a feature request on this, so you don't need to tell me to do that.
Does anyone know of a logical reason why Flash can't import a specific page of PDFs like Photoshop and Illustrator can?
how do you import fla or swf into another fla?
View 1 RepliesI'm using CS3, I want to import a small swf into my main swf.
I tried this code:
try 01onClipEvent (load){
_root.loadMovie("small.swf");
[code]........
I can show a swf into flash simply with this code
var request:URLRequest = new URLRequest("myswf.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
But with import > import to stage there is no any swf when ctrl+enter. There is only 5-6 empty frame in timeline. How can I solve this problem??
Another question, how can I do this with as 2.0 (im not familiar with as 2.0). This code not working :
loadMovie("myswf.swf");
I want to make a .swf that imports a jpg from a remote server.I'm able to do that with this code (actionscript 2)[code]...
After the jpg is shown, I want it to make some actions in a repeat. The thing is that every time the movie clip repeats, it needs to extract the jpg again, thus making a delay of 0.5 sec or so.
I have a flash project created by another developer and have a problem with it. The project loads external swfs created by swish into the main fla. I need to have everything in one flash file. It's a long horrible story as to why this is, but it just is.
Is it possible to put these swish files in my main fla, either by importing the swf into the fla or by putting the timeline or code from the swish file into my fla?
I'm sure that's a basic question but I didn't manage to find a suitable answer to my lack of knowledge in AS3.0 on the web. So, here are the facts : I fallowed a tutorial to create a dynamic slideshow with xml and javascipt and I wanted to bring it back in my main document.
[Code]....
Im having a weird issue whereby I cant import a specific swf Im trying to load into my main file.Im pretty sure its not a code issue because I am able to load in any other swf I try, its also not a path issue (the file definitely exists at that location)[code]...
View 2 RepliesI want to import a small swf into my main swf.
I tried this code:
Code:
onClipEvent (load){
_root.loadMovie("small.swf");
}
[Code].....