Dynamic Flash

Confessions of a serial code abuser
  • rss
  • Home
  • MTASC
  • Archives
  • About me
  • Goodies
    • Base64 encoder/decoder class
  • My Bookshelf
  • My Talks

Links to old stuff

Saturday, 25 September 2004

Since I trashed the old blog that was here, I though that I’d better post some links to some of the stuff that you might find useful.

  • BoardMX
    This is the upgraded version of my Flash/PHP/MySQL based message board (based on but completely rewritten from the one featured in my Foundation PHP for Flash book). There are two versions here - boardmx.zip uses the FFF Star font in the interface, but since this is a commercial font I also made BoardMX Harmony which uses the free FFF Harmony font. This is a Flash 6 project.
  • Homebrew JSFL reference
    Before Macromedia released the official JSFL reference, I used an XSLT stylesheet to turn the Flash MX 2004 Help files for the JSFL commands into an HTML reference with a PDF version too. You can download the whole package, including the XSL stylesheet here.

that appears to be it. There used to be a lot more useful stuff here, but it’s all pretty much out of date now so I haven’t bothered to resurrect the files. If there’s something you were looking for but couldn ‘t find, let me know and I’ll see if I can dig it out.

Categories
General
Comments rss
Comments rss

« Goodies from Macromedia Mastering Regular Expressions »

41 responses

Thanks for posting boardmx back up ... I am very

Abraham | Tuesday, 12 October 2004 | 3:36 am

Thanks for posting boardmx back up … I am very interested in getting it going and seeing if there is anything I can add to it…

has anything been mentioned about the ability to upload and post images?

I download the BoardMx and ran the script to create

Abinidi | Friday, 15 October 2004 | 7:25 am

I download the BoardMx and ran the script to create the tables in the db, which it did fine. Yet I am not sure what else I am suppose to do. Is there a TUT or soemthing?

Abinini : Still having problems? - Write me, I'm test-running

Chief | Wednesday, 20 October 2004 | 7:06 am

Abinini : Still having problems? - Write me, I’m test-running 2 BoardMX right now as tests - It works fine, and if any questions ..just ask ;)

/Chief

Thanks a lot for sharing the source for this great

Andreas Weber | Thursday, 04 November 2004 | 9:55 am

Thanks a lot for sharing the source for this great Flash board - it is most welcome!

During the installation of BoadMX Harmony I ran into a few problems - maybe these installation notes can be useful to others.

1. You need a working installation of PHP (4, 5 supported too?) and mySQL.
If you are not at least moderately familiar/expierienced with integrating
Flash with PHP and mySQL you might have a hard time installing/customizing the board.

2. Make sure to install the FFF Harmony Font first.
http://www.fontsforflash.com/, ‘FREEBIES’ Section.

3. In mySQL create a new database ‘phpforflash’ - if you chose a different
name or integrate the tables in a already existing Database, you’ll have to
overwrite $dbName in common.php accordingly.

4. After unzipping the boardmxharmony.zip, open the phpforflash file in a
simple text editor. Select all text and and copy it to the clipboard. Paste
the SQL statements in mySQL to create the tables of the phpforflash
Database.

5. Still in mySQL, manually enter a (test/dummy) dataset in the newly
created table forumcategories and one in forumforums.

6. Open common.php and check the default settings under ‘Database details’,
quite at the top of the file. They might work fine for the developement
environement on a local machine, for the remote server you’ll most probably have to customize them to the applicable settings.

7. Open boardmxharmony.fla in Flash and resave it under boardmx.fla as
index.php embeds it under this name. Test/Compile it to produce the swf
file.

Maybe the board is already running now when opening index.php on the server. If not, read on…
When installing the board I ran into 2 problems related to the settings of my PHP installation.
To view the current settings (as defined in php.ini) run the phpinfo() function.

8. If error_reporting is set to 2047 or 2048 (basically: all, even non fatal errors, are reported, i.e. printed to the screen) the board/Flash movie will not show when opening index.php. The problem is the < ?=$vars?> statement in the code that embeds the swf file: $vars is undefined if index.php is called directly, $vars is only defined when a ‘direct link’ is clicked which first calls go.php which sets the $vars. With error_reporting set to strict, an error is printed which distorts the HTML code and disables the swf to show up.
Solution:
In index.php, paste the following code into the PHP section at the top of the page:

