Professional :: Publishing A Flash Video: Player Not Visible - Height And Width Referenced 3-times In Html?
Mar 5, 2010
When I publish my FLV video using Flash CS3 and the "SkinUnderAll" option...the player controls are not visible unless I change the height & width in the html file Flash created.But, Flash shows the height & width 3-times in the html.
Question-1: Why 3-times? What does each of the 3 Height & Width references do?
Question-2: How should I modify the code to be able to see the entire video and the player controls?
It seems if I change all 3 everything just gets bigger and bigger.
1 - I import it into Flash CS3 on a PC w/XP Pro using... File | Import | Video take all the defaults and choose "Skin Under All" as the player option.
2 - In "Properties" panel at bottom of screen Flash shows the video as 640x480
3 - I then click File | Publish to publish the video. Flash creates all my files for me.
MyVideo.fla
MyVideo.flv
MyVideo.html
MyVideo.swf
SkinUnderAll.swf
AC_RunActiveContent.js
4 - I then put the folder with the files on my website.
5 - The video plays but the player controls are not visible.
6 - I see the Height & Width referenced 3 times in the html file Flash created for me (and none are 640x480, they are 550x400 !)
7 - I try changing the 550x400 to 640x480 in all three places... no good. Even at 1000x1000 the entire player is not visible. Everything just gets larger.
What are each of the 3 references to Height and Width in the html file Flash Creates and which should I change to simply show all the player controls?
View 2 Replies
Similar Posts:
Jan 12, 2010
Has anyone got any alternatives to what Colin Moock has coded to GET VISIBLE WIDTH/HEIGHT OF A DISPLAY OBJECT in ActionScript 3? That esp. in perspective of DisplayObjects that have 3D transforms applied and visible dimensions of which you need to consider for a calculation.
View 2 Replies
Jul 4, 2011
when I layer an swf over html, with all the good stuff in place (wmode = transparent, z-index), I can't access the html elements in Firefox/Chrome/Safari. Here's a link to a test [URL] This is a stripped down version; I've also tried using swfobject.
View 1 Replies
Nov 8, 2003
I am trying to tile a 5x5 bitmap 160 times in height which will come to 800 and 120 in width which is 600.Here is the code that doesn't work:
gridx=5;
for (var i=0;i < 160;i++)
{
background.duplicateMovieClip("background"+i,i);
mc=this["background"+i];
[code]....
View 5 Replies
Jun 23, 2008
In many cases the pieces have artifacts outside of their visible area. For example, a piece can have a picture of a dog's face, but one of the long ears is off to the side, outside the visible region of the piece. The path data is extremely detailed, so our designers didn't crop it off. They used a mask (at least I think it's a mask, I'm not a graphics guy and know little about that stuff) and this makes it invisible in Flash, when we turn them into movie clips. Also, in Flash when I look at the width and height of the piece, it does reflect only the visible area.However, in ActionScript when I try to get the width and height using, for example
Code:
pieceObject.width
I get the width of the piece including the part that is hidden, i.e. a larger width than the visible area.Is there a way in AS 3.0 to get the height / width of the bounding box of visible area only?
View 6 Replies
Jun 25, 2010
I have xml file where I have put properties width and height.[code]The default width and height in flash IDE are 250x250.I am asking how can I dinamically set width and height to the above values when loading the xml is finished?I know that it is something with stage.stageWidth and stageHeight but every thing I tried doesnt seems to work.I am also using class actionscript file and I have constructor in it. Is it possible also to set these values when constructing the swf file?
View 2 Replies
Apr 18, 2011
In the following code Only the button image has been embeded into the flex code. But in the html object or embed tag why the height and width has to be specified. Even though for this is a normal button if we do not specify the height and width there seems to be some error
HTML
<div align="center"><br />
<div style="display:block;width:100px;height:100px;" id="audio"
class="testsound" align="center"/>
<p class="clickable">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="400" height="100" id="myMovieName">
[Code] .....
View 3 Replies
Mar 25, 2011
I would like to use a movieclip to load a flv video. The problem I have is that I want to change the video dimensions. I've tried several software to change the video dimensions but as far as it seems all of them keep the same height-width ratio than in the original video. Is there any software that would allow me to change the height and width without keeping the same height/width ratio as in the original video file?
View 3 Replies
Jul 9, 2010
I am trying to use IE8's IWebBrowser2 interface to obtain a webpage's embedded flash's url, height, width information. This flash can be generated by javascript. So I did like this: from IWebBrowser2 I got IHTMLElementCollection,then I iterated through the collection to get IHTMLObjectElement2,and finally called get_data() to get flash's url.
But when I tried to extract flash object's url for [URL], get_data() returned "null". Why is this?So what's the difference between IHTMLObjectElement2 and IHTMLElement2? What's the right way to obtain IHTMLElement2 from IWebBrower2?
View 1 Replies
Jul 29, 2010
I am trying to reference to top level (stage) width and height of the main stage for the placement of something located inside a movieclip on the stage.
My code is:
Code:
my_loader.x = (stage.stageWidth - my_loader.width)/2;
my_loader.y = (stage.stageHeight - my_loader.height)/2;
But this seems to just relate to the width/height of the mc that my_loader is nested in...
I have tried the following and had no luck:
stage.stage.stageWidth
root.stage.stageWidth
parent.stage.stageWidth
MovieClip(root).stage.stageWidth
View 8 Replies
Aug 20, 2010
I am using net stream video player with xml. How can i get videos dimension (Width and Height).if suppose i get the dimension of the video and i will change the video size with aspect ratio.
View 1 Replies
Nov 10, 2009
Does anyone know how to get the width and height in ActionScript for a Flex application running inside the flash player in the web browser.
e.g. In the web browser I can use the tag to embed a Flex application (as a .swf). To the embed tag, I can provide the dimensions. I would like to get these dimensions inside the flex application action script.
View 2 Replies
Jun 8, 2011
Is there a nice and not much processor consuming way to move all TitleWindow instances within the application visible area when the application been scaled - change it's width or height ?
View 1 Replies
Jan 10, 2011
The plan is to have that video stretch across the whole page (the flash does, the video itself does not).Firstly: well aware of the issues - bad performance, horribly stretched/pixelated video. I know this. However a client wants it so we have to do it, simple as that.Does anyone have any ideas on how this can be achieved? I've been in touch with the creators of the flash video player I'm currently using and they've confirmed it isn't possible with that flash video player.
View 1 Replies
Aug 13, 2009
Is their a way to determine the height and width of your flv f4v file after you dynamically load it?
Couldn't find any properties in the loader or netstreaminfo that I could grab the info from.
View 3 Replies
Jun 1, 2010
I am looking at the SimpleButton entirely wrong. Here's what I'm doing (inside of a MovieClip):
[Code]...
the close_btn.width and height remain 0. Am I supposed to just rely on the DisplayObject members of the SimpleButton completely and ignore width/height/x/y or what?
View 2 Replies
Jan 13, 2011
I'm trying to get size of a loaded youtube player, but it's not working (it's tracing 0):
fotoLoader = new MovieClipLoader(); fotoLoadListener = new Object(); fotoLoader.addListener(fotoLoadListener);
fotoLoadListener.onLoadInit = function(target) { trace (target._width);
}
fotoLoader.loadClip("http://www.youtube.com/v/"+"VhRas_qrz5Y", loader);
View 3 Replies
Oct 27, 2010
Can you adjust width and height of a player using the ac_fl_content function if you also have ActionScript 3.0 code in your player?
Here's part of the actionscript code that that I'm using[code]...
View 1 Replies
Jul 15, 2009
So far I've created a canvas size of 1920x1440 (in flash) and before publishing, set my html dimension width and height to 100%.After publishing my project and uploading to a server, it looks something like this:Although it appears fine, the images are being cropped. If you try re-scaling the browser window, the swf doesn't scale.Out of curiosity I tried setting my html scale setting to exact fitas you can see, the swf scales to the size of the browser and re-scales if you resize the browser widow, but its all out of proportion.
View 11 Replies
Sep 21, 2010
I'm trying to import a huge game race track 8000 x 7000, and I'm having problems.
View 7 Replies
Jul 13, 2010
I'm attempting to load HTML from the Shopify blog API into a TextField in Flash. The problem is that Shopify doesn't add width and height attributes to images that are in the blog posts. When I load these into Flash, the width and height of the image is ignored and the height of the TextField is incorrectl, which screws up my scrollbar among other things.
Is there any way to read the width and height of the images as they are loaded? I could possibly do this with PHP before it gets to Flash, but I'm not sure how.
View 2 Replies
Nov 30, 2009
I would like my website [URL] to be fullscreen and I've found this code to make it.But I am having problems with Firefox - the screen doesn't load anything, it is just a black screen. And in some IE the swf appears in a little square (very small) and not the size it was supposed to be in a maximized screen. The compatibility button on IE8 fixes it, but not everybody knows about this button..
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[code]....
View 1 Replies
Apr 13, 2011
i am trying to create a video player in AS 2.0, but I have a problem.My code loads a video, and plays the video, but.... I don't see my video xD.This is my code :
ActionScript Code:
var connection:NetConnection = new NetConnection();
connection.connect();
var flux_video:NetStream = new NetStream(connection);
[code]...
View 3 Replies
Jun 12, 2009
i want to load external images of different height and width into same height and width.
View 3 Replies
Feb 24, 2010
i want to load external images of different height and width into same height and width.
View 0 Replies
Oct 21, 2010
Create a html video list that uses a flash video player?
View 14 Replies
Aug 20, 2010
I am new in AS3.I am using net stream video player with xml. How can i get videos dimension (Width and Height).if suppose i get the dimension of the video and i will change the video size with aspect ratio.
View 7 Replies
Aug 20, 2010
I am new in AS3. I am using net stream video player with xml. How can i get videos dimension (Width and Height).
if suppose i get the dimension of the video and i will change the video size with aspect ratio.
View 1 Replies
Feb 10, 2011
The problem is im unable to set a custom height and width for it. It seems to leave some ugly whitespace and doesnt fully stretch.
<object width="540" height="350">
<param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFOEm1zAacTga1hxrmYl7Q0lOFesqks2LI="></param>
[code]....
View 1 Replies
May 12, 2011
I have a embedded image in an html document like this
<div id = "divmarquee" runat="server" visible = "true">
<object width="475px" height="75px">
<embed src="merchant_images/The_Marquee_Deal.swf" type="application/x-
[Code].....
It was working fine in local computer but when i published to test, the div is shown empty.
View 1 Replies