Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

flashVars in actionscript3

Name: Anonymous 2012-08-28 18:19

/* hey /prog/ I come to you in desperation. I have searched everywhere on the Internet for information on flashvars It is the last barrier before it is feasible for me to start hosting my website. I cant seem to find my mistake. I hope that just another set of eyes on this can point out my stupid mistake(s). Many internets for the first to solve this quandary. I am in my linux partition so I cant show the as3 end, but I feel like it is my php.
*/

<?php

$id = $imArray[2];

$id2= $imArray[4];
$id3 = $imArray[5];
?>



<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>project</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#5f7a70">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
    if (AC_FL_RunContent == 0) {
        alert("This page requires AC_RunActiveContent.js.");
    } else {
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '1000',
            'height', '600',
            'src', 'memesInAFlash2',
            'FlashVars', 'itemID=<?php print "$id"; ?>&itemCode=<?php print "$code"; ?>',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'window',
            'devicefont', 'false',
            'id', 'project',
            'bgcolor', '#5f7a70',
           
            'name', 'project',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'memesInAFlash2',
            'salign', ''
            ); //end AC code
    }
</script>
<noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1000" height="600" id="memesInAFlash2" align="middle">
    <param NAME="allowScriptAccess" value="sameDomain" />
    <param NAME="allowFullScreen" value="false" />

    <param NAME="FlashVars" value="itemID=<?php  echo($id); ?>&itemID2=<?php  echo($id2); ?>&itemID3=<?php  echo($id3);?> &itemCode=<?php echo($code); ?>">

    <embed src="project.swf" FlashVars="itemID=<?php echo($id); ?>&itemID2=<?php echo($id2); ?>itemID3=<?php echo($id3); ?>&itemCode=<?php echo $code; ?>"quality="high" bgcolor="#5f7a70" width="1000" height="600" name="project" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    <param name="movie" value="project.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#5f7a70" />    
    </object>
</noscript>
</body>
</html>

Name: Anonymous 2012-08-28 18:28

//I switched over and grabbed the Actionscript after all though //I didn't write this. It should work.


// Claim the offset Number that spaces the text
// fields so they are not right on top of each other
var offSet:Number = 58;
// Claim keyStr variable as a string
var keyStr:String;
// Claim valueStr variable as a string
var valueStr:String;

trace("this is indeed running");
// Create the paramObj Object and set it to load parameters
// from the root level being sent in by FlashVars externally
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;

// Set Text Format Object, its attributes and values
var format:TextFormat = new TextFormat();
      format.font = "Verdana";
      format.size = 24;
// Create the loop that iterates over all of the variables you send in using FlashVars    
for (keyStr in paramObj) {  
      
       valueStr = String(paramObj[keyStr]);      // This line gets the values of each variable sent in
       var myText:TextField = new TextField(); // Create a text field to read and access each var
       myText.defaultTextFormat = format; // Set the formatting into the text field properties
       myText.text = keyStr + " value is: " + valueStr; // Use the vars here, I place into text field waiting
      
       trace(keyStr + " value is: " + valueStr);
      
       myText.y = offSet; // Before we place each text field on stage we offSet it
       myText.width = 380; // Set the width of the text field
      
       this.addChild(myText); // Now this line actually places the text field on stage
       offSet += offSet; // Offset offSet(lol) so the next text field is 32 pixels lower
        
         trace("textfield Created");
}

Name: Anonymous 2012-08-28 18:35

point out my stupid mistake(s).

ok, here they are:
flash
php
xmlns
xml:
iso-8859-1
bgcolor
memes
classid
embed

Name: Anonymous 2012-08-28 18:41

delete these items?

Name: Anonymous 2012-08-28 18:52

>>4
No, figure out what you're doing wrong with each of them. I'll give you a couple hints to get you started:
http://4-ch.net/code/kareha.pl/1120533289
http://harmful.cat-v.org/software/xml/

Name: Anonymous 2012-08-28 19:07

>>5
thanks they really informative links. I appreciate taking time to respond.

Name: Anonymous 2012-08-28 19:17

Now would be a good time to be able to post pictures. I just need someone who is intelligent, familiar with flashvars and not in the angsty fan boy stage of adolescence.
nowWeWait.jpg.

Name: Anonymous 2012-08-28 19:22

a good time to be able to post pictures
back to /b/, please.

Name: Anonymous 2012-08-28 19:39

>>7
Please fuck off back to Reddit.

If you want help with your retarded lewebprojectsXD, Stack Overflow will be glad to help you. /prog/ is about Lisp and Touhou.

Name: Anonymous 2012-08-28 19:50

Oh did I hurt your feelings? I know you kids are really busy writing your scripts to shit posts and trying to sound tough on the internet. Real programmers have to learn many languages. To do what I need to I need to pick the languages with the most support and is the most compatible for the project. I dont think you know shit about my problem but I appreciate your bumps.

