Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Tour Dates And Journal Viewer Movie Clips?



I have need for a few various Flash pieces for an artist website I'm building. I'm going to look online too, but I thought I'd ask first.

1) Some sort of component that will display tour dates in a sort of tab-delimited format (Date [tab] Location [tab] Venue [tab] More Info). The More Info button would load additional information into the same space, replacing the list of dates, with a return button to return to the dates.

3) A simple journal viewer. A list of 4-5 dates/titles on the left side that, when clicked, would load the complete entry into a space on the right.

Does anyone have any movie clips like this and wouldn't mind sharing? As I mentioned I'm going to look online but I wanted to ask here first.

If all else fails, I could make the first one work for both tour dates and journal.



SitePoint > Design Your Site > Flash and Actionscript
Posted on: Sep 16, 2006, 10:40


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Tour Dates Formatting
Hello,

I am doing a website for a band. They want to be able to update their tour dates dynamically. Right now, all I have is an external text file loading into a dynamic text field. I have enabled HTML formatting for that field, but I can't seem to format the text nicely. It behaves strangley.

Is there an better way to do this. I need the client to be able to update his tour dates easily, and for the content to be neatly displayed.

I would really appreciate some help with this....

Thank you

Kit

Tour Dates Formatting
Hello,

I am doing a website for a band. They want to be able to update their tour dates dynamically. Right now, all I have is an external text file loading into a dynamic text field. I have enabled HTML formatting for that field, but I can't seem to format the text nicely. It behaves strangley.

Is there an better way to do this. I need the client to be able to update his tour dates easily, and for the content to be neatly displayed.

I would really appreciate some help with this....

Thank you

Kit

Tour Dates Formatting
Hello,

I am doing a website for a band. They want to be able to update their tour dates dynamically. Right now, all I have is an external text file loading into a dynamic text field. I have enabled HTML formatting for that field, but I can't seem to format the text nicely. It behaves strangley.

Is there an better way to do this. I need the client to be able to update his tour dates easily, and for the content to be neatly displayed.

I would really appreciate some help with this....

Thank you

Kit

Tour Dates Formatting
Hello,

I am doing a website for a band. They want to be able to update their tour dates dynamically. Right now, all I have is an external text file loading into a dynamic text field. I have enabled HTML formatting for that field, but I can't seem to format the text nicely. It behaves strangley.

Is there an better way to do this. I need the client to be able to update his tour dates easily, and for the content to be neatly displayed.

I would really appreciate some help with this....

Thank you

Kit

Flash Based Tour Dates - Help
We have a client that is wanting a flash map of their tour dates such as is on this site: http://www.johnmayer.com/tour

Has anyone seen something like this and could lend some expertise on the best way to build that, or is there a developer that would like to do this for compensation?

Band Tour List, Deleting Dates...
Anyone know of a existing solution for this problem? :


I’ve run into this problem several times, and I’m sure I’m not the only one. When I create websites for bands, I usually just give them a HTML enabled, css-styled dynamic text box to post the tour dates in.


Some do the day furthest out first (1), others prefer to have the soonest date first (2).


1)
Aug 9 2008 Here
Aug 1 2008 There
July 23 2008 Here
July 11 2008 There


2)
July 11 2008 There
July 23 2008 Here
Aug 1 2008 There
Aug 9 2008 Here


The benefit to (1) is that you can add dates at the top and never have to delete the ones that have been played.


The benefit to (2) is that it’s more familiar to viewers. Myspace uses code that compares the date of the event to today’s date and past dates are archived for later viewing. (Myspace archive’s them kind of backwards though with the very first date first in the archive list)


I think it would be pretty damn useful for any kind of event driven site built in Flash.
It would require some kind of PHP code to check with the server as to what the current date is, but that’s nothing new.


Anyone know of a good solution to this problem? Seems like surely someone else has tackled this before, and I'm more of a project manager/graphic designer than AS guru, so I'm asking you guys.... let me know please.

XML Tour Dates In Flash Along With "click For More Details".
I have an performance artist website that I'm building. She would like tour dates to be pulled into Flash, and appear like so:


