| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comments:
<0> if so then you could do that and manipulate the string from there to get the specific info you need <1> You have to be logged in though. <0> no i'd load a test page <0> just to see if it was possible <0> brb <2> i want to take a film strip and scroll it marquee style across my flash... any ideas what that'd be called in Flash? <1> I'm such a pain in the *** :P <3> onData <4> mechtn: a horrible waste of resources? <1> rofl <2> why? i need this for a trial presentation <1> Cowboy ): how long? I gotta go in a few <2> trial as in court trial <5> 2 mins <1> K. :D <1> anyways.
<5> this is a little convoluted.. but <5> let me format and paste <5> it's going to look VERY messy <1> I don't even have flash installed on this computer yet. <0> yeah onData is the key <1> rofl <0> ? <0> what did someone else already figure it out? <1> Cowboy is trying ot. <0> well i got it working if you load an html page <1> Hm? <0> i loaded the data from onData into a text field and my flash now has my source for the page i loaded <0> http://pastebin.sekati.com/?id=Anonymous@05137-81875260-t <0> simple code really <5> getURL("(function(){var links=document.getElementsByTagName('a');for (var i=0;i<links.length;i++) {var onclick = links[i].getAttribute('onclick'); if (onclick.match(/up_launchIC/)) {alert('http://foo.com/?id='+onclick.split(\"'\")[1]);}}})()"); <0> just have a big *** text field named "test" that displays the page source <1> rofl. <0> just need a simple string manip to get the data you want out of it <1> Cowboy. <1> What will that do for me? <6> shoud i load that as php extension ? php-5.0.4_magickwand_dyn.dll <1> http://foo.com/?id=202... <5> the javascript executed in that getURL should iterate through all the "a" tags on the page, find the one with an onclick attribute containing 'up_launchIC', parse out just the 1st ' quoted param, and alert a url <0> the problem i see is that it may not work for dynamic pages like the myspace pages <5> 'http://foo.com/?id='+onclick.split(\"'\")[1] <6> as gdlib <0> i tried loading a php page before that and had an error <1> I can't use JavaScript. :\ <5> this one should load the page instead of alerting it <5> getURL("(function(){var <5> links=document.getElementsByTagName('a');for (var <5> i=0;i<links.length;i++) {var onclick = <5> links[i].getAttribute('onclick'); if (onclick.match(/up_launchIC/)) <5> {document.location='http://foo.com/?id='+onclick.split(\"'\")[1];}}})()"); <1> Well. <5> (that's all one line) <1> Cowboy.. Can you put that in a flash and compile it? <0> Cowboy <0> pastebin <1> :X <5> should be able to <0> brb, testing a myspace page <1> Then host it somewhere for me to test it. I would but I have to go pick up my cd from a friend <1> Because MySpace says.. <0> it doesn't look like it's going to do it with a myspace page <6> noone willing to help with php question ;) <1> Javascript can't be used. <1> But I don't know about in a Flash. :P <0> i was but you're too stupid to understand so now i'm on your ignore list <0> ****in dolt <1> WAIT. <1> MerZ.. were you trying his script? <0> no <0> i made my own <1> and.. You can use JavaScript in Flash? :P <0> it only loads static pages though <0> yeah <0> sorta <1> nice. <5> http://www.nomorepasting.com/paste.php?pasteID=57361 <1> Cowboy. :\
<1> Flash MX isn't at my house. <5> you can run a javascript function in a getURL very easily <5> any javascript function <1> ...well <1> :\ <5> oops <1> You can't use JavaScript with MySpace <0> yep, my script doesn't like coldfusion <5> getURL("(function needs to be <5> getURL("javascript:(function <1> Cowboy.. <5> check ito ut <5> look nv <6> better ' instead " <6> idiot ! <5> in your browser address bar, type this: <6> :D <0> what a ****in dip**** <5> javascript:alert("foo"); <0> someone needs to permanently remove K0m4 <1> YEah. <1> I know that. <0> he is NO ****in help in here and does nothing but act like a goddamned child <5> it actually executes alert("foo") in the contecxt of that page <5> context <5> if you had var a = 1 set in that page <1> Cowboy. <5> if myspace did that <1> But will this be in a flash? <5> and you did javascript:alert(a) it would alert 1 <5> actually, yes <1> Well. <0> Cowboy: did you test your script with a myspace page? <5> anything youcan type into the address bar, you can put in a geturl <1> Could you compile it for me? <5> no MerZikain but i've done this kind of thing before. <1> I'm confused now ): <1> So. <1> When I embed this flash. <5> check it out <6> nc_ could you take a cow pill for me :D <1> It will alert me, with http://foo.com/?id=#? <6> lol <1> brb <5> typing this into the address bar <5> javascript:alert("foo"); <5> is the same as doing this in flash <5> getURL('javascript:alert("foo");'); <5> unless your security settings restrict it <5> (which you can change) <5> so you can execute any arbitrary javascript code in a webpage by typing it into the address bar.. or running it in a getURL <5> just like any bookmarklet <5> (I've written a whole lot of those) <1> i GET IT. <5> by wrapping some arbitrary javascript code in: <5> (function(){ ..your code.. })() <5> you execute said code local to that function, and any "var" defined there will not be accessible to the rest of the webpage <7> hey guys.. how can i make a rollover area non-clickable? (no little hand curser).. using a rollover to trigger something else <6> ACHTUNG: Ab Version 1.6 wurde die komplette GIF-Untersttzung aus der GD-Bibliothek entfernt. Diese Funktion ist also nur verfgbar, wenn Sie eine Version vor 1.6 verwenden. <5> that way, you guarantee not to interfere with other javascript in the web page (unless you want to, of course) <6> GIF support was removed from the GD library in Version 1.6, and added back in Version 2.0.28. This function is not available between these versions. <1> Gives me an error Cowboy. <5> what error? <1> When I try to type it in <1> Char 227 <0> so update your gd library, moron <5> char 227? <6> how can i get version 2.0.38 ? <5> K0m4: google <6> i mean 2.0.28 <6> ;) <0> update php <1> Character 227.. Invalid Character <5> hmmn
Return to
#flash or Go to some related
logs:
#worldcup #visualbasic #politics #nhl #windows #politics #windows Ram Jayaram #politics #beginner
|
|