ActionScript 2.0 :: Get / Use / Find Webbrowser Url?
Jun 21, 2007
I have made a flashproject with an image-scroller with 12 different pictures linked to 12 different url.html but they (the url's) all show the same flashproject.
Im searching for something like an If command, if the url_1.html is opened i want picture 1 to load. And if url_2.html is opened I want picture 2 to load.
I dont want to make different flashprojects for each url.
// i tried stuff like the code you find here under but the _url command only give me .swf address not the site-url.
Code:
onClipEvent (load)
{
url = _url;
[Code]....
View 4 Replies
Similar Posts:
Jan 13, 2009
I have the setting in flash cs4 set to align ver center and horizontal center but when i publish my movie it appears on the left side , how can i center my flash movie ?
View 2 Replies
Sep 29, 2011
I'd started a discussion about a problem with a SWF file not loading an XML data file when rendered in a .NET WebBrowser control in a different forum [url]
Further investigation has revealed that if the XML data file is loaded using Action Script 2 (via XML.load()), it works. But if the SWF file in question uses Action Script 3 (via URLLoader.load(), I think), the data file is NOT loaded, UNLESS the XML file is in the same folder as the HTML file.If either SWF file is loaded using Internet Explorer 9, then everything works OK. Are there any know issues (which would be apparently well-hidden from Internet search engines, because we've been beating on those) regarding the performance of SWF + Action Script 3 + .NET WebBrowser?
It's just so weird that there are ways to coerce the AS3 solution to work by moving files (not really an option for what we want to do), and that Internet Explorer 9 has no trouble, but the WebBrowser control (which everyone SAYS "is just a wrapper for IE") does NOT work the same way.
View 8 Replies
Oct 24, 2010
I am trying to make myself a simple metacafe uploader, and I am using the webbrowser to do that. Everything was working great with loggin in, navigating to upload page etc... I used the HtmlElement and setAttribute/Invoke to click and set the text fields:
HtmlElement password = wb.Document.All["sPass"];
assword.SetAttribute("value", this.password);
Now I have a problem. To upload a video to metacafe, you first need to click on a flash button caleld Upload. There, a window appears to select a file, and after you press OK, the upload begins and you can enter the form information. My question is this: How can I enter the video file without seeing a popup window? Knowing that it's flash . Here is how the flash object looks: [URL] Above I copied only the part from the upload page that it's important to me. As you can see, a simple flash file appears. Now I want to simulate the click/enter of file without showing the file window.
View 2 Replies
Nov 20, 2010
How can i disable the menu of flash player when I'm navigating a flash file with WebBrowser ?
View 2 Replies
Jan 10, 2011
I'm trying to build a screenshot package in C# which creates a screenshot from an URL. But apparently flash isn't supported in the webbrowser class. Is there any solution to this or is there any open source solution on how to render flash in a screenshot from url solution?
View 1 Replies
Mar 19, 2011
I'm new to webdevelopment and I am looking for some tutorials or resources about how to run C++ code in a browser. I soon going to do a degree project which implements a sound service in a browser (like flash I guess) using a provided DLL + my own program, so I'm looking for some starters on where to look. I don't have alot of webdevelopment experience but I do have a programming background C/C++. Cheers
View 5 Replies
Jul 8, 2009
In my site I want to make my flash site extends or shrink according to the webbrowser size. This way my flash would always be on "fullwebbrowser size".Of course I would like a minimum size too.
View 6 Replies
Apr 15, 2012
Sending simulated click via WebBrowser in C# to flash object embedded in HTML
Unfortunately, Mr. K wasn't very specific, and all he left behind for people reading his question was that he "got the handle and then iterated through the handles." I'm not extremely sure what he meant by that. I iterated through all visible handles using EnumWindows to no avail, as that did not return a window that was a flash window.
EDIT: I've just settled on inserting an SWF Object into my form and posting messages to the handle of that.
View 2 Replies
Dec 10, 2009
Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?
View 2 Replies
Oct 17, 2010
I have a HTML page that contains a flash file and some a JavaScript function that returns the object of the flash file.So far I can call the JavaScript function from C# and have it return an Object, but I want to cast it as AxShockwaveFlash and access the COM Object directly from C#.I have seen this done with Windows Media Player imbedded in the a HTML page, but it doesn't seem to work with flash.[code]When I try to cast the Object to AxShockwaveFlash it fails, but I have seen it work casting the object to WindowsMediaPlayer.I tried to find if AxShockwaveFlash supports QueryInterface calls, as per the error message but Google returned nothing of value.
View 1 Replies
Oct 20, 2010
I have two applications. In one application the web browser control shows a flash movie that is embedded and in the other it does not, only shows place holder. I have identical code in both constructors to load a web control dynamically and then navigate to the requested web page.
I run both application in debug mode from within VS2010.
View 1 Replies
Sep 30, 2011
I'd started a discussion about a problem with a SWF file not loading an XML data file when rendered in a .NET WebBrowser control (see here)Further investigation has revealed that if the XML data file is loaded using Action Script 2 (via XML.load()), it works. But if the SWF file in question uses Action Script 3 (via URLLoader.load(), I think), the data file is NOT loaded, UNLESS the XML file is in the same folder as the HTML file.
If either SWF file is loaded using Internet Explorer 9, then everything works OK.Are there any know issues (which would be apparently well-hidden from Internet search engines, because we've been beating on those) regarding the performance of SWF + Action Script 3 + .NET WebBrowser?
View 2 Replies
Sep 13, 2010
I'm developing a flex application to view charts and statistic data about real-time stock price. The requirement is that 1 user can view multiple windows (or panel, or canvas) of multiple stock symbols at the same time. I want to have 1 button, when I click at that button, a new panel will be pop up in a new WebBrowser tab. 1 user can open 5 or more panels like that in 5 more webbrowser tab to see 5 different stocks. And all 5 panels must be managed by the main Application. So that the Application can send stock price data to those 5 panels.
View 2 Replies
Aug 9, 2010
How can i stop the webbrowser from loading/displaying images, flash, script etc?I found this article that deals with it, but i dont know how to implement that "STDMETHODIMP CAtlBrCon::Invoke" function
View 1 Replies
Oct 11, 2011
Here is the issue. I'm making a web browser for my 3 year old so that I can specify which sites he can go to and make it easy for him to get to those sites. One of the sites that I have specified is the Disney Junior site. However, when I load up that site in the WebBrowser control the flash is kinda wonky. This is the only flash site that does this. The top and side nav are like twice the size they should be. This has happened on multiple machines, so it's not just my dev box. Also, the site looks just fine in IE9. I've been pulling my hair out trying to figure out what is happening, but I'm running dry on ideas.
At first I though it had something to do with zoom in IE, so I created a new control inherited from the WebBrowser control and added a zoom property, but that didn't fix it. Then I thought maybe the User Agent string might be an issue so I tried modifying it to no avail ... plus it turns out that the WebBrowser control identifies itself as IE9 anyway ... so that's not it. I've thought about using GeckoFX or Webkit.NET, but those projects are both way out of date, so I would rather use something more modern like the built in IE control (ironic, I know)
View 1 Replies
May 18, 2010
I must rejected all users outside Denmark from our live streaming (c-ip) and this is done in an access plug-insBut now I need to open up one of the streams, but I can't get the streaming name in the access-plug-ins only in the Auth-plug-ins.I cant use x-page-url or s-uri I need pStreamName. in access-plug-in like thissetStringField(m_pAev, IFmsAuthEvent::F_STREAM_NAME, pStreamName);but I cant get it inside the access-plug-in
View 1 Replies
Jan 17, 2009
[URL]When you go to "vimmel" then press "white party" flash reports an type error 1010. This error is not shown when i test my movie in Flash CS4.
View 1 Replies
Jul 14, 2010
I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??
View 3 Replies
Feb 4, 2011
My problem is that the close button is going out of screen to somewhere after I made the gallery images fullscreen.It looked like this before they changed to fullscreen.. On right top corner you can see close and slideshow button etc...But after we made them fullsreen, the buttons are gone wide top right I guess. I can send the xml or .as files dont know which ones you need..
View 1 Replies
Nov 16, 2008
I got an error message, when trying to compile. At one point it was working, but maybe I screwed up one of the environment variables.
C:Documents and Settingsjm>mxmlc Error: could not find a JVM.
View 1 Replies
Jan 17, 2012
I have a SWF that works perfectly inside flash. once i export as SWF, it doesn't work anymore.
i can't use "trace"
i have tryed that function but it doesn't trigger it for some reason[code]...
View 3 Replies
Jun 1, 2006
how can I find the FPS of my SWF. It�s set to 12 but I can see that it�s not playing that.
View 1 Replies
Jan 18, 2009
I've got two different domains and both of them direct to the same website. This website has a menu on top made in Flash (the rest is HTML, so the page must be reloaded everytime I click on an option or I need new content).
But this Flash movie has to show a different animation depending on the URL.
What can I do to find out the current URL in ActionScript?
View 2 Replies
Aug 21, 2009
I have a fla that does a few things before loading in a .flv file and playing this. All this works fine, now comes the issue.
I have to find when the player stops.
I have tested around with cuepoints as well as many other options and found this code on these forums, where at least my flv file is played through, but the buffer throws an error[code]...
View 2 Replies
Nov 26, 2009
I have a number of different buttons which I have calledred, blue and green (instance name)I want a piece of code that recognises which of the button red, blue, yellow and green has been chosen.note these are buttons and not radiobuttons.
View 1 Replies
May 22, 2010
Does anyone know the code to put to find out if a checkbox is checked or not. I need it to play a sound 99999 times if checked, and once if unchecked
EDIT: I need it to be checked when a button is pressed by using on(press)
View 1 Replies
Sep 12, 2010
I need to update the dynamic text in this flash file I have and export it to SWF. I've looked at the actionscript in all the frames and symbols but the only thing I've found so far are "stop();" 's
I tried exporting this to SWF to see if the file size was the same as the current working version on the site, and it was about 15kb smaller, and does not work at all.
How can I see all external file references in flash? I need to be able to tell my boss which files are needed or at least what is missing.
View 3 Replies
Aug 6, 2011
The only place where I used templet was in google, it was free, but not for commercial use, if someone know about a place where to find them, if they charge for one or for a year a don't know. and a good place.
View 1 Replies
Sep 9, 2011
I am trying to locate the letter at a certain number of characters after a word.For instance, in this sentence:"Hello, I really like dogs"I want to find the character of position 7 after the word "really", which in the above sentence would be the letter "d"
View 2 Replies