Groups | Blog | Home
all groups > flash (macromedia) > december 2006 >

flash (macromedia) : Where is my skin on my embedded video?


Chris Jumonville
12/16/2006 11:04:06 PM
I created a few Flash videos and embedded them on a site I'm building for a
customer, you can see 2 of them at this link...

http://www.margostern.com/television/television.html

If you look at the "Partnership for a Drug Free America" video you will see
the skin shows up fine, if you look at the "Coca Cola" video you will see
that the skin doesn't show up at all. I checked the .flv properties in
Flash and the path for the skin is set exactly to where the skin is in the
"television" folder on the site. This makes no sense at all because the
skin shows up on one video but not on the other. Can anyone tell me what
the problem might be? I'm stumped!


--
Best Regards,

Chris Jumonville

David Stiller
12/17/2006 8:51:47 AM
Chris,

[quoted text, click to view]

Yup, saw that. (The leeches thing was pretty clever!)

[quoted text, click to view]

Yup, saw that too. :-/

[quoted text, click to view]

My hunch is that the skin's path is the problem -- but you said it's set
to the same place as the other, so that's the stumper. Obviously, I'd go
ahead and check again. Select the FLVPlayback instance on the Stage, then
look to the Component Inspector panel and make sure the skin parameter is
set the way you expect. It should merely show the name of the skin's SWF,
without any path information.

[quoted text, click to view]

There is an interesting characteristic of SWFs in that they take their
"point of view" from the HTML page in which they're embedded. In other
words, if one SWF loads another (such as your main SWF loading the skin
SWF), it doesn't load the other SWF in terms of its own position (its own
folder) on the server. Instead, it loads the other SWF in terms of the HTML
page in which it's embedded. In cases where the HTML and SWF are in the
same folder to begin with, this point of view amounts to the same thing for
both files. In cases when the HTML is in one folder and the SWF is
somewhere else, you can potentially have issues.

See this article for details.

http://www.quip.net/blog/2006/flash/unexpected-pov-swf-defers-to-html

That said, it doesn't look as if this "gotcha" is in effect in your
case, because your HTML doesn't precede the SWF with a path. Which is why I
lean toward taking a second look at the skin parameter in the Component
Inspector panel..


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."

David Stiller
12/17/2006 11:50:46 AM
charles.crepin and Nickels55,

[quoted text, click to view]

Ahh, so much simpler than my convoluted suggestion. You both nailed it!


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."

Nickels55
12/17/2006 2:02:06 PM
OK, this is a tricky one for this early on a sunday morning.
http://www.margostern.com/television/coca-cola.swf
If you spend enough time resizing this browser you will eventually get it to
show that there is a control skin under the movie. So, something may be wrong
with the size (height) of your stage, because the movie fills the entire stage
and the controller falls off the bottom. Try adding 40 pixels. Let me know if
that works.
charles.crepin
12/17/2006 2:04:29 PM
AddThis Social Bookmark Button