• Hi,

    I want to add the same Flash object to every page, at the end of the page, and in the Flex I receive the data from a database.
    To make the content received dynamic, I need to pass the page_id as a parameter to the Flex Flash movie, and then based on this I know which data to retrieve from the database.

    I just do not know how can I pass the page_id as a parameter.
    I used the simple edit page in wordpress, and there I added the following tags to include the flash
    <object width=”100%” height=”100%”>
    <param name=”movie” value=”DragAMPHP.swf”>
    <embed width=”100%” height=”100%” src=”Bottom.swf”>
    </embed>
    </object>

    I think it’s pretty easy from php, as I’ve seen there is a global variable $page_id, but from html, I do not know how to do it.

    As well, I tried from Flex to get the URL, but I get the url of the flwsh movie, and not the main url with the page_id in it. So I think I cannot do that much in Flash to get the main website url, I need to pass it as an argument.

    I know how to handle the Flex part, I do not know how to send to get the page_id in html in wordpress.

    Thank you,
    Jimmyy

  • The topic ‘Pass parameters to flash’ is closed to new replies.