ActionScript 2.0 :: Basic OOP With XML - Trace New Portfolio Objects

Feb 19, 2008

I'm trying to finally dive into OOP and tie it into XMl that I am loading. I am using a custom class I created and I believe I've linked everything together that should be (paths and whatnot). The problem I'm having is I'm trying to trace 1 of the new portfolio objects I created so that I can reference to its properties. But whenever I trace i get an undefined. Anyone who could point me in the right direction would be awesome! Here is the XML code:

[Code]...

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Put A Basic Trace To See If The OnRelease?

Aug 31, 2008

I've tried to build up a little menu/breadcrumb, which I thought would be as simple as could be. Buttons with InstanceNames and their corresponding FrameLabel. Home, Portfolio and Contact work, but not the others? I even put a basic trace to see if the onRelease was working, and it wasn't, even though the code for each button is the same??

Code:
stop();
btn_home.onRelease = function() { gotoAndStop('home'); }
btn_portfolio.onRelease = function() { gotoAndStop('portfolio'); }
btn_film.onRelease = function() { gotoAndStop('film'); }

[Code].....

View 2 Replies

ActionScript 3.0 :: Creating Basic 3D Objects In Flash CS4

Aug 3, 2009

I've started using the 3D capabilities of Flash CS4 recently, particularly with respect to transforming the rotation and translation properties of movie clips with AS3. Which is fine for planar shapes, but I want to know how to create true 3D objects that I can similarly manipulate. The problem is, that although there are plenty of excellent tutorials covering simple changes in X, Y and Z properties, there seems to be a distinct lack of tutorials explaining in simple terms how to go about creating, say, a basic cube that can be displayed and transformed dynamically. Adobe's Flash CS4 files mention perspective projection and the Matrix3D object, but I don't find these section particularly clear. What I would like to do, for starters, is create a simple cube to which I can apply x, y and z axis transformations in the same way I can to movie clips.

View 2 Replies

ActionScript 3.0 :: Creating A Dynamic Scroll Panel Using Two Objects From Library And Accessing Images From A Folder Using Some Basic XML

Jul 12, 2009

Creating a dynamic scroll panel using two objects from my library and accessing images from a folder using some basic XML. The ScrollPanel loads fine, the 6 instances of the empty movieclip holders load. The function that traces the instance of the movieClip names is working. My trouble is accessing the instances of the movies to load the loaders in order to view the jpgs called from the folder. I receive an "access of undefined property" message if I type thumbLoad0.addChild(pic1ldr); etc, which you will see at the very bottom.

[Code]...

View 1 Replies

ActionScript 3.0 :: Trace An Objects Width?

Nov 11, 2010

This is an easy question but don't understand why this isn't working. I'm trying to trace the width property of a shape object. do i have to convert it to a number?

[Code]...

View 2 Replies

ActionScript 3.0 :: Trace All The Objects Inside 2 Fors?

Mar 29, 2010

I've got 4 arrays with 14 objects each:

player1[]
player2[]
player3[]
player4[]

How could I trace all the objects inside 2 fors? How is the right syntax ? The following obviously is wrong:

Code:
for(var i:uint=1;i<5;i++)
{
for(var j:uint=0;j<14;j++)
{
trace((player+i)[j].cardType);

}
}

View 5 Replies

ActionScript 3.0 :: Global Array - Trace That First Element While Trace Is Called Within The Function

May 29, 2009

I am having issues with a global array. I have an actionscript file called MyGlobal.as at the same level as my main FLA:

[Code]....

I am able to trace that first element while trace is called within the function... but if I try to trace that first element outside of the function it is "undefined". Do I need to return the array at the end of the function? I tried that but I cant seem to get it working correctly.

View 4 Replies

ActionScript 2.0 :: Modifiy The Global Trace Function To Output The Current Time Of A Trace Action

Nov 9, 2011

I've been playing with prototype a bit and I've noticed that either it isn't as static as it should be or that some functions are protected from altering, or that in some cases the prototype actually extends a function. For example, I was trying to modifiy the global trace function to output the current time of a trace action, something like this :

Code:trace("lulu"); // output 12:48:17.286 lulu I DID achieve something close to it, but it seems that I haven't actually modified the global trace function, but rather it's "_root" counterpart,

[Code]...

View 3 Replies

ActionScript 3.0 :: Delayed Trace - First Click Still Trace The Previous Track?

Nov 14, 2009

