IDE :: Importing Swf File With 3D Rotational Object Does Not Work?
Jun 3, 2009
I am trying to import a fairly complex swf file into a new flash project.here is the flash file:hen i import it into my library, I can see the new imported symbol.when I drag this onto my stage I get this:can someone suggest a better way to get my swf file into my new flash project. I am new to as3. when all is done I would like to have a preloader so I expect I may need to know totalbytes etc..
When you load a object through flash, you can set the rotational/scale point, but when you load it as a loader object or sprite, how do you change this point?
In this instance, I want to change the height of a sprite that is filled with a rectangle so that it shrinks down, not up.
Right now:
var colored_bar:Sprite = new Sprite(); with (colored_bar.graphics) { beginFill(0x9e1819, 1);
[Code]....
The way I am doing it currently is moving the y position everytime I take away soem of the height, so it looks like it's moving down, but I'd think moving the orientation point at the beginning would be faster
I changed a layer entry of my Flash file by moving around various elements within the layer. I sitll have the original file, too. I'd like to put it back exactly like it was in the original file. How do I replace the changed sprite element from the new file with the original from the old file?
Ive been scouring the web on flash & math sites trying to figure out how to change a typical 3d carousel so that all the items rotate @ a -45 degree angle. I know Its probably only like 2 lines of code I need! You can see what im after here: (They dont sell source or I would just buy it)change rotational angle under general properties.URL...
how to apply a rotational motion blur to a movie clip using the Tween Class and Blur Filter? I have found info on bluring an animation this way, but only via the x or the y axis, not the rotaion.
I am trying to import a DAE file, and it gets put on the stage, but for some reason I cannot control the scale of it. I know you have to pass a 3rd param to the Collada() constructor to be the scale, but no matter what I put there, it doesnt change the scale.Alas, I cannot get the scaleX or scaleY or scaleZ to change anything.Just need to know how to adjust the size/scale of this model.
I am having an issue where if I import a graphic to the library or directly to the stage, it causes my movie to stop on frame #1, even though the graphic is on frame #40. I have tried a .png, .jpg, and .psd and they all cause this behavior. I have put other graphics in and never had this issue.
basically i imported a SWF within my flash file from an external file and only the randomize button works on the file none of the rest from the imported flash can anyone let me know why, if you need me to let me know and i will upload files
I'm making a game where I have a lot of movie clips that I need to load so I was wondering wheather ActionScript 3.0 allowed us to load external movieclips? Can we import an external display object (movieclip) into a display object container? Or do I have to load a .swf which contains the movieclip onto the stage? What happens if I need to pull in multiple .swf files can the movieclips overlap or will one .swf file block the user from viewing the .swf in a lower depth? Can I import the movieclip from the external .swf file from its library and add it to the main stage rather then adding the whole .swf to the main stage?
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.
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.
Within Photoshop I added some 17 new image layers, then I copied (from an existing image layer) and pasted the layer style onto the newly added image layers. Everything went fine in Photoshop. All images show up correctly with the correct layer style in place, meaning the shadows showing up correctly.Anyhow, once I import the .PSD into Flash CS4 the new image layers show up with darker shadows (100% instead of 50/75% opacity)
i'm using this code i got on-line, the text is being outputted through a dynamic text box, which is multi line enabled and html. Yet I just can't seem to get a single line break, i can get a double by doing a normal line break in notepad. But i need a single. And <br> doesn't seem to work.
Quote:
myLoadVars_lv = new LoadVars(); myLoadVars_lv.onLoad = function(success) { if (success) {
im trying import multiple swf files(games) into one fla so i can have a little gallery for all my games. the games imported fine but im trying make a button in each game after it is over to gotoAndPlay(1) on my main timeline but it doesnt seem to be communicating, heres the method im trying to use
startGame("game_1"); function startGame(gameName:String) { trace("game_1")
Why am I kept getting the Incompatibility report saying something about the Blend: Color Burn? It turns most my vector grahpics to bitmaps. How do I avoid this?
Is there any way I can import symbols from another .fla file ? For my game I have a file named background.fla that has several backgrounds and I want to import from it and change it when needed. Is there any way I can do that ?
Also after what I read if i want to import a .swf file in my main .fla it will loose all it's code, but I want to import a character and use it with gotoAndPlay() and gotoAndStop().
And I have one last question if I may, I have the basic knowledge of OOP and from what I know it's imposible: I want to create a class, create an instance of it in my main .fla and somehow make that class control the code from my main file. I found a way with timers, but it's pretty expensive on memory...
When I tried to import an Illustrator CS5 file into Flash CS5, I got an error from Windows saying that the program "stopped working" and it was searching for solutions to the problem. When it found no solutions, it said that it had to close the program. I've tried three times now and the same thing keeps happening.
ok i have used the code snippets in cs5 that grabs a .swf online and shows it in the flash file. However this is not exactly what i want.
Instead of the command triggering from a click i want the movie to load automatically. How?
Also is there any way of getting a .swf file and importing it into a new flash document? i have tried all the methods out but the .wf does not actually work properly. I cant just copy the timelines over as i dont have access to the one file all i have is tthe .swf -
So either i grab it from my server or if there is a way to import it into the flash that actually works.
I have a PSD file with layers that I am trying to import into Flash. The problem that I am having is that the text effects that I have applied in Photoshop are not transferring into Flash. All I get is the Font, Font size, and color. But I used Drop Shadow on some of the and some other effects as well. None of these are transferring over to Flash. Do I have to save them in a certain way i n Photoshop in order to effect the transfer. I want to be clear. I am not trying to import text effects as separate layers or anything complicated. I just want the text to look like it does in photoshop.
I am working in Flash CS4 (AS3).What I have created is basically a simple photo gallery. About 5 thumbs that when rolled over a larger version appears. Both the thumbnail images and larger images are loading dynamically.I've got that working.What it's missing is a headline and a sub headline for each pic that comes up. I need to do this from an external text file.
I was able to do this with AS2.AS3 not so much. How do I control the content of multiple dynamic text boxes on different places throughout the timeline with an external text file in AS3? I just want to name different text boxes different names and have the external text file pass the variables into my swf for each text box.
I downloaded a sample flash that contains a class file.When try to run the file get the "1172: Definition be.nascom.flash.graphics:Rippler could not be found." error. Rippler is the name of the file and I think be.nascom.flash.graphics is the authors directory structure. I think the error is because the file is not in the right location that Flash is expecting it to be in to find it.
I can't figure out why I am not able to make this work here is an example of what I am doing.I am importing an AS file that plays a spectrum and the song I have. Here is the code.
[code] zoeyPic_mc.addEventListener(MouseEvent.CLICK, addMC); function addMC(event:MouseEvent):void
I would like to import text from a XML file into a dynamic text field. The XML file contains database records. I have found that Flash does not support the DOM command 'getElementsByTagName()' which I was endeavouring to use to find the record in the XML file that I wanted to associate with a particular dynamic text field.
Is there any other way to search through the XML file for the particular record I am looking for?
So i was going to run through some test's so I can get some basic lipsync. I recorded some audio and then proceeded to import i when to file, imported and then clicked the file.after it loaded, nothing happened