ActionScript 2.0 :: Importing SWF Into Another - Getting Undefined
Jan 27, 2004
[AS]_parent["object"+index]._x;[/AS]
What is the point of the [] ? Is there a different way to write this? I am having trouble getting this working right, returns undefined when I import the .swf into a diff .swf but if I run it alone works fine..
View 14 Replies
Similar Posts:
Aug 20, 2011
I'm currently working on a Flash platform game and I'm trying to make each level have its own class that defines a hitTest function (Each class is linked to the MovieClip of the level), which would allow the character to walk on the level. Whenever I try to import the subclass into the Document class, errors start popping up and it is driving me crazy (Error 1120: Access of undefined property)
Document Class (Class_Main.as):
package
{[code]....
View 2 Replies
Mar 24, 2010
I am importing a picture in flash and i found out that there is a difference between importing to the stage, and importing to the library... [URL] I've placed both picture close of each other and if you look closely, you'll notice that one of them is losing some resolution. Both picture come from the same file, a png. The picture imported to the stage is sharper than the one imported to the library. is there a way to import that picture to the library without losing any resolution?
View 5 Replies
Oct 12, 2010
im having problems getting some as3 generated (not drawn on stage) movie clips moving across the screen.
Code:
package {
import flash.geom.ColorTransform;
import flash.display.MovieClip;
import fl.motion.Color;
import flash.display.*;
[code]....
View 7 Replies
Jul 12, 2007
i am using flash, .Net, and MySQL and have elements (text fields) posting in flash.Question is, if the table in the data base is not holding the var char how can I set the text field in flash to not show undefined and just be blank?
View 6 Replies
Oct 30, 2010
I spent the day making a really neat (my opinion only) animated button that I want to use as a common component on a web site I am working on. The button is isolated in its own FLA and SWF file(s). The plan was to import the common button, add a text label, and position it appropriately on the page. Then move on to the next button or whatever. That's the plan; now here's the problem: I'm completely at a loss as to how to go about doing it. I've tried to follow a couple of tutorials, but, I keep getting lost.
View 1 Replies
Jun 4, 2004
I've always been able to import dwg/dwx files into Illustrator, edit out layers I dont need, export to swf, and import into Flash MX. I just got some new CAD files that wont open in Illustrator and am kinda stuck without a solution. Purchasing new software is no big deal I just want to be sure that it will open these new files and be able to export to Flash in a usable format.
View 1 Replies
Apr 8, 2009
Is it possible to import a swf file into a Flash file with a transparent background so you can still see the main movie underneath? Also, I would only want the swf file to play on a certian number of frames. By the way I have the original flash file of the swf I want to import.
View 6 Replies
Sep 11, 2010
I work in Adobe Flash cs3 and as2. First I have flv file no1 it contains buttons, animations, imported sounds and fonts, lot of layers, preloader and its all mixed on stage (its a kind of meny for a web page). Now Im working on flv no2 in which all the elements contained in flv no1 are represented as a small picture (button) which should call (make it visable like zooming that object) some mc that contains all the elements from flv no1 and working as they do in flv no1. how to pack all the elements in flv no1 in a form of movie clip and import it to flv no2 and preserve all the functionality.
View 1 Replies
Sep 8, 2008
I've masked out the backgrounds around some photos (of people) in Photoshop, and I'm importing them into Flash CS3 (Mac). When I import them in, they appear to have a color shift...they look lighter, more washed out than they did in Photoshop. My color space in Photoshop is sRGB, and I've tried importing the images as PSD and as PNG files, but no difference.
View 1 Replies
Oct 17, 2009
I have been searching on this and from what I have read in some posts I found through google it seems that it is possible to import an .mp4 file to flash.... I am unable to do this so far and wondering if it is in fact possible to do this.. if so, does anyone know of any decent .avi to .mp4 conversion software that will allow the mp4 to be imported to flash as the ones I have tried so far are not allowing the mp4 to be imported.
View 1 Replies
Nov 18, 2009
I'm importing a swf file with on/off buttons into Captivate, and the sound is not playing. I'm not sure if this is a Flash issue or a Captivate issue. I have posted this same question on the Captivate forum and have not received a response. The swf file seems to be playing fine, however, when I import it into Captivate the sound will not play anymore.
View 6 Replies
Feb 22, 2010
I have been given some .SWFs to use in a flash project of mines. I remember being able to import this as movieclip with the animation staying intact. I'm using Flash CS3 and in trying to import the .swf the animation seems to have been stripped. How can you import a .swf into your FLA projects?
View 3 Replies
Dec 13, 2010
I'm creating two separate AIR projects.I'd like them both to be able to access the same XML file that's residing in the user's document's folder.Before, I''ve successfully set up importing XML using URLLoader etc, but this method won't work when trying to access an XML from outside of an air project (I think).So is it possible to imporrt an XML file using something like:[code]
View 1 Replies
Mar 24, 2009
I have a .flv file which I would like to import into my stage. I use the import video option, select the file location, select progressive download from webserver and select the skin. However when I export my swf, the video doesn't appear. I have been successful in the past doing this but for some reason it doesn't appear. I have looked at the publish settings and compared files and everything seems to be ok.
View 1 Replies
Apr 1, 2009
Is it possible to keep masks in an .swf that is imported to After Effects CS4? It seems that AE is displaying the masks every time.
View 2 Replies
Jul 14, 2009
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.. It shouldnt be to hard?
View 2 Replies
Aug 13, 2009
love the way CS4 has a nice media converter so you can instanly import FLV files but what I have recently found is that the voice of my videos all go out of sync when inputted into flash but are fine if I play then direct from my hard drive. If I import the file in CS3 and convert them directly in CS3 then the voices are all fine. Because i'm using many transparent .png images I have to use CS4 because CS3 adds a nice jagged edge when these are rotated.
View 3 Replies
Mar 16, 2011
When i import png into my flash file (as2) and test the movie, the png gets pixelated
View 2 Replies
May 23, 2011
My problem is that on importing a PSD into Flash CS5, my document loses the bevel and emboss effect that I added to the text layers I created in Photoshop CS5. I have tried merging the layers and flattening the image then importing, The bevel and embossing effects are now present, however, the colours have lost their brightness and vibrancy.
View 1 Replies
Nov 1, 2011
I have a .swf of a keyboard i want to import into a interface i'm building, but when i try to go Import>File to Library and select the file it does nothing. Nothing appears in the library.Am i trying to import the swf file the wrong way?
View 1 Replies
May 5, 2009
I used the folloing script to import text from a TXT file:
[Code]...
View 2 Replies
Sep 3, 2009
I have inherited a website - http:[url].... and I will need to edit the first page from time to time (Flash). I have the original .fla files and I only have Flash CS4. Not sure which version of Flash the originals were built in, but opening in CS4 I can only see 35 frames - not enough to go through the whole thing. If anyone cares to have a look at the site there's a stopwatch in front of a garage door. This quickly fades in and out, then a car and other stuff appears. I can only get as far as the stopwatch. I can see the whole lot in Flash player though.what I am not doing right?
View 1 Replies
Nov 29, 2009
All I want to do is have Flash play a single video based on the URL specified in an XML file. I am using the default Flash video player.
I go to File -> Import -> Import Video, and then click on the "Already deployed to a web server" button, and type in the path to an XML file.
I'm confused as to what needs to be written in my XML file as to make the flash video work. Let's assume my video file is located at [URL] What code would I need to write in the XML file to get it to play?
View 4 Replies
Mar 29, 2010
I have been trying to import a video into my flash file. I uploaded it to my server but when i try to use the link it always says it doesnt exsist. The file i am linking it to is in my remote files. The url i get on filezilla for it is [URL] this doesnt work as its not a html.
Edit: is there anyway of finding the http link for my video?
View 2 Replies
Jun 30, 2010
I've a circle that I want to attach an image to. The trouble is I want to centre it right where I want on the shape. When I select type=bitmap and import the gif though it is 'wallpapered' over shape automatically like a pattern and obviously this doesn't line up with the image properly. How do I get the shape and image to align (both shape and image are identical in size) in cs3?
View 2 Replies
Aug 30, 2010
I can't seem to figure out why only one out of the five text fields show when I export my fla. The title and images work fine but none of the other descriptors are not working. What am I doing wrong? I checked my instance names and they all match. I've tried using .text and .HTMLText in the AS and nothing.
[Code]....
View 7 Replies
Nov 30, 2010
i created a music loop in Cubase and i exported it in mp3... I cant find a way to import it in flash...its giving me an error window saying it was a problem reading the file... I know flash is compatible to mp3's... so whats the problem?
View 1 Replies
Apr 10, 2011
If I am to import an image and I wish to use it as a sprite or something like that; How do I remove the white areas? For example, if I was going to create a custom cursor or something like that, an I was to use this image: Image - how would I remove the white areas, so that they are transparent. I would also like to know if it is possible to set where the center of rotation in an image is?I do all my image work on Photoshop, if that is of any significance.
View 1 Replies
Nov 5, 2011
I'm creating a presentation, where it involves importing a swf into a new swf ... ironically for me, that's the easy bit (works like a charm! My (probably simple) issue, is trying to import it to a certain placement on the page, instead of the default top left. I tried to "edit multiple frames" approach, but my poor old PC almost froze, as there are many frames involved.
if there is a simple way to import to a specific location on a new blank movie, I'd be very keen to hear how this is achieved.
View 3 Replies