ActionScript 2.0 :: TellTarget In A Different Flash Player?
Apr 13, 2010
I have two swf's called test1.swf and test2.swf.Can I open BOTH swf's in DIFFERENT players (not loading test2.swf in to _layer1 of test1.swf), and click a button in test1.swf to play a mc in test2.swf? or possibly pass variables from test1.swf to test2.swf.
View 6 Replies
Similar Posts:
Jun 11, 2010
I am working on a portfolio in flash which dynamically defines the target of the buttons. When a button is click an external swf is loaded, and the button sends the value of a variable to the loaded swf. So far I got it to work as I want it to, BUT the ouput-panel keeps giving the message:
Target not found: Target="this._parent.project" Base="_level0.button_1"
I am using this code:
on (release) {
this._parent.project.loadMovie("project.swf");
tellTarget ("this._parent.project") {
pnumber = a;
}}
The "pnumber" var is used in de project.swf to define a folder. "a" is a var with a numeric value. I know the tellTarget is an old-fashioned way of scripting, but so far it is the only piece of script that actually does what I want it to do (except for the error-message)
I tried:
Code:
on (release) {
this._parent.project.loadMovie("project.swf");
this._parent.project.pnumber = a;
}
But this resulted in an undefined var in my target clip, while the tellTarget did return the value for 'a'/'pnumber'.
View 1 Replies
Jul 12, 2009
I need the event button to go to one more tellTarget ("/popup_ I Have 5 popups Now I need one more [URL]
View 1 Replies
Feb 18, 2011
I just got cs5 and this is the script I normally use for certain mouse over events. I want my button to tell a certain movie clip to play a certain frame.
//MOUSE OVERS
on (rollOver) {
tellTarget ("culture") {
[code]....
Why doesnt this work?
View 4 Replies
Feb 23, 2005
can you help me make this work[URL]..I need that the buttons, under the tellTarget moviclip, to actually work.
View 2 Replies
May 20, 2004
how do you specify the target path using "tellTarget"?Ex. The target movie clip is on the main timeline but the "tellTarget" script is on another. How would I code this? (or should I just use the standard "gotoAndPlay"?)Is tellTarget really even relevant anymore? It seems to me that with the release of FMX 2004, Macromedia advocates using gotoAndPlay more than tellTarget. Why would you use tellTarget when gotoAndPlay does essentially the same thing (or does it?)?
View 4 Replies
Apr 26, 2005
I have a button inside a movieclip inside another movieclip that, when it is released, it changes the frame of the main movieclip. I am using tellTarget like this:
[Code]...
View 4 Replies
Feb 15, 2006
I read Kirupa's article on the telltarget command and have duplicated it in my own project i am working on. but when I click on the button contaion the tell target, I get an error which says:Target not found: Target="/landmenu" Base="_level0"Maybe one of you may know the answer to this.
View 2 Replies
May 31, 2007
I have a little problem, I have a scene containing about 30 movieclips (all with a unique instance name!)
I want to call all movieclips at once, on a specific keypress - ex. when I press the key "a", I want to tell one clip to go to frame 2, and all the rest to go to frame 1
I know how to do this the "hard" way, by writing all 30 actions on each key, but I'm looking for an easier way,
View 1 Replies
Dec 27, 2007
In this file are two movies, "display" and "nav slideshow" "nav slideshow" consists of a scrolling toolbar that displays 6 buttons at a time. Clicking on one of these buttons is then supposed to load a frame with the appropriate content in the "display" movie. For the longest time, I couldn't figure out the proper syntax until I came across the Kirupa tutorial on Tell Target & More Tell Target. So I finally got the buttons in "nav slideshow" to load the right content in "display". That was all well and good, but the gallery is designed to load as an external movie into the main website. When I tried this, the code no longer worked. The syntax for the actionscript I have now is:
[Code]...
View 1 Replies
Apr 11, 2004
In the Advanced Rollovers tutorial found here at kirupa.com, I used the followingactionscript on one of the buttons as instructed in the tutorial (it worked fine):
First Button
on (rollOver) {
tellTarget ("/rollover") {
[code].....
View 2 Replies
Apr 14, 2005
I am attempting to apply the tellTarget script (using kirupa's tutorial as a reference) and I get the following output error:
Target not found: Target="/security" Base="_level0"
I named the movieclip "security" (without the ", of course), and applied the appropriate script to my button but I keep getting that error.
[code]...
View 5 Replies
Jun 16, 2003
Ive just followed the tutorial about creating a full flash site using root. I got that working fine. My problem occurs when i want to use tellTarget in my menu system as well.
The movie looks for the actions contained in the mouse overs of the menu in the main movie. This is the error message i get:
[Code]...
View 2 Replies
Aug 5, 2004
I have an all flash site that i'm making to learn flash MX 2004. I'm loading external swf's into a main page to make it all flow and easy for the browser to chew. i got a page that uses tellTarget to start rollovers and advance a movie. here's the script for one of the buttons...
Code:
on (rollOver) {
tellTarget ("/swift"){
gotoAndplay (2);[code]....
that works perfectly but when i load it into the main movie... it won't work...how to _root.,_parent, or this. is to make it work.
View 1 Replies
Oct 7, 2003
I have a movieclip in the mainframe that on a button release gets moved to the center of the screen with some set_property stuff and then I want the clip to play. So I added a tell_target on release, the target is /movieclipname and I then Go_To_and_Play the first frame. I have a stop action as the first frame of the movieclip as to keep it from running when I dont want it. I want that tell_target to make the movieclip play but sofar no luck.
View 5 Replies
Jul 5, 2010
My loader component works when I publish to Flash Player 7 but not when I publish to Flash Player 8, why? The publish setting are for ActionScript 2.0 on both.
View 2 Replies
Jul 25, 2011
I am trying to create a flash player to display images in sequence using Flash player & ActionScript. The code below has lots of errors and I can't work them out. I have programmed in other languages and am perfectly aware that something like this.
*code*var imageLoader:Loader;imageLoader = new Loader(); // 1120: Access to undefined property imageLoader*/code*
OR*code*var imageLoader:Loader = new Loader(); // 1046: Type was not found or was not a compile-time: Loder*/code*
[Code]...
View 9 Replies
Feb 11, 2012
I have a swc plugin embedded in my product to stream live video to a group of recipients.The plugin uses the NetStream, NetGroup and NetConnection objects, the server I use to handle the RTMFP session is Influxis.One client creates a group as a publisher, and stream a live video.His Camera is enabled and I can see the video on the screen as well. The others connect to his group and play the video.Peer assisted Networking is enabled for both the publisher and the recipients.The plugin worked well in all 10.x versions (10.1/10.2/10.3)However, when upgrading to flash player 11.x, it stopped working.
-11.x to 11.x isn't working.
-10.x with 11.x isn't working.
-only 10.x to 10.x is working.
The server I use to handle the RTMFP protocol is Influxis.com I sent them the same question as well.The weirdest fact is that I'm using flash builder 4.6 with 4.6 sdk, which is aimed for flash player 11.1, and it is only working with 10.x flash players.
View 2 Replies
Dec 9, 2011
I'm having a performance problem that seem to be related to Flash Player 11.I noticed this mainly because Chrome auto-updates the flash player. So, it's now up to 11 in Chrome. During a sliding section transition, the flash player chokes and skips about 10-20 frames. In essence the content jumps, not a smooth transitions. You can see this at the following url. Using a browser with 10, plays as intended, a separate browser with 11, chokes and jumps ahead.
firstworldproblems-[url].....I have security sensitive site, that is more elaborate that I can't share here. But, the same issue is happening above.I'm using LoaderMax to load assets. Adding it to the stage and then animating them in from the left or right of the stage, using Tweenmax. The one I can't show is a series of images, 1280x640 pixels, 10 in total.Removing items from the stage when they are not visible, so I can get the CPU usage back. On Flash Player 10, this is working as intended.On 11 it jumps. I don't think it's the removing assets from the stage that's choking the player, because the above link has the same issue.I feel like this is a Flash Player 11 performance issue.
View 2 Replies
May 20, 2004
how do you specify the target path using "tellTarget"?
Ex. The target movie clip is on the main timeline but the "tellTarget" script is on another. How would I code this? (or should I just use the standard "gotoAndPlay"?)
Second Question
Is tellTarget really even relevant anymore? It seems to me that with the release of FMX 2004, Macromedia advocates using gotoAndPlay more than tellTarget. Why would you use tellTarget when gotoAndPlay does essentially the same thing (or does it?)?
View 4 Replies
Jul 1, 2007
I'm pretty new to Action script and I have a problem here that I can't seem to figure out.
I have this Action Script Code which is attached to a simple movieclip, and it all works IF the general settings are set for Flash Player 6.
It does not work for Flash Player 7 or above, which is probably because this is Actions Script 1 Code...
I attached the .fla file and also here's the code:
[Code]...
View 2 Replies
Dec 6, 2004
In some cases, such as what my client wants - Flash 6 and Flash 7 players behave slightly differently... a very annoying thing at times.Now, what I need to be able to do is to detect what version of Flash Player the user has. This will be done while my flash application is playing and then run the appropriate part of the function I am writing.Any way to detect what version of Flash Player is running from within the Flash Player?
View 3 Replies
Aug 3, 2010
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
View 1 Replies
Jun 3, 2010
I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:
Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)
This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:
Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};
But this is not working.
PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.
View 2 Replies
Apr 29, 2010
I have a slight problem when publishing to Flash Player 7 but works perfectly in Flash Player 6, below is the code:[code]In short this creates a list where the values are kept in SharedObject.I need to use a WebService so I require Flash Player 7, as I said this works as expected in Flash Player 6, so maybe someone may know a pitfall or two when migrating code form 6 to 7?
View 1 Replies
May 8, 2011
I am trying to put together a simple game and have been doing really well until I decided I am going to have to create a new class to handle enemies.What I have so far is a player walking around on random terrains and I am up to the point where I have placed x amount of enemies on stage at appropriate times. I have written their class which will hopefully eventually handle their behavior and it outputs simple trace("BOO!").
Where I face the problem is that I obviously would like to make these enemies follow the player to attack. But when I try to access the .x or .y attributes of the player, it throws an error: 'call to a possibly undefined property with static type Class'?I have tried accessing the .x using the following ways (where badger is my player instance and Main is my class definition within the properties of the FLA):
Main.badger.x
Main(root).badger.x
Stage.badger.x
I have also tried to access other vars and still nope..My class code is this:
Code:
package
{
import flash.display.MovieClip
import flash.display.Stage
[code]....
View 1 Replies
Nov 4, 2011
Flash Player 11 project doesn't run in standalone player, is it posible to do this?
View 1 Replies
Mar 28, 2010
I can only find how to download the actual PLAYER for 10.1, but which library is used in conjunction with it?Will the latest release of the Flex SDK have the libraries for the multi-touch events etc?Or is the SDK for 10.1 only available to people who work for Adobe? will porting to iPhone supported formats only be available in Flash Professional, or will SDK users also have that option?
View 3 Replies
Dec 17, 2010
Is it possible for Flash debug player to show Flash website online a bit different than what the normal Flash player shows?
By different i mean...the content of the liquid Flash website instead of playing right in the middle it shows a bit off center.,
View 2 Replies
Dec 6, 2004
In some cases, such as what my client wants - Flash 6 and Flash 7 players behave slightly differently.Now, what I need to be able to do is to detect what version of Flash Player the user has. This will be done while my flash application is playing and then run the appropriate part of the function I am writing.Any way to detect what version of Flash Player is running from within the Flash Player?
View 3 Replies