Post Reply 
Drag-and-Drop Resizable Flash...
Dec. 16, 2008, 10:40 PM
Post: #91
RE: Drag-and-Drop Resizable Flash...
(Dec. 16, 2008 10:15 PM)z12 Wrote:  I'd like to do more work on the script so it could be used to move other objects.

lol... ha ha, "got you hooked now"... oh, i know the feeling... i've been trying to drag-and-drop .swf's for TWO YEARS, off-and-on, find some code, reverse-engineer, set aside, start over in a couple of months when more code is stumbled upon...

finding those "genresize" and "dragresize" topics online was certainly a "eureka moment", lol...

i'm quite literally standing beside myself in jubilatory ecstacy...

can't express it enough, many MANY thanks, z12... Hail


ps: speaking of moving other objects, when hunting for that "list" of .swf's, i stumbled upon a Java Applet that sneaked by sidki's config...
"stupid me" forgot to 'bookmark it'... guess i'll see if i can find it again, over the next couple of months, lol...
Add Thank You Quote this message in a reply
Dec. 17, 2008, 05:07 PM
Post: #92
RE: Drag-and-Drop Resizable Flash...
It is still not working for me, but don't worry, really...i'm struggled... and because of that i had an idea/need
Add Thank You Quote this message in a reply
Dec. 18, 2008, 05:24 AM
Post: #93
RE: Drag-and-Drop Resizable Flash...
We need some help for people who don't speak proxomitron. How do we get this wonderful working on sidki config?

I read the README file. Not very informative Sad
Add Thank You Quote this message in a reply
Dec. 20, 2008, 01:40 PM
Post: #94
RE: Drag-and-Drop Resizable Flash...
bugger Wrote:I read the README file. Not very informative

Yeah, it's a bit weak. Smile!
I'll be rewriting it.
Do you have specific suggestions?

lnminente Wrote:It is still not working for me

Did you see this:
http://prxbx.com/forums/showthread.php?t...4#pid10284

The "base" config is a good idea.

z12
Add Thank You Quote this message in a reply
Dec. 20, 2008, 02:17 PM
Post: #95
RE: Drag-and-Drop Resizable Flash...
Yes, i saw it... :/
Have to say i had a problem last days with some addon, making javascript don't work well, i didn't tested after i solved it...
Add Thank You Quote this message in a reply
Dec. 20, 2008, 03:31 PM
Post: #96
RE: Drag-and-Drop Resizable Flash...
(Dec. 18, 2008 05:24 AM)bugger Wrote:  We need some help for people who don't speak proxomitron. How do we get this wonderful working on sidki config?

I read the README file. Not very informative Sad

my version is "slightly" different from z12's, here is a step-by-step, including attachments, that should get you up-and-running on sidki's 1/2/08 config...


1) using your file manager of choice, open Proxomitron's html folder and create a NEW folder within it called My_HTML... html should now contain TWO folders, My_HTML and sidki_h_2008-01-02...

2) open your new My_HTML folder and place the contents (four files) of the attached .zip into that folder... nothing else needs done regarding "file management", so feel free to close your file manager...

3) using NOTEPAD (or equiv.), open your sidki config (i'm assuming you have it named default.cfg so any changes we make are automatically loaded in every time Proxo is powered up... do not use Proxo's "merge" function, it only CONFUSES the issue, trust me... Everybody "knows" NOTEPAD (or equiv.)...

4) within NOTEPAD, do a "find" (CTRL-F) for user css... NOTEPAD will take you to this filter, "Header Top Inject: User CSS on sel. Sites 7.04.05 (!nn !mos) [sd] (d.0)"...

5) directly UNDER that filter, "copy-and-paste" the following into NOTEPAD:
Code:
Name = "Header Top Inject: User CSS - Toggle Flash Resize {z12} (modified) [add]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 16
Match = "(^(^<ProxHdrTop>))$STOP()"
Replace = "<link rel="stylesheet" type="text/css" media="all" href="http://local.ptron/My_HTML/tfr-mod.css" />\r\n"
observing to keep an "empty" line both before and after the filter, as you will see with the other filters in your NOTEPAD file...


6) you will note that you just pasted ABOVE a filter titled "Header Top Add: Initial JS Code 7.11.29 (ccw! !mos) [...] (d.r)"... BELOW this JS Code filter, "copy-and-paste" the following:
Code:
Name = "Header Top Add: User JS Code - Toggle Flash Resize {z12} (modified) [add]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 16
Match = "(^(^<ProxHdrTop>))$STOP()"
Replace = "<script type="text/javascript" src="http://local.ptron/My_HTML/tfr-mod.js"></script>\r\n"
again observing an "empty" line above and below the filter...


7) now in NOTEPAD, do a "find" (CTRL-F) for toggle flash, you will be taken to sidki's "<object>...: Toggle Flash" filter (I KEEP mine as Active = TRUE)...

