360 degrees product rotate using an flv file
Does anybody know of any action script that plays an .flv
file in flash, with a slider bar that will play the
video forwards and backwards?
Basically I want to create a 360 product spin using an flv
instead of a jpeg sequence as I believe it is faster.
Something similar to this:
http://www.yofla.com/flash/3d-rotate/
chickeninabasket wrote:
> Does anybody know of any action script that plays an
.flv file in flash, with a
> slider bar that will play the
> video forwards and backwards?
>
> Basically I want to create a 360 product spin using an
flv instead of a jpeg
> sequence as I believe it is faster.
>
> Something similar to this:
>
http://www.yofla.com/flash/3d-rotate/
If I may, just my 2 Malaysia's Cents.
I don't think scrubbing through video will be more efficient
than timeline based
images sequence. Video will likely be larger is size and
lower quality compared
to what you could do with images sequence. With images you
can as well control
the export compression to fine tune quality versus file size.
With video, you will
have to do multiple rendering. More time consuming
Also, it has much to do with action script itself as well as
number of frames used
for the 360. Take for example my MINI Cooper S:
http://flashfugitive.com/stuff/360/car/mini.html
Much smoother and smaller than the link above, you can also
drag it and throw.
* MINI - 530kb
* yofla.com 3d-rotate - 1.5mb
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
I'm new to Flash and I'm having trouble rotating my mc 360 degrees using the 3D Rotation Tool. I can rotate it 180 degrees, right side coming forward, but when I attempt to rotate it back to its original position, it doesn't continue the rotation in the same direction (right side coming forward). So instead of apearing to rotate completely, it looks like it rotates half way, stops, and rotates back (left side comes forwards).
Probably an easy solution, but as I said, I'm new.
Thanks in advance.Animation apps always choose the fastest way from a->b. You might think starting at 0, setting a keyframe at 180, then another at 0 would mean 'do a full rotation'. However the computer knows going from 180 in reverse back to 0 is faster.
This is the most common rotation issue in any animation app. You need to make sure the 2 points you want to change between are actually the best route from a->b.
For instance if you start at 0, keyframe up to 182, then keyframe to 0, it should rotate properly. 182 wrapping past 360 to 0 is faster than going from 182 in reverse back to 0.
It's easier just to set 3 keyframes usually. 0-120, 120-240, 240-360. That assures you the distance between each keyframe will go in the expected direction (shortest from a->b). -
Using a FLV file in Flash for Web Graphic
Hello thank you for looking in.
I made a FLV file in After effects. 5 seconds long. I would like to convert it (So I think) in Flash so I can park it on my website for some 'eye candy' I was able to import the FLV an After Effects creation exported as an Alpha FLV.
I import it to the stage, have a few options about players when doing so. I used the stand alone Player option when opening my sequence. I prewview it and it works fine using both Browser and Player mode when previewing movie. However, I am unsure how to make that file play or loop forever? I am unsure of exporting it so I can just upload it to my Wordpress site and stuff it in my header so it plays when a browser opens that page. I know that is a tall order to ask. If you could either direct me to a link to the proper steps I would need to learn I would appreciate it.
Thanks in advance for any direction on this one. I have created a flash poject or two and exported them as swf and have had them work, but I have never used an imported FLV is there any diff? And how come it does not automatically loop without the ACTION ()Stop ?I was able to get my FLV FLASH to Loop, must have been a glich on my end. Closed it and reopened it and it reverted back to a loop. I am still wondering, or I forgot the steps to exporting my work with JS ? I cannot remember where I found that info, nor how I did it. As of now I turn on JS toolbox and my Html export is a white box....I would love to export as no background, or Alpha and have the JScode export so all I need to do is cut and paste into my HTML page and change the upload address or A href " " Steps...Anyone? Thanks
BTW I was able to export my AE file as a SWF however all the cool stuff that made the eye candy was not supported like fill over stroke or 3d when exporting out of AE direct as a SWF with LOOP. FWIW -
Using Multiple FLV files on one page with one Flash Player
I have a web site with 6 videos. I am hoping to find help figuring out how best to develop the web page that will allow me to associate several FLV files with one Flash Player. And to have each of the videos "launch" when triggered by a link containing the title.
I have the video titles as links that will launch the associated FLV file when clicked. It is a selection menu with the Flash player on the same page.I don't know which player you're using, but this is usually done with XML or Javascript files (playlists) because you can't directly link to FLVs and have them play in browsers.
That said, Flash is dead as a web technology now because it isn't supported by all the latest and most popular web devices (iPhone, iTouch, iPads). If you want to reach the widest possible audience with your videos, I would suggest using MP4 videos with an HTML5 player that supports playlists.
See Pickle Player
http://www.pickleplayer.com/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
How to use multiple video files??
hi all,
i am using flex 4 ...
now i have designed video player..
i used single flv file for execution..
how to use more flv files in tis program???
i have included program also..
can any one reply for this...
thanks in advance...
regards,
saran r
video.mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init()" height="700" >
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
import flash.events.NetStatusEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
private var nc:NetConnection;
private var stream:NetStream;
public var videoDuration:Number;
public var nsClient:Object = new Object();
private var videoComp:Video = new Video();
private var meta:Object = new Object();
private var timer:Timer = new Timer(100);
private var uiComp:UIComponent = new UIComponent();
private function init():void
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.connect("rtmp://localhost/saran");
this.addElement(uiComp);
uiComp.addChild(videoComp);
timer.addEventListener(TimerEvent.TIMER,timerHandler);
timer.start();
private function netStatusHandler(event:NetStatusEvent):void
trace("Code ===>>> "+event.info.code);
if(event.info.code == "NetConnection.Connect.Success")
connectStream(nc);
private function connectStream(nc:NetConnection):void {
stream = new NetStream(nc);
videoComp.attachNetStream(stream);
stream.play("Terminator")
// stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
stream.client = nsClient//new CustomClient();
nsClient.onMetaData = metadataHandler;
trace("stream ===>>> "+stream.currentFPS);
//responder = new Responder(onResult);
// nc.call("getStreamLength", responder, "bikes" );
private function metadataHandler(metadataObj:Object):void
meta = metadataObj;
videoComp.width = metadataObj.width;
videoComp.height = metadataObj.height;
//positionBar.move(videoComp.x, ((videoComp.y + videoComp.height)+20));
//positionBar.width = videoComp.width;
trace("Duration ====>>>> "+meta.duration);
private function timerHandler(event:TimerEvent):void
//trace("Timer called.........."+stream.time);
//positionBar.setProgress(stream.time, meta.duration);
]]>
</fx:Script>
</s:Application>I have the same question but I am using two pc's
-
Working with preloader and FLV files
I am able to get the Flash preloader working with say an image like JPG but when I attempt to have the preloader load a video it doesn't work. I read that in order to use a FLV file it needs to be embedded into a SWF file so preloader can work with it. One issue with embedding the FLV file into the SWF is the sound does not match up with video after that conversion which can kinda be fixed by changing the FPS.
Needless to say I have not been able to get this working correctly. I am not sure if there is a work around for this issue.
Thanks for all the help out there.Here is my code
var imageURL:String = "vid12.SWF";
var request:URLRequest = new URLRequest(imageURL);
uiLoader.scaleContent = true;
uiLoader.load(request);
progressBar.source = uiLoader;
progressBar.addEventListener(ProgressEvent.PROGRESS, progressHandler);
progressBar.addEventListener(Event.COMPLETE, completeHandler);
function progressHandler (event:ProgressEvent):void {
status_txt.text = int(event.currentTarget.percentComplete) + " %";
function completeHandler (event:Event):void {
progressBar.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
progressBar.removeEventListener(Event.COMPLETE, completeHandler);
removeChild(progressBar);
status_txt.text = ""; -
Which Adobe product is used to play .flv files
In our social networking site [link removed] I would like to have couple of .flv embedded files. What is it that is required for users to play these kind of files automatically when the video is in center of the screen, something like what is in facebook. Also, would it work inside the news feed as well?
The only plug-in I've ever been aware of that allows .flv files to play on Quicktime is Perian. You can still download it -- http://perian.org/ -- However, it has been discontinued and is no longer being supported. My recommendation is to use a different, more fully featured, player. You can't go wrong with VLC -- http://www.videolan.org/vlc/index.html -- it can handle just about any media format you can throw at it.
-
Hi,
I am trying to implement an application which make the effect of 360 degree rotation. In order to make this effect, i have 72 images of each product which had taken at each 5 degree of the product. The priniciple behind slide show application is using to make this effect. The images are loading sequentially. It works well. But after one full rotation, i am making a reset for 2 variables which handles the index position of current and previous images. I think because of this, a small jerk is feeling after one full rotation. Is there any way to avoid this.
The other problem is that if i make scaling or (x,y) coordinate changing, after one full rotation, a jerk is feeling continously. If i do not make any changes it will work well. Can anybody help me to solve this.
Regards,
SreelashHi, I am attaching the code with this thread. The tool is almost working condition. The problem is I can't align or scale the images. If I make any changes, the rotation will not be smooth. Can you let me know why it's being like this? The rotating tool I have implemented is according to the tool I downloaded from Yofla.com. I am attaching both the fla with this mail.
Regards,
Sreelash -
I am having issues with 360 degree rotation, I have an iPhone 5 and ios 6.0.2. I have read alot about this issue online and I found out that my issue is software. I want to know if and when apple will fix this issue?
I had the same experience with a new iPhone 5 that I bought last week. Did not have a chance to measure battery life before the 6.0.2 upgrade installed but I set up my phone exactly like my 4S and immediately started running out of power after short periods. Went to Xmas get together with fully charged 5 and 4S. Heading home the iPhone 5 shut down for low battery and the 4S had 65% power. Both phones had two half phone calls on then and no data usage.
That night I fully charged the iPhone 5 and, without lighting it up, put it on my night table. Next morning I picked it up and looked at battery indicator and I had 42% charge with NO activity!
Tried it again next night and wound up with 37% charge. (Slept longer).
Today I called the carrier and reactivated the 4S. Took the 5 to Apple Store and they kindly gave me choice of new replacement phone or refund. I took the refund. Uniquely, the Apple Store said it was Verizon CDMA phones that were coming back.
The are other strings on this with temporary solutions, but from my experience with 7 firmware changes on an HTC 4G phone the problem will continue because the solution will be hardware caused. We are in the days where RTM means Rush to Market - not Release To Manufacturing.
I fear the only solution is to either wait for the next model (I did not notice a really major change in performance over the 4S in LTE heavy Seattle area) - or switch to another manufacturer.
It might be useful for these forums to indicate if you have a GSM or CDMA phone to see which have more problems.
Discouraged.... -
Rotating .FLV files within a movie
Hi all,
I'm new to Flash 8 and mostly interested in the IMporting and
linking to .flv files within a .swf movie. My question is:
Is there a way to have the .swf file randomly rotate a number
of .flv files? In other words - like being able to upload several
.flvs into a directory and the .swf randomly selects and plays one
of them per page refresh?
I hope I was clear - I'm not up on the lingo yet.
Thanks
DodgeDodge,
> I would be interested in knowing the method, David.
Happy to oblige.
> I'm puzzled that you chose to exclude this information
> from your reply. Have I broken a posting rule breached
> an ettiquette of some sort?
Dodge, you're absolutely fine. You haven't done a thing
wrong. I was
just being silly. I'm in here almost every day, and sometimes
I get a
chuckle out of answering exactly the question asked. I should
have been
more clear that I was teasing. Honestly, my apologies if I
caused any
headache.
So let's take a look at your goal. You have x-number of
external FLVs
available and would like your SWF file to choose one of those
at random to
display it. We can break this goal down into two parts: a)
loading
external FLV files and b) choosing an item randomly from a
list. Let's
start with the second part -- which you can use, by the way,
to choose
randomly from a group of JPGs, too, or even to jump to a
random frame label.
You'll need a bit of ActionScript for this, but I'll try to
make it
straightfoward. One of the many objects in ActionScript is
something called
an array. An array is essentially a list. Objects are defined
by something
called classes, which dictate the functionality of the object
in question.
The Array class defines all array objects, and we can produce
one to meet
our needs by using the following code. Put this in frame 1 of
your main
timeline.
var videos:Array = new Array();
The term var creates a variable. Our variable is arbitrarily
named
videos, of type Array. We use the expression "new Array()" to
produce an
Array instance (an object). The videos variable basically
points to this
object -- thing of it as your "handle".
The Array class defines a number of methods (things the
object can do).
Because our object is an instance of Array, our object has
available to it
all the methods described in the Array class. (You can read
about all these
classes in the ActionScript Language Reference, by the way --
excellent
reading!)
One of the methods is called Array.push(), which "pushes"
something into
the array.
videos.push("uno.flv");
videos.push("dos.flv");
videos.push("tres.flv");
So ... by invoking Array.push() on our object, we have added
the names
of three FLV files to the first three "slots" of our list.
These can be
retrieved later by uses square brackets and the desired slot
number. Arrays
start at zero, so the first element, uno.flv, lives here ...
videos[0];
... the second lives here ...
videos[1];
... and so on.
Next, we'll use the Math.random() method to generate a
random number
between zero and however many elements are in our array.
We'll get that
upper limit by using the Array.length property. Properties
describe the
characteristics of an object.
In our case, so far, videos.length returns 3, since there
are three
elements in our array.
Math.random() returns a random decimal number between zero
and one, so
if we multiply that by videos.length, then round the number
down to the
nearest integer, we'll have a random number that will choose
one of the
three slots in our array. To round down, we'll use the
Math.floor() method.
We'll store our chosen number in another variable.
var randomNum:Number = Math.floor(Math.random() *
videos.length);
This always returns either 0, 1, or 2, because of the number
of elements
in our array.
Now we can use the number stored in randomNum to access a
particular FLV
name.
videos[randomNum];
Makes sense, right?
Now, there are several ways to load an external FLV. The way
I
prefer -- though, of course, your needs may differ -- is to
forego any of
the Media playing UI Components and use a Video object as
described here ...
http://www.quip.net/blog/2006/flash/how-to-load-external-video
.. then use the expression videos[randomNum] (which returns a
string;
namely, the name of an FLV file) to describe the desired FLV.
Give this a shot and write back with specific questions, if
you have
any. The ease of this approach depends entirely on your
comfort level with
programming, so if you run into snags, don't hesitate to come
back.
I tease, but I don't bite.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design." -
360 degree rotate image mouse drag edge tutorial
360 degree rotate image mouse drag edge tutorial and give edge file
My thoughts would be to, use an event listener for mouse
down.. then depending on where the mouse is down have it create
another event listener for mouse move, for example if the mouse x
and y was in the range of where you want.. And after that in the
mouse move function create a tween depending on where the mouse x
or why moves to.
private function mouseDOWN(evt:MouseEvent):void{
//if mouse x or y is in the position rang wanted, create the
event listener for mouse movement and mouse up.
private function mouseMOVED(evt:MouseEvent):void{
//if mouse y moved from original position, figure out the
difference
// create a tween on the object's original location, and
addition of the difference.
private function mouseUP(evt:MouseEvent):void{
// remove all of the event listeners to stop all
interaction. Also removing the mouse up listener.
hope this helps -
Using AMP to download and save FLV files from web sites?
I thought I had heard months ago that this new media player was going to allow you to download and save the FLV files from web sites like YouTube and others, where a direct download while possible, isn't the easiest thing to currently do. But I don't really see any way in this new media player to download and save files from web sites....it's plenty willing to play them if they're already saved on your hard drive, but I thought one of the reasons for Adobe building this was to make it easier to get them in the first place?
I'd have to agree. This is one of the most useless products I have seen from a company of this standard. Why they continue to provide this product as an example of what can be done with AIR, is bewildering. Myself and others have posted over and over again that the player deletes the saved movies at some random time, an hour or two hours after they appear to be saved.
What is the point of having a 'saved' icon the CD ICON if that movie will be deleted FOR NO BLOODY reason. I just wasted 400 mb of my quota dowloading moves 3 times...!! just to realise that the application deletes them from the VERY CACHE that it copies them to.
Adobe, if this is what I can expect while trying to view the tutorials for FLEX what will the development experience be like. Myself and others are fed up with posting this bug to Adobe, just to be ignored. How much stress to do you want on your servers before you WAKE UP.
I have been in 4 meetings over the last 2 weeks and everyone has remarked about the 'experience' trying to view these tutorials.
Wake up to yourself. If you want to charge $500 for FLEX then atleast fix this crappy player.
PS. I note that this player is supposedly built with Flex and that the list control truncates rather than wraps, in addition, no 'tool tips', dates are not localised, the video keeps unpausing itself each time I return from the downloads page, no settings for where files should be cached. Occasionally the underlining (grey) window bar appears over the top of the flash window edge. I've used the application for an hour or so...
Where is the alternative... I'll be glad when Adobe get some real competition.. so that they pay attention to input. A big wastefull site if all support does is read and ignore posts.!!!!!!!!!!!! -
Create navigation cue points in a FLV file using Media Encoder CC
When I export a FLV file with Navigation cue points created in Media Encoder CC (by loading a cue points XML file), upon examining the file I see that the cue points are recorded as Event type cue points in the metadata at the top of the file.
When I load the FLV file in Flash, I can receive cue point notifications using action script while the video is played, but cannot use seekToNavCuePoint to move the play head to one of the cue points, which accords them being Events rather than Navigation points.
I am wondering if there are any other export settings which need to be particular values in order for navigation cue points to be created properly in the exported file?Lestyn, thanks for the verification. Took me a frantic 4 hours to arrive at the same conclusion. Do these people test their software???
Maddening. -
Using linked flv content in swf file -for deployment on Breeze server
Can anyone tell me the procedure for creating swf and linked
flv file with Sorenson Squeeze for deployment on the Breeze server
or in Breeze Presenter? All Adobe will share is the how to this
with Flash. I feel certain this can be done but all my attempts
have failed to have the swf show the referred flv link. To
interpret the Flash procedure, it seems that all one has to do is
add /output "file name" to the swf player flve linked url, but the
published flv file only shows a white screen. It does not seem to
load the linked flv file - even if I have allowed public viewing of
the flv content.The procedure may be the same - I'm pretty familiar wit h
that by now - but the results are not. I think the key difference
is that the linked file url addendum "/output/filename" required
from Breeze when creating the linked flv url call-out from the swf
file, does not work is advertised in Sorenson Squeeze. Before
attempting to insert this linked swf file in Presenter, I have
attempted to elicit the same interactivity just by uploading the
fwo files to the Breeze server. Sorenson does not seem to be able
to recognize that additional linked url with the additional "output
/ file name" addendum that Breeze requires. I have replicated that
same procedure in Flash 8 and the results work perfectly. I just
don't like being forced to use a 900 lb gorilla like Flash 8 to
create this simple task when a less costly program like Sorenson is
squeeze should work correctly. Frankly, I think a lot of other
Breeze authors, who are not as adept with this video encoding
process, or who want to be using a developer tool like Flash to
create their video clips. My experience with our users is that that
most shy away from using video in Breeze because it is way too
cumbersome. - Something Adobe should consider before more prospects
move over to another similar authoring program that has actually
dedicated itself to advancing their authoring software
capabilities. -
Use space bar to play an FLV file
I have an external FLV file on frame 25 of my flash movie. I
would like to make it so the user has to press the space bar for
that FLV to play. Right now it plays automatically when we get to
frame 25. How can I do this?
Thanks,
RichHow do I change to Actionscript 2.0? It won't let me enter
the code. If something is done in Actionscript 3 already, I am
guessing that I can't used 2.0. Then what should I do?
Thanks,
Rich
Maybe you are looking for
-
Jabber for Windows 9.2 Deskphone Control
Hi, I have a deployment with: CUCM 9.1(1a) (9.1.1.20000-5) IM and Presence 9.1(1a) 9.1.1.20000-5 Jabber for Windows 9.2.3(4417) I have got most features working but Deskphone Control is not working. I can see the devices associated with my user from
-
Can I share one iTunes account for my iPad and two I phones? If so, how can I get the purchased apps and music on all three devices? How do I sync all the devices to have the same music and apps?
-
File Content Conversion Receiver
Hello, I've the follow structure: 1 entrega 0..unbounded 1.1 entregas 0..unbounded 1.1.1 pedido 0..1 1.1.2 posicion 0..1 1.1.3 marcas
-
Plugging in vs. Running on Battery
So I've heard the old "commuter on a train" bit about how long a battery should be plugged in vs. running on battery, but I find this answer sorely lacking in details. Right now, I have new Macbook Pro that I run mostly where I can plug it in or run
-
Hello everyone. Syncing RAW files is too fast. They are only syncing as JPGS. How can I get a true RAW file sync? I know I can go to iTunes and click on the apps button and select an app that supports a "documents folder" type of sync. But, when I op