ActionScript 2.0 :: [F8] Can't Manage Thumbs?

Apr 24, 2006

Just want to put the thumbnails in a movie clip.Not any thumbs are appearing, there is a mc on stage, there are images and thumbs, there is a xml_fileďż˝

Code:
var gallery_xml = new XML();
gallery_xml.ignoreWhite = true;
gallery_xml.onLoad = function(ok) {[code]...

View 14 Replies


Similar Posts:


ActionScript 2.0 :: XML Photo Gallery - Replaced The Original Thumbs With New Thumbs It Got All Screwed Up?

Jul 24, 2006

I was working with the XML Photo Gallery Thumbnail Tutorial on this site: http:[url]....

And I modified it for my own usage, making it a vertical gallery instead, and had no problems until I came upon the thumbnail images. When I replaced the original thumbs with my new thumbs (that I sized based on width, as it is a vertical gallery) it got all screwed up. The images are of all different shapes. So when it loads up, some of them had huge gaps in between them, and others were even overlapping. So I fixed it by making the heights of all the images the same, resulting in a working thumb gallery, but now half my thumbs are cropped off by the mask. I'm looking for a way to fix it where I still have the same spacing between the images, and that they are all the same width, but can vary in their height. Here's the section of the code I am using:

function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);[code]....

I'm also trouble figuring something out from the same tutorial, that I want to change. The tutorial uses these "Next" and "Previous" buttons. On the far right hand side, the half-circle buttons are what I assigned this to, but I don't really want them to have that function. I would rather have them function just like how the mouse functions when it rolls over the thumb gallery, except they scroll the thumbs up and down when clicked.

View 14 Replies

ActionScript 3.0 :: Manage Code Via Package?

May 24, 2009

My code structure is

FlashTesting --> folder contains
Test.fla with one button called cmd_button
engine --> folder contains

[code]....

When I compile output says 1120: Access of undefined property cmd_button

folder structure
FlashTesting -->engine--->code

All I want to access cmd_button to add EventListener which is in code folder. Seems can't access fla components.

View 7 Replies

ActionScript 3.0 :: Manage Mc Timeline From Main?

Jun 17, 2009

I need to use gotoAndPlay with a timeline situated within a MC. So, how can I identify this timeline from the main one?

View 2 Replies

Professional :: How To Manage Big Flash Projects

Feb 4, 2011

I have a very big proyect completelly developed in FLASX MX PROFESSIONAL 2004. In order to manage it,I have divided the file in several parts. What I want to do now is to connect that parts and compile them as a Whole.

View 12 Replies

Professional :: How To Manage Multi Language

Dec 24, 2011

I have swf file containing a game with english language. for question sake will call it mygame.swfNow what I want to do, is to take the fla file and translate it to french and german and save to differen swf files.So now i have:English - mygame.swfFrench - ygame_fr.swfGerman - mygame_gr.swfSame game, different language.My question is: what is the acceptible / good way to contain text in fla file so it will be in one place? like hashtable or some array?I am developer, just not flash developer this is why Im trying to consoult Im not interested in keeping data in external files (xml), I want everything to be keept within swf.

View 1 Replies

Flex :: How To Manage Cookies In Mx:HTML

Jun 3, 2011

I use AIR HTML component, and I need to delete cookies sometimes. I have to open IE and delete cookies there... Can I do it via AS code?

View 1 Replies

Actionscript 3 :: Manage Loaded Assets?

Jul 23, 2011

I'm working on an AS3 project that must load a lot of external files; images, sound clips, movie clips etc. The program first loads an XML file that contains the file names of all assets needed by each class. From that point on I'm not sure what would be the best way to distribute those assets.I thought about making a dedicated assets class that will load everything the XML object describes, and then pass it to each class' constructor so they can access the objects they need. This seems like the "tidiest" option, but is there a best practice way for managing loaded assets?

View 1 Replies

Flex :: MVC - How To Manage Notification For Particular Screen

Dec 19, 2011

PURE MVC - In my application there are multiple screens which are minimized like in windows desktop. Now each has different instances of mediator which have same notification. So if I do changes in one screen say press some button >> which sends some command >> to proxy >>then proxy sends notifications to mediator. But as multiple screens are active there it is showing changes in all screens as they are notified too by proxies. How to make sure that proxy calls to particular view component (mediator) and not for all live instances of mediators ?

View 1 Replies

ActionScript 3.0 :: Manage Sound From An External SWF?

Feb 3, 2009

I wrot a FLA in AS3 which is basicaly a nicly designed Loader which loads little cute SWF games. Each game is built a bit differently and has its own 'thing'.I was wondering, how can I control the sound of the SWF's from the Loader File?

Which leads me to a wider issue of how can I control variables of a loaded SWF.

View 0 Replies