8) ABOVE sidki's flash filter, "copy-and-paste" the following:
Code:
Name = "Toggle Flash Resize 1.3.2 {z12} (modified) [add]"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js)|$TYPE(vbs))(^$TST(keyword=*.flash.*))"
Limit = 5120
Match = "("
        "("
        "$NEST(<object(\s|"),"+</object >)|"
        "<object(^[a-z])(*/ object >&&(^*<object)*)|"
        "<embed(^[a-z])*>(^ [=a-z0-9])( </embed >)+"
        ")\0(^ </object >)(^ </textarea>)"
        "&&*"
        "&(*(swf|shockwave|flash|clsid:D27CDB6E-))"
        ")"
        "$SET(tfr=$GET(tfr)1)"
        "(($TST(script=*))$SET(1=\\")$SET(2=\\)|$SET(1=")$SET(2=))"
Replace = "<span class=\1proxoFlash_$GET(tfr)\1 style=\1display:block\1>"
          "<a title=\1Play Media\1 onmouseover=\1proxo.tfr.titleFlash(event)\1>"
          "<img alt=\1Toggle Media\1 src=\1http://local.ptron/My_HTML/player_play.png\1 style=\1border-style:none\1 /><\2/a>"
          "<br />"
          "<\2/span>"
          "<span class=\1drsElement\1 style=\1display:none\1>"
          "<textarea style=\1display:none\1>"
          "\0"
          "<\2/textarea>"
          "<\2/span>"
with an "empty" line above and below...


9) SAVE the NOTEPAD file (note that if you "exit" without saving, you will be PROMPTED to do so, UNLIKE proxo's "merge" function where most new users "assume" it is saved when in actuality it is NOT until the user MANUALLY does so)...

10) clear cache, reload the above config, browse to a site with flash, update us of your results...



Hope that helps in getting you up-and-running...
Keep us posted...


Attached File(s)
.zip  toggle-flash-files.zip (Size: 8.59 KB / Downloads: 705)
Add Thank You Quote this message in a reply
Dec. 21, 2008, 02:15 AM
Post: #97
RE: Drag-and-Drop Resizable Flash...
LOL, I vote for your version of the readme, that's awesome. Smile!

z12
Add Thank You Quote this message in a reply
Dec. 21, 2008, 04:20 AM
Post: #98
RE: Drag-and-Drop Resizable Flash...
[takes a bow] Big Teeth
Add Thank You Quote this message in a reply
Dec. 21, 2008, 10:03 PM
Post: #99
RE: Drag-and-Drop Resizable Flash...
Yes it works. Haaaaraaaaahhhh! Thankyou!

For those who don't want to clear there cache. You need to reload(skip cache). "ctrl + r" on firefox Smile!

For those like a bigger player_play button. I just grab one set off the net rename the file to "player_play" and player_stop


Attached File(s) Image(s)
       
Add Thank You Quote this message in a reply
Jan. 14, 2009, 10:16 PM
Post: #100
RE: Drag-and-Drop Resizable Flash...
Should this default to sidki set? Smile!
Add Thank You Quote this message in a reply
Jan. 15, 2009, 08:32 AM
Post: #101
RE: Drag-and-Drop Resizable Flash...
I only have Flash installed on IE on one computer only. I rarely use Flash (and I would never install it on Fx) so sorry if I am ignorant here but what exactly is this filter supposed to do? Why would I want drag and drop ability for Flash Player? I don't use Flash Player because the font size is too small and I watch a tutorial in Flash and I can't read anything. This filter won't help with that problem will it? I don't go to websites that are behind Flash (like my ISP's website) because I can't read the small fonts used and I can't adjust them.

If I decided I wanted this filter why is merge discouraged? I don't have Sidki's set as default. Scott's final config is default for me and I choose Sidki's after I boot up. I have Sidki configs going back to 2005 to choose from and several from Scott. Sometimes I forget to switch to Sidki and then I wonder when I see [ad] on a website and then it dawns on me that I am using Scott's last config and then I switch. But does it matter? Wouldn't this filter work anytime Sidki's latest config is chosen? Besides, it would be pretty rare for me to use Flash Player. (I like Silverlight better if it ever gets more widely used that would nice. I have Silverlight installed on several computers and browsers unlike Flash Player which I avoid unless really necessary).
Add Thank You Quote this message in a reply
Jan. 15, 2009, 11:14 AM
Post: #102
RE: Drag-and-Drop Resizable Flash...
(Jan. 15, 2009 08:32 AM)Mele20 Wrote:  ...because the font size is too small ... and I can't read anything. This filter won't help with that problem will it?

YES, it will help with that...
instead of the Flash taking up 10% of your viewing pane, you can resize the Flash's borders and it will take up 100% of your viewing pane, with everything inside growing larger and more readable...

now, if the Flash was "already" at 100% of your viewing pane, then no, you won't gain anything...
Add Thank You Quote this message in a reply
Jan. 15, 2009, 11:53 AM
Post: #103
RE: Drag-and-Drop Resizable Flash...
Hi Mele20, this filter is good, but i just want to remember you the zoom function of firefox. I remember you are not so young, and using the zoom would always work for all the plugins/objects/elements: java, flash, silverlight, everything. It works presing CTRL+Scrolling the Wheel of the mouse

Maybe IE also has a zoom, i don't know...
Add Thank You Quote this message in a reply
Apr. 23, 2009, 12:34 PM (This post was last modified: Apr. 23, 2009 04:27 PM by ProxRocks.)
Post: #104
RE: Drag-and-Drop Resizable Flash...
i've bumped into a site where the textarea is resized to a larger content area, but that the .swf contained within does not resize...

http://www.cnbc.com/id/30349196/site/140...&par=yahoo


i "think" if a <param name='SCALE' value='exactfit'> is ADDED "between" the object tags AND a scale='exactfit' is ADDED (don't know where) for the "embed" tags, that our resizer will take effect for the above flash...


is there any way i can add a "function" at the bottom of all pages that scans the object's param name's and adds an exactfit if not present?


edit: nevermind... was making it harder than it needed to be... all i needed was a multi=true filter placed before my resizer...
Add Thank You Quote this message in a reply
Apr. 23, 2009, 05:02 PM
Post: #105
RE: Drag-and-Drop Resizable Flash...
scratch that...
apparently not "all" .swf's are "resizable", as i can't seem to get that link's .swf to resize...
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: