Need Help. Insert Images into Swf Banner

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
WizzSky
Forum Newbie
Posts: 1
Joined: Sat May 12, 2007 7:38 pm

Need Help. Insert Images into Swf Banner

Post by WizzSky »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


I need to find out how to convert/insert an image into a swf. The top of my website is Flash, and I didn't design it. I just modified it so that it would display the new members of my clan (Someone else made the theme, and the CMS is Nuked-Klan, a French CMS) . I know the Text2Flash command, but is there an Image2Flash command in php? I want to insert flags to the right of each person's name. One of the Fields in the mySQL Table I'm working in is country, which points to a JPG image. Basically I want to be able to insert that jpg right next to each persons name for their respective flags. HMM I hope that made sense.



WEBSITE
[url=http://voidgaming.net]HERE[/url]

Code: Select all

// This is the code to the "New to Void | " Block at the top of my website.

<?php

$block_return = '';

$block_return_view = '';

$nbr_int = 1;

 $sql = mysql_query("SELECT pseudo FROM " . USER_TABLE . " WHERE team='1' ORDER BY date DESC LIMIT 0, ".$nbr_block_ligne."");

 while (list($pseudo) = mysql_fetch_row($sql)) {

  $block_return[$nbr_int] = urlencode('<a href="index.php?file=Members&op=detail&autor=' . $pseudo . '">' . $pseudo . '</a>');

  $block_return_view[$nbr_int] = urlencode('<a href="index.php?file=Members&op=detail&autor=' . $pseudo . '">view</a>');

  $nbr_int++;

 }

$block_return_fini = block_design_impact($nbr, $block_return , $block_return_view);

?>

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
smudge
Forum Contributor
Posts: 151
Joined: Sun May 20, 2007 12:13 pm

Post by smudge »

try ming or swf. both are extensions to php and documentation can be found on http://www.php.net.
As far as i know, you should be able to do this, but don't quote me on it as i don't do a lot with flash
Post Reply