ive got a loaded xml list for an mp3 player. from playing track1, when i select track 2, it traces "track1" but then after a second click it traces "track2" and stays on that. the actually music for track2 does load on the first click though, but not the trace. anyone know why on the first click it would still trace the previous track? here is the code for that function...

[Code]...

View 9 Replies

ActionScript 2.0 :: Variable - Why Does The Last Trace Not Trace "32" Like The Second Trace

Dec 21, 2004

take a look at the results of these traces:

trace(imgGal); //traces "1"
trace(itemClip1._y); //traces "32"
trace(itemClip[imgGal]._y); //traces "undefined"

why does the last trace not trace "32" like the second trace? I want to insert the variable "imgGal" onto the end of the mc "itemClip", how can I do this?

[Code]...

View 11 Replies

ActionScript 2.0 :: Last Trace Gives Me Undefined While Trace(temp)?

Aug 8, 2006

var dane:Array = new Array();
dane_xml = new XML();
dane_xml.ignoreWhite = true;[code]....

and this last trace gives me undefined while trace(temp) gives me what I want

View 7 Replies

ActionScript 2.0 :: Trying To Be Clever With Portfolio

Nov 15, 2006

But need help at this point! Can't get both galleries to work in harmony they load in but only one functions properly Zipped up the source [URl]..

View 2 Replies

ActionScript 2.0 :: How To Make A Portfolio

Mar 31, 2007

how to make a portfolio like [URL] I really want to make a portfolio that I can upload easy with maybe just a couple of XML code or such.

View 8 Replies

IDE :: CS4 Buttons - Make A Portfolio

Sep 5, 2009

I'm new to this CS4 world and I can't make my buttons work...I'm trying to make a portfolio. I have a button created named "books". I created a new layer just to insert the AS of that button and to stop the movie clip...the button is inside that movieclip.
Here is what that layer contains:

[Code]...

EDIT I took off the ":void" part and the compiler doesnt show me any errors. But still it doesn't go to the "design" frame.

View 2 Replies

ActionScript 2.0 :: [FMX] Make A Portfolio?

Mar 29, 2004

I'm trying to make a portfolio. Nested in the mc portfolio are 15 other mc's. site_01, site_02, site_03 etc. When the portfolio button is pressed mc_portfolio is going to frame 2, where the 15 mc's are located. But I don't want them to appear all at ones! I want them to appear with let's say .5 of a seccond pause in between each mc.

View 5 Replies

ActionScript 3.0 :: Xml Portfolio Multiple Images?

Jun 28, 2009

I kinda got a problem with my xml portfolio image loader. I want to load multiple images and the images have a thumbnail and a big image. loading the thumbnails works, but what do i have to write in the mouse down handler to let it work right? since i really got no idea how to pick the right image :Othis is how my xml file looks like:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<portfolio>

[code]......

View 1 Replies

Slow Loading Portfolio Website

Jan 4, 2012

Somehow through tons of research I've been able to make myself a flash website which features my work. There is one big problem, my site loads really slow and I'm afraid I'm loosing all of my potential clients who probably won't wait for it to load.

Here's my website url: [URL]

I'm hosting with hostgator if that matters at all, I've also optimized the images.

View 3 Replies

Best Dimension For Photography Portfolio In Flash?

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

Web Portfolio - Reusing Thumbnail Buttons?

Jun 21, 2009

I am doing a web portfolio with thumbnail buttons that change the pictures. What is the best way to avoid having to make a new button for each new picture thumbnail? So resusing the button but changing the thumbnail picture in it and what picture it links to? Using CS4.

View 1 Replies

Starting A Portfolio Webpage With Flash

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

Professional :: Setting Up A Video Portfolio?

Mar 16, 2010

My company has 50 flv files that we regularly show to clients. I was planning to set up a website that had all 50 videos on it and the client could pick and choose what videos they want to watch by selecting thumbnails. The problem is that our account executives want to be able to choose what videos are available for them to watch, so they can't watch the entire library. I can't be chaning the interface for each client request, so I am thinking the account excutive could select from a list of videos and send them a link that only has those thumbnails of those videos on it.

Any ideas on how this could be accomplished? It is kind of like having an interface for the account executives with a menu of movies, and then a different interface for the client to play the movies chosen for them in the order in which they choose. It would dynamically build according to the account executives selections.

View 4 Replies

ActionScript 3.0 :: Get Flash Portfolio Up And Running?

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

