ActionScript 3.0 :: Importing/exporting Movie Scene Into A Website?
Jul 14, 2011
I am using a set of 4 images. It works fine but now I need to put it in a website that is being created from a template. I know it may not work with the template but I don't even know how to begin to get it from Flash.
I have a main.swf with a loader that loads an external.swf file. That file is an xml photogallery. The gallery has two other folders lets call them folder1 (contains xml file, image files) folder2 (which has sub folders that contain.as files for the tweens) I need to import these files to the main.swf or is it export these files from the gallery to the main.swf?
I have 2 websites both built entirely in flash.My problem is that I have created a button on 1 of the sites that has to link to a particular scene and frame within a different flash website.
No..not that type of parenting ;DOK,I have a main scene, then sitting in the root scene I have 2 movie clips.1)centro2)fotoIn the first movie "centro" there is a menu btnI want this menu btn to call up mclarge + its frame (1) thats housed 3 levels inside the foto mc in root.
Main scene - (1) centro (banner which houses menu btn) (2) foto_mc - Main_boy_mc (<---works if menu btn houses in here)
I am running on Dreamweaver CS5 in Code View...I have imported a flash video, which displays in design view, but will just keep loading in the actual browser and never start the video. It is running through an Apache localhost and is a PHP file...could that mess it up? I am also using jQuery with a bunch of hidden popup views, that work fine. What's wrong with my flash? Here is my source code to my flash video file:
Using actionscript 3 how do I imort a .swf game into my flash website at runtime, this is the code that I have so far:
var myLoader:Loader = new Loader(); myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoadComplete); function swfLoadComplete(loadEvent:Event)
[code]....
However when the game is loaded it doesn't register the keyboard presses needed for the hangman game to work.
I can get by and make nice flash sites, but I'm still learning what goes where and am still borrowing code to get by.I've laid the problem out in some detail as I am sure that will save a lot of questions later on, but feel free to ask if you want more info.Problem is as follows: I've built a two scene flash site using open source code for the preloader scene:[code]The main scrolling menu scene works great when it's a one scene movie and the preloader code works fine with a load of other sites I've built, but when I put them together on this site (the code for the scrolling menu precludes the addition of a preloader directly into that scene so separate scenes are a necessity) everything goes to pot.When testing the site (both as a standalone SWF file and when embedded in an HTML file) the preloader works fine and the main scene appears correctly, but when you click on any button to move back or forth along the menu/timeline it jumps and jerks along very roughly and stops short of its designated point.
This causes the whole scene to fail as the designated timeframe for each button contains a movie instance that won't function until the specific timeframe is reached.It's odd behavior and I'm stumped as both chunks of code work fine separately.I've even tried a much simpler preloader that doesn't display percentage or anything, it just cycles between frame one and two until the movie loads and then plays it (just like this one, but with no bells or whistles).Unfortunately my lack of actionscript knowledge prevents me from even finding a simple term to sum up the problem so I've failed to find any similar issues on any forums or Google.
I am new to Actionscript and am working with AS3 in Flash CS3 to produce a portfolio website. Basically I have my flash set up with a 3x3 grid (9 boxes about 450px by 450px each box) and each box will have info and basically be a page that will be displayed in the masked area I have made. I have already got the navigation working but I want to make it tween to each page with a deceleration effect. The following is my code for my navigation which currently works fine:
Code: stop(); function goTopRight (e:MouseEvent):void{
I downloaded the CS4 trial, and im having major problems exporting my flash file into an avi.I have imported an FLV file, and want to export it as an AVI. However when I do this, the screen is blank.
I've just spent a bit of time making a animation, and created this animation within a movie clip. I did this because i planned to add a button at the beginning to start playing this movie clip, but since then ive scrapped that idea.
Whilst trying to export the file as either .swf/.gif/.avi etc. It's just creating a file with the image of the first frame.
I'm having trouble exporting my flash movie to quicktime. I receive the error: The installed version of Quicktime does not support this type of Macromedia Flash movie. Quicktime requires Macromedia Flash version 5 or before. Please select "Version: Flash player 5" in the Flash tab of the Publish Settings dialog. I've tried changing the settings to every Flash versions 1 - 5, none of which seems to resolve the problem. I continue to get the same error message when I try to publish. I'm using Flash 8 and Quicktime version 7.7.5.
I have a dozen Flash CS3 documents that I am exporting to Quicktime for placement into Keynote. Some are 1024x768 and others are 1024 x 337. After I exported 1/2 dozen movies or so at the 1024 x 337, I tried to export one at 1024 x 768. Flash decided to squish it down to 1024 x 337. Now all of my movies are being squished to this dimension regardless of the actual dimensions. I have not changed any settings in the export window. This was working properly all week and now it decided to squish the movies.
I'm trying to export a fla file to a mov file in Flash CS4. My fla file is 152 mb. It is a 5 minute presentation I created with a 39 second f4v file (video clip) in the file. I go to Export / Export Movie. I select Quicktime (mov). I keep the default settings and it starts to cycle through. It gets about half way and I get a message "The export operation failed because it ran out of memory" I'm running this on a Mac Pro, System 10.5.8. I have 4 GB of memory. My HD is 232 GB with 155 GB available.
I have created a movie in flash8 and when testing it as a swf file everything is fine, however when I expoxed the movie to avi format the sound secuence does not run at the same time as the movie, in other words the sound is running slower than the movie?I have the frame rate set at 12.0 fps and have tried exporting in different formates. As an example one formate I have used is Microsoft MPEG4 and changed the frame rate in the settings to match as 12.0 fps but the sound is always running slower behind the movie?
Every method I have tried so far to export my flash file as a workable AVI or MOV is by creating the entire animation on the main timeline.This means every animation, every tiny bit is edited and altered on the Parent time line, and looping animations will have to be painstakingly copied and pasted for the duration of the loop.Surely there must be a way to save the movie to include all the sub timelines? I think to the very simplethat video is everywhere - even on youtube! you can't say that has been copied and pasted for each loop?
ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
I've been building my app' and testing it every day by exporting it to a movie, and testing everything.It's all been going very well and the .swf is usually exported to my desktop in less tha the time it takes to minimize the Flash window.Today I started work on my .fla (mark18) and added a "back" button to every scene (it takes the user back to a main page with the actionscript:
on (release) { _root.gotoAndPlay("Main"); }
There are 9 scenes which are very short.BUT, when I tried to export it, it took about 15 minutes to export.
I'm expecting a bunch of different animations that were made in Flash CS3 as JPEG sequences, however, many of the animations contain seperate timelines that contain seperate movie clips. When I view it as an SWF, everything looks PERFECT, all the movie clips within the animation are moving like they should and it looks awesome. But when I export it as a JPEG sequence, the parts of the timeline that are seperate movie clips and in their own timelines are completely static and don't move.What settings do I need to have set so that, when I export it, the JPEG sequence looks and behaves just like the SWF?
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
Im working on a Dragonball Z MMO. things are goin great so far utilizing Flash PHP and MySQL. but thats not the issue right now.Im running tests of the battle system. i have the enemy set up as Mr. Popo (character from the series) The quality of the sprite appears great and in good color.however, when i compile everything into the final .swf, the movie clip appears diminished, discolored, and just really crappy looking.[code]it only happens to this movie clip in particular, any insite would be grossly appricated.
i have a movie that has a swf player practically on every page playing a number of different videos.When I export it usually and play it on another computer the flash file won't play the videos as they simply are not there