Tech Support > Computer Hardware > Desktops > Learnin Y'all Something - Indexable Flash Sites
Learnin Y'all Something - Indexable Flash Sites
Posted by Onideus Mad Hatter on February 15th, 2007


S'okay check this out:
http://www.backwater-productions.net...?loc=got-noob?

But see you can change that end part
: got-noob?
to whatever text you like and it shows up.

Flash does this nifty thing where if you add a GET variable onto it,
it'll automatically be loaded into the Flash file as a variable.

Kinda like nyah:
: hello.swf?variablish=hooha

So you would get a variable called "variablish" and its value would be
"hooha".

But then how am I getting it from teh URL since it's loading a PHP
file and not a straight SWF file? Tres simple:
: <?php $value = $_GET["loc"]; ?>

Add that up at the very top of yer HTML file and then just rename it
from whatever.html to whatever.php

Then, just add nyah to yer SWF src url:
: src='main.swf?value=<?php echo $value; ?>'

The first line of code at the top takes the GET variable from the url
and assigns it to a variable called "$value", the second line of code
adds that variable onto the SWF file's src url location.

So now yer thinkin, "Wow...that's great...er...what can I use it for?"

Indexing!

Like, let's say you wanna go to my site, but you want to go to the
video editing section. All I have to do is setup my SWF file to check
the variable and if its value is say "video", then you can set it up
to automatically jump to the video section, thus simulating an
indexable site.

But now yer probably think, "Well that's great Hat, but what if it's
teh persons first visit and they want to bookmark a particular
section, how the heck are they gonna know what yer variables values
are?"

They don't have to!

Just reload the SWF file!

Make your navigation buttons like nyah:
: getURL("index.php?loc=video","_self");

Since the SWF file is already loaded into their browser cache it'll
reload instantly and go directly to the right section with the URL
changed.

And THAT my friends is how you create an indexable Flash site.

You can also use that other method where you create a whole bunch of
separate index files and reload different SWF files into each one but
uh...well that'd be a heck of a mess, would require a LOT more work
and you would wind up with a significant level of BLOAT.

Posted by Jeckyl on February 15th, 2007


Also note, named anchors give a similar functionality. You can navigate
with http://www.mysite.com#index .. all you need is to set your frame labels
an anchors, and use the appropriate HTML. SWiSHmax will generate the
appropriate HTML for you if you use named anchors, in Flash you have to
select the appropriate template in your publish settings.