ActionScript 2.0 :: Setup A Dynamic Xml Portfolio?

Sep 15, 2010

I'm pretty new to the action script side of things, but am starting to get the hang of it. I've been following a computer arts tutorial to set up a dynamic xml portfolio, which has been going well, however the problem is the tutorial is just for a one page portfolio, when I try and link more than one page I hit a problem, the menu info on first won't go away.

What it needs is a line or two of code that closes the previous movie clip, when a new one is loaded, if any of you out there can help with this I'd be massively grateful - this problem has literally had me pulling out hair for the last week.

here is the relevant bit of code, if it helps I can upload the fla and xml too.

[Code]...

View 1 Replies

ActionScript 3.0 :: Unable To Build A Portfolio?

Oct 21, 2010

I'm trying to build a portfolio and I'm using a var imageNumber code to cycle through images on my page, but I want to have a dynamic text field caption change every time the image changes. I've found a way to do it (I made it bold), but the code is long and bothersome when there is a ton of images. Does anyone know a better way to do this?

Code:
import flash.events.MouseEvent;
forwardBtn.addEventListener(MouseEvent.CLICK, nextImage);

[code].....

View 2 Replies

ActionScript 2.0 :: Sen's XML Portfolio -how To Make Page No's

May 25, 2005

I've been through Senoculars XML tutorial which can be found here and went further to read another thread (here ). about extending the Portfolio to allow for more thumbs--implementing a scrollbar-to Scotty This brings me to my questionQ: How can I do away with any scrolling and implement page numbers instead? So users could click the page numbers to go to the next lot of thumbnails in the section instead of scrolling up and down. The image below illustrates what im trying to achieve. As you can see I would like it to show current page, and overflow for page numbers that wont fit within the area dictated on the stage (rather like how threads work in this forum)

View 9 Replies

ActionScript 2.0 :: Page Numbering A XML Portfolio?

Jul 7, 2005

There was a post about a month ago about page numbering what i THINK was senocular's xml portfolio. with the recent loss of some posts, this was wiped out as well. does anyone have it archived anywhere or does anyone have the file that was being passed around in that post?

View 1 Replies

ActionScript 2.0 :: Build A Xml Driven Portfolio?

Apr 25, 2006

I am trying to build a xml driven portfolio. What i am trying to build is something like this [URL].. if you check the random works section you see 6 projects. What i want is to have 3 projects next to eithother and when a new one is added in the xml file then it puts it underneed the other 3 and starts a new line of projects. The project files will be external swf files. i would like the view projects mouse over part also to come out the xml file and i need a information part telling the company name and then the programs it was made in. I dont have a clue how to do this. Really would like some help i am checking out books and tutorials but cant find any good info. If somebody could hook me up with a quick and dirty source file with now extra's just the technique behind it.

View 1 Replies

ActionScript 2.0 :: Thumbnails For Senoculars XML Portfolio

Apr 26, 2006

I have forged senoculars XML Portfolio into a site, one thing I need to add to make me (and my boss) happy is a scroll function to the thumbs at the bottom. I have everything working super cool except for the scroll, my boss is starting to get antsy in the pantsy..I am not awesome at AS, But know enough to implement any suggestions you might have.the effect i am trying to get is similar to the XML gallery with thumbs mousover effect, accept with a little bit o' easing.The XML is set up differently, so I don't know if I can gut the one and implement it in the other...

View 2 Replies

ActionScript 2.0 :: Portfolio Popups Not Loading In IE

Sep 3, 2007

I am a young designer working on my portfolio website [URL]. Each TV (apart from a broken one) has a pop-up window which loads a section of work. This works fine with firefox but sadly the pop-ups dont load in IE. The script I used to load the pop-up can be found at: [URL].

View 1 Replies

ActionScript 2.0 :: XML Portfolio Infinite Menu?

Mar 13, 2005

I've tried applying Ilyas' infinite menu to the Senocular's XML portfolio. However, the movement looks bad--you can see where the thumbs stop and begin. I was wondering how this could be fixed??

Also, would it be possible that when you click on a thumbnail, a PDF file is launched? How could I do this from the XML file? I'm trying to create a continuous scrolling horizontal menu. The menu would contain pictures of news articles and when you click on the picture, you could read the article in the PDF!

Since each article is pretty long, like news clippings, I don't think having this info in a flash pop-up box would work?

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved