Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27214

How to replace Text using a Textbox in URL (SWF FILE)? (Flash Shockwave Object)

$
0
0
Hello, here today was trying to to embed an swf file (flash-game) for our new flash gaming website. I wanna embed it in my Project as an SWF Flash Wave Object so our members can play it where ever they are...
First I had problems with sendding Keys to my project, but I kinda gave up on that..... Now I am fixing my embedding problem.

Here is an example of our SWF Flash URL:
Code:

http://www.MY-SITE.com/action/supermario.swf?level=2
I am trying to replace the "level=2" with a TextBox Text, but cant make it work! Please notice am not using a WebBrowser but an AxShockwaveFlash reference. I even
tried with a browser, didnt work either..

Here is a way I tried:
Code:

AxShockwaveFlash1.Movie = "http://www.MY-SITE.com/action/supermario.swf?{0}" & TextBox1.Text.ToString
I know that the {0} should replace my the text with my textbox but this method is only working only Webbrowsers, and not in SWF. I would be appreciated to know how to replace the last text in the SWF URL..

Thanks a bunch in advance..

Viewing all articles
Browse latest Browse all 27214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>