Named anchors do have a problem if your movie jumps about within the scene
timelines .. its really only suitable for linear main timelines (but you can
loop and jump about as much as you want in movieclips/sprites.

They have an advantage that they require no code in you FLA/SWI file to
implement.
--
Jeckyl


Posted by trippy on February 15th, 2007


In article <d928t2taejlbe3u1r91eujipm7ha2iv33g@4ax.com>, Onideus Mad
Hatter took the hamburger meat, threw it on the grill, and I said "Oh
Wow"...

Passing parameters, you goofball. Durrrr. It's called a 'query string'.
It's just another way to pass data to the server side program. If you're
not submitting that data via post and get requests, you're passing it
that way. ?is the start of the string, and you can pass more than one
parameter, which is why you see big long strings of
blah=woof&woof=yourmom&soOn=andSoOn etc. etc.

Yeah dude, mystical and magical.

--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

NP: "It's A Long Way To The Top" -- AC/DC

"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."

-- Robert Redford "Spy Game"




Posted by Onideus Mad Hatter on February 15th, 2007


On Thu, 15 Feb 2007 03:11:17 -0600, trippy
<silverbells@tacoshells.com> wrote:

Apparently so seeing as how it's used so very little...WITH FLASH
SITES.

DUM DUM DUM DUM DUM

That's what we love about you, Drippy...you've got the attention span
of a spastic, Ritalin deficient third grader.

--

Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog


Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."

"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."

"I'm not a professional, I'm an artist."

"Your Usenet blinders are my best friend."

"Usenet Filters - Learn to shut yourself the fuck up!"

"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."

"There are clingy things in the grass...burrs 'n such...mmmm..."

"The more I learn the more I'm killing my idols."

"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"

"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."

"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."

"Reality is directly proportionate to how creative you are."

"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."

"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."

"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."

"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."

"Those who record history are those who control history."

"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."

"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."

"Tell me, would you describe yourself more as a process or a
function?"

"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."

"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )

Posted by trippy on February 15th, 2007


In article <37a8t2hhhpnfg5d1touekgk5de3ul1kls7@4ax.com>, Onideus Mad
Hatter took the hamburger meat, threw it on the grill, and I said "Oh
Wow"...

Because most flash developers know how to use relative urls and how to
import packages.


--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

NP: "It's A Long Way To The Top" -- AC/DC

"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."

-- Robert Redford "Spy Game"




Posted by Onideus Mad Hatter on February 15th, 2007


On Thu, 15 Feb 2007 03:40:20 -0600, trippy
<silverbells@tacoshells.com> wrote:

....Drippy, do you even comprehend ANY of what I first posted? Cause
uh...I don't think you do. I mean, what the fuck do relative urls
have to do with it? Do you even KNOW what a relative url is? I mean
maybe that's just your extremely half ass way of repeating what I
originally said about using multiple pages with multiple SWF files,
but uh, well I guess maybe yer Ritalin wore off cause then ya just
missed the part about WHY that's an INFERIOR method to the method I
showed.

As for your babbling about import packages...okay that's just
retarded, I mean how the fuck you're going to manage to try and relate
THAT to indexing Flash files I dunno...maybe it's that you don't
understand WHAT "indexing Flash files" means...of course if you had
actually READ the original post I don't see how it could have been
lost on you...unless, again, yer Ritalin dose wore off.

*shrugs*

I've said it before, I'll say it again and I'm sayin it now...yer a
fuckin retard, Junior. I mean since you started your failing efforts
at getting some kind of a degree in web development you've manage to
only produce ONE single site that looked like some fuckin 1996
throwback, best viewed in Netscape 2.0 with a 256 color display at a
640x480 res.

You sure do run the fuck at the mouth a lot though. Perhaps if you
spent LESS time snitting over what *I'M* doing (which is actually
producing websites) maybe you could manage to shit out somethin new.
Simply put, you are NOT going to learn anything by just slurping up
bullshit out of textbooks that you OBVIOUSLY don't even comprehend.
Ya need to get off yer stupid ass and start doin some work (and the
same goes to Mara if she ever wants to be anything more than a joke).
I mean take my GOD LEVEL skill in web design, it didn't magically shit
itself out one day, I had to WORK AT IT, for YEARS. Hell ten years
ago THIS is what my sites looked like:
http://www.backwater-productions.net...nity_now_site/
(best viewed in IE with a res of 800x600)

Obviously I've made a few advancements since then. o_O

But I DID NOT get to the level I'm currently at:
http://www.backwater-productions.net/care-bears/

By wasting my time reading books (outside of reference manuals). And
I sure the fuck didn't learn shit when I was in college, despite their
'nationally renown technology programs' (in fact most of what they
taught was either out of date, irrelevant, ie ColdFusion or completely
fucking wrong).

--

Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog


Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."

"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."

"I'm not a professional, I'm an artist."

"Your Usenet blinders are my best friend."

"Usenet Filters - Learn to shut yourself the fuck up!"

"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."

"There are clingy things in the grass...burrs 'n such...mmmm..."

"The more I learn the more I'm killing my idols."

"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"

"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."

"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."

"Reality is directly proportionate to how creative you are."

"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."

"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."

"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."

"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."

"Those who record history are those who control history."

"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."

"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."

"Tell me, would you describe yourself more as a process or a
function?"

"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."

"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )

Posted by PerfectReign on February 15th, 2007


On Thu, 15 Feb 2007 03:11:17 -0600, trippy got out the hammer and chisel
and etched in the wall:

Actually, I believe he was referring to how to make the site accessible to
bots, spiders and the average Joe who wants to bookmark a portion of the
site, without having to duplicate the loading of SWF files.

Makes sense.


OTOH - blah=woof...?

Seriously - back off the maui wowie.... :P




--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46

Posted by yttrx on February 15th, 2007


In alt.2600 Onideus Mad Hatter <usenet@backwater-productions.net> wrote:
Christ, you're a fucking idiot. Just because you CAN do something doesnt
mean that you SHOULD. Flash is an abomination that should have died
years ago, and you using it for this purpose is akin to using a sea sponge
and a small bag of dry green tea to build a karman ghia.




-----yttrx



--
http://www.yttrx.net


Posted by PerfectReign on February 15th, 2007


On Thu, 15 Feb 2007 15:55:44 +0000, yttrx got out the hammer and chisel
and etched in the wall:


His name's Matt, not Christ. Just FYI.


In any case, you reminded me -

There's this guy who lives down the street from me. He's had a light blue
Karman Ghia shell on a flatbed trailer attached to his pickup truck for
like four years now. In that time, he's done NOTHING! I see his truck
parked occasionaly at the stores and other places around town. Every
Tuesday - street sweeping day - he parks it a block away to as not to get
a ticket.

About a year ago, someone egged the car (shell) and since then there's
been this egg stain all over the rear.


--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46

Posted by Max Grrl on February 15th, 2007


In article <53jt9mF1t62dhU1@mid.individual.net>, PerfectReign
<perfectreign@xr4ti.tinfoilcat.com> wrote:

LOL!
Personally, I think that's a crime. Karman Ghia's while never VW's
finest contribution to excellent running vehicles, are beautiful cars.

I say that because I've had two friends (at different times in my life)
that owned one, and both were nightmares to keep on the road. Oil
problems abounded. : /

Still, they *are* beautiful cars. : )

Have you ever considered asking him if you could buy it from him?? At
the very least, it would be a fun "summer car." : )
Especially as I remember the two cars in question's heat not working
worth shit.

--
Max Grrl

Posted by PerfectReign on February 15th, 2007


On Thu, 15 Feb 2007 14:19:07 -0600, Max Grrl got out the hammer and chisel
and etched in the wall:

You know, I have thought about it. Especially condisering I pass by the
blasted thing every morning on my way out to work. My brother-in-law's
godfather had a Ghia until he died a few years back. Nice little car.

Now - as I've mentioned to Rev - I cannot drive a Beetle because I can't
shift the gears. I'm 6'4" and my knees simply don't fit behind the
steering wheel to operate the clutch. I wonder if that wouldn't be a
problem with the ghia. I used to be able to drive my dad's MGB without a
problem because it was much more - erm - flat. Unfortunately, he ended up
having some midlife crisis and traded his convertable sports car in for a
Nissan Sentra. Go figure. I think he drives a Sebring now.

I've been trying to decide what car to get my kids, though. I want them to
"own" a car that I can enjoy for ten or so years until they can actually
drive it. I know they both like VW's. My younger one, though, will get a
Jeep CJ7 into which I plan to put a small block diesel Cummins. I'll
start on that project in a few years. :P

--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46

Posted by trippy on February 15th, 2007


In article <bqn8t2prorbe67d3icph3qg2ptr7b6iq70@4ax.com>, Onideus Mad
Hatter took the hamburger meat, threw it on the grill, and I said "Oh
Wow"...

Of course you don't. That's because you're a knucklehead.

Yeah, I mean why have flash just take care of passing things within the
program when you can put all your variables in a query string and pass
it via url, right?

Yeah geenyus, guess that would be why I mentioned it.

Or you could learn how to import something, put of your worthless flash
files into a package, and just import the package. Which you could then
access in one convienent spot via relative url. No indexing required.

As opposed to your site which isn't viewable at all if you don't have
flash installed and is chock filled of useless, worthless crap.

Your quote thingy isn't that special. I coded something similar in
javascript a friggin' year ago. Oh, and someone could just put it in
wherever they wanted in their page. It's not hard dude.

And the reason you're not hearing about me coding a lot of sites is 1)
Nobody's asked me code a site, the gig I've got going is coding a gui
app in vb.net, which is a free project that I'm doing. 2) I'm going to
school and working 2 jobs, which doesn't leave a lot of time to to work
on just whatever.

