<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Embeding JW player 4.0 in a flash website (AS3)</title>
		<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-</link>
		<description>LongTail Video forum thread: Embeding JW player 4.0 in a flash website (AS3)</description>
		<ttl>60</ttl>
		<language>en-us</language>
		<copyright>some rights reserved (cc)</copyright>
		<pubDate>Sat, 21 Nov 2009 06:23:39 -0500</pubDate>
		<lastBuildDate>Fri, 23 Oct 2009 21:00:27 -0400</lastBuildDate>
		<atom:link href="http://www.longtailvideo.com/jw/rss/?thread=11830" rel="self" type="application/rss+xml" />
		<item>
			<dc:creator>James</dc:creator>
			<title><![CDATA[Nevermind, I got it all figured out using the examples  ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135257</link>
			<description><![CDATA[Nevermind, I got it all figured out using the examples above.  It's working fine now.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135257</guid>
			<pubDate>Fri, 23 Oct 2009 21:00:27 -0400</pubDate>
		</item>
		<item>
			<dc:creator>James</dc:creator>
			<title><![CDATA[Does anyone know if version 4.6 has added back the supp ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135231</link>
			<description><![CDATA[Does anyone know if version 4.6 has added back the support for the config.resizing so that the size of the player can be changed on the stage?]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135231</guid>
			<pubDate>Fri, 23 Oct 2009 16:04:14 -0400</pubDate>
		</item>
		<item>
			<dc:creator>James</dc:creator>
			<title><![CDATA[Ugh, nevermind, I found it:http://developer.longtailv ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135230</link>
			<description><![CDATA[Ugh, nevermind, I found it:
http://developer.longtailvideo.com/trac/browser]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135230</guid>
			<pubDate>Fri, 23 Oct 2009 15:48:23 -0400</pubDate>
		</item>
		<item>
			<dc:creator>James</dc:creator>
			<title><![CDATA[Hi All, Hopefully someone can help. Where can I get ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135229</link>
			<description><![CDATA[Hi All, 

Hopefully someone can help. Where can I get access to the following files:

import com.jeroenwijering.events.*;
import com.jeroenwijering.player.*;
import com.jeroenwijering.plugins.*;
import com.jeroenwijering.utils.Configger;

I downloaded zip file from the site, but there is no "com" directory listed.  Is there somewhere else that I can download those files?]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg135229</guid>
			<pubDate>Fri, 23 Oct 2009 15:43:09 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Paul Odeon</dc:creator>
			<title><![CDATA[[b]It's the version stupid![/b]I tried using the me ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg132438</link>
			<description><![CDATA[[b]It's the version stupid![/b]

I tried using the method above which didn't work until I went back a version from 4.5 to 4.4. It seems that v4.5 has removed support for the essential config.resizing which allows you to resize the player on the stage.

I also embeded the video into it's own class. This works for me except for the play event. Hope it helps someone struggling with the same issue:

[code]package com.rankedriders.display {
	import flash.display.Sprite;	
	import flash.events.Event;
	import flash.net.URLRequest;
	import flash.display.Loader;
	import flash.system.Security;
	
	import com.jeroenwijering.events.*;
	import com.jeroenwijering.player.*;
	import com.jeroenwijering.plugins.*;
	import com.jeroenwijering.utils.Configger;
		
	public class Video extends Sprite {
		private var playerObject:Object;
		private var view:Object;
		
		private var playerLoader:Loader = new Loader();
		private var playerHolder:Sprite = new Sprite();
		
		public function Video():void {
			Security.allowDomain("*");
			loadPlayer();
		}
		
		public function loadPlayer():void {
			playerLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onPlayerLoaded);
			playerLoader.load(new URLRequest("player.swf"));			
		}
		
		private function onPlayerLoaded(event:Event) : void {
			playerObject = event.target.content as Object;
			
			playerObject.addEventListener(PlayerEvent.READY, onPlayerReady);
				
			playerObject.config.file = "video.flv";
			playerObject.config.image = "still.flv.jpg";
			playerObject.config.fullscreen = true;
			playerObject.config.controlbar = 'over';
			//playerObject.config.autostart = true;
	
			addChild(playerLoader);
		}
		
		private function onPlayerReady(event:Event = null):void {
			playerObject.config.resizing = false;
			playerObject.config.width = 640;
			playerObject.config.height = 360;

			playerObject.view.sendEvent(ViewEvent.REDRAW);		
			playerObject.view.sendEvent(ViewEvent.PLAY);
		}
	}
}[/code]]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg132438</guid>
			<pubDate>Mon, 28 Sep 2009 15:22:06 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[Finally got everything working the way it's supposed to ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126749</link>
			<description><![CDATA[Finally got everything working the way it's supposed to be... except when I upload it to be embedded in the final website. Flash debugger throws me:

TypeError: Error #1085: The element type "br" must be terminated by the matching end-tag "</br>".
	at com.jeroenwijering.utils::Configger/xmlHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at flash.net::URLLoader/onComplete()

And I'm thinking this is either something in JWPlayer or in my XML, but there is no <br> in there or anything like it. Should I file a separate bug for this?]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126749</guid>
			<pubDate>Thu, 06 Aug 2009 11:54:13 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[-update- Fixed the resizing with some nasty AS:addE ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126425</link>
			<description><![CDATA[-update- Fixed the resizing with some nasty AS:

addEventListener(Event.ENTER_FRAME, onEnterFrameMC);

function onEnterFrameMC(event)
{

	
control.width	=	1;
control.height	=	1;

control.x	=	0;
control.y	=	0;
control.width	=	stage.width;
control.height	=	stage.height;
if (stage.width <= 400 && stage.height <= 300)
{
	control.visible = false; 
	}
	else {	control.visible = true;}

} 

(for anyone with the same problems... "control" is the object that should be resized)

There is a weird bug where the stage won't resize to something smaller than 400 x 300. I suspect JWP is using this as a minimum size?]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126425</guid>
			<pubDate>Mon, 03 Aug 2009 14:55:58 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[Another problem: I have the same issue as everyone seem ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126181</link>
			<description><![CDATA[Another problem: I have the same issue as everyone seems to have: the player takes the full stage, and resizes to anything you resize the stage to.
But: that's exactly what I want it to do. However, when I call the player to the stage, all other items resize like the whole file's StageScaleMode is set to NO_SCALE, while I would like it to behave like EXACT_FIT.
It does behave like that, the first second or so, until the player is loaded.
Demo: have a look at http://zooi.krekr.nl/webcam/webcam.html and resize your browser.
I'm using Justins code from june 24th and the licenced player 4.5. The com.jeroen.....-folder is also 4.5

I've already searched all the .as files in there, but found nothing that would set the scale mode or something like it.
Jeroen (or anyone else from the team) are you considering supporting everyone here that wants to use your player inside flash? I think it would really help if there was a place where we could properly discuss and document this instead of a single thread...
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg126181</guid>
			<pubDate>Fri, 31 Jul 2009 03:44:16 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[@Justin I am wanting to add a player to play a file, th ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123814</link>
			<description><![CDATA[@Justin I am wanting to add a player to play a file, then removechild and choose another filer to play (I don't want a playlist)

The removechild cmd is causing other issues with buttons and graphics. Anyone really good with AS3 that can help me get this cleaned up.

Thanks.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123814</guid>
			<pubDate>Thu, 09 Jul 2009 23:40:15 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[Ok to get the player off the screen is easyremoveCh ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123667</link>
			<description><![CDATA[Ok to get the player off the screen is easy

removeChild(videoPlayer);

talk about not being able to see the forest for the trees.

all I need to do now is unload to tidy things up.

If anyone has any suggestions I would love to see them.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123667</guid>
			<pubDate>Wed, 08 Jul 2009 15:31:16 -0400</pubDate>
		</item>
		<item>
			<dc:creator>randy</dc:creator>
			<title><![CDATA[not really 'unloaded' but a simple-cheap solution might ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123551</link>
			<description><![CDATA[not really 'unloaded' but a simple-cheap solution might be to simply go to a frame in the parent with it moved off the stage.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123551</guid>
			<pubDate>Wed, 08 Jul 2009 01:57:41 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[Randy I don't think so .. I am still working on figurin ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123498</link>
			<description><![CDATA[Randy I don't think so .. I am still working on figuring out how to unload the player to make it go away once you load the child.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123498</guid>
			<pubDate>Tue, 07 Jul 2009 16:28:55 -0400</pubDate>
		</item>
		<item>
			<dc:creator>randy</dc:creator>
			<title><![CDATA[thanks Gregor...so anyone got the fullscreen proble ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123497</link>
			<description><![CDATA[thanks Gregor...

so anyone got the fullscreen problem figured out yet?
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123497</guid>
			<pubDate>Tue, 07 Jul 2009 16:22:52 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[-update-: Problem solved: Load JWPlayer in a separate m ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123463</link>
			<description><![CDATA[-update-: Problem solved: Load JWPlayer in a separate movieclip and place that on the stage in a layer below anything that needs to be on top of it. Dôh!]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123463</guid>
			<pubDate>Tue, 07 Jul 2009 12:01:40 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[Randy, I feel you. I think a user deserves a little mor ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123374</link>
			<description><![CDATA[Randy, I feel you. I think a user deserves a little more attention when he supported the development by buying a licence. Even when you're trying something "unsupported"...]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg123374</guid>
			<pubDate>Mon, 06 Jul 2009 17:59:50 -0400</pubDate>
		</item>
		<item>
			<dc:creator>randy</dc:creator>
			<title><![CDATA[I too got Justins '5stepsNdance' method above working q ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122967</link>
			<description><![CDATA[I too got Justins '5stepsNdance' method above working quickly!  
Thanks so much Justin, Eric & all involved! 

But there are a few issues for me.

Full screen (as usual):
I set allow fullscreen in the html..
so  now the fullscreen button on the player works
BUT it simpy fullscreens the parent player rather then the JW players 'video' only
(which kind of figures but I beg for the video only to go fullscreen somehow!).

I got a playlist working.... 
BUT the playlists slide bar controller is not visible
(did this test quickly so I might just need to play with size params). 

I'm a med level flash guy and haven't tried this but
I wonder if there's a way to use a mc to the JW player?... 
so we could size and animate the player in n out.

I didn't even try this yet but any tips how to tell the JW player to play video files from a flash button ?

And lastly I sure wish this wasn't sooo taboo JW... 
the player rocks but why won't you help all of us out?
FWIW - I bought in..

Cheers to the hackers here who can help make this fully functioning! 
Randy
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122967</guid>
			<pubDate>Wed, 01 Jul 2009 15:53:07 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[This may seem like a silly question, but once you got t ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122859</link>
			<description><![CDATA[This may seem like a silly question, but once you got the player loaded. How do you unload it at a later frame?

IE I want to see the player on frame 12, where I have a stop command but once I play to frame 14 I do not want to see the player.

I added a keyframe to my actionscript layer and removed the players action script from that keyframe, and replaced it with 

[code]private var videoPlayer:Loader;
private function loaderCompleteHandler(event:Event):void
        {
           videoPlayer.contentLoaderInfo.removeEventListener(Event.COMPLETE, loaderCompleteHandler); 
            videoPlayer.removeChild(videoPlayer); 
            
//this is where we unload the child SWF
            videoPlayer.unload();
            videoPlayer = null;

//at this point, the child SWF should be ready to be garbage
//collected. only the child SWF can keep itself in memory now.
//it had better clean up after itself!
		}
stop()[/code] But I get an error when I publish.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122859</guid>
			<pubDate>Tue, 30 Jun 2009 13:47:37 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[Justin works really well. The only flashvar I could not ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122814</link>
			<description><![CDATA[Justin works really well. The only flashvar I could not get to work so far is volume. 

ply.config.volume = 100;

Doesnt seem to do it so I used this:

videoPlayer.load(new URLRequest('DemoPlayer/player-licensed.swf?volume=100'));

That worked. Anyone know why it doesnt work in the ply.config?]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122814</guid>
			<pubDate>Tue, 30 Jun 2009 10:30:03 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Gregor van Egdom</dc:creator>
			<title><![CDATA[I'm trying to create an embedded player with some extra ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122793</link>
			<description><![CDATA[I'm trying to create an embedded player with some extra functionality (sharing, embed code etc.) that I want full control over (not via plugins). So far, Justins code (or at least some that looks much like it) works out fine.
However, anything else I place in the flash file gets rendered [b]below[/b] the video. When the flash file starts, anything else in the swf gets rendered, but after about a second the video overlaps everything. I would like to have the video rendered at the very bottom of the file.
I've tried layers and using the swapDepths() function, but I'm no AS-hero...

-edit- thanks everybody here for making this possible]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122793</guid>
			<pubDate>Tue, 30 Jun 2009 05:01:08 -0400</pubDate>
		</item>
		<item>
			<dc:creator>joe_average</dc:creator>
			<title><![CDATA[@justinyour solution works *perfectly* for me!!!  ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122300</link>
			<description><![CDATA[@justin

your solution works *perfectly* for me!!! 

thank you so much


EDIT: i will now make use of the option 'dance'.. :-)]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122300</guid>
			<pubDate>Thu, 25 Jun 2009 07:02:32 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Justin</dc:creator>
			<title><![CDATA[I think I finally found an easy way to load the media p ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122262</link>
			<description><![CDATA[I think I finally found an easy way to load the media player inside an existing fla and customize all the flashvars.  This is largely based on Eric's method (see earlier posts). This method does not involve altering the player in any way.

Step 1: Download a zip archive of the latest media player source files (i.e. http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-4.4), and extract the zip.

Step 2: Inside the folder with the extracted source files, create a new Flash File (Actionscript 3).

Step 3: In frame 1 of your new Flash File, add the following ActionScript:

[code]import com.jeroenwijering.events.*;
import com.jeroenwijering.player.*;
import com.jeroenwijering.plugins.*;
import com.jeroenwijering.utils.Configger;
import flash.display.MovieClip;
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.net.URLRequest;

var view:Object;

var videoPlayer = new Loader();
videoPlayer.contentLoaderInfo.addEventListener(Event.COMPLETE, videoLoaded);
videoPlayer.load(new URLRequest('player.swf'));

function videoLoaded( evt:Event ):void {
	var ply = evt.target.content;
	ply.addEventListener('READY',playerReady);	

	// customize flashvars via the ply.config object
	ply.config.resizing = false; // leave this for custom width, height, x, and y
	ply.config.file = 'video.flv';
	ply.config.height = 240;
	ply.config.width = 320;

	// position player on the stage
	videoPlayer.x = 50;
	videoPlayer.y = 100;

	addChild(videoPlayer);
}

function playerReady(evt:Event=null) {
	view = evt.target.view;
	view.sendEvent(ViewEvent.PLAY);
	view.sendEvent(ViewEvent.LOAD,evt.target.config);
};[/code]

Step 4: Edit the necessary settings in the videoLoaded function.

Step 5: Publish your Flash File.

Step 6 (optional): Dance!]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg122262</guid>
			<pubDate>Wed, 24 Jun 2009 18:42:45 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[I got a note from a friend of mine who had an email sen ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121226</link>
			<description><![CDATA[I got a note from a friend of mine who had an email sent to him from one of the JW developers. Here is what he said.

The player can't be embedded inside another flash app without some modification - as Brad discovered, it tries to resize itself to the size of the stage.

If he's considering altering the player, the relevant code can be found here:

http://developer.longtailvideo.com/trac/browser/trunk/as3/com/jeroenwijering/player/Controller.as#L364 

So now everyone knows where to go. If you do adjust the code please post what works for you here, so we all can benefit.
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121226</guid>
			<pubDate>Tue, 16 Jun 2009 10:31:59 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[I am however having an issue on sizing the smaller than ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121167</link>
			<description><![CDATA[I am however having an issue on sizing the smaller than the rest of the movie.

videoPlayer.load(new URLRequest("player-licensed.swf?skin=simple2.swf&height=150&width=150"));
function videoLoaded( evt:Event ):void {
var ply = evt.target.content;
ply.addEventListener('READY',playerReady);
videoPlayer.x = 1; // player position
videoPlayer.y = 1; // player position
videoPlayer.height = 150; // player size
videoPlayer.width = 150; // player size
videoPlayer.scaleX = 1;
videoPlayer.scaleY = 1;
addChild(videoPlayer);

Putting the height and width in the URL request doesnt work and putting it in the videoPlayer.height doesnt work. Anyone have any ideas?

Thanks]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121167</guid>
			<pubDate>Mon, 15 Jun 2009 14:43:35 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[Got the skin working too! I have my player in a folder  ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121127</link>
			<description><![CDATA[Got the skin working too! I have my player in a folder called DemoPlayer I had to include all the folder path to the skin! so not just 

DemoPlayer/player-licensed.swf?skin=simple2.swf

instead DemoPlayer/player-licensed.swf?skin=DemoPlayer/simple2.swf

Works GREAT with Erics Code.

Thanks again Guys]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121127</guid>
			<pubDate>Mon, 15 Jun 2009 10:14:02 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Jim</dc:creator>
			<title><![CDATA[I do still have the same issue as Talal in I can not se ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121126</link>
			<description><![CDATA[I do still have the same issue as Talal in I can not seem to get a skin to load. ]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-#msg121126</guid>
			<pubDate>Mon, 15 Jun 2009 10:01:22 -0400</pubDate>
		</item>
	</channel>
</rss>