ActionScript 2.0 :: Flash Portfolio - TellTarget Value Of Variable
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
Similar Posts:
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
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
Feb 27, 2012
What ist the best dimension for photography portfolio in Flash?I would like to make my portfolio website with my photographs.
View 3 Replies
Jul 8, 2009
I am wanting to create a website that uses flash elements to show my portfolio/ resume/ contact information.it worries me because I look at these professionally done flash sites and I honestly have no idea how to make mine look even close to that!
View 1 Replies
May 14, 2010
So im trying to get my flash portfolio up and running. And im using the code I usually do for buttons which is for example:
function onbrandingClick(evt:MouseEvent):void {
gotoAndStop("branding");
}
branding.addEventListener(MouseEvent.CLICK, onbrandingClick);
All my menu buttons are working until I click on portfolio which has 6 different catergories and it just stops at branding and the other category buttons wont work. They are all set up fine with instances and such. However the buttons in the menu will still work.This might be confusing but I am up for sending the file to show someone if anyone is interested!
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 25, 2009
I have recently created a flash site and I am trying to update my online portfolio. How do I take a snapshot of the homepage of the flash site for my portfolio?
View 2 Replies
Nov 29, 2011
I am trying to create an app used to display my company's portfolio. This includes a show-reel section.I developed it using HTML and jQuery, and converted it into an AIR app using the plugin for Dreamweaver.Admittedly this my first attempt at creating an app this way, but it all went smoothly until I wanted to play the video.
My Flash video player does not work, and according to some similar posts I read this is because of a referencing issue. I found several solutions for Flex, but that does not help my specific case.HTML 5 does not seem to work in AIR 2.0 either, so I am a bit stumped.
View 10 Replies
Jun 3, 2004
i want to make a new portfolio site in flash... i was thinking on using as much server-side scripting as possible, to make in easier to update and add some features like flash guestbook/mail form and some other stuff... I was wondering... is it possible using php and mysql to add content to the portfolio without modifying the flash itself? Is there a tutorial regarding this? WHat i want, exactly is to be able to add photos, sites, prints and other stuff to my portfolio like i would add a post to this forum... the title being the title, the message being the description of the project and the pic i can attach being the photo itself..
View 14 Replies
Apr 8, 2003
my web site is based on pop-ups... which i am thinking now was pretty stupid as most people seem to have pop-up blockers. Well i havnt got the time at the moment to change the whole site, but perhaps some one could tell me an alternative way of loading the first flash screen (after the index html page), centered and with no boarders from the initial screen.
View 1 Replies
Mar 4, 2009
Ok so I have bought books and watched hours of tutorials and its painfully obvious that I am not picking AS3 (or any scripting)up very well.
I am creating a Flash Portfolio site and I am curious about the correct architecture. If I have a central Nav with corresponding animations, should the whole site reside on one stage or a new stage per animation?
If there is a FAQ or tutorial on Kirupa that covers this (I might have missed it)feel free to simply direct me there.
View 1 Replies
Oct 8, 2009
My portfolio is going to consist of certain experiments I have done in flash like this[URL]and I am trying to work out in my head at the design stage how I should go about implementing them on my website.
- [URL] - he uses split frames, but this limits what you can do with the portfolio bit
- [URL]- loads them into a new window, but can lose focus of the portfolio
- I have momentary thought about using popups.. then I remembered how crass and annoying they are xD
IDEALLY I would like to have the projects loading within my flash portfolio on one page.. and it might be possible seeing as they are mostly single sprite class files.. but the logistics of optimization.. importing the classes.. creating and deleting them completely is a massive challenge...
View 4 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
Jan 2, 2010
I really want to use this panning/scrolling effect for some thumbnails in a flash portfolio. My only problem is it's AS3 and I'm using Flash 8 (AS2). I've tried re-working the code, but with no luck. It's the EventListener that is confusing me!
Code:
var verticalCenter:Number = stage.stageHeight / 2;
var limit:Number = stage.stageHeight - content_mc.height;
var speed:Number = 0.1;
var scrollY:Number = 0;
addEventListener(Event.ENTER_FRAME, scrollContent);
function scrollContent(e:Event):void {
scrollY = - speed * ( mouseY - verticalCenter );
content_mc.y+= scrollY;
if (content_mc.y>0) { content_mc.y= 0;}
else if (content_mc.y< limit) { content_mc.y= limit; }}
View 3 Replies
Feb 11, 2003
i am making a flash portfolio and am working on the "work" page.i have a bunch of links.i would like each link to open up a seperate window containing a graphic that is already in the library.so basically, what is the script to link to a graphic already in the library and have it open in a seperate window.(i just said the same thing twice.....)and also, is there any way to customize these pop up windows?
View 3 Replies
May 7, 2006
I've got some flash-movies I've made that I want in my flash-portfolio.I've tried the load movie script, but then the flash-movie get's the same FPS as the portfolio.
View 1 Replies
Jun 3, 2004
i want to make a new portfolio site in flash. i was thinking on using as much server - side scripting as possible, to make in easier to update and add some features like flash guestbook/mail form and some other stuff. I was wondering. is it possible using php and mysql to add content to the portfolio without modifying the flash itself? Is there a tutorial regarding this? WHat i want, exactly is to be able to add photos, sites, prints and other stuff to my portfolio like i would add a post to this forum. the title being the title, the message being the description of the project and the pic i can attach being the photo itself.
View 14 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
Sep 29, 2009
I'm creating a flash portfolio which contains a 3D panel as a gallery which works relatively well right now. I wanted to put a preload so I put my preload code on the first frame and order to gotoandPlay(2) the second frame which works to but when the loading is done my 3D panel is totally ignored, the panel works with a class of course. Actually the problem seems to be more with the frame skip because I put my preload code in commentary and just having a frame before screws up my panel.
View 2 Replies
Nov 30, 2009
ive been attempting to make a portfolio of my music and art in flash which is basically just 4 scenes that have buttons at the edges which i want to be able to move over and have it animated to look like its scrolling in the direction of the next scene
i broke each screen down into dummy scenes so i could work out problems without ruining a real project and so far (with this forums help) ive been able to create a music screen with on/off buttons and clickable thumbnails for the art screen etc etc so far so good...i even managed to get the buttons working with 3 different 'entry' animations depending on which scene it came from
so yesterday i decided to make the proper project starting with the navigation structure and space for 3 entry anims per scene...i thought i had made everything the same as before but nothing happens when i publish it...the buttons dont work at all
here is the link to the project 'main002' (dummy animations atm) and my previous working dummy nav test as well as a word document showing how its supposed to work (although ive slightly changed the order of the screens now)[URL]..can anyone tell me why its not working but did on the previous test?
View 3 Replies