potts43 Posted June 7, 2016 Posted June 7, 2016 Hi, I am currently trying to create a theme that has doors and what I want to happen is for the doors to be closed on start and then move to the left and off screen and remain off screen. I can start it off screen and bring it on screen - but I can't find the way to reverse that motion. I am wanting to have the doors reveal the rest of the theme as it moves off screen. Does anyone know if this is possible or have I out smarted myself? thanks
potts43 Posted June 7, 2016 Author Posted June 7, 2016 Ps tried using a swf but the theme just keeps looping the animation
wesfranks Posted June 7, 2016 Posted June 7, 2016 You could use an action script. Look at this flash basics tutorial- . Starts talking about scripting a loop stop at around 3:15.And for me (because I'm lazy) what I usually resort to is to pad the frames in flash until the entire theme animation runs out (usually the length of the video). This locks the view until the theme recycles preventing an animation loop. Also, google "Flash V-cam" for future reference. BTW, not an expert. I just play around, so ignore me for future better responses.
dark13 Posted June 7, 2016 Posted June 7, 2016 Just use this code on the last frame of your .swf. Right click on the last frame of animation in the timeline -> action stop(); Automatizing infopanels creation from .csv files for HTPCs themes (look at infopanel tutorial.zip on the ftp in dark13 folder) PNGs to SWFs automatized flash scripts Hyperspin Wheelset automatized template (photoshop's variables + batch) Aeon nox 4.13 W.I.P. hyperspin skin
potts43 Posted June 7, 2016 Author Posted June 7, 2016 Just use this code on the last frame of your .swf. Right click on the last frame of animation in the timeline -> action stop(); Dark thanks for the info. Never used action script before.If I manage to do the above and put it in a theme for HS will it play the swf and stop at the stop command but the theme animations will carry on looped like normal? Also I found that a 3 second 1024x768 swf was about 20mb -is there a way to keep the size down?
ninja2bceen Posted June 7, 2016 Posted June 7, 2016 Would love to see what you are up to. Doors? Advance the cause to 100%. http://hyperbase.hyperspin-fe.com/ Planet Geekdom, Subscribe for Tutorials! https://www.youtube.com/channel/UCdcby-s2GwriaOHGmVC2vGA?sub_confirmation=1&app=desktop
potts43 Posted June 7, 2016 Author Posted June 7, 2016 Would love to see what you are up to. Doors? Patience [emoji16]
dark13 Posted June 8, 2016 Posted June 8, 2016 Dark thanks for the info. Never used action script before. If I manage to do the above and put it in a theme for HS will it play the swf and stop at the stop command but the theme animations will carry on looped like normal? Also I found that a 3 second 1024x768 swf was about 20mb -is there a way to keep the size down? Yeah, the code will stop only what's inside the .swf, HS reads every swf as a standalone "software", you can mix artwork layers with stop and artwork layers with loop. TBH you can have also .swf with some layers looping and other layers playing only once if you create the animation with code inside symbols and place the symbols on the stage. What are you using as animation? If you animate a png in flash the size should be close to that of the pngs you are loading inside flash, if you convert the flash animation into frames the size will grow as every frame will store an image inside the file. the same thing happens when you import a .flv inside flash, every frame of animation will be stored as an image. When animating in flash DO NOT consider the framerate and the time, HS reads a .swf just as fast as your cpu can. This will create a serious desync between audio and video, so it's a good idea to NOT use animation with embedd synced audio. Automatizing infopanels creation from .csv files for HTPCs themes (look at infopanel tutorial.zip on the ftp in dark13 folder) PNGs to SWFs automatized flash scripts Hyperspin Wheelset automatized template (photoshop's variables + batch) Aeon nox 4.13 W.I.P. hyperspin skin
potts43 Posted June 20, 2016 Author Posted June 20, 2016 Yeah, the code will stop only what's inside the .swf, HS reads every swf as a standalone "software", you can mix artwork layers with stop and artwork layers with loop. TBH you can have also .swf with some layers looping and other layers playing only once if you create the animation with code inside symbols and place the symbols on the stage. What are you using as animation? If you animate a png in flash the size should be close to that of the pngs you are loading inside flash, if you convert the flash animation into frames the size will grow as every frame will store an image inside the file. the same thing happens when you import a .flv inside flash, every frame of animation will be stored as an image. When animating in flash DO NOT consider the framerate and the time, HS reads a .swf just as fast as your cpu can. This will create a serious desync between audio and video, so it's a good idea to NOT use animation with embedd synced audio. Just wanted to say your help fixed my glitches many thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.