Blah blah blah. Save your verbal diarrhea for someone who gives a shit
at what your dumb ass has to say.


--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

NP: "It's A Long Way To The Top" -- AC/DC

"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."

-- Robert Redford "Spy Game"




Posted by trippy on February 15th, 2007


In article <53jdihF1sslqoU2@mid.individual.net>, PerfectReign took the
hamburger meat, threw it on the grill, and I said "Oh Wow"...

I stay up too late sometimes. Okay, all the time.

--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

NP: "It's A Long Way To The Top" -- AC/DC

"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."

-- Robert Redford "Spy Game"




Posted by Onideus Mad Hatter on February 15th, 2007


On Thu, 15 Feb 2007 15:55:44 GMT, yttrx@yttrx.net (yttrx) wrote:

Hey, hey, no need to insult Jesus now. Yeah it's true, me and Jesus
we roll together, cruisin teh hood, pickin up sexy bitches and all,
but my man Jesus ain't makin these posts, ya retard lil keyboard
fumble. LOL, that's a good nyme for you, Fumbles, it describes your
nic very well I think. ^_^

You should if it's the SUPERIOR option...of course if you don't have
the skill (like you), well, then yeah might wanna stick to more
uh...pedestrian methods.

Yeesh, that's like the worst analogy I've ever seen. Man, creative
you are not. Anyway, I'm sure there are no shortage of retarded, tin
foil hat wearing, little goober kooks runnin around claiming inanimate
pieces of software as "evil"...but uh...well those retards aren't
exactly gonna be competition for me in the 'ol job market. Oh but
hey, the next time you're in for an interview and they ask you about
something you know nothing about, just start ramblin the fuck on about
how EVIL you think it is and how much of an ABOMINATION it is...oh
yeah...they'll understand COMPLETELY. ^_^

--

Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog


Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."

"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."

"I'm not a professional, I'm an artist."

"Your Usenet blinders are my best friend."

"Usenet Filters - Learn to shut yourself the fuck up!"

"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."

"There are clingy things in the grass...burrs 'n such...mmmm..."

"The more I learn the more I'm killing my idols."

"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"

"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."

"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."

"Reality is directly proportionate to how creative you are."

"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."

"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."

"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."

"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."

"Those who record history are those who control history."

"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."

"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."

"Tell me, would you describe yourself more as a process or a
function?"

"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."

"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )

Posted by Rev Turd Fredericks on February 16th, 2007


Max Grrl wrote:
expensive if they are in good shape. I bought a mint condition bug
instead. The Ghia I was looking at had a few issues I didn't want to
deal with, and was a few dollars more than I was willing to spend.


--
They have the internet for computers now?
-Homer Simpson

Posted by Rev Turd Fredericks on February 16th, 2007


PerfectReign wrote:


--
They have the internet for computers now?
-Homer Simpson

Posted by Drew on February 16th, 2007


Onideus Mad Hatter wrote:


I'm sure the competition's stiff at the Dairy Queen on 1674 NW 6th St in
Grants Pass, OR.

D

Posted by PerfectReign on February 16th, 2007


On Thu, 15 Feb 2007 17:22:37 -0600, trippy got out the hammer and chisel
and etched in the wall:

Heh! That's why god created Monster and/or RedBull.

--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46

Posted by PerfectReign on February 16th, 2007


On Fri, 16 Feb 2007 03:41:21 +0000, Rev Turd Fredericks got out the hammer
and chisel and etched in the wall:

Well, I just looked and there are several in our area. In my mind - at
least compared to Mustangs or Cougers from the same era - they're a steal.
Even well kept ones are under $6K.

Of course, they ARE cars. I don't know if I'd want to buy a car....


--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46

Posted by PerfectReign on February 16th, 2007


On Fri, 16 Feb 2007 03:42:30 +0000, Rev Turd Fredericks got out the hammer
and chisel and etched in the wall:

I think it is just a shell. There are no seats, windows, wheels
undercarriage, nothing.



--
kai

Free Compean and Ramos
http://www.perfectreign.com/?q=node/46


Similar Posts