Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Flash and content management systems

date posted 14th August 2003 12:36

Chris Garrett wrote:

[Sorry, this is a re-posting because it seemed to fail last time...]

> Hi all,
>
> I am doing a proposal for a redevelopment of an existing flash based site to
> allow the client to update the content with a content management system. An
> added complication is it needs to be in english + four other languages at
> launch (french, italian, spanish and german), growing to more languages in
> future (including eastern european).
>
> Last time I did anything in this line the flash called a URL to get the
> values from name-value pairs returned from an asp script. Obviously things
> have moved on since flash 4 or whatever it was and now there are things like
> XML, remoting .. does generator even still exist?
>
> Right now the platform is classic asp and sql server 2000 but there are
> rumblings it may have to move over to JSP/PHP and mySQL at a future date.
>
> Any advice?

I wouldn't bother even thinking of Generator, MM made that redundant
with Flash 5 (unless you're thinking of using Flash 4 or earlier...)

The easiest way to localise an interface in Flash is to use a set of
static XML files to hold the translations. As these don't change
they'll be cached by the client browser for faster loading. I wouldn't
advise using a database to store the translations, as this would
increase the load on the servers unnecessarily.

If you're going to send data to a server, take a look at the LoadVars()
object. You can populate this as a container, to save you having to
send all Flash variables for the movie, or all variables for a
movieclip, to the server.

I tend to not to use the query sting format of data exchange anymore, as
it's a little cumbersome, and Flash is quite capable of handling and
parsing XML pretty quickly (as long as you're looking at XML files that
are < 2MB)

As for content management with Flash, you'll need to watch out for a few
"gotchas"

* Flash doesn't natively support file uploads (a complete pain in the arse!)
* Flash's HTML support is only HTML 1.0, but you've still got quite a
bit of control over the layout using the internatl
element
* the only image format that can be dynamically loaded is
non-progressive JPEG
* dynamically loaded MP3s are only supported up to a bitrate of 128kb

Obviously, if you've imported the images or audio into Flash and
exported them to separate .SWF files, then these last 2 limits are less
of a burden.

Another thing that I've come across, is when passing ids via the url to
Flash. If you're loading the movie using HTML, DON'T pass any query
variables within the movie or the "movie" attribute of the
[OBJECT] element. If you do this, each individual movie.swf?myid=xxx
will be cached separately. Use [param name="FLASHVARS"
value="myvars=1&myvar2=b" /] and the flashvars attribute of the [OBJECT]
element instead. The movie will be cached, but only the HTML changes.

Hope this is of some use.

Matt

--
Matt Burns [EMAIL REMOVED]
Freelance Web/New Media Consultant

Member of the Professional Contractors Group



Messages by Day
August 31st 2003
August 30th 2003
August 29th 2003
August 28th 2003
August 27th 2003
August 26th 2003
August 25th 2003
August 24th 2003
August 23rd 2003
August 22nd 2003
August 21st 2003
August 20th 2003
August 19th 2003
August 18th 2003
August 17th 2003
August 16th 2003
August 15th 2003
August 14th 2003
August 13th 2003
August 12th 2003
August 11th 2003
August 10th 2003
August 9th 2003
August 8th 2003
August 7th 2003
August 6th 2003
August 5th 2003
August 4th 2003
August 3rd 2003
August 2nd 2003
August 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000