Groups | Blog | Home
all groups > flash (macromedia) > april 2006 >

flash (macromedia) : Another IE active-x thread....sorry



dan mode
4/19/2006 10:15:43 PM
[quoted text, click to view]

I've got one that Joe (Roasthorse) helped me with that parses the vars from
the url and places them in the js file accordingly.

Call function qs() and all GET vars are in qsParm array. Access them
like this: variable_name = qsParm['url_variable_name']


<script type="text/javascript">
var qsParm = new Array();
function qs() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i<parms.length; i++) {
var pos = parms[i].indexOf('=');
if (pos > 0) {
var key = parms[i].substring(0,pos);
var val = parms[i].substring(pos+1);
qsParm[key] = val;
}
}
}
qs();

//place document.write function here
</script>


--

Dan Mode
*Must Read* http://www.smithmediafusion.com/blog
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11

Jacg
4/19/2006 11:37:19 PM
Sorry, I know there is tons of people on this already and tons of info and
threads. What I am finding though is that the few solutions are getting
tangled up with lot's of tweaks and "other" fixes etc.

But can anyone have mercy on the novices? Not being a developer but loving
and using Flash for everything, there are tons of us who are hardcore followers
of Flash but we are not programmers.

I have seen FlashObject: Javascript Flash detection and embed script, and of
course the js offered by Adobe (which seems to work well).

It is a little hard to dissimilate all the info going around and it would be
sweet if someone could list the top 3-4 known, easy to implement, solutions.

Thanks in advance ,

Jacson
Jeckyl
4/20/2006 12:00:00 AM
It may be a little early for that.

Some solutions (such as the update for Flash 8) are only just appearing.

Other solutions are developing as well, with some people finding problems
with one method or another.

So far I've not seen one ideal solution. For example, I'm not sure if any
of the solutions work with 'flashvars'.

Also some solutions may be practical in some cases, and other in other
cases. For instance, moving your object and embed tags to an external .js
file using document.write maybe fine for a single swf in a single web page,
but not as practical a solution for a large web site with lots of content
(especially if that content is generated dynamically with PHP etc).

Hopefully we can have a thread as you suggest soon though, once the
side-issues are found and dealt with etc. And that such a thread does
indeed have several solutions for different situations (unless there is some
very simple solution just waiting to be found that will work for everyone).
--
Jeckyl

Jacg
4/20/2006 12:21:42 AM
Thanks Jeckyl - I agree with you....things are really shaking right now,
hopefully something will form that is a little more organized and easy to
understand for us rookies.

Talk about PHP, do you know if the js methods work with PHP as well? I have
OSCommerce store and I can tweak the PHP around a little but I can not figure
out how to embed a Flash object in PHP and get around this IE crap.

I too hope a solid thread will eventually list some sound solutions that
everyone can choose from.

THANKS EVERYONE
Jeckyl
4/27/2006 10:40:48 AM
look here for a good site with simple solution and links to the various
'official' solutions.

http://activecontent.blogspot.com/
--
Jeckyl

AddThis Social Bookmark Button