Name: Anonymous 2012-08-28 19:59

I know you kids are really busy writing your scripts
Says the PHP skiddie who can't even figure out HTML.

To do what I need to I need to pick the languages with the most support and is the most compatible for the project.
Then why the fuck are you using PHP and Flash?

back to Gaia Online, please.

Name: Anonymous 2012-08-28 20:24

With your elite knowledge you should be able to help me. Then this thread can be over and you can get back to all your important work. Or maybe you can't because your worse then a script kiddy and you are bumping my thread. thanks again.

Name: Anonymous 2012-08-28 20:43

>>10,12
oh, you so busy being cool? well keep being cool but you're a retard xD please help

Imageboard tier insults. Reeks of normalshit.

Back to le imagereddits, please.

Name: Anonymous 2012-08-28 20:47

>>12
/* hey /prog/ I come to you in desperation
Or maybe you can't because your worse then a script kiddy

That was REDDIT QUALITY!

Name: Anonymous 2012-08-28 20:53

PHP and Flash
HIBT?

Name: Anonymous 2012-08-29 16:44

This board has a lot of potential but its filled with a bunch of 15-year-old fanboys who hate everything that is popular. Don't pretend like you cant do almost anything in any language with more or less the same amount of code. Don't imply that programming takes superior intellect. Every response here reeks of a big circle jerk to feed your ego. You all probably think you hate hipsters. People are all the same. Your no different because you like things that are unpopular. Wake up and smell your shit and realize that it stinks. I will respect your opinions when you prove you actually know something. Your baseless ad hominem attacks are embarrassing especially when you actually think it is intellectualism. Don't take this as insult I see myself in your backwards attitude. A younger more selfish me. I learned that you get a lot more done when your not spending all your time trying to reinforce your ego by alienating everyone you think your better then.

Name: Anonymous 2012-08-29 17:05

>>16
You surely talk sophistry a lot. Are you Jewish? And this your "hate everything that is popular" looks like a support for the Jewish domination. For example, I hate the popular Hollywood because it is Jewish and dumbs the society down.

Name: Anonymous 2012-08-29 17:11

>>1
>php
well that's your problem

Name: Anonymous 2012-08-29 17:55

>>16
Don't come back then.

You wasted like 7 lines of text trying to insult us, if you're so ``normal" and we're so ``edgy" you shouldn't spend so much time trying to ``get those nerds told".

Friendly advice: you're using "your" wrong.

Name: Anonymous 2012-08-29 19:03

>>19
lrn2faggotquote noob

Name: Anonymous 2012-08-29 20:50

>>19

You completely missed my point. I am not saying I am normal or that you are an edgy nerd. You have a story you are telling yourself that you fall into a category. There is only one category. We are all pointless consuming piles of causality. I found my way to this text board and you think I am not considered a nerd. I am not spending my time trying to get you told (though it wouldn't hurt to get off your fucking high horse). I am trying to get some knowledge and productivity flowing. Your up here trying sanction me. Don't sweat the details on whatever your pissed about, we probably have a lot in common. Friendly advice : Don't correct my grammar and use what I assume are quotes for things I didn't say.

Name: Anonymous 2012-08-29 20:56

>>19
"

/backplate getgoes/

Name: Anonymous 2012-08-29 21:06

>>21
You seem to think /prog/ is composed only of one people posting the same shit everyday.

I'm not even the people who told you to fuck off, but you are really annoying and that's why I made my post. And how did this end up on ``we're probably similar"?

Productivity? Better get it at some other place. If you think /prog/ will help you getting your productivity flowing, you're damn lost.

Name: Anonymous 2012-08-29 21:23

>>23
Sage your posts, write /prog/ inside spoiler tags, use faggot quotes and tell us what /prog/ is and is not.

Name: Anonymous 2012-08-29 21:26

>>1-100
皆さん、レッディットへ戻っ‘‘てください”!

Name: Anonymous 2012-08-29 21:30

‘‘

IHBT

Name: Anonymous 2012-08-29 21:36

Am I the only one who finds it hilarious he put his comment to /prog/ as commented code?

Name: Anonymous 2012-08-29 21:42

>>27
No.

Name: Anonymous 2012-08-30 14:58

>>10
... but I appreciate your bumps.

I think you failed to realize the people you were arguing with were using SAGE! You were the only one bumping.

Name: Anonymous 2012-08-30 20:45

<?php
<html xmlns=
<script language="javascript
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
That's 4 counts of stoppped reading there, you really do in all complete honesty need to take this shit to /r/programming/ because they love web niggerdom there.

Next time, make sure it's LISP.

Don't change these.
Name: Email:
Entire Thread Thread List