My script myscript.pl is designed to return an appropriate varibale value to load into this flash movie so te remaining logic will work.
Now my problem is this WORKS in standalone flash movie but when I upload the movie to [URL] for example this does not work. I tried to put a relative path to my script, even that does not work. I want to make the movie Flash 5 compatible.
In all previous versions of flash I have been able to use "geturl" on a button and pull up a pdf in a local directory on my computer. Now with CS5, the same code pulls up a webpage and actually tries to go to a url. Is there a new way in CS5 to open a pdf on my local drive?
Trying to set up a getURL to link to a local htm file, NOT a page on the internet. All the tutorials I have read tell me how to link to a file on the internet I'm trying to set up an intranet site for my training college where students can access training resources etc on the local network. Therefore my getURL needs to point to a local file, not one on the internet. I'm trying to link to a .htm file that resides on my computer. Does the htm file have to be in the same folder as the .fla file?? How do I do this?? I'm working on a Mac, Os X, MX 2004, if that makes any difference.
I have a two frame page - the left frame is a custom flash Tree object that parses a number of IMS-compliant manifests (basically an XML tree menu structure) and the right frame displays the href of the tree object that is clicked. If i run this from a server, it works fine and displays all links in the right frame. But if I run it from a local or network drive it opens all links in _blank.
Adobe have a technote on the new allowScriptAccess and getURL in FP9 [URL] but dont mention anything about this issue (that i can locate). I also cannot see how opening all pages in _blank can fix any "security" issues. Can anyone confirm that targeting html frames locally via getURL under FP9 is now not possible or has been changed? or is this a bug (sorry - undocumented feature)?
When I originally made this flash, I created a button to access a web page that I had uploaded to my university server.
Now I'm attempting to compile all my webpages and flash to a CD for portfolio purposes and am having trouble redirecting the button to access the html in an adjacent folder to where the flash is stored.
Here's an example of the original button AS:
on(release){ getURL("TheURL(sorry I can't post links)", "_blank"); }
I have a flash that loads variables from a mysql database. It loads them with their id appending the variable. Example: Variable Name:itemName Id:1 var sent to flash:&itemName1=(item name in database)
Now the problem is in flash loading that variable with the added id at the end Code: onClipEvent(data){ t = this.totalItems; for(i = 1;i <= t;i++){ itemNames = this.itemName + i; _root.itemList.addItemAt(i, itemNames); }}
But the list returns NaN. I so far have 2 items in my database so these are the values returned. itemName1 description1 price1 itemName2 description2 price2 So I thought this.itemName + i would return the value itemName1 where i=1 in the for loop. Is there any other way to do this?
I'm doing a loadVariables (http://www..etc....); When I run my movie I get - Error opening URL, I understand the error etc... but what I wanna know is does a variable get set? So I can do a check if x = Error opening URL gotoAndPlay(etc);
Ok so my swf on my homepage is calling in the main.swf which then has movieclips and coded like this on the Actions layer which I made
button1.onRelease = function (){ _root.button1.getURL("http://scholarscanada.com/wordpress/education/programs/reading-readiness/" "_parent"); }
Here is the site so you guys can see, I believe it has to be something with calling the main.swf into the movieclip because I've never encountered this issue before...If you click on the LEARN MORE for the first image it doesnt go to the page which I ask it for
I use getURL to trigger new page, it works in flash player 7 (publish setting -> flash player version 7) but not works in flash player 8 (publish setting -> flash player version 8). Here is the code :
I'm having a strange problem with getURL. in my flash file, i have two buttons one for an email link and another one for a site link here is the code
[Code]...
when i test it in flash (Ctr+enter) only the button linking to the site works, but the email button doesn't work. And when i preview it in html, only the the email button works, but the site button doesn't work.
Still creating the menu I ran into this problem with getURL. I've tried a lot of things, but it still won't go to the URL. Here's my AS code. I marked out where the getURL is.
[AS] // Create xml-object menuXml = new XML(); // Ignore tabs, spaces etc.
It works fine on a testing domain where the flash and the html file are located in the same folder, however, this flash banner is going to be stores on a subdomain callAs soon as it's put on the live site with the flash located in the images subdomain the link stops working. I don't even get an error message; it just doesn't do anything.We tried changing the code to:
on (release){ System.security.allowDomain("*"); System.security.allowInsecureDomain("*");
I have been searching Google trying to find a solution to my problem with no joy, so I thought I would post in here to try my luck.I have created a small movie which can be found here, [URL], the problem I have lays with the button at the top of the movie titled "Click Here to Create Your Canvas". I have 'Publish Previewed' in Flash and the button works fine - changing on mouseover and opening link, however when viewed in HTML the button changes as intended but the link does not open on release.
Still creating the menu I ran into this problem with getURL.I've tried a lot of things, but it still won't go to the URL.Here's my AS code.I marked out where the getURL is.
I'm trying to get the code below to work, but no such luck: Code: var newsAry = new Array("news/040720.html"); for(i=1; i<=newsAry.length; i++) { this["btn" + i].index = i; this["btn" + i].onRelease = function() { getURL("javascript:openNewWindow(" + newsAry[this.index - 1] + ",'newswin','height=400,width=450,toolbar=no,scrollbars=yes')"); }} I'm trying to get the 'newsAry' Array to work in the javascript getURL action. When I use a regular html page in there the page works just fine.
i have the problem of local files of flash not working in any browser. to explain further i have html pages with headers in flash in my hard disk with links of the connecting pages. when i open such pages in any browser the links dont work. the page just stays as it is. when i click on the links only the state of the rollover changes when clicked on a link. the links when clicked dont go to the linked page. but when i upload these files to the server, they open and work perfectly in any browser.
My AS3 makes a call to a php script and it works beautifully during testing. However, once I upload it to the web, it no longer works.
I am using absolute URL's, since my game exists in various places, such as facebook and my website. Here' s the code:
ActionScript Code: public function checkMovements():void { var urlLoader:URLLoader = new URLLoader(); urlLoader.addEventListener(Event.COMPLETE, checkMovements_Complete);
why a loadMovie("movie.swf", "_root.targetMC") would work on a local system, but when put onto a server (with EXACTLY the same file dir setup) would just lock up trying to transfer data? And I am talking about files that just contain one line of text, and nothing more. WTF?
I want to play a video, for it I decided to use a FLVPayback with a skin, and it works very well when I test it in Flash CS4, also when i called it from my server with the "network access" only preference. But when i embeded into a html... it plays the video but the skin does´t shows up.
I have an HTML file which contains a Flash .FLV player; which then loads a given FLV video and plays it. The idea is all these files are stored locally on the PC as part of an application install, we use HTML/flash for the help/manual. On my PC it works fine but on a user's PC nothing is displayed. However if I host the exact same file-structure online and give them the URL, it works perfectly.
I am guessing this is a security issue of some sort but have no idea how to address it. The browser being used is actually a XULRunner app, i.e it's the FireFox 3 engine but not actually FF. Since my PC isa developer PC it's entirely possible I've done something in the past on another project that makes it work, rather than my PC being special in some way. For reference the HTML has the following in it - this is generated from some 3rd-party app:
I have an swf that needs to communicate with another. It just needs to pass 1 variable (a number) to the other. And the receiving swf will then act according to the number.
However, I noticed when I sometimes refresh the page, localConnection does not always work. When I'm clicking the sending swf, the receiving swf does not act...at all. As if nothing happened.
Is it a HTML problem? Ive selected Flash Player 7 for swfobject's parameters. Anyone have any solutions or possible alternatives to doing this?
Like I said, I just need to give the receiving swf ONE variable. And I dont want the sending one to write to a PHP file and receiving one to always load that PHP file for updates...thats not nifty enough.
I have movieclip buttons that when you click on them take you to external url's
When I upload the files to a webserver then it works perfect. However when I try to run the files locally the movieclip buttons dont seem to work (when you click on them they dont take you to the required url).
The strange thing is that if I make one of the url's for example "C: est" then this appears to work when I test it localy but will not go to "www.google.com".
I have a movie clip named "restlink." I drag it to frame one on layer "link," and give it an instance name of "link1." At frame 100, I create a keyframe on "link" layer, and change the instance name to "link2." In frame one of the "actions" layer, I enter the following:
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?
At the end of my movie I want to launch a URL that loads up another Flash movie. In the past I would use something like getURL("[URL]"); how to perform this task in Actionscript 3?
I have an interesting (and rather embarrasing) error occuring only in Firefox on http://www.northwestu.edu/report/06/. If you watch the presentation in Explorer, this is the proper chain of events:[URL]..I oversee this site and unfortunately we did not find this bug until after linking up this content to our home page.
I have 2 buttons in a flash movie with the following codes. They open a new URL that also contains a flash movie and it sends the variable "nFrame" and a value.
Button1: Code: on (release) { getURL("goats.html?nFrame=1"); }
Button2: Code: on (release) { getURL("goats.html?nFrame=2"); }
When the new URL opens I want the flash movie to begin at a particular frame depending on what variable "nFrame" is equal to. I tried placing this code in the first frame to do it but it didn't work, the movie just loops and loops and doesn't stop at any frame.