Flash use inside the container

Discuss everything related to ApPHP TreeMenu. Any questions related to the ApPHP TreeMenu developing or using should be posted to this forum.

Moderators: alexandrleonenko, Milton

Novice1
Newbie
Newbie
Posts: 3
Joined: Sep 23rd, '10, 20:58

Flash use inside the container

Postby Novice1 » Nov 18th, '10, 10:58

Hi !

I wonder how to include Flash code inside the containter.

While the Flash file alone works fine without the treemenu (so it means file linkage is OK)
I've been getting a message "You need to upgrade your Flash Player"
which is an error message indicating something is wrong with my file linkage.

This happens in both cases - when I include Flash as HTML code via SetInnerHTML
or when I try to link to a html file that contains the code.

I have already posted this same question via Contact Us - the post includes the URL with an
examle of the issue, too.

Thank you,

Gregor

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Flash use inside the container

Postby administrator » Nov 21st, '10, 11:15

To solve this problem - simply create html file, place flash code there and call it from three menu.

For example:

1. HTML file test.html

2. Code inside test.html file (for example only):
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/X2UPb9sMI0c?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/X2UPb9sMI0c?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

3. Call of this file:
$treeMenu->AddNode("Flash","test.html");


Return to “ApPHP TreeMenu”