Hape Tweens Disappear When A .fla File Is Closed And Then Re-opened?
Nov 3, 2009Has anyone else had a problem in CS4 where some shape tweens disappear when a .fla file is closed and then re-opened?
View 9 RepliesHas anyone else had a problem in CS4 where some shape tweens disappear when a .fla file is closed and then re-opened?
View 9 RepliesI have a list of collapsible move clips. When any of the clips is closed or opened the rest or the clips in the list react by changing position. I had this running with and on enter frame event. But that was a memory hog when too many items were in the list. So what I want to do is this. When any clip is closed or opened it triggers this function
Code:
function resetY() {
for (var i = order; i>=many; i++) {
this.onEnterFrame = function() {
_y = previousitem._y+previousitem.box._height;
roundB4me = Math.ceil(previousitem._y+previousitem.box._height);
[Code] .....
I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.
View 1 RepliesI'm making a game with Flash CS5.5 and exporting it to a APK file (AIR for Android).The trouble is that the APK file is really just a ZIP file, so you can extract the content and inside there is my game as a regular SWF file. Anyone can upload this to any website and play the game there.
I don't want the SWF file to work unless opened like it should, inside the APK file through Android.Is there any way to know through ActionScript 3 code if the SWF file has been extracted from the APK file and has been opened as a normal SWF file?
If i open .as file (or something else) in Notepad++ and select any variable or some other text, it will highlight all of the occurences of this variable in text of this opened document. And you can quickly see where this variable have assignemnts and so on. But in Flash CS3 i can only use standard Find dialog to search throug opened .as file and it finds only one occurence, then you hit "Find Next" and you've got another. Not so comfortable. So does that feature exist in Flash CS IDE, or something similar? (i can't find that)
View 1 RepliesThis is part of my ongoing issue with 6 video files in six Scenes.I have 6 videos there were imported as enbedded, one in each scene. the first four play but the second two do not.whichever order i place the scenes, it is always the last two that pause at the first frame.o try another approach, I linked instead to a video externally. This seems to work, but, when I click a button to go to another scene the audio from the previous scene is still playing when the new video starts.
View 22 RepliesFirstly, although I've been using Flash on and off for years (since CS3) I don't use it very often so I apologise if my issue seems simplistic.Basically, I used Flash CS3 for a few years to create basic animations for clients, involving simple scrolling text, without any problems.Recently I upgraded to the CS4 Master Suite and then CS5 Master Suite within a couple of days of each other and I now need to use Flash to make a change to an old animation.When I opened the CS3 file it appears as expected and I made the changes to the text (changing a word or two within a line of type).When I right clicked on the type relevant frames within the timeline I noticed that there is now more than one version of tween available, and that classic tween was already selected (I think I better buy a new teach yourself Flash CS5 book!)
Anyway, that was allI needed to do so I initially pressed return and the text scrolled across the stage as expected.But when I clicked on CONTROL / TEST MOVIE / TEST (or cmd+Return on my Mac) the SWF file that appears is static and the text does not scroll at all.If I publish the movie using Actionscript 3 or 2 the resulting SWF file is also totally static. But if I drop the SWF file into the relevant website folder and view it through Dreamweaver's browser view facility it works perfectly and scrolls just as expected.Equally, opening it using the Opera browser works too.
I've tried altering the CS3 file and testing the movie in Flash CS4 and Flash CS5 but the same thing happens.It's a bit time wasting and inefficient wanting to test an animation as a SWF file by double clicking on it and only being shown a static image.Is this a well known problem as I couldn't find any mention of it during my search?
have doing my project in flash cs5.5. But then suddenly my file cannot open it.It appear like this "an error occurred opening file C:....menu.fla" and also "Flash cannot parse this document." "The following JavaScript error(s) occurred:".
View 1 RepliesI have to browse for and open a file in AIR. I can access the file via the File class:
var file:File = File.applicationStorageDirectory.resolvePath("somefile.txt");
var stream:FileStream = new FileStream();
stream.open(file, FileMode.READ);
And I can browse for a file via the FileReference class:
var fileRef:FileReference = new FileReference();
fileRef.browse(allTypes);
But I cannot seem to get the file from the FileReference object into the File object.
There is no "path" member exposed when debugging the FileReference after opening it
All the walkthroughs I've seen specify either desktop, local files as the initial view when calling browseForOpen.
Is there a way to have the air application remember the last location a file was loaded from and default back there?
If necessary I suppose the path could be written to the local db, but even still, I do not know how to get the filepath of the loaded file.
I am currently developing a virtual world with Flash CS 3 and AS 3 in the client side. Everything seems fine until I found that the flash player in the browser stops working when you minimized the browser or open another tab. It makes a huge problem in my virtual world, because when one player moves from location A to location B, and in the middle of the animation process (moving the player from A to B) the user minimized the browser then the animation process (and another process I assumed) is stopped. That would make a different location between the player current location (in the client side) with the server side and another client.
My question is how we keep the flash player keep working although the browser is minimized or another tab is opened? Just like most of facebook games or youtube player (keep playing the video although you are viewing another tab).
I currently have a problem with captioning on a video file that I am streaming from Flash Media Server. For some reason, the first time the video is viewed, the captioning pauses right around 6 mins. I've verified this happens from multiple computers, from different physical locations and on different networks. The video continues to play, but the pause button on the playbar also looses functionality and the captioning does not progress.
I've created a total of 11 videos all using the Flash CC plugin with a custom button for show/hide captions and minimal playbar which only includes the pause button and the mute button. This only happens in this one particular file, but they are all setup the same. From what I can tell, the xml is constructed correctly (TT XML generated by contractor).
The code I've written works fine on all the other files. The only thing I can see that's different among the files is possibly the size of the movie I'm streaming. Its the longest. If the viewer refreshes the page and watches the movie again, the pause does not happen. Is it possible that a setting may need to be changed on the Flash Media Server?
Using LoadVars.send() I insert info into a mysql database.I then click a button and the updated db content is shown in a textfield. Problem is that a HTML file is auto-opened in the browser.
When using LoadVars.sendAndLoad() I can still insert info into the database, but I can NOT update the info in the textfield. For some reason the "old" db content is loaded again.Flash and PHP files are in same folder on server.
I am creating just small media player which functions like play, stop, volume slider etc. In this I have to give full path for playing a song. I want to open the window (like window opend at the time of attaching any file to mail).
View 1 Replieswhat is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with no navigation features of any kind just the ability to click inside and maybe refresh the page...
View 2 RepliesI simply would like to know is it possible and then what is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with no navigation features of any kind just the ability to click inside and maybe refresh the page...
View 7 RepliesA NetStatusEvent with info.code of "NetStream.Connect.Closed" is dispatched by NetConnection when a NetStream is closed. This seems kind of weird, shouldn't the NetStream dispatch the event? how do I know which NetStream has been closed if I have more than one running (which I do)? I need to know so I can cleanup the now dead stream.
View 1 RepliesWhen I want to ask for a small fee for my app, I'm not allowed to use TweenLite. So I started thinking I could probably replace the tweens with Flash's built-in Tweens. BUT I'm also using rotationY. Flash doesn't support this as far as I know. Are there Tween engines out there with a copyleft?
View 6 RepliesI have created a flash map that uses this script to move the the world map movie clip around when buttons are clicked.
I am using the tween class to adjust the x and y postion as well as the xscale and yscale.
It works fine when I view the swf but is really choppy when I post the file onto my server for testing. The file is pretty small, about 230 kb, but I guess that has nothing to do with it tweening so choppy. Can anyone lead me in the right direction of why it is so choppy when I upload the file to my server and is there any adjustments I can mke to stop it.[url]...
I have a large Flash presentation consisting of 12 slides. When exporting or previewing the movie all of the tweens appear corrupted. They flicker on the first keyframe - go blank - then display the last keyframe all static. I'm using CS3 on a MacBook Pro 2.4GHZ with 2GB of Ram. I have a dual boot setup and the same thing happens in both OS X and Windows XP. I've found a laborious work around in that if I go into each movieclip, and nested movieclip, move the timeline slider then re-export... that particular tween will then animate correctly. I can go through the entire file and thereby export the SWF with animations in tact... But this takes a lot of time and every time I restart my machine it has to be done again from scratch to export the file.... This has happened before on a large Flash file and I reinstalled Flash from scratch and it didn't fix it.
I'm wondering if this could potentially be a bug relating to how much RAM I have? I sent the file to someone who has 4GB of RAM on their PC and it exports correctly. I will be doing a lot of presentations of this nature and would like to know if there is a way to fix this bug or if it is really related to how much RAM you have and how big the Flash file is??
I was editing an FLA file which was Read Only due to our versioning system (P4) however, when I did not have a file checked out (therefore was Read Only), I did not get an error when I saved the file (there was even a save progress bar!) - yet when I opened the file again, all the information I had "Saved" was not there. I tested this out on several other non-checked out files (read-only files) and I was still able to hit "save" on all of them - but it did not actually save the file. In none of these instances was I alerted that I was trying to edit a read only file.
View 1 RepliesWe have a problem with a code as below made in AS2. By some reason 3-4 minutes after appearance the image disappear from the screen.
var picTotal:Number = 1;var lightSpeed:Number = 5;var delay:Number = 5000;var count:Number = 0;function init():Void {var white:MovieClip = this.createEmptyMovieClip("wh", 10);with (white)
[Code]....
I have made a 3D model of a cube and imported it into Flash Builder with preFab and away3d as follows:
package {
import away3d.cameras.HoverCamera3D;
import away3d.containers.*;
import away3d.events.MouseEvent3D;
import com.greensock.TweenLite;
import flash.display.Sprite;
[Code] .....
The 3D model of the cube consists of 6 sides with each their own texture (jpg). You can find the script of the cube in the attachment. Is it possible to rotate one of the 6 sides (or one of the 6 textures) of the cube with a tween from the script above? So is it possible to do tweens into an external file (attached file) from another file (the script above)?
How can I make my Clock.swf file disappear? The following code works great for movie clips but throwing an error while using for .swf files. Introduction_mc.visible = false; >>> This code works fine Clock.swf.visible = false; >>>> This code throws an error (How to resolve this problem?)
View 3 RepliesI'm working on a slide show which includes 3 sections that fade in and out automatically as well as can be navigated via buttons.Everything is working fine until I include a 3d tween animation of a hanging sign.it doesn't have any action script - just a 3d tween where the sign swings however once I include it in the slide show, the whole thing goes crazy:The fade in and out of tweens don't work.sometimes the slide show skips and everything start moving very fast as if the timeline was fast forwarded... can someone please helpe me and point me in the right direction of where to even start trouble shooting it? The problem is that it acts as if there was some kind of script added however there's no action script included in the hanging sign.
View 2 RepliesI have a FLA file that when I open it and I rollover any title in a palette window all the text in that and every window disappears. For instance the title "Timeline" will vanish. And most of the text in the palette vanishes, for instance all the text in the properties panel disappears like "Position and Size". This does not occur with any of my many other FLA files. I have had some issues with fonts lately. After deleting some bad fonts, my FLA ask me to remap some fonts, which I do. Everything in the FLA appears to be working fine.
View 2 RepliesI am using the transition preloader on url]... to load in external swfs (http:url...). I have Spark's calendar component on one of the external swfs. All text appears fine when testing the calendar page itself but the text seems to disappear when it's loaded as an external swf into the main file. Is this a path issue?
View 3 RepliesHow can I make my external loaded .SWF file smoothly disappear after 15 seconds? The following is the code to load an external .SWF file:
[Code]....
I want to make clock.swf file disappear from the page after 15 seconds using some smooth disappear effect.
how to compile actionscript with the mxmlc file? everytime i doubleclick the file to run it, a prompt will show up for a split second then disappear.
View 2 RepliesI'm working on a slide show which includes 3 sections that fade in and out automatically as well as can be navigated via buttons...
Everything is working fine until I include a 3d tween animation of a hanging sign.. it doesn't have any action script - just a 3d tween where the sign swings... however once I include it in the slide show, the whole thing goes crazy:
The fade in and out of tweens don't work... sometimes the slide show skips and everything start moving very fast as if the timeline was fast forwarded.. The problem is that it acts as if there was some kind of script added.. however there's no action script included in the hanging sign..