ActionScript 2.0 :: Access Another Running Swf On Same Page?
Jan 31, 2003Which class/method should i use to call a function in another swf running in the same page?
View 10 RepliesWhich class/method should i use to call a function in another swf running in the same page?
View 10 RepliesWhich class/method should i use to call a function in another swf running in the same page?
View 2 RepliesHow can I run code in Actionscript 3 when a page with my flash object is.well.I'm not sure of the term.When the webpage is left and the flash applet is exited?
View 2 RepliesI am running my swf file through a browser on the local machine (i.e. C Drive). I want to have a link to download the Adobe Reader however when I click on the link that is setup with navigateToURL(), I get a Flash Player Security Error stating that it is unsafe to acess the Internet and to update the player options allowing it to happen. I have went to the player options and put the URL's in there that I am trying to get to with no success.
View 4 RepliesI guess this is more a question about PHP and MYSQL, but since Im using flash as the interface, I wanted to know if anyone knew this. Is it possible for someone to basically trigger one of my php documents that inserts variables to the Database through an swf ran outside my server? I know for example flash has a security feature built in to prevent flash from loading xml files from server to server. If anyone knows more about flash security issues and tips let me know
View 3 RepliesHow to let my local running swf-file access a xml-file that is on a server?
I have been to the "Global Security Settings panel" but dont really understand.
I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.
View 3 RepliesI have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.
View 2 RepliesOur video player is embeddable on Facebook if you share its URL, and all works fine except for one issue: as with most other social networks, script access is set to 'never' (on Facebook Wall posts, at least, which is where this appears), so you lose the ability to go fullscreen or make ExternalInterface calls.Currently, I'm using an ExternalInterface.call call to attempt to get the current URL, which is wrapped in try/catch statement incase it fails (as it does in this case on Facebook).Is there any other way I might be able to get the URL, absent script access? We're tracking our embeds, and it's a bummer to see all of these tracked instances on pages without script access show up as "UNKOWN", which is the value I give to the URL that is tracked when it can't determine the real value.
View 3 Repliesi'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
i am trying to access the aspx variable.But i can't to do this.am using flash professional cs5.
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.net.URLRequestMethod;[code]....
I need my swf to be able to see the domain of the page that it's loaded on. Normally to to this I would just look at window.location over ExternalInterface, but in this particular case the swf is going to be embedded with allowscriptaccess="never", so that's not going to work. Is there an actual api that will give me that or do I have to resort to ugly hacks?
View 3 RepliesCan you make httprequests in flex the same way one does with AJAX? I would like my flex page to access a database on the web or a servlet.
View 2 RepliesI am using Asp.net/C# to build an application , i have a requirement wherein i need to access webcam from my page and capture images of users.So i am trying to achieve this by creating flash file .
View 2 RepliesI have a label on my root timeline called "services". I have a services button inside a movie clip. How do I access the main time line to send it over to the page services? I'm using actionscript 3. Back in the day it would have been as simple as root.gotoandplay("services")
View 5 RepliesI have a master page and a child page and have placed the javascript code inside the child page for flash movie.
The problem is the movie seems working when there is a alert on, without at least one alert msg, the code does not work, I am sure you people can solve, I can see that the following code works well in both Mozilla and IE, but only if the alert is ON, if I put it off, then the code does not work. Can anybody tell me what is the workaround :
[Code]...
When i zoom into the page then move around the edge of the page can be moved past the edge of the browser window showing the static page which appears at the start of the document. Is it possible to use actionscript to stop the page being dragged past a certain point so the static page is not seen? On the example below the static page is white so it does not pose too much of a problem however im using the static page as a sort of instruction page and it looks a bit rubbish if the user drags a page past the edge of the view window and see's the original page. Example below. [URL]
View 1 RepliesI want to have a different image load on my home page everytime the page refreshes or someone visits it. Is it possible to do it without using Flash?
View 2 RepliesI have an swf loaded in a browswer (fire fox) and i use log on console using [code]I have initialized my swf in the document class on the Event.Added to stage.and i have a clean up function performing all the clean up/exit process in the code on the event [code]Now Doubt that this is being called/ activated/trigered as i am not able to log the start and end of the function to the console.The console log is of firebug.What exactly am i missing here? I would like to call the cleanup function on reload of page or relode of swf or change of page.How do i trigger and log it properly
View 1 RepliesHow do i change content on a page each time a user visits or refreshes the page? example: the icon on kirupas header changes when the page is refreshed or re loaded. I have searched using dynamic content, but didn't quite find it...I only want to change 1 image..
View 1 RepliesI'm trying to print a mc which is bigger than the default page size. I want to change the page/margin size so the content can fit in the page without scaling. Per the API reference [URL] the page settings are readonly. How can I print something bigger than the default page size? Is it doable in AS2 or AS3?
View 2 RepliesI would like to create my page links so when I roll over the text(link) enlarges and then once pressed a swf animation plays.When it stops it automatically directs to the desired page.
View 5 RepliesI have a flash site that has four pages which all stretch to fit window size.As soon as I go to a gallery page that is called in via SWF, and come back, I loose my dynamic stretching of all my pages...I would like the SWF page to stretch to fit also, and its isn't.
View 2 RepliesI have a flash header for an html site that is about a megabyte and obviously needs a preloader. Unfortunately it won't work to have the preloader loading at the top while the rest of the html below is visible — it will end up looking like the top navigation is cut off, as the top 10 pixels of the nav bar is actually in the swf header (fully loaded it will look contiguous)Is there a way to preload it in one html page and then once it's loaded into the cache automatically jump to the page with the big swf?
View 1 RepliesI have a site up that is a "music" site, it is XML and flash and I would like to know if it would be possible to and how would I enable the page so that it shuffles the songs and plays a random song every time the page is loaded.URL...
View 2 RepliesLet me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.
View 2 RepliesI have a movie clip that loads in the main timeline, when i click on any of my buttons theres a quick flash of the main page. Im loading my movies on level 1 so i guess my question is, how do i get rid of the movie on the main time line?
View 2 RepliesMy basic aim is to create a newspaper that consists of four pages. Each page i have created and are sitting in the library as sprites. Each page has buttons that need linking so that when pressed it loads the next page or page that i want. This is the part i am confused with =/ how do i make the buttons on each page load the next page (sprite) from the library??
View 2 RepliesSorry for bothering you with questions like these, but I've never worked with Flash before, so I've got no knowledge in as3. So I'm trying to make a full flash website, and I've read some good tutorials on the net, but some of the script codes the tutorials provide doesn't work. I'm trying to link a button to a page like google, or a page on the flashsite. I just purchased Flash cs4, so that might be the reason why the tutorial codes doesn't work..
View 5 RepliesSo I am doing a flash intro page, but the intro becomes the home page, as in all the pieces come together to create the Flash home page, so that there is just one file for the home page that includes the intro from Flash..how do I make it so that all the parts on the page stay there indefinitely, because right now after a certain amount of time, they disappear due to using the timeline in Flash.
View 4 Replies