ActionScript 3.0 :: Way To Manage Random Effect

Nov 13, 2009

I could able to make random movements in a movie clip. but i want to adjust the moving speed and direction of it.

View 0 Replies

ActionScript 3.0 :: Dynamically Manage Playhead?

Nov 18, 2010

I'm trying to contol the amount of time that a video plays, using netstream. I need to have the stream stop or pause after a amount of time... Here is the code...

var flvPlayback:FLVPlayback = new FLVPlayback();
var flvPlayback1:FLVPlayback = new FLVPlayback();
var cuePt:Object = new Object(); //create cue point object

[code].....

View 5 Replies

ActionScript 3.0 :: Cannot Manage To The FocusSkin For A Datefield

Apr 5, 2011

I cannot manage to the focusSkin for a datefield.

In my css I have done the following:

mx|DateField { focus-skin: ClassReference("skins.myFocusSkin"); skinClass: ClassReference(".myInputSkin"); }

My focus Skin is as such:

import spark.components.supportClasses.SkinnableComponent ;
private var _target:SkinnableComponent;
public function get target():SkinnableComponent

[Code].....

However, when the datefield gets focus, I get the following error :

TypeError: Error #1009: Cannot access a property or method of a null object reference. at skins::myFocusSkin/updateDisplayList()

View 0 Replies

ActionScript 2.0 :: Cannot Manage To Get The Clip To Move

Oct 11, 2007

I have a simple test for how I want a game im making to work. A movie clip is placed on the stage, upon which I want it to start floating to the top of the screen according to given x and y coordinates. But I cannot manage to get the clip to move.

View 1 Replies

ActionScript 3.0 :: Manage Timing - Run The Functions One By One?

Oct 27, 2009

I would like to know how to manage timing in AS3.Let say I have some functions in a code and all of them trigger an animation.

A) I would like to run the functions one by one, but next function must not be triggered before the animation of the previous one is completed

B) I would like to run the functions one by one, but next function must be triggered certain time after the animation of the previous one is completed.

View 7 Replies

ActionScript 3.0 :: How To Manage Amount Of Movement

Mar 9, 2010

URL...The problem is controlling which are the elements to be moved, and mostly, how to manage the amount of movement. When I open a submenu, I've got to move all the subsequent buttons down. But when I close a submenu, I've got to move them up. If I'd do it in different times, no problem.

View 5 Replies

ActionScript 3.0 :: How To Manage Large External Images

Dec 6, 2008

I'm creating a movie object using images. I'm using PNG file types with an alpha channel. Each frame is approx 640 x 480, each single pitch image is 36 frames creating an image 23040 x 480. If it's a multidimensional image it is 23040 x 11520. I load the image in using "img_name".loadMovie("imageFileName", 1);

The problem is it only seems to load around 2880 pix of the image.

How can I get it to load the whole image? How can I choose it to load the next section of the image?

View 3 Replies

Media Server :: Automate And Manage Streams?

Jun 3, 2009

Does anyone know if it's possible with any of the Adobe products to automate and manage streams?
 
We've got a project that will be streaming pre-recorded video and music. Due to the number and frequency of these streams we need a way for us to automate and manage these through our own CMS system.
 
We will be ultimately pushing these streams out to our CDN provider so no end user streaming actually required.

[Code]...

View 5 Replies

Media Server :: Manage Video Files?

Jul 7, 2009

I have installed the development media server, played arround with some of the demos and now i'm looking for the possibilty to manage my VOD video files. But i can't find any tool, or informations delivered by the server how much video files are in the vod directory.

View 3 Replies

ActionScript 3.0 :: Manage The Target Of A Mouse Event?

Feb 13, 2010

how to manage the target of a mouse event. As everyone knows, if I use localX/Y property on a mouse event, I'll get the x/y coordinate of the curson referred to the target Sprite. But if I need these coordinate referred to another Sprite, layed in the bottom of the stage (therefore unreachable for the event), how can I do for these?

View 1 Replies

How To Manage Sound Objects In Large Presentation

Oct 12, 2010

Part of a larger presentation I've made, there is some background music. What happens is an XML file is read to get a file to play. It plays. When it finishes, it reads the XML again to get the new file. It can also stop when a video plays elsewhere in the presentation then I pick it up where it left off and start the process again. Trouble is, the presentation randomly stops. The music stops and the slides in the presentation stop. The music and slides come from a single XML file. There's also a third part of the presentation (a text crawler) that never stops.

This comes from a totally separate XML file. I never get an error, the presentation just stops on a slide and no more music plays, but the crawler keeps crawling. I've removed all the code for the music and it runs perfectly so it's obviously related to how the music is managed. So, finally, my question is how do I manage sound objects? If I need to create new objects for each sound I load and play, I'll need to do manage the sound from a single function, right? Something like:

Code:
function whatever():void {
if song is not loaded {
read xml, load and play song;
} else if video is playing {
pause the song;
} else if video has stopped playing {
resume song;
}}

View 4 Replies

Actionscript 3 :: Manage Event Listeners In For Loop?

May 5, 2011

For loop contains an event listener function. but loop iteration is quicker than listener function.Before the listener function completes next iteration starts. how to handle this?

View 2 Replies

Flex :: Manage Windows In External Applications?

Feb 6, 2012

I have 2 AIR applications (A and B) that are able to communicate via a LocalConnection object. I've verified that messages are definitely being sent/received appropriately.

I want to be able to have A tell B to come to the front. Both applications are full screen:

stage.fullScreenSourceRect = new Rectangle(0, 0, 1080, 1920);
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

I've tried several permutations, but as of yet nothing seems to work.

private function initSlave(channel: String): void {
conn = new LocalConnection();
conn.client = {

[Code]...

If I leave both applications in windowed mode (stage.displayState = StageDisplayState.NORMAL), then toggling alwaysInFront actually works. Calling activate() or orderToFront() still do nothing. If I try to toggle alwaysInFront and then set the application to fullscreen, the application ends up fullscreen behind my windowed app. Maybe there is an event I should wait for before setting the app to fullscreen?

I found a thread mentioning that orderToFront() only works relative to windows within the same application, which explains why it doesn't seem to do anything.

Does anyone have any insights into pulling this off? Maybe there is a way for me to embed B into application A so they are actually the same application? I am not sure how to do this with an AIR application as simply as just loading the SWF due to requiring external resources.

View 1 Replies

ActionScript 3.0 :: Manage The Depths Of The MCs Was A BubbleSorting Algorithm

Feb 5, 2009

I'm currently working on side scroller that has an isometric-type perspective (think Double Dragon) and the only thing I could think of to use to manage the depths of the MCs was a bubbleSorting algorithm.

[Code]...

Now this works fine (because I don't have a huge amount of MCs to sort), so I guess this is more of an academic question. As far as I know, bubblesorting is pretty much one of the worst sorting algorithms out there. Has anyone successfully adapted a better one for this purpose? Not trying to get you to post your code as much as just an idea for me to play around with because I'm a geek like that.

View 0 Replies

ActionScript 3.0 :: Using Dictionary To Manage Visible Section?

Feb 6, 2009

its for managing several buttons that load different swf'sI do not know what to do with the last else bit.I understand all of it except "places it in cache with e.currentTarget as the key"cache is meant to be a dictionary which I do not really understand.

Code:
function menuClick(e:Event):void{
if (currentlyShowing != null){

[code].....

View 6 Replies

ActionScript 2.0 :: How Does Moviecliploader Manage Simultaneous Downloads

Apr 12, 2010

I am using mcl ( moviecliploader ) class to download images for a photo book;

when a user mouseover's a thumbnail, the corresponding fullsize img is downloaded;

PROBLEM: 1 - a user can move their mouse quickly over many thumbs;

2 - mcl class doesn't seem to have a way to stop downloading

3 - therefore it is realistic that the mcl could be forced to download 10-15 images simultaneously

4 - possibly the thumb that the user actually wants is last in the que;

View 1 Replies

ActionScript 3.0 :: Use An Array To Manage Multiple Hits?

Sep 12, 2010

I been trying to get a remove child function to it seems to work sometimes at least according to the output window. But the majority of times when ghost hits a flame the flame doesn't disappear.

heres the code so far it would explain it better

virtuallife_forum_1.zip

Should I use an array to manage multiple hits?

View 0 Replies

ActionScript 3.0 :: Manage The Depth Of Elements Of An Array

Jul 11, 2011

EDIT: attention i make a mistake explaining my situation, chek my post #4 Like we know to manage the depth of an elment placed on the stage and bring it on foreground, we can write

setChildIndex(myMC, numChildren-1)

Now my situation is little different. I've a stage populated only by an array that contain *n* MovieClip inside it then the last MovieClip i've pushed inside it is obiuvsly the element with the hightest children number, then, it's result on foreground. If i want to bring the MovieClip cointained into myarray[1] on foreground, what i can write?

[Code]...

View 9 Replies

ActionScript 3.0 :: Attach And Manage Multiple Movieclips?

Sep 9, 2011

I have used AS2 for a long time, and have decided it is time to start working with AS3. When attaching multiple movieclips with instance names I would normally do this (AS2)[code]...

View 2 Replies

ActionScript 2.0 :: Manage Multiple Sounds With One Function?

Dec 17, 2005

I have set this:

Code:
mp3_1 = new Sound();
mp3_1.loadSound("1.mp3", true);
mp3_2 = new Sound();
mp3_2.loadSound("2.mp3", true);

[Code]...

View 2 Replies







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