Code:
DATETIMELOCATIONDETAILS
-------------------------------------------------------------------------
9-21-20067pmyour concert hallclick for details
10-01-20068pmlocal clubclick for details
9-21-20067pmyour concert hallclick for details
9-21-20067pmyour concert hallclick for details
I've got an FLA that almost does this. But what it does is to create a single movie clip for each line, then you click that line to "view details". The problem is that FLA uses a fixed number of buttons and a isn't set up for the main list to scroll.

So I need to display the XML data along with a click for more button that simply hides the XML list and shows the details for the selected event. When the user has satisfied their curiousity, they can close the details and go back to the list.

Does anyone have something like this or have a link to a tutorial that would show me how to achieve this?

Thanks in advance.

Comparing Two Dates And Return An Array With All The Dates Between
here is the problem

the user select the begin date with a DateField component and the end date with another one.

here is the code associated to the 'begin date' component

///////////////////////////////////////////////////////////
function change(eventObj_begin){
date_temp_begin = eventObj_begin.target.selectedDate;


date_begin=date_temp_begin.toString();

//take the day & month from the string
day_begin=date_begin.substring(8,10);
month_begin=date_begin.substring(4,7);

//take the year from the string
if (date_begin.length==33){
//for the days between 10 and 31
year_begin=date_begin.substring(29,33);
}else{
//for the days between 1 and 9
year_begin=date_begin.substring(28,32);
}
}
date_begin_comp.addEventListener("change", this);
///////////////////////////////////////////////////////////

the same code is used for the 'end date' component

///////////////////////////////////////////////////////////
function change(eventObj_end){
date_temp_end = eventObj_end.target.selectedDate;


date_end=date_temp_end.toString();

//take the day & month from the string
day_end=date_end.substring(8,10);
month_end=date_end.substring(4,7);

//take the year from the string
if (date_end.length==33){
//for the days between 10 and 31
year_end=date_end.substring(29,33);
}else{
//for the days between 1 and 9
year_end=date_end.substring(28,32);
}
begin=day_begin add month_begin add year_begin;

}
date_end_comp.addEventListener("change", this);
///////////////////////////////////////////////////////////

-> so I have 3 vars for the begin date :
day_begin (4) month_begin (Jan) year_begin (2005)
and 3 vars for the end date :
day_end (7) month_end (Jan) year_end (2005)

I concantenate this to have a begin var and an ending var:
//in order to have 4Jan2005
begin=day_begin+month_begin+year_begin;
//in order to have 7Jan2005
begin=day_end+month_end+year_end;


-> from this point, is it possible to have an array with all the dates between 'begin' and 'ending' ? Like
date_array=["4Jan2005","5Jan2005","6Jan2005","7Jan2005"];

List The Dates Between 2 Dates?
Hi all,

I am wondering to list the dates between two dates:

Let say, to list the dates from 2005-11-28 to 2005-12-03:

What I want to do is a function could do like this:


ActionScript Code:
listDates(2005-11-28,2005-12-03);


Then:
Output

2005-11-28
2005-11-29
2005-11-30
2005-11-31
2005-12-01
2005-12-02
2005-12-03

I first got the dates "2005-11-28" from MySQL and sent to Flash, I know I can use the Date.UTC() to convert the mySQL dates to AS format...But is there any way to do what I wanted?

Thanks very much for your help~

One Flash Banner Plays Differently When Viewer First Visit The Site And When Viewer N
I have a flash banner at the top, when the viewers first come to my site, my flash banner plays the way I want, when viewers start to navigate my site and got redirected to other pages within my site, the flash banner on the top will paly the same way as the page loaded at the first time, this is kind of annoying, I would like the flash to play once especially the flying buttons, when the visitor trying to buy something on my site, the flash should stay still, don't play the action again and again on every page, How do I do that?
you can see my example at http://leafshoppingcart.viperhosting.net/xcart/
Thanks in advance

Interactive Journal
I was wondering if there was any possible way to create an interactive journal in either flash mx or flash 5. I want to create something where people can post their own entries and read those of others. Just wondering if that is possible, and if so, how to come about making something like that.

Building An As3 Journal
i'm trying to build what will essentially be a journal in as3. the date and text will be read from an XML file... a lot like a simple gallery where clicking on a thumbnail shows the larger picture but where the thumbnails is a date (pulled from the xml file) and the larger picture is the actual journal entry. so far i've been able to pull the xml file in and create new TextFields for each of the entrys in the xml file to hold the date but I'm to the point of pulling out my hair when it comes to associating the clicking of the date to showing the actual entry.

here is the xml file...

Code:
<?xml version="1.0" ?>
<entrys>
<entry date="October 26, 2008">Entry 4 - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</entry>
<entry date="October 25, 2008">Entry 3 - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</entry>
<entry date="October 24, 2008">Entry 2 - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</entry>
<entry date="October 23, 2008">Entry 1 - Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</entry>
</entrys>
and here is the Actionscript...

Code:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
var i:int = 0;
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);

xmlLoader.load(new URLRequest("journey2.xml"));

function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
ParseData(xmlData);
}

function ParseData(entryData:XML):void {
var entryContent:XMLList = new XMLList(entryData.entry);
for each (var entryElement:XML in entryContent) {
var dates:TextField = new TextField();
dates.width = 150;
dates.height = 20;
dates.x = 10;
dates.y = i*dates.height;
dates.selectable = false;
dates.text = entryElement.attributes();
dates.name = 'date'+i;
dates.addEventListener(MouseEvent.CLICK, changeContent);
trace(entryContent[i]);
trace(entryContent[i].attributes());
addChild(dates);
addChild(contents);
i++;
}
// create a TextField to hold the journal entry
var contents:TextField = new TextField();
contents.width = 350;
contents.height = 400;
contents.x = 160
contents.y = 10;
contents.multiline = true;
contents.selectable = false;
contents.text = '';
function changeContent(e:MouseEvent):void {
// do something that causes the journal entry
// to change based on the date clicked.
}
}
this probably should have gone in the newbie section since it should be pretty obvious that i am a novice when it comes to as3 but i wasn't sure. any help would be greatly appreciated.

Guestbook / Journal
Hi All!

I want to create a Journal, where I can submit posts on my website without having to upload text files the whole time. More in the line of logging in on my site and having the option to upload journal entries. How can I go about doing this?

Thanks!

Xml Flash Picture Journal
Please can someone help me with this problem?

I am trying to set up a flash application to show the progress of a picture journal. each day a new .jpg picture will be taken of the subject to see the change over time. All the pictures will be the same dimensions and I want the application to display the picture from the first day first and then flick through the pictures after, until the latest picture is shown on the current date.

so I'll name all of the jpgs name1.jpg, name2.jpg, name3.jpg and save them all together. What would be the best way to feed the images into a movieclip using xml?

thanks for your time

A Flash Online Journal...
I'm working on one right now for myself, it's really a personal website but it will have journal entries that i want people to be able to comment to like on xanga or livejournal. My only problem is the comment process.

I first thought about using flash cookies but that won't work, instead I want flash to automatically add a text box with whatever they comment in it right after the previous comment... Is there a way to do this?

A Flash Online Journal...
I'm working on one right now for myself, it's really a personal website but it will have journal entries that i want people to be able to comment to like on xanga or livejournal. My only problem is the comment process.

I first thought about using flash cookies but that won't work, instead I want flash to automatically add a text box with whatever they comment in it right after the previous comment... Is there a way to do this?

Flash Auto-updater/journal...?
i was wondering if anyone had an already premade auto-news/auto-updater/journal esque thing for flash?
Similair to these here:
http://www.pleistoscene.com/theatre.htm
skip the intro stuff [unless u want 2c it]
goto 1:00 and 11:00 i believe it is where the news &journal are..something like that..all they use is a flash document with a TXT file they simply upload.
I know you find stuff like this for News tickes, but im not looking for a ticker..something for my news portion of my site and a journal iam creating..this is the only site i knew of that had them.


any support is appreciated..thanks
.worm

News Program / Journal With Flash
Hey, I'm looking for something exactly like Live Journal's viewing option so that it can be used in a dynamic text box. IF you have no idea what I'm talking about, paid users can switch styles of their Live Journal. Here's what I was using for mine (this is not my username):

http://www.livejournal.com/customvie...&styleid=10 4

If you view the source, you'll notice that there is absolutely no html involved except where it absolutely needs to be. I got it to work perfectly within my flash document. However, my account expired with Live Journal and I can't use that feature anymore. It seems kinda stupid to pay for it just to use that single feature, so that's why I'm here right now. Is there a way to make some kind of news program such as Coranto (or NewsPro a while ago), to have posts appear exactly like that? That way I could host it on my own server AND not have to pay for Live Journal's service. Any help would be greatly appreciated. Thanks!

Interactive Live Calendar / Journal
Hello,

I came across this website : http://www.cleoag.ru/

and was wondering if anybody knew how it would work?

I would like to create a website like this that had backend admin to update or even took the updates from a blog/rss, Keeping the calendar months changing live.

Has anybody ever seen anything like this before? Does anybody know of a script that I could play with to create something similar?


Thank you for your time.

Upload And List Journal Entry
Hi all!

Want to create something quite different ... I want to create a text box where I can input my entries for my journal, and then I want to be able to list my entries as per date. So that the user can select a date and view the entry made on that day...

I really need some scripting help on this! Thanx!

Interactive Live Calendar / Journal
Hello,

I came across this website : http://www.cleoag.ru/

and was wondering if anybody knew how it would work?

I would like to create a website like this that had backend admin to update or even took the updates from a blog/rss, Keeping the calendar months changing live.

Has anybody ever seen anything like this before? Does anybody know of a script that I could play with to create something similar?


Thank you for your time.

Flash Gallery Viewer / Video Viewer
I need to find a Flash gallery viewer that can display still images but also, when the user clicks on that image, can kick off a corresponding FLV file which plays as a video, either where the image was or in its own window on the same page. It needs to be as straightforward as possible for end-users.

Ideally it should have the form of a "pack of cards" i.e users can flip from one "card" to the next, back and forth, perhaps using two controls for left and right to browse one way or the other. The stack of images and videos behind them should also be searchable alphabetically or by other criteria (e.g name).

Does anyone have any ideas as to free Flash applications which can do this and which can be easily built / embedded into web pages?

How To Remove All Movie Clips/array: Movie Clips Carry Over To Next Frames/ Scenes
Hi: I am creating a small game. So far so good, but only problem I have come across is when I jump to another frame or scene, previous movieclips (using an array) that are still running carry over to the next frame/scene.

See attached if you have some time- start clicking on answers in the game, and when time runs out some movie clips that are still running will remain on top of my end frame and carry over to the next scene as well.

Is there any sort of remove all movie clips or "clear all" type of actionscript?

thanks in advance!

Maintaining Event Behavior For Movie Clips Nested In Movie Clips
Is there any way to maintain a clip's event callbacks when said clip is nested in a parent clip that has its own definitions for those callbacks?

In other words, if clip B has a definition for .onPress and clip A has a definition for .onPress, is there anyway to maintain clip B's definition if it is nested in clip A?

I have tried doing it by making clips into movie clip subclasses but it doesn't work... but how do components work then?

Movie: Xml Events Viewer
Hey guys i want to make an Xml events viewer:
a vertical scrolling movie that takes the nodes of my xml, manipulates them, places them in their own movie clip and then the scroller scrolls through them one by one....content includes one dynamic picture, the date and scrollable text...

i want to make this, and have it 100% dynamic, but i dont know where to start ...i know xml, actionscript and xpath pretty well, I just need a point in the right direction...i've been programming a lot lately and im abit fried... please help
thanks
keith

Allowing Viewer To Stop Movie
Hi,

I have a swf file with lots of embedded movie clips. I'm wondering what I need to do to allow the viewer to stop all action at any point in the movie and then have the movie clips restart at the exact point they stopped. Is that possible?

Thank you!

Is It Possible To Send Viewer To Another Site After Movie?
Hi everyone,

I am new here and hoped I could get help with a question. I do realize that your time is valuable and would really be thankful if you could help.

I am very new to flash. I'm starting to build a movie with a program called "Flash Slideshow Builder" I was wondering is it possible to send the viewer to my main website immediately following the movie?

For example: I send the viewer to the site with the movie. They watch the movie. As soon as the movie ends they are taken to my website automatically.

Is there some kind of code I can use to do this?

Thanks so much for your time with this question

Newbie To Flash. Help Please With Movie + Image Viewer
Hello,
i know people may frown on me for asking, but i am brand new to flash and wondered if someone would mind helping to get me started so i can re-learn what they have done.

im taking a flash course next month but need these done before then.

1. movie player - 2 buttons -2 movies
2. Moving Image viewer - 3 images (X2) similar to this one i found at: http://www.whitehouse.gov/kids/

id like to return a favour whoever can help thanks.

regards Chris

I , Robot -- Quicktime/Flash Movie Viewer?
Has anyone seen this cool Enhanced Movie Viewer for the movie I, Robot? It looks like it was made from Flash but the file is a quicktime movie/.mov. Can anyone enlighten me on how to do this? Thanks!

Here's the link

http://www.apple.com/trailers/fox/i_...netexclusive2/

How Do I Load/stream Individual Movie Clips Within Other Movie Clips
I am using flash 5

I have a movie with a huge movie clip in it and that movie clip has lots of movie clips inside that. how do I load each one individually so when the viewer clicks on abutton it starts to laod the related movie clip.

Please help.. I'm working on borrowed time and borrowed money

Accessing To The X And Y Coordinates Of Movie Clips Inside Of Other Movie Clips
lets say I have a movie clip with an instance name of "char" and another movie clip inside it with an inctance name of "ball" and when I try this I get zero:

_root.char.ball

why?

thanks in advance because you flashkit users know everything about flash in and out.

Movie Clips Within Movie Clips: Text Link Problem
Hello.

I have a Movie Clip that is my main one with another Movie Clip inside of it. In the subordinate Movie Clip, I wish to have text linking frame (13) to frame (14) for instance. The problem that manifests is that while buttons is the subordinate Movie Clip link to frames within it with no complications, the text link from 13 to 14 with its respective code links to the last frame (would be 14) in the main Movie Clip.

Am I doomed to convert all text links to buttons in the subordinate Movie Clip or is there (what I am praying for) a code to work around this and keep frame links confined to the subordinate Movie Clip? I would appreciate any help that anyone can offer regarding this problem. Many Thanks.

Movie Clips Acting As Buttons Can't Load Other Movie Clips
Frame 1 has three movie clips on it, instance names are A, B, C. I have the following actionscript on frame 1 as well:

stop();
import flash.filters.GlowFilter;

ar = [A, B, C];

for(var z=0; z<ar.length; z++) {
ar[z].onRollOver = rollover;
ar[z].onRollOut = rollout;
}

function rollover() {
this.swapDepths(0);
this.filters = [new GlowFilter(0x333333, .20, 7, 7)];
}

function rollout() {
this.filters = null;
}

This code creates a glow, obviously, on whatever movie clip I rollover. What I want to do as well is this:

I want to click on mc "A" and have it launch a different movie clip (let's say "X") on top of everything else (so that A, B and C are still visible in the background). "X" is in a sub-folder of "A" if that makes any sense or is relevant. Same kind of action for mc's B and C. B should launch mc "Y" and C should launch mc "Z".

What is the actionscript for this? Any questions please let me know. Please respond, I need this info as soon as possible. Much appreciated!!

Text

External Movie Clips With Multiple Menu Movie Clips
It's pretty late and I don't think i have enough time to search this question in the forums but here I go. Sorry If I upset someone for making a topic that already exists.

I have a main timeline that im importing an external movie clip in. This external movie clip is named "members" it has several buttons that load other external movie clips into a window within "members" . What do I need to do to make this work. Do I need to use "this, _parent, _root, level(s) or "whatever.swf". If you can help me out that will be great. I'll make it up to you down the road. No sexual favor please.

I'm using flash mx 2004 btw.

Thanks in advanced

Does This Animation Jerk To The Side When Viewing It Offline In The Movie Viewer?
Does each image in this animation jerk a few pixels to the right and then come back to normal when you view this animation offline in the Flash movie viewer? I cannot figure why it is doing this. I will attach both the .swf and the .fla. Thank you for all the help in advance.

Controlling Menu Movie Based On Which Html Page Viewer Is On
I have a very basic issue involving using variables in an html document to control a Flash movie. I know this issue has been addressed before, but I just can't grasp how to solve my problem.

I have created a Flash menu that I want to use over and over throughout the website. As many menus do, this one has buttons that, on rollover, change colors, or "light up." When the user clicks the button and goes to a page referenced by the button, I want the button to stay "lit." In other words, if the user "lights up" the "about us" button and clicks, he will be taken to the "About us" page, whereupon he will see that the "about us" menu button is still "lit."

Obviously, the way to solve the issue of keeping the menu buttons "lit" is to have a separate frame in the menu movie for each page on the website. When the user is on the "about us" page, the movie advances to the frame where in the "about us" button is "lit."

Now, the mystery. How do I tell the menu movie which page the user is on and therefore which frame to send the movie to? I know it involves variables, but I am a very new newbie and do not understand how this would work. I have many different menu buttons, so I will need to have a whole list of such variables (as in head=about, head=contact, etc.) I know this issue has been addressed before, but if someone could provide an example of the correct coding for the menu movie and what to embed (and where) in the html I would be grateful.

[MX04]Movie That Works Fine When Clips Apart Acts Strange When Clips Are Together.
Hi,

I have a pretty basic movie in which a ball moves along a track.

The track is made up of 3 sections & all I want the movie to do is trace an ID number (num) that is an individual property of that clip when it goes over it.

In the first movie attached below “trackOne” the whole thing works great! However in the other movie “trackTwo” I have moved the clips closer together & the whole thing has gone crazy with the following issues.

1.)The “trace” command fires on every “onEnterClip” event

2.)A text field that is used to show the ID number only changes when the ball is fully over the clip not as it first touches it, as it does in the first movie

3.)Although the ball is full off a clip it keeps tracing it’s ID number together with the new clips number?

Anybody able to help me on this?

Screwy Stuff With Movie Clips Within Movie Clips
This is kind of difficult to explain but here it goes...
I have created a Barney's like slide site and have gotten it to work fine. the problem I'm having is when I take scroll text box and try to place it on the movie clip that is going to be the part of the site that is going to slide out.

The whole thing slides fine and the scroll box is visible. However, the text is not visible therefore I'm not sure if the up/down buttons are actually working.

The scroll box is a movie clip itself with "on(release)" commands on the buttons. The "onClipEvent" commands are added to the textbox when the scroller movie clip is brought into the slider movie clip.

Is this something that just isn't supposed to work or I am doing some thing dreadfully wrong?

Thanks in advance,
Fakeout

Is It Ok To Duplicate Movie Clips Inside Movie Clips?
is it ok to duplicate movie clips inside movie clips? Seems to be a problem here...

[F8] Help Making Movie Clips Load Other Movie Clips...
well i have miraculously figured out how to make my buttons grow and shrink simultaneously reacting to mouse overs... and even stay large when they are clicked on... however the only way i found to do this was by making them movie clips and not buttons...

now luckily the task at hand i'm assuming will be quite a bit easier than what i've already accomplished...

i am looking to now make those movie clip instances (when clicked on)... load photos into an empty movie clip that will be a separate swf... in the same dreamweaver file...

i have made each photo into a small movie clip that simply tweens the photo from alpha 0 to alpha 100 and back to alpha 0...