// make sure $vars is at least an empty String and not undefined
if(!isset($varss)){
$vars = “”;
}

9. If register_globals is set to ‘off’ - for security concerns this is the default value since PHP 4.2.0 - all php scripts which receive variables from the board swf do not work as expected as these variables are not properly accessed inside the scripts which results in plenty ‘undefined variable’ errors.
Solution (well, a quick and dirty one…)
In common.php add the following code:

// make the posted variables accessible, even if register_globals is ‘off’
$types_to_register = array(’GET’,'COOKIE’,'POST’,'SERVER’,'ENV’);
foreach ($types_to_register as $global_type) {
$arr = @${’HTTP_’ . $global_type . ‘_VARS’};
if (@count($arr) > 0) {
extract($arr, EXTR_OVERWRITE);
}
}

10. If you or the users of the board are using Special Characters, e.g. German
‘Umlaute’, the text may appear distorted (despite the fact that the FFF
Harmony font supports them).
Solution:
Open the php files (e.g. viewforum.php) and search for urlencode(…) statements.
Replace these statements with
urlencode(utf8_encode(…))

HTH
————–
Andreas Weber
motiondraw.com

How do i login as admin to add main posts?

Crosz | Wednesday, 24 November 2004 | 4:50 am

How do i login as admin to add main posts? Nice board. I have looked in the user table on msql what userlevel do i set?

Problem is am logged in there is a blank board how do i post to it

Its ok i worked out its for database administration only

Crosz | Wednesday, 24 November 2004 | 10:20 am

Its ok i worked out its for database administration only so i`ll need to keep an eye open for some nice person to make & publish a freeware version of a php coded adminpanel ( hint hint) lol :) thanks for the great system.

i downloaded the board mx code, but cant getit working

kiran | Wednesday, 29 December 2004 | 2:18 pm

i downloaded the board mx code, but cant getit working can someone please give me a hand, you will see the test area here http://www.generateinword.com/test4 i know nothing about mySQL my host does support this i need someone who can walk me though setting this up.

thanks in advance. my mail address is kiransakaria@hotmail.com

I seem to have one problem and its a good

Pyro | Saturday, 15 January 2005 | 3:42 am

I seem to have one problem and its a good chance that some has already answered this.

Ive uploaded all the files for the forum and added some threads and posts to it. All that seems to be working fine. However, when i go to register a User, i keep getting an error message. Then when i try to register it again, i keep getting a message that says that “that username is already been used.” Then when i go to look at my database, and check out the User i added, the password that shows is a bunch of random letters and numbers. Im pretty new to SQl and PHP, so if any of u can help me, i would appreciate it. Here is my website:

http://members.lycos.co.uk/snark/

Thanx

Sorry for the lack of attention here peeps. If anyone's

Steve | Tuesday, 15 February 2005 | 5:39 pm

Sorry for the lack of attention here peeps. If anyone’s stil having problems getting BoardMX to run, let me know and I’ll see if I can help!

Hi Steve, I was installed and config the board ok,

Diego Cosmo | Wednesday, 30 March 2005 | 11:03 pm

Hi Steve,

I was installed and config the board ok, but how I do the control of moderators? to block an topic and delete messges..

thank you

hey, i was looking for a good board and I

oke | Friday, 22 April 2005 | 10:39 pm

hey, i was looking for a good board and I found this one. definatelly the best ive seen in flash.
of course (as anyonelse) im having problems for makinkg it work, hope someone can help me out.

- database created ok!
- files uploaded ok!
- conects to database ok!
- add forums, dont now how to do this ??
- add users ok!
- users cant post reply
- is there an admin for posting new forums or banning users?

thanks a lot

Hi Steve, I am working with the forum program boardMXharmony but

fastpack | Friday, 29 April 2005 | 7:10 pm

Hi Steve,

I am working with the forum program boardMXharmony but I don’t see the ’setupdb.php’ file. I thought someone in here said there was a link to it but I can’t find it. Can you or someone else tell me where I can get a copy?

Thanx,
Jeff

I love board mx! It's is the best software

mattop | Tuesday, 14 June 2005 | 11:52 pm

I love board mx! It’s is the best software ever! I really think that you should post this somewhere else on the internet so that other people can find it easily. It’s awesome software. Enjoy and continue scripting.

–
Matthew Helm
mattop Administrator
http://www.mattop.net

How can I create new forums or categories on this?... I

Jos Lpez | Wednesday, 15 June 2005 | 9:40 am

How can I create new forums or categories on this?…

I have installed it on my server, and works fine, but I dont know hoy to create new topics on the board! :S:S

please help me if you know how to do it..

thanks a lot.

In response to Pyro: the bunch of numbers is the MD5

marauder1 | Saturday, 02 July 2005 | 2:00 pm

In response to Pyro:
the bunch of numbers is the MD5 code of the password. MD5 is an encryption that is irreversible, but is commonly used for passwords, as the password which is encrypted is compared with the new password typed in by the user, which is also encrypted.
// Encrypt password
$crypt = md5($password);
this makes sure that one cannot steal passwords by compromising the MySQL database

I've successfully uploaded a test version of boardmx, but it

Meeks | Tuesday, 05 July 2005 | 6:22 am

I’ve successfully uploaded a test version of boardmx, but it seems to have some problem writing to the database. It’s able to display categories/forums manually entered into the mySQL tables, but any attempt to post using the flash interface returns a “query failed” error. Also, the username and e-mail fields of the forumUsers table always appear blank. Is this normal? Login seems to work regardless. Has anyone else encountered either of these issues? Any suggestions for solving them would be greatly appreciated :)

Hey there - I set this up exactly to Andreas's

Robb | Tuesday, 26 July 2005 | 7:32 am

Hey there -

I set this up exactly to Andreas’s specs, but the board is just freezing up on the Loading Forums Categories dialogue box…. anybody encounter this… any ideas about this by any chance?

Hi Steve, Truely great work on Board MX. I unfortunately never

Another Steve | Saturday, 06 August 2005 | 12:52 am

Hi Steve,

Truely great work on Board MX. I unfortunately never bought PHP For Flash. But I did buy PHP 5 For Flash. I don’t suppose you have any plans to make a version for PHP 5 and MySQL 4.1 available? I ask because in my PHP 5 for Flash book, it says that PHP 5 has changed the way it handles database interaction.

Thanks,

Steve

deu pau

juca | Friday, 19 August 2005 | 9:00 pm

deu pau

could someone please compile the fla file and send the

arkwon | Tuesday, 06 September 2005 | 12:36 am

could someone please compile the fla file and send the default swf file to me?
I am using Linux and don’t have Flash MX and cannot create the swf!
thanks

my email address is arkwon[@]gmail[.]com

I've a big problem, because if I write something like

Ulmi | Tuesday, 06 September 2005 | 12:35 pm

I’ve a big problem, because if I write something like this “hello I’m Ulmi” board mx displays an error and can’t save the post but if iwrite it “hello I am Ulmi” everything is okay. How can I change this, so i can use the ‘ in my posts in board mx ?

Ulmi: You may need to configure your server (i.e. edit

Steve | Tuesday, 06 September 2005 | 10:46 pm

Ulmi: You may need to configure your server (i.e. edit php.ini) to allow turn magic_quotes_gpc on. Alternatively you might be able to do this by putting the following line into a htaccess file in the root of your site:

php_flag magic_quotes_gpc on

@ Steve: Thank you very much, it worked for me

Ulmi | Thursday, 08 September 2005 | 9:21 am

@ Steve: Thank you very much, it worked for me !

is there an admin area? how do i put some

Theronx | Wednesday, 28 September 2005 | 8:05 am

is there an admin area? how do i put some categories on the forum?

Theronx: Unfortunately there's no admin area. You have to create

Steve | Wednesday, 28 September 2005 | 10:23 pm

Theronx: Unfortunately there’s no admin area. You have to create the categories manually in the database. You can do this using SQL statements through the MySQL command-line client or (better still) using a tool like SQLyog (PC) or YourSQL (Mac).

Hi, i always search a board like this, i love

Xentar | Friday, 21 October 2005 | 8:41 pm

Hi, i always search a board like this, i love try new things, and this one is awesone… the little problem… is… hehe… i can’t do anythig xDD i add the category, forums… ok… but i can’t register neither post. When i try to register, always tell me about invalid mail… ok… 1st problem, i check taking out the check, but if i do that, i register a no user (no name) without mail and with some password… always the same xDDD
Any help? last question 28 sep… fiuu, i’m a little late ^^U

problems fixed ^^

Xentar | Monday, 24 October 2005 | 2:43 am

problems fixed ^^

Hey Xentar i've the same issue how did u fix

Doug | Sunday, 30 October 2005 | 2:53 pm

Hey Xentar i’ve the same issue how did u fix it?

And i think i’m still later then u are! :D

Thats weird it just started working. But now i can't

Doug | Sunday, 30 October 2005 | 2:59 pm

Thats weird it just started working. But now i can’t post…

Some alternative fonts: http://www.cafonts.com Pixel fonts for Flash. Free pixel fonts available.

Cristiano Daniel | Saturday, 12 November 2005 | 4:58 pm

Some alternative fonts:

http://www.cafonts.com

Pixel fonts for Flash. Free pixel fonts available. Make every letter beautiful with ours
pixel fonts. Perfect for flash and all other digital platforms.

i have this same problem that Meeks help me.... "but

stasio | Friday, 28 April 2006 | 6:07 pm

i have this same problem that Meeks help me…. “but any attempt to post using the flash interface returns a “query failed” error. Also, the username and e-mail fields of the forumUsers table always appear blank.”

Hi, i have zthe ame poroblems that Jos� L�pez and lipez. -

shoggy | Sunday, 16 July 2006 | 5:07 am

Hi,
i have zthe ame poroblems that Jos� L�pez and lipez.

- database created ok!
- files uploaded ok!
- conects to database ok!
- add forums, dont now how to do this ??
- add users ok!
- users cant post reply
- is there an admin for posting new forums or banning users?

thanks a lot

Hi, do you know how to make a sticky thread ? What

Bernd | Tuesday, 18 July 2006 | 1:19 am

Hi,

do you know how to make a sticky thread ?

What value do I have to insert in the database ?

Got the solution: sticky = 1 makes the thread sticky. There

Bernd | Wednesday, 19 July 2006 | 7:25 pm

Got the solution: sticky = 1 makes the thread sticky.

There is also a value “announcement”,
if it is set to 1 the thread will be also sticky and a prefix
(default: [ANN]) will be shown.

You can change the default-value in the viewforum.php.

I set it to INFO:

if ($thread['announcement'] == 1) {
$sticky = 1;
$topic = “INFO: ” . $topic;
}

The sticky threads (an announcement threads) are shown in ALL

Bernd | Wednesday, 19 July 2006 | 9:18 pm

The sticky threads (an announcement threads) are shown in ALL forums.

If you want the sticky only being shown in the forum you were creating it in,
you’ll have to change the following code in viewforum.php:

// Build query to fetch forum threads
$myDB->query(”SELECT * FROM forumThreads WHERE forumID=’$forumID’ OR announcement=1 ORDER BY announcement DESC, sticky DESC, lastPost DESC LIMIT $offset, $threadsPerPage”);

to

// Build query to fetch forum threads
$myDB->query(”SELECT * FROM forumThreads WHERE forumID=’$forumID’ ORDER BY announcement DESC, sticky DESC, lastPost DESC LIMIT $offset, $threadsPerPage”);

sorry - one more: there seems to be a bug: deleting all

Bernd | Wednesday, 19 July 2006 | 9:53 pm

sorry - one more:

there seems to be a bug:

deleting all posts/threads in a forum results in still displaying
the forum in the overview (which is ok) showing “never by username”
(which is not ok).

to fix this change the following code in viewboard.php:

if (isset($forum['lastUserID']) && $forum['lastUserID'] > -1) {
$lastUserID = $forum['lastUserID'];
$query = “SELECT username FROM forumUsers WHERE userID = $lastUserID”;
$result2 = @mysql_query($query);

to

if (isset($forum['lastUserID']) && $forum['lastUserID'] > -1 && $forum['threadCount'] > 0) {
$lastUserID = $forum['lastUserID'];
$query = “SELECT username FROM forumUsers WHERE userID = $lastUserID”;
$result2 = @mysql_query($query);

I'm almost afraid to ask because it seems a possibly-undoable

shawn gibson | Tuesday, 14 November 2006 | 1:37 am

I’m almost afraid to ask because it seems a possibly-undoable request, but is it possible to get the Harmony board to run properly in F8/AS2? It WORKS, actually, even when loaded into an F8 file with AS2 Components all over the place (go figure) but it’s really buggy, returns undefined lines and sometimes the boxes don’t show up properly, but…it WORKS LOL. I would be very grateful if someone would not so much fix the problems, as tell me what kind of things I need to look for re: incompatibilities. I’d be willing to give it a crack and post my results if anyone is interested, after, of course, Steve gives such a venture an OK. I would have to ask a lot of questions, but I’m more than willing to put in the effort if those of you well-enough versed might be able to get me started by noting, in general, the ‘kinds’ of things that need to be reworked in the .fla to make it fully capable in F8/AS2 including the ability for me to port over my dynamically drawn sections which rely heavily on the tweening/filters and MCTween (search it comes up first or second).

Any intersted, from a new-intermediate guy willing to put dozens of hours in because I love this board, please let me know: shawn.gibson@yahoo.com or shawn@faceitphoto.ca…

http://www.shawngibson.com

hello, I have some problem with boardmx. I installed it and now

calimero | Wednesday, 28 March 2007 | 4:26 pm

hello,

I have some problem with boardmx.
I installed it and now I can’t post messages. I created new categories but I can just see them, but there are not active. Is someone can help me to use this board? you can see the forum at this adress: http://www.moncotepunk.org/forum/index.php
thank you for your help,
regards,
boris

Sorry :(

Nathanael | Tuesday, 11 September 2007 | 5:41 am

Sorry :(

Hello Mr. Webster, I recently purchased a copy of your Book,

Frank Gutierrez | Wednesday, 26 December 2007 | 11:58 pm

Hello Mr. Webster,

I recently purchased a copy of your Book, Flash MX Applications. I am currently reading the book and am currently near the end of Chapter 9. I have used several of the links to the Book to view the Flashblog and am quite interested in seeing the completed application. The links, however do not bring up the Flashblog Application.

Is there a link available to the completed application for those of us that are intereded in your work? I know that there are several copies of your book still in circlulation for pruchase on the Internet and in book stores, which is where I purchased my copy.

I would like to create a Flashblog, using your model and technologies based on your expertise of Flash, PHP & MySQL.

What would be the best way to build, create a Flashblog Application for sale to my customers (as a webdesigner), using the Flash MX Applications Book information you Co-Authored?

Do you have licenses for the creation and sale of the Flashblog Application?

I am currently working with a Local Business Owner (Police Officer) and a Local Police Department to create a Non Under Age Drinking Awareness Website directed toward High School Students. They own a full size NASCAR style race car that they take to high schools around the area to spead their message. I have not done any website development for them as yet on this project.

The website they currently have up was created by the customer. They would like me to help them create a more interactive web experience for the High Students to help capture their interest and keep them coming back to the website.

Here is a link to their current website.

http://www.znn21racing.com

I would like to create a New Website for them that includes a Flashblog, Games and Flash Animations that would highlight the message they are trying to send to our youth as well as help in branding the ZNN21 message.

ZNN21 = Zero, Nada, Non Under 21 (Zero Tolerance for Underage Drinking)

Any information you send would be greatly appreciated. Thank you for creating these helpful books and for your time, expertise and assitance.

Frank Gutierrez
Mercury Web Design
http://www.mercury-webdesign.com

hey, how i can boardmx.swf to load another moviclip..i wanna

emrah | Monday, 14 April 2008 | 8:24 pm

hey, how i can boardmx.swf to load another moviclip..i wanna use this as loadMovie(”boardmx.swf”,_root.mc)

but i cant see messages..i can only see threads and categories..pls help me

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About Dynamic Flash

Steve Webster is a Senior Web Developer for Yahoo! in London, UK.

He is more than a little concerned that he defines himself in terms of his career, and that he talks about himself in the third person.

Find out more

Recent Posts

  • FotB ‘08 Schedule: iCal feeds
  • Read and write local files with Flash Player 10
  • The problem with SproutCore
  • Yahoo! London seeks Junior Developers
  • I am Singularity

Tags

Accessibility ActionScript actionscript3 actionscript 3.0 air apple astro book calendar conference designer filereference file upload Flash flex fotb08 framework ical internet internet explorer JavaScript jobs junior microsoft opportunities ria schedule singularity08 skin tutorial urlrequest web developer web development Web Standards Yahoo!

del.icio.us-ed

Stuff

Singularity?
Flex.org - The Directory for Flex
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox