ActionScript 3.0 :: Load External Swf's Keeping Interactivity
Sep 9, 2011
I am leading a team of developers on a project where we create distance learning classes to be attendedby students on the Internet.We created classes in Flash, ActionScript 3 in but I'm facing a big problem.I had an idea to create a kind of "software" using the flash in which my team could be better organized and where I could put (in the animation swf) what they should do that day(todo list).Until then it was all right, I created this software by loading text from the internet and created some php code inorder to edit them easily, even then no problem.[code]...
View 3 Replies
Similar Posts:
Jan 29, 2009
i have an annoying problem. I have a mc that i use as a button. I have an external class that controls the button and adds interactivity to it, here's part of the code:
Code:
package
{
import flash.display.*;
import flash.text.*;
[Code]...
The problem is, i want the btn that, when clicked, remain inactive.That's why I remove all the listeners in the class. HOWEVER, it still functions as a button, I mean the functions haven't been removed at all after I click it. What's wrong here?? Why are the functions still there, if I have removed them when clicked at the btn?
View 4 Replies
Feb 22, 2011
So I am loading external swf's. These swfs contain a 16 frame image sequence on the stage. When I load the swf's and go to each frame via actionscript, they load into memory and they play fast and smoothly. If they sit on a single frame for a certain amount of time, the rest of the frames are dumped from memory and the image sequence plays slow again until each frame is displayed and stored in memory again. I really want to keep all the frames of these timelines in memory until I choose to unload the swf's manually.
View 1 Replies
Jan 27, 2009
It has been a while since I have used flash, but I am getting a werid error when trying to make external links.
in my action script on my button, I'm putting the script
on (release) {
getURL("www.google.ca", "_blank");
}
which I have always done in the past, but when I upload it and test it, when I click on the link it just add's it to the end of the current URL eg.
[URL]
View 6 Replies
Aug 8, 2011
I am displaying a photo from an external link when called upon from my swf. When the user clicks a button, up pops a corresponding photo in a new browser window. After the photo window has opened, if the user clicks another button the photo browser will update but its no longer in front. I know I need to use the focus() command but cannot figure how to incorporate it into my AS3 code.[code]....
View 3 Replies
Jul 31, 2009
I'm loading a bunch of SWFs at the same time. I'm using a custom class to do the loading. Most of the time they all load OK, however occasionally one or two will be unloaded (I can see that in the console) before we get to the Event.COMPLETE. The ProgressEvents are all fine - I can see them loading, but then boom - they're unloaded.
I've done a bit of digging around and discovered that this may be a bug in the Loader class where if you are using multiple instances of the class then sometimes one or more will be Garbage Collected before they finish loading and are therefore unloaded. I've tried keeping a reference to the loader and the classes holding the loaders and I'm still having the problem. The solution is to queue the loads and load each swf in order which isn't a problem, just a bit irritating.
View 2 Replies
Jun 4, 2009
i load in AS3 data into flash and mantain their data type? Like receiving an array and even with arrays in it and recognizing that is an array instead of a standard string.
And if this is possible is it more reliable then using XML?
View 1 Replies
May 19, 2009
just finished a postgrad in web design and multimedia and want to start working on a few sites for a portfoilio, think it would help with jobs etc
I have a site at the mo with a banner in flash but i know that there are sites out there that use flash more in depth. ive seen pretty much whole sites done with flash before but have no idea how to do it! I could get something interatctive with buttons etc in flash cs3 but would have no idea how to display it all in a webpage, create a link from flash to the html or whatever so when a button was clicked it'd take the user to a different page...etc
View 2 Replies
Apr 11, 2006
I have an ad banner that the client says the clickTag layer must be the top most layer. The problem is I have movies below that layer that animate on rollOver:
Code:
on (rollOver) {
this.gotoAndPlay("bounce");
}
These do not work unless they are above the clickTag layer. Is their a way I can adjust the rollOver code to acomodate for this? Both the clickTag and the movies are on the main time line but the rollOver animation is in its own movie.
View 1 Replies
Mar 30, 2011
I am looking to do a drag and drop where the user has to drag over 1 of 3 clothes onto a sales person to let us know which one is the correct dress code for our store. What would be the best way to do this?
View 1 Replies
Jun 23, 2010
I have been trying to convert my swf files to flv.
I've tried a whole bunch of converters and I can't find one that will preserve the interactivity of my file.
View 2 Replies
Nov 9, 2004
My interactive .SWF that is called loses all interactivity when loaded, however, the .SWF works perfectly on its own. The .SWF that is called basically has 4 buttons that moves a set of 4 images 50 pix to left so it can be viewed when button is pressed.
View 1 Replies
Jun 2, 2009
I'm having trouble retaining interactivity in a DisplayObject (MovieClip) that has been altered to become a 3D object in Flash 10. The current structure is as follows: MovieClip1 with Mouse EventListeners nested inside MovieClip2 inside MovieClip3. MovieClip3 is rotated in 3D space via rotationX and rotationY as well as in Z space. After this happens interactivity in MovieClip1 does not function.
View 1 Replies
Jul 20, 2009
I've just spend some time on our friend Google trying to find a decent Flash Video interactivity tutorial but I couldn't find one.
I'm trying to add icons in an FLV. Each icon would then link to a certain page of the website.
View 5 Replies
Nov 9, 2004
my interactive .SWF that is called loses all interactivity when loaded, however, the .SWF works perfectly on its own. The .SWF that is called basically has 4 buttons that moves a set of 4 images 50 pix to left so it can be viewed when button is pressed.
View 1 Replies
Sep 18, 2009
I'm new to using flash and actionscript, but i'm looking to learn how to make a video or a series of videos play using flash. Where the user has to click on a specific part of the screen to play the next video. I'm using Flash cs3 to do this and again i'm new to this so i don't know how to navigate very well. If anyone could provide me with a tutorial or walkthrough on this that'd be amazing.
View 3 Replies
Jun 28, 2011
I'm using flash to build banners among other things. Today I experienced a problem with a banner with mouseposition interactivity. The expected interactivity was blocked by a transparent gif that lay on top of the banner and apparently was there to track and handle clicks. It's a ad component for Joomla called Ijoomla Ad Agency. There is no way to make the ad component work in another way.
View 8 Replies
Jun 24, 2010
As an AS3 beginner, I'm trying to translate an old AS2 trick into AS3. I want to disable then re-enable any kind of interactivity with all the display objects on the stage, at once. For example while waiting for external assets to load or after a user clicks on a menu item.
This what I used to do with AS2 :
protect_mc.onRelease = function():Void {};
protect_mc.enabled = false;
protect_mc._alpha = 0;
protect_mc._visible = false;
Then switching protect_mc._visible to true or false.
(protect_mc being an empty movie clip with the stage's height and width, at the highest depth)
My first idea is registering a listener with the Stage for the capture phase of MouseEvent.CLICK that stops all input events propagation (mouse, focus, text...), when a "lock" static variable is set to true or does nothing otherwise. Second idea is using a Custom Event...
View 2 Replies
May 24, 2011
It would seem that if you choose to create a custom cursor that you cannot interact with anything else on the stage with a mouse. I have written the code:
[Code]...
When I roll over and click, nothing happens. Every now and again it works, but very rarely. It's not because it's a ENTER_FRAME event either, because I changed it to a non ENTER_FRAME function and changes from hitTestObject to a ROLL_OVER and it still didn't work. But I have seen hundreds of Flash games over the years that have custom cursors AND interactivity.
View 2 Replies
Apr 3, 2006
Here's the excellent Todd Dominey crossfading slide show. All I want is just that after the slideshow has ended (by choosing "sequential" on the xml file) with 10 pictures of flowers for examples, I want it to load by itself another .swf (movie2.swf for example)
Code:
/* Crossfading slide show */
// set random # variables - each must be 0 for first 'while' loop below
var randomNum = 0;
var randomNumLast = 0;
// parent container
[Code] .....
Among all this code, where do i write "loadmovieNum ("movie2.swf", 0)" to get out from this string? I want to create an interactivity between pictures slideshow + graphic swf's I created with graphics, drawing etc...
View 1 Replies
Mar 19, 2002
Any ideas on how to create text interactivity from a rollover?
View 6 Replies
Jun 13, 2011
I did a test where I was able to load in data to a text field in flash from an xml file. This field will eventually be a scrolling text box. How would I make some of the text in the XML file interactive (meaning you could click on it and cause something to happen in the flash) - for example popping up a graphic on the screen. I don't want it to be an external link (URL) and since the text scrolls, there is no way to know where it will be on the screen when the user clicks on it so I can't create an invisible button.
View 4 Replies
Feb 5, 2010
I've made it so that I can I can use an external class to control a movie clip. Very exciting. I've run into a new issue though, in that now when I load this swf into a parent movie, the Papervision no longer works. I don't receive any error or anything. When I run the swf by itself everything runs as it should, but when loaded into another parent, it just seems to turn off any interactivity.
ActionScript Code:
package
{
import flash.display.MovieClip;
[Code].....
View 5 Replies
Apr 18, 2011
I'm new with Away3D 3.6 and I meet a problem to change the color of a cube. I can init a color on a face but when I click on the cube, impossible to change this color
[Code]...
View 0 Replies
Jan 4, 2001
is it possible to embed flash movies into mac versions of powerpoint, while retaining interactivity?so far i have only been able to import them as linked quicktime files.
View 12 Replies
May 26, 2010
I'm trying to load a flash game (hosted remotely) into an empty movie clip, and when I do the game appears but the buttons are disabled.Is there any way around this? I need to code it in as2 but the game was coded in as3, maybe that's causing issues? I've tried 2 slightly different ways so far but with the same affect:URL...(BTW, the game I'm using is just an example because the real one isn't finished yet)
View 1 Replies
Aug 2, 2005
I overheard some watercooler talk the other day and the subject was using the mic as a means to control the interactivity of a flash site.Example: Every sound that the user's mic "hears" results in an event much like clicking on a button to reveal a dropdown menu.
Or: The more you scream, the more popups appear on the site.
View 4 Replies
Apr 19, 2012
I followed this tutorial below: active[dot]tutsplus[dot]com/tutorials/effects/create-an-impressive-magnifying-effect-with-actionscript-30/ to get a magnify lens effect which works wonderfully, unfortunately the problem I'm having is I cannot click on buttons underneath the magnify lens. Is there a work around to this that I can implement? I tried mouseEnabled = false, to no avail. I'm kind of not sure what else to do.
View 2 Replies
May 28, 2007
Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.
View 4 Replies
May 6, 2011
I have a Flex application that just load an external SWF, but the application load and unload infinitely my swf.
[Code]...
View 2 Replies