I'm using narrator clips (imported mp3 files) that I place every so often, set to Stream (as opposed to Event). This works fine, as usual.That is, UNTIL I use a "Next" or "Back" button I've implemented to go to the next section of the program. I'm using a simple gotoAndPlay("Slide"+myCurrentSlide); where "Slide" is the first part of the frame label, and myCurrentSlide is a number that increments as the movie progresses.
When the user clicks the Next button, the flash movie successfully moves ahead to the proper frame on the timeline, but the audio is out of synch, (comes in half way through a sentence, even though the frame label is placed in between mp3 files on the timeline.
I have a video that consists of an imported FLV to thetimeline so I could put a new background behind the alpha-channeledbackground of the movie and put other thingsin front of it. When Iexport as SWF it plays just great. However, the download is akiller over DSL speed connection, so I thought I'd try making thefinished product into an FLV. To do that I have to export as QTmovie first, then from QT Pro export to FLV. It loads much quicker,however the movie's video and audio get out of synch by the firstminute (it's 4 1/2 minutes long), and by the end it looks terrible.
My movie is five about minutes long with audio and an offscreen timeline move clip containing action script to control other movie clips or play the root directory. After about a minute or so, movie clips get out-of-synch with the audio, apparently its getting bogged down. My swf file doesn't seem that big, about 2.2MB and my move clips aren't that complex, although up to three levels deep.
I have swfs for every letter of the alphabet containing a story and a song. And one swf as a loader for each letter as requested from a menu. These are then published into html.
Every file is working as normal individually and when loaded in the loader swf. But when viewed in a browser the audio karaoke for the letter I is out of synch. and only the letter I. this happens locally and online.
The I.swf file individually and when opened in loader swf work fine. Its only happening when viewed with a browser (IE and Firefox)
all the audio are mp3 loaded from external files. But Ie also tried placing the audio in the swf timeline but the same problem occurred.
A co-worker thought it might be the file size or bit-rate of the mp3 but thats not the case because all the audio files are the same compression and bitrate The file size of the audio or the swf are not the largest in the collection either. So this rules out swf/mp3 file size and or mp3 settings.[FONT="] Im really stumped by this, because every other letter works fine, and as far as I can see they are all the same settings.
I am working on a cartoon and the sound synchs up fine from regular frame to frame. But it won't synch when I want the sound to synch up with the end of a motion tween.URL...
I have created a bouncing logo (similar to a screensaver). The MC loops and I have added some motion trail using dupe mc's, however when the main MC loops back to the start, the motion trail seems to go out of synch and fall behind in its positioning. I have attached the FLA to show you what I mean and you can see the AS that I have used.
I want to I am building a stadium seating application. A person can choose a seat on a layout of the stadium and it loads a pic of the spot where they are seated or they can use a drop down menu (ComboBox). How do I synch up the button and combobox?
I have a to movies on the timeline. And they are playing at different speeds depending on the processor available on the computer, so the get out of synch with each other, is there a way to lock the rate at which the movie symbols animate so that they never get out of synch? Wish I was able to be mare articulate, not exactly sure how to ask the question
I'm working in Flash CS3. My animation is about a minute long, with a single audio track that plays from beginning to end. The sound quality is noticably better when I set the synching to Event, but unless I set it to Stream the sound falls behind the animation. Is there any way to maintain proper synchronization with the Event setting? Also: will the lag be consistent on different machines and players? I thought about adjusting the timing of the animation so that it matches the Event-set sound in playback, but that's such a clunky a solution it seems likely to cause other problems.
I have a 5 minute flash movie that has great sound synchronization with the motion when I export as a SWF. However, when I export as a Quicktime file (.mov), sometimes the sound is ahead of the image. Is there a setting I can tweak during Export to remedy this? (so far I have tried to save the Video as "H.264" as well as "Animation". And for sound I have had no luck with the setting of "None" or "Apple Lossless."
For some reason i'm having problems swapping scenes in my flash movie. At first i put the action in a "actions" named layer and a link to a button. So basicly when scene1 loads the frame 1 action is "stop ();". The viewer clicks on button1 which has a code of;
I followed a dynamic gallery scrolling thumbs tutorial and then changed it quite a bit to fit my needs.
I basically added a previous and next button and image title box.
It all works great apart from one thing.
e.g. I click on thumb 5. I then use the next button and go to say... image15. I then click on thumb 9. When I use the prev or next button again it will resume from image15, but it should then carry on from thumb 9 as that was the last change I made.
I thought this would be as simple as assigning the thumb variable value to the image number variable. i.e myID = id; but it doesn't work. my variable myID actually loses its value when I click the thumb image (I used the trace to clarify).
Here is the code.
PHP Code:
function bttnClick(event:MouseEvent):void{ bttn.gotoAndStop(1); root.logo.visible = false; myID = id;
I've noticed recently (the last week) that when I open Flash CS4, the Tools panel and the Actions/Timeline/Compiler Errors/Output panel group are not automatically open, like they always were before. Does anyone know of anything I could have changed by accident?
At the same time this started happening, I have a file that has a moving hot spot that is set with keyframes (depending where the active button is on the bitmaped screen capture behind the button). Even though the button's onRelease handlers are advancing the timeline correctly, my button is not in the right place in the runtime version. If's still fine in the development environment. It's like the layers are out of sync with each other.
I'm using Flash uploader(uploadify, swfupload) with CodeIgniter, want to get the session data. I have found out that the flash does not send the session data, so I have set $config['sess_match_useragent'] = FALSE;
Now for example i have set session value myname in session and I can get it on my backend PHP script using Internet Explorer.[code]...
recently tried developing an flash application that would send info to php and php should read a browser cookie and pass back the cookie value as e.g myCookie = $myCookie, where:
$myCookie = $_COOKIE['test'];
Funny enough in Actionscript myCookie is read as blank but the other variables that are hard coded are showing. what could be the problem PLEASE HELP I desperately need the solution. My Code is given below:
I found the problem. I had my container as a guide. I took off the guide and it shows up in my server. But why did it show up on my local computer if it still was on guide then?I have external jpgs that are loading into a flash website. When I run it off my hard drive it works. But when I put it on my server the external jpgs are no longer loading. Does anyone know what I might be doing wrong with my paths?
Code: public function setupDragDrop(asset:MovieClip) { asset.addEventListener(MouseEvent.MOUSE_DOWN, function(e:MouseEvent) { trace("1");
[Code]....
so basically just a function to add drag and drop functionality to an asset, note that when you mouse_down on the asset it takes it from where-ever it is and moves it to a container that sits at the top level in front of everything else.
This however appears to 'disable' the mouse_up event, which is never called in this case. If i remove the re-parenting then the mouse_up is called fine.
I just recently made an online game and was asked to implement saving features. Everything works fine but a single detail... When I update the swf (right now I have a new version with corrected bugs) people are gonna lose all their saved data !
Is there a way to use the same shared objects over multiple swf ? Or simply to keep them over the version change ?
I have a logo which I have created in photoshop, it is made up of 4 layers, some of which I want to animate. I create my movie, I do so by opening my PSD file and then animating the layers. However I have a problem in that when I view my movie the image quality is poor, and there is what I would describe as noise around some of the image.
I'm trying to do something simple in actionscript as simple as this:- Create a variable: var urlVideo:String;- Use that variable inside a function and give it a value: urlVideo = ideoElemento.url.text();- Then create a new variable and give it the urlVideo value: var url:String = urlVideo;
Here's my code: var idVideo:String = "12"; var urlVideo:String;
I've created a globe in Flash CS3 and published it (no compression) as a swf The globe has a couple of layers with gradients used as highlights. When I import the file into another Flash document the gradients seem to disappear
This question has been asked and incorrectly answered a number of times already. Specifically, on an Apple computer, it seems that there is no way to get a video file (.mov, .mpg or any other) out of Flash Pro without severe loss of quality or complete destruction of frame rate.
My .swf files look fantastic, just like they are supposed to. The play at the correct frame rate and all items work as I have set them up. When I go to export it as an .mov or .mpg, the frame rate speeds up and slows down depending on the objects on the screen. I have played with the settings endlessly, knocking the quality down to almost the lowest settings (something I would rather not do after working very hard on my piece) as well as adjusting the frame rate options all over the place to see if anything changed. Nothing. I have read many a forum where Flash creators have the same problems and are tearing their hair out because their work is essentially useless being stuck in Flash.
I know that there are programs that convert .swf files to video very well, some of them cost about $100. Why buy Flash in the first place if you have to buy another, almost equally priced piece of software just to get your content out of Flash? I also know that there are hundreds of free video converters out there for Apples, none of them seem to be able to handle the .swf format, but can do just about everything else. I further know that for windows, there is the free Iwisoft .swf to video converter that works just fine, but does not handle Apple created .swf files when ported across to a PC. How is it that such software is easy and free on a Windows machine, but not a Mac?
I would love it if an Adobe rep could answer some of these questions because I have been all over the web looking for answer to which no one seems to have the right one. Most people can suggest a good video converter that works for them, but they haven't tried it on a .swf file and when the original user tries it, it does not work and the thread dies there.
I've hit a very strange issue in adobe flex and I'm not sure how to solve it. I have a popup box that is called on creationComplete before startup of my main application. The popup simply asks for an email address and then the application is enabled showing the email address in a label component.
However, when I try to access the email address from the label component called UserID.text in the application, it is always null even though it is visually present in the label box...It seems like it loses state somehow...so HOW in earth can I keep it from losing state? I need to access the label or some variable throughout the use of the application and everything I try always ends up in a null variable?The main part of the application that sets the label is here:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:controls="com.iwobanas.controls.*" xmlns:local="*" creationComplete="showWindow(true)"> private function showWindow(modal:Boolean):void
I built this incredibly brilliant scrolling thumbnail image viewer for a client in flash actionscript 3. (Basically it just scrolls up or down depending on the mouse position). It works so so, (I can never get the percentages right so that it shows the top most image) but, that's beside the point. What is REALLY irking me is when I have the browser window open with my .swf loaded and I click on another app on my desktop, the stupid scrolling thumbnail area in the browser window starts to freak out.
"Where is my mouseY?" I assume it is thinking.
Is there a stage.Unfocus event I can tell my scrolling thumbnail area to STFU with?
I'd even consider writing some javascript to call a flash function, if that's a preferred technique.
function checkMousePos(e:Event):void { if(mouseX < 145){ try{
I need user download JPEG file from my app, however, when user change the file name the saved file will be downloaded without extension.
For Example: I am using FileReference.download() and set the default filename as "demoPic.jpg" and user's windows system setting control file extension not being shown. So when the dialog opens a download window, only "demoPic" shown as the filename. If user saved file without changing filename, the saved file will be OK. But if user change file name, the download file will be saved without extension. is it possible to add file extension to filename when user forget it by flex code?
I have a flash file in a div. This div is set to visible (display:block;). The div has two sister divs. All three divs are controlled by custom built jQuery tabs, so when another tab is clicked, the currently visible div turns display:none;. When the tab is reclicked to set the flashes div to display:block, the flash file loses all its values that are stored (for example in a textarea, all the text gets reset, and where a element stores a path to the image, that gets reset).
I have tried other methods like width:0; height:0;, which sort of works, but as the flash file is larger than the other two divs, it is still visible underneath. So then I tried overflow:hidden; but the same issue still occurs as above (losing values).
visibility:hidden isn't applicable as there is a large white space where the flash file should be.
I need to allow a user to download images from my app, but everytime a user attempts to download, the extension is stripped from the filename I provide.This is only happening in Firefox & IE on Windows. It's working just fine on OSX.
I'm using FileReference.download(), and specifying the filename as "imageX.jpg". However, when the file dialog opens on Windows to save the document, only "imageX" is shown as the filename, and the extension is never saved. In the "Save As type..." field, there is only the "*.*" option available.
The majority of our users aren't technically savvy, so a lot of them don't realize that if they put a .jpg extension on the file they just downloaded, they'll be able to view the image.