I'm currently working on a JibJab style project where a third party agency have done an animation. Now we have tracked the head motions in AE CS4 and done an export to Flash using XFL, and the motion does not work.
Before this we have done several tests to see if this method would work, so we know it actually does work, but the tests where only a couple of 100 frames long, now the project is over 1500 frames.
The final animation is 60 sec, 25f/s, and after importing the motion into FLASH using XFL nothing happens. The motion is there if we look in the motion editor, the image is there, but nothing happens when i scrub back and forth. This all worked like a charm with the test projects. AND if i try and rightclick the picture or motion editor FLASH freezes, so i know something is REALLY wrong here.
After four hours of bug hunting i have isolated the problem to the number of frames you try to import into FLASH. If the end sequence is more than 1000 frames (exactly!) a extra keyframe is added on the first frame in the motion editor, so there is TWO keyframes on the first frame, where there should only be possible to have one. This happens only if the sequence is more then 1000 frames. If i take the same sequence and export if from AE so its less then 1000 frames everything is fine.
I have attached a screenshot of the extra keyframe that apears in the motion editor. It's allso noteworthy that this extra keyframe can't be changed or adjusted as it does not actualy "excist".
I would like to have this bug confirmed by someone and if someone has a solution? Right now im looking at cutting up the export into "999 frames" sections and then patch it together again in Flash.
Whenever I test or publish a CS5 movie that uses TLF text (no matter which font), the .swf displays all elements but the text. There's simply nothing there. I'm on a mac with Snow Leopard, 10.6.7. This only happens as soon as I pass the 1000 frame limit (before, everything displays fine). Reaching wit's end here. Anyone know what causes this, and more specifically, how to solve it?
I'm using Flex3 building my AS3 projects for some 3D effects. I am going to create 1000 polygons(or rectangles) on the scene, without texture mapping. It seems the native 3D api of AS3 needs quite a lot memory:
[Code]....
here i created 1000 sp on the scene, the runtime memory cost seems to be more than 60MB. if increase to 2000, memory goes to 120MB. It seems the FVM's native 3D api generates a bitmap texture for each sprite, it's pretty memory costing. The alternative way may be is to draw the projected vertices of the sprites frame by frame by using local3DToGlobal and drawTriangles() to render the scene, but that could be slower. So is there any way to render many instances using the native 3D feature with costing much memory?
I want to control this imported video with UP and DOWN keys, to play forward and backwards, but it's not smooth at all, and it lags when in reverse - I read that I could import the video as bitmap sequence, and so I tried exporting the video as bmp image files from After Effects, but there are like 2108 images, and Flash crashed after importing them!
Is there a better way to import a video to Flash, in frames, so that it acts just like a movieclip and runs as smooth as one?
I have a 30 minute mp3 I need to embed in an .fla so I can export as .mov for conversion to .fla.I tried adding frames, but you can only add so many at a time. At 30 minutes, I had added the max frames (going to the rigth) about 15 times and it wasn't enough.Is there a trick to automatically adding enough frames to cover the entire imported mp3 on the timeline?
I have a sequence of images that i want to import into a movie clip. These images are from an object i have exported from 3d. I used to have some code that you dropped on the timeline, and as you mouse left/right, the object rotated in 3d. but I have lost it. DOH.If any1 knows of any tutes/code I will shout them out a Virtual beer.
I have a sequence of images that i want to import into a movie clip. These images are from an object i have exported from 3d. I used to have some code that you dropped on the timeline, and as you mouse left/right, the object rotated in 3d. but I have lost it. DOH....
I`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.
I'm a newbie to Actionscript and read many OReily books on AS3 and have a pretty decent understanding of it. But when it comes to typing out code i struggle. So as a solution to connecting all my neurons together to set up some mad typing skills I want to type out pages and pages of code. I was wondering if you guys knew of any "gigantic" super classes i could type out for practice?
Here is my problem. I have a file set to 1000 pixels in height and length. My image covers that size. I am trying to create a series of panels that are lined up next to each other and than motion tween it so it looks like the background is moving. I am creating each panel by copying and pasting it and placing them next to each other so it forms a single large line. However, the screen does not allow me to see everything and tends to cut off my panels and I don't know how to fix this. I have it set as "Show All" and it still does not work.
I was told to covert it to background strips dynamically. Can someone tell me how to do this step by step?
I was told to do this, Covert the files to movie clips and that add this:
I need some suggestions about to create .flv from 1000 images.The application I'm building will be use flash to show the .flv, and the server, who have red5 rtmp and php5. The server will be do the conversion from .jpg to .flv. I searching information but I didn't find which language can be the best to do conversion, or some examples about it..
I have a flash app running on 1200 machines on a local network. Currently, the app polls the php server every 10 seconds, and is returned a 14 byte string with the state. If the state is new, the app changes mode and gets new data from the server. 1200 machines polling every 10 seconds to pick up ~8 state changes per day seems like an awful lot of network traffic for this.
There is other traffic on the network (streaming video, web surfing etc). When the network load gets high, some of the machines loose the ability to communicate with the server and hang. When I run 400 machines I don't run into this problem. Looks like a scalability problem. What would you recommend for lightweight communication between server and 1200 clients? Remoting with AMFast? XML Sockets? Something else entirely?
I have a bunch of text fields that display numbers such as 2745345.What i want is a neat bit of code that quickly and simply converts this to 2,745,345.This makes the numbers more easy to read and interpret.
I want to use http streaming (ie. partial download) to serve some videos (medium to HD quality) to public.Idea is to have videos on server and offer some web page with embedded video player for user to watch selected video.Planned capacity is about 250 to 1000 daily views, with low concurrency requirement (ie. not many users in parallel watching video)I am thinking of complete solution like FLVPlayer or flowplayer to support this.What bothers me are network bandwidth requirements (what is minimum kbps) mainly, and this video player performance when in "heavy" use.For "heavy use" I consider adding possibility to stream many separate video files that I will add in back-end (via XML file or similar) and don't have experience with these players.
I'm working on a game where users can win buttons/badges as awards. I estimate there will be around 500 awards, in all.I want to allow the users to sell their duplicate/unwanted badges to the bank and buy new ones from the bank.I am showing the badges in multiple awards frames. Below the badges, I show the count, along with a "Buy" and "Sell" button.My question is: What's the best way to handle SO MANY buy & sell buttons? Is there a way around coding 1000 eventListeners and 1000 eventHandlers?
One possible solution is to name my buttons, incrementally, like "buy_mc1", "buy_mc2", etc. Then do a loop to create listeners for this["buy_mc" + i]. However, I would then have to make VERY sure that I link these back correctly to the awards.Currently, I have an "award_mc" field in my database, which stores the name of the movieclip in my .fla. From that, I can access related assets, like the count field, like: this[db.award_mc + "_count"].txt.Unfortunately, this method does not lend itself well to looped access.Maybe I can create an array of movieclip names that are in synch with the buy/sell buttons. For example:
When someone clicks a button, I can link buy_2 to "ubernessAward", then look for "ubernessAward" on the database.How can I get the number from the button, though? Even if I can loop through setting up the eventListeners, will I have to set up individuatl eventHandlers to process the correct index number? I was not able to get this to work with buttons on the stage. Apparently, buttons are a static class. MovieClips are dynamic, so I was able to get this to work by using MovieClips. Here's what I did:
Added 3 MovieClips to the stage. Named them "mc0", "mc1", and "mc2".
From here, I can tie the awardKey to an array of MovieClip names. Then, I can use the MovieClip names to read my database.This is why I come to Stack Overflow, FIRST, when I have a problem. :)
I have a counting movie which displays numbers from 1 to 1000 (action scripts) in a dynamic text box. First 1 and then 2 and so on. It works very well. I convert this movie to a movie clip and drag this new movie clip to the main stage on frame 1, but anything happens now.
I have a video interface set up and get the following error....when I play locally,everything plays fine and I don't get any errors, but once I upload to the web, I get the following error:
VideoError: 1000: Unable to make connection to server or to find FLV on server at fl.video::VideoPlayer/stop() at fl.video::FLVPlayback/stop() at movie1_testing_bk_fla::MainTimeline/listListener() at
For a maze game, I'm trying to add acceleration to the movement of my character.Because the character shouldn't walk through walls, the movement function and hittest are in the same function.
I tried adding the acceleration in if statements in this function, but that doesn't work properly. [code]...
I need to loop my SWF 3 times and have it freeze on the last frame of the movie. I assume a conditional "if" "else" action is needed but cannot get it too work.
Limited FullScreen keyboard access Everyone is talking about the new Flash Player 10 features that you can have limited keyboard access while you are in fullscreen. But nobody publish the code for this. I'm using the regular onKeyDown function in AS2 and this is not working. Does someone know if we can have this limited keyboard access in AS2?
This is my code (that work in normal state but not in fullscreen mode):
[code]...
Adobe Flash Player 10 Whether or not you want to make a game or a video player with keyboard shortcuts, the restriction of keyboard support in fullScreen has been an annoyance to a lot of developers. The restriction was placed there because of heightened possibilities of malicious attacks while in fullScreen mode such as password phishing.In Flash Player 10 we are easing this restriction to allow non-printing keys to be used while in fullScreen. Non-printing keys are arrows, space, shift, tab and similar keys that can�t be used to provide private information. These keys are very important however to let users do many types of selection and gameplay inputs.
createEmptyMovieClip("Line",1); Line.lineStyle(2,0x000000,100); onMouseDown = function (){[code]....
How do we use this code on a movieclip (limited space for sketching) created by us ? If i'm not mistaken the onMouseMove = null function for the code below is not correct ..
I use the attached code to load the attached xml file, but it will only load the first 20 nodes. I have moved the 20th to the 21st and the 21st up to the 20th and it will still load the first 20, so it isn't a formatting problem.
We're currently developing an iPad application using Air for iOS and from time to time experience crashes (on iPad1 with ios 5 only) which seem to be because the application is using up too much memory.
How to catch/handle such errors in the application? how to be notified when memory is low? trying to catch flash.errors.MemoryError doesn't seem to work.
One of my troubles so far isn't a big one, but the livepreview has being limited to 160px wide and high.. how to get rid of this limitation?
Edit: I've been following this tutorial and made the menu strip. In the livepreview, as it gets wider, it gets cropped. Then, I made another one, for the sake of certainty, and found out that the problem persists.