so i'm hoping for some code that will call up the first part of the movie clip (the fade up) when the corresponding movie clip is clicked on... and hold it... until another button is clicked... making the current movie clip play to end (fade out)... and then load the new movie (up to the middle... alpha 100) into the empty movie clip...

Intersecting Movie Clips/ Dividing Movie Clips
I've bee trying all day to find out how to find the intersection point on two moive clips with non linear lines in them.
If I use the Hit Test method it seems to recognise only the hit point when the imaginary rectangle arounf the two clips collide. Is there any way of determining the point where the lines themselves cross over.

If not I think I've got another method but I can't figure it all out.

I know at what x point the lines will cross over (the more horizontal of the two lines will be crossed every by one of the verticle lines every 1/108th of it's width) but I can't determine exactly where the Y co-ordinate of this line will be at the time.

I could sort this out if I was able to delete all of the more horizontal move clip except the point of intersection I'm looking for, I'd then then be able to determine the y co-ordinate at this point. But I havn't been able to determine how to delete a move clip for example from x=0 to x=51 but leave the rest of the movie clip on the screen.



Any help with this would be much appreciated.

Cheers

Scifo

Creating Movie Clips Inside Movie Clips
Hello,

I am having difficulties creating movie clips within other movie clips. The following works to create a movie clip on stage with no problems...


Code:
//Create movie clip and load image into it
_level0.createEmptyMovieClip("tn1",this.getnextHighestDepth());
mcl.loadClip(String(albums[0].photos[0].image),"tn1");
However, I want these movie clips inside another movie clip (mcPics1). For this I attempt...


Code:
mcPics1.createEmptyMovieClip("tn2",this.getnextHighestDepth());
mcl.loadClip(String(albums[0].photos[0].image),"myPics1.tn2");
Can anyone tell me where I have went wrong?

Thanks!

Targeting Movie Clips Inside Of Movie Clips
I am a AS3 newbie and am working on an animated cell phone text demo for my company's web site. I have three phones, each are a movie clip with a time line animation. The three phones are all inside of another movie clip where I animate their intro. I have a stop on the first frame of each of the three cell phones so that their screens are static as they fall into place. Their animations begin on the second frame of each of their respective time lines, and I would like the animations to begin when the phones are clicked. I'm not sure if these clips should be targeted from the main time line with the rest of the global script or if it should be on the time line of the nested MC. Even if I knew where to put it, I'm not really sure exactly what the script should be. Please help! My boss wanted this done last week!!!

Movie Clips Controlling Movie Clips, Problem
Hello.

I've been trying to make some drop down menus for awhile and I've run into a snag.

I have a button that when you roll over it, a movie clip appears [jumps to frame 2, frame 1 is blank.] This mc is the drop down menu. The drop down menu mc consists of other buttons that when you roll over them they stay green, but all other buttons go blue. [done by making certain mc jump to frame 2 and others jump to frame 1 to dissappear.]

So this all works fine.

My problem now comes when I try to attach on (release) functionality to the buttons inside the drop down mc. I have the following code on one of the buttons inside the 1st drop down menu:

// Drop down menu colour changes.
on (rollOver) {
_parent.about.gotoAndStop(1);
_parent.what_about.gotoAndStop(1);
_parent.what_else_about.gotoAndStop(1);
_parent.where_about.gotoAndStop(2);
}
// Trying to get wherewestarted movie clip to jump to frame 2 on release.
// Also making other movie clips jump to frame 2 to dissapper.
on (release) {
_parent.wherewestarted.gotoAndStop(2);
_parent.mainlogo.gotoAndStop(2);
_parent.address.gotoAndStop(2);
}

So the on (rollOver) part workds great, and I'm quite pleased with the resluts... however when you click a button in the menu, nothing happens. No movie clips appear, or dissappear. I've tried it without using _parent, I've tried _root... I just don't know what to do.

How can I get a rollover AND a release action?

Help!!



DryCow

How To Make Movie Clips React To Other Movie Clips?
I'm designing this menu system that has four square buttons in a horizontal line. The premise of the menu system is when one button is clicked that button expands horizontally and the other buttons shrink horizontally and slide to the right. How would I go about doing this with actionscript? I'm using Flash 8 and Actionscript 2.0.

Movie Clips Controlling Movie Clips, Problem
Hello.

I've been trying to make some drop down menus for awhile and I've run into a snag.

I have a button that when you roll over it, a movie clip appears [jumps to frame 2, frame 1 is blank.] This mc is the drop down menu. The drop down menu mc consists of other buttons that when you roll over them they stay green, but all other buttons go blue. [done by making certain mc jump to frame 2 and others jump to frame 1 to dissappear.]

So this all works fine.

My problem now comes when I try to attach on (release) functionality to the buttons inside the drop down mc. I have the following code on one of the buttons inside the 1st drop down menu:

// Drop down menu colour changes.
on (rollOver) {
_parent.about.gotoAndStop(1);
_parent.what_about.gotoAndStop(1);
_parent.what_else_about.gotoAndStop(1);
_parent.where_about.gotoAndStop(2);
}
// Trying to get wherewestarted movie clip to jump to frame 2 on release.
// Also making other movie clips jump to frame 2 to dissapper.
on (release) {
_parent.wherewestarted.gotoAndStop(2);
_parent.mainlogo.gotoAndStop(2);
_parent.address.gotoAndStop(2);
}

So the on (rollOver) part workds great, and I'm quite pleased with the resluts... however when you click a button in the menu, nothing happens. No movie clips appear, or dissappear. I've tried it without using _parent, I've tried _root... I just don't know what to do.

How can I get a rollover AND a release action?

Help!!



DryCow

Problems Creating Movie Clips Within Movie Clips
Okay, I'm creating yet another game and need to create a vehicle. So I wanted to create one movie clip for the vehicle and within that movie clip create multiple movie clips for all of the parts.

So I created a new symbol, let's call it vehicle and then within that area I created all of the vehicle parts as symbols within that symbol. At least I think I did. Anyway, when you look at the library, sure enough you see all of parts for the vehicle and the vehicle itself. Within actionscript, however, I can create an instance of the vehicle. I can create instances of all of the parts, but not the vehicle.

The reason why I was going this route is that I wanted more realistic movement. I wanted certain parts of the vehicle to move depending on what the user did, but not other parts. Can anybody shed some light on this subject? Thanks in advance.

Embedding Smart Clips In Movie Clips Causes Crashes...?
i noticed that if you use more than one of those drop-down menu smart clip in the common library, you can't see all the choices...

e.g.
drop in one instance
then another directly below it.
publish the movie
select the third or fourth choice from the second drop-down
let go so that your choice is selected
now re-select the second drop-down menu...
the other choices are hidden by the menu above it.

this is also the case if you try the procedure in reverse...
i.e. if the second instance is on a higher z-plane, the choices in the first will be hidden.

it seemed logical to drop the smart clip into a movie clip then use mc.swapDepth to set the z-index

got swapDepth working perfectly
(thanks, Mac8myPC): http://www.flashkit.com/movies/Scrip...98/index.shtml

but as soon as you put an instance of the smart clip into a movie clip, flash (5 for mac, PPC, OS 9.1, g4 466, 384MB) crashes as soon as you try to publish/export/test movie.

i tried it in a button as well... same thing

i've been trying to rebuild the menu in a normal movie clip form but it seems like more pain than it's probably worth...

any suggestions?

thanks in advance,
--cera

Movie Clips Inside Move Clips. How To Control?
I have an object in this case a foot with toes on it. the toes animate as well as the whole foot moving with the nails on it. I have instance names assigned for all the mc's problem is that the toes are buried about 3 layers down inside the foot_mc so they will move with the foot as well. When I assign a function to them the error compiler does not know where the nails are . What is the best way to fix or re-do this layout?

I am a total newbie to Flash and AS3, so any help would be great


I FIGURED IT OUT.

Copyright © 2005-08 www.BigResource.com, All rights reserved