Please Help Simple Cinema 4D Question
Hi, I have just loaded cinema 4D, and have made a simple 3D cube, I am now trying to animate it to rotate in all directions, the problem is that I can record it only rotating left to right, but then when I try to record the top part of the cube it wont record the action, and it also somehow erases all the frames I of left and right rotation that was set before it.
IVE TRYING TO FIGURE THIS SIMPLE ACTION FOR OVER 18 HOURS!!!!!
AAAAAHHHHHHHHHHHHH!!!!!!!!!!!!
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 09-30-2005, 01:30 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Cinema
- [F8] Flash Cinema Ad
- Cinema 4d Vs ActionScript? I Know Right Help
- Cinema Sign Effect
- How Can I Export File To Avid Cinema?
- Cinema Session Times Challenge
- Cinema Session Times Challenge
- Ready To Bash Head Through Cinema Display
- Making Flash Animation For Cinema/Theatres
- 20" Apple Cinema Display + Second Monitor
- 20" Apple Cinema Display + Second Monitor
- LoadMovie SIMPLE Question For Simple Minded Graphic Artist
- Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
- [F8] Very Simple Question, Very Simple Answer, I Hope. (Flash 8, Collisions)
- Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
- Simple Problem. Simple Answer? Arranging Windows W/flash
- Random Tweens - Simple Question, Simple Answer?
- HELP SIMPLE, SIMPLE XML-FLASH Load Into Movie Clip
- Simple Problem Neeeds Simple Answer
- Simple Question, Probable Simple Answer
- Simple Button Mouseover Effect - I Know It's Simple, Just Don't Know How To Do It
- Simple Button, Needs Simple Action Script
- Simple Question - Simple Answer FLASH MX
- Simple, Simple... Input Field Question
- Simple Question *(I Hope) From A Simple Newbie...
- Simple Questions...mean Simple Answers....right?
- Simple Question.....any Simple Answers?
- Simple Problem Simple Solution?
- Simple Problem, Simple Movie
- Simple Question - Simple Answer?
- Need A Simple Script For A Simple Button
- Simple Question With Hopefully A Simple Answer.
- Simple Problem In Need Of A Simple Solution
- Simple Or Not So Simple GetURL() Problem
- SIMPLE Simple Actionscript Question
- Simple Loadvariables Task Not So Simple... Why?
- Simple Questions From A Simple Person
- [CS3] Simple Image Loop Not So Simple
- Simple Answer For A Simple Question?
- Simple Question...simple Answer
- Simple Mathematics = Apparently Not So Simple
- Simple Button Listener Not So Simple
- Simple? Can Anyone Tell Why This Simple Btn Doesn't Work?
- Simple Problem, Simple Answer?
- Simple Question Simple Answer
- SIMPLE MATH? Isn't So Simple With Flash?
- Simple And Simple Array Question
- Simple Question? Simple Answer
- Simple Simple Radio Button [help]
Cinema
Hello,
I am about to produce a flash animation that is suposed to be reproduced on the Theaters (cinema).
Wich is the best size to fit the screen of theaters?
How many frames per second should the animation have?
Thanks....
[F8] Flash Cinema Ad
I have just been asked by a client to do a 30 second cinema advert, I want to do this in flash as I am quite advanced now in animation with flash- it will be pure vector based with no images etc, so....
1) can this be done, i know flash is designed for the web - can it be adapted for the big screen??
2) if I can do it, are there any things I need to be aware of and take into consideration when designing it??
Any help / advice would be very much appreciated!!
Cinema 4d Vs ActionScript? I Know Right Help
Guys here is the thing. I crafted some nice *** icons in PS, and I positioned them like in a circular fashion - with 4 icons in a window. I want to rotate them when the user mouses over 1 of the 4 icons the entire menu rotates and bringthe icon the user moused over to the front. The menu sort of have a perpective view.
Is it possible to rotate the menu in Flash 8 using action script and make it look like it's actually rotating.
Or do I have to bring my icons in C4D and rotate them in a true 3d environment. Please could you point me to a tute or show me what the script would look like?
Thank you
Cinema Sign Effect
OK, I am sure this is really simple but I cannot find a way of doing it.
Ideally what I would like is a sign which can display text but done in the same style as the old fashioned cinemas (UK people will know what I mean) - with the '3d' red letters making out the words on a white background...
If not that then I will settle for the modern type - which lists the 'films' in "neon" sign style.
Does anyone know of a easy way of doing this? (I will be doing it dynamically..so the simpler the better).
Thanks
Pete
How Can I Export File To Avid Cinema?
I have made a movie leader using Swish. Now I need to know if it is possible to export it so that i can put my creation in Avid Cinema. I have exported it in swf, html, and avl formats. I can's find a viewer.
[Edited by Bill Farmer on 06-16-2002 at 09:02 PM]
Cinema Session Times Challenge
Hello all,
I’m currently doing work for a local cinema that wants session times to be displayed as .swf's on a few monitors in the foyer, but I’m having difficulties writing the script for it, here's the situation:
The session times are generated daily as a text file by the ticketing software, it looks like this:
12 1 0950 101 0 330 0 M MADE OF HONOUR
1 1 1000 95 0 400 0 M WHAT HAPPENS IN
6 1 1000 95 0 154 0 M SMART PEOPLE
9 1 1010 92 0 300 0 PG MISS PETTIGREW
5 1 1015 126 0 408 0 M IRON MAN
3 1 1020 92 0 347 0 M SMOTHER
14 1 1030 101 0 38 0 M MADE OF HONOUR
11 1 1035 111 0 186 0 MA15+ FORGETTING SARAH
8 1 1050 108 0 276 0 MA15+ STREET KINGS
10 1 1055 123 0 160 0 M PAINTED VEIL
4 1 1100 95 0 833 0 M WHAT HAPPENS IN
15 1 1100 126 0 42 0 M IRON MAN
7 1 1115 108 0 209 0 MA15+ DECEPTION
2 1 1145 126 0 441 0 M IRON MAN
12 2 1200 101 0 330 0 M MADE OF HONOUR
13 1 1200 95 0 56 0 M WHAT HAPPENS IN
6 2 1205 100 0 154 0 MA15+ UNTRACEABLE
1 2 1210 95 0 400 0 M WHAT HAPPENS IN
etc...
What I’m trying to generate in the .swf is something that looks like this
Made of Honour (M) 9:50 10:30 12:00
What Happens in (M) 10:00 11:00 12:00 12:10
etc...
Additional requirements are the times disappearing after the session has started as well as session times 13-16 being displayed as a separate .swf (first class seating)
So i guess my main question is "can i dynamically load text from a multi-line txt file without editing the txt file to include variable assignment? ('content=' etc)"
* the txt file generated is intended for an led display and is apparently a Texas Instruments standard
Cinema Session Times Challenge
Hello all,
I’m currently doing work for a local cinema that wants session times to be displayed as .swf's on a few monitors in the foyer, but I’m having difficulties writing the script for it, here's the situation:
The session times are generated daily as a text file by the ticketing software, it looks like this:
12 1 0950 101 0 330 0 M MADE OF HONOUR
1 1 1000 95 0 400 0 M WHAT HAPPENS IN
6 1 1000 95 0 154 0 M SMART PEOPLE
9 1 1010 92 0 300 0 PG MISS PETTIGREW
5 1 1015 126 0 408 0 M IRON MAN
3 1 1020 92 0 347 0 M SMOTHER
14 1 1030 101 0 38 0 M MADE OF HONOUR
11 1 1035 111 0 186 0 MA15+ FORGETTING SARAH
8 1 1050 108 0 276 0 MA15+ STREET KINGS
10 1 1055 123 0 160 0 M PAINTED VEIL
4 1 1100 95 0 833 0 M WHAT HAPPENS IN
15 1 1100 126 0 42 0 M IRON MAN
7 1 1115 108 0 209 0 MA15+ DECEPTION
2 1 1145 126 0 441 0 M IRON MAN
12 2 1200 101 0 330 0 M MADE OF HONOUR
13 1 1200 95 0 56 0 M WHAT HAPPENS IN
6 2 1205 100 0 154 0 MA15+ UNTRACEABLE
1 2 1210 95 0 400 0 M WHAT HAPPENS IN
etc...
What I’m trying to generate in the .swf is something that looks like this
Made of Honour (M) 9:50 10:30 12:00
What Happens in (M) 10:00 11:00 12:00 12:10
etc...
Additional requirements are the times disappearing after the session has started as well as session times 13-16 being displayed as a separate .swf (first class seating)
So i guess my main question is "can i dynamically load text from a multi-line txt file without editing the txt file to include variable assignment? ('content=' etc)"
* the txt file generated is intended for an led display and is apparently a Texas Instruments standard
Ready To Bash Head Through Cinema Display
I am so damn frustrated it's driving me crazy. I am performing unintended miracles with Actionscript, because buttons with no actions whatsoever are opening SWFs.
Here is the problem:
I am trying desperately to load an SWF into another SWF. I have followed tutorials to the T, but I am still encountering numerous errors.
I have the following:
Page So Far
Only the two top buttons have actions associated with them, yet no matter which button I push, it opens up an SWF.
That's the first problem.
The second problem is that the movie the web button and print button load are obviously not intended to be the same, HOWEVER, each button tries to load BOTH movies.
I figured it was an instance related problem, but each button has its own instance on the stage.
I am ready to give up unless someone can possibly assist me.
I have uploaded the FLA here.
Can anyone PLEASE help me?
Making Flash Animation For Cinema/Theatres
im just wrapping up a film for a client. its a cinematic short and will be transfered on to film ( i dont know much about this) however the resolution they asked us to work in was 2048 x 1536 (which i think is a carry forward from the usual) 720 x 540
now my question is - is this the right way of going about this? i know Phil Nibbelink who did Romeo and Juliet and went straight from Flash to Film worked in 2048 x 1234.
anyone have any ideas about this?
20" Apple Cinema Display + Second Monitor
Work is upgrading my 2 CRT monitors, with a 20" Apple Cinema Display plus a second monitor. The question is what second monitor should i get? A second 20" Apple Cinema Display is too costly, so their thinking of a Dell 17", but was wondering on your thoughts in regards to Flash and it's setup.
Thanks in advance.
20" Apple Cinema Display + Second Monitor
Work is upgrading my 2 CRT monitors, with a 20" Apple Cinema Display plus a second monitor. The question is what second monitor should i get? A second 20" Apple Cinema Display is too costly, so their thinking of a Dell 17", but was wondering on your thoughts in regards to Flash and it's setup.
Thanks in advance.
LoadMovie SIMPLE Question For Simple Minded Graphic Artist
OK! So this will be EASY EASY for all of you.
I need to load a seperate SWF file onto the stage on a level above the main swf.
the seperate SWF file is in the same folder as the original all located in the "flash" folder of the root directory.
How do I get th e outside SWF to load on top of the movie.
The original movie is called grid.swf the outside movie is called liquid-print.swf
If anyone can help me with giving me the code I'd appreciate it. I really am quite dense when it comes to coding.
Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
Flash MX 2004 (mac)
******************
Hi,
I have a custom component that consists of nothing more than two dynamic text feilds and a button. I want the button to open a popup window in the browser, and it does so using javascript (an extension i found).
I put the following function in the first (and only) frame of my actual component (and its also in the first frame of my entire movie, just in case):
callPopup = function() {
getURL(popup);
};
And then on the button in my component i have this:
on(press){
callPopup();
}
and then finally,there is a variable named 'popup' within my component (which would change in each instance) which is given a value in my test instance as :
"javascript:jspw3('../vwd_scripts/','popups/acroyoga.swf',',,0,Past%20Event,index,Past%20Event ,20,0,,0,450,550,0,0.001,0.001,,,1,0,,.0.0.');"
somewhere i am doing something wrong.. ..i am not sure if its the button code, or my link (variable 'popup') syntax. Or if its impossible to use javascript in this way.
I know my html page is set up correctly (correct info in the head of the page etc), since i am able to call the javascript from a regular html link (just for testings sake) which is on the same page as my swf.
Hmm..i hope i made some sense here.
I will be very gratefull for some help...i'm totally lost on this one...
thanks in advance
Cheska
[F8] Very Simple Question, Very Simple Answer, I Hope. (Flash 8, Collisions)
Alright, so I've got my ball that moves up and down; it has gravity too. There are two things I want to do:
1. I want it to 'jump' when the UP key is pressed, rather than just accumulatively move upward.
2. I only want gravity to be applied while the ball is in the air(In other words, I basically just don't want it falling through the floor; however, want the edges to be the collision, not the center, and I also still want to be able to jump afterwards.
Thanks for any help, I don't need an explanation, I can figure it out by looking at the code. I'm going to attach a basic file with what I already have, please add the coding to it, then send the file back. Thanks for any help, and I apologise if this is hard to understand, or if I sound any bit rude to be asking how to do something; I don't mean to.
Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
Flash MX 2004 (mac)
Hi,
I have a custom component that consists of nothing more than two dynamic text feilds and a button. I want the button to open a popup window in the browser, and it does so using javascript (an extension i found).
I put the following function in the first (and only) frame of my actual component (and its also in the first frame of my entire movie, just in case):
callPopup = function() {
getURL(popup);
};
And then on the button in my component i have this:
on(press){
callPopup();
}
and then finally,there is a variable named 'popup' within my component (which would change in each instance) which is given a value in my test instance as :
"javascript:jspw3('../vwd_scripts/','popups/acroyoga.swf',',,0,Past%20Event,index,Past%20Event ,20,0,,0,450,550,0,0.001,0.001,,,1,0,,.0.0.');"
somewhere i am doing something wrong.. ..i am not sure if its the button code, or my link (variable 'popup') syntax. Or if its impossible to use javascript in this way.
I know my html page is set up correctly (correct info in the head of the page etc), since i am able to call the javascript from a regular html link (just for testings sake) which is on the same page as my swf.
Hmm..i hope i made some sense here.
I will be very gratefull for some help...i'm totally lost on this one...
thanks in advance
Cheska
Simple Problem. Simple Answer? Arranging Windows W/flash
SIMPLE problem. | SIMPLE answer?
We're trying to have a Full screen CD presentation in flash that plays .avi's in windows media player, & opens up url's in a web-browser. The problem is the URLs AND the .AVIs show up underneath the flash, is there a way to have them open on top of the presentation?
Thank you.
Random Tweens - Simple Question, Simple Answer?
Hello, I have one swf with a few different motion tweens inside their own movie clips. I want to write some code to play only one of the tweens at random. I know how to use setInterval to get the process to repeat with a delay. But I just want a different/random tween to play with each repeat. I hope that makes sense.
I imagine this must be easy, but I'm having a tough time getting it to work. Random tweens, somebody please help.
HELP SIMPLE, SIMPLE XML-FLASH Load Into Movie Clip
This is so stupid, my first dive into XML, with a company project - a tutorial/training piece which will require mjultiple screens with questions, etc.
Anwyay- I can get the XML loaded into the root, and it works pefectly, but I'd like to put things INTO a movie clip, so that each new screen or slide is just he movie clip advancing.
How the HELL do I target the movie clip? I even tried setting a NEW variable in teh main timeline once the XML was loaded, but the best I get is not the value from the XML, but the path (e.g. "level0title1")
Any help? I imagine it's a really stupid, easy question, but I can't find anythign ANYWHERE to answer it.
Simple Problem Neeeds Simple Answer
hey i figured one of u geniuses here could help me figure this out much faster than me fiddling around so here goes.
All I'm trying to do is have a button (which is loaded in an MC in _level6) allow the user to switch between languages on the website. To do this I figured all I would do is have it 2 scenes...one in English and the other in Chinese. When the user clicked the toggle button I would have it go to the current frame in _level0 but switch to Chinese scene.
Get it? basically i want it to switch between frames but remain on the same frame number. Here is the last piece of code I tried using, but nothing seems to work (this code is connected to the release of the toggle button)
Code:
_level0.gotoandplay("Chinese", _level0._currentframe)
Anybody got any idea what i need to do??
Thanks for your help!
Brad
Simple Question, Probable Simple Answer
still in my quest for new flash knowledge and being a "noobie" in the world of flash i would like help.
whats the easiest way to create a Button that upon rollover creates a text discription in a text box. just so i can give a description of what the button is going to lead to....
ohh and i will have multiple bittons on 1 frame and 1 designated box for all descriptions
thanx in advance
Simple Button, Needs Simple Action Script
Hi there,
I have made button in flahs mx. The over state of this button contains a short movie clip. My prblem is that I would like the button to remain on the down state on release (ie. once the user has released the mous button)instead of just going back to the over state as it does at present. Ideally I would like the button to go back to the up state on a second click.
I have pulled most of my hair out trying to put together the right bits of action script that would help me do this but to no avail, and having no time to learn action script properly I don't think I'll get there anytime soon on my own. Can anyone help me, pretty, pretty please ~?
Simple Question - Simple Answer FLASH MX
hi you good people out there. hope you could help me too. using flash mx, not beyond beginner yet.
about finishing my homepage with it. one problem is there:
i have a premade flash and changed graphics, etc. all no problem, the menu is included as well - i have changed the text of the 9 menus already, works fine - only when i use the preview - the original text appears when going over with the mouse... i changed the text visible to me - but cannot locate and change the text for the mouse over.
for instance the first two of the menu named
start
gallery
i changed it to
home
pictures
in the prview it show again
start
gallery
upon mouseover.
so i need to locate where to change also that hidden text (only active upon mouseover) to the same word.
if anyone of you could help me - i would be going into learning faster and finally getting my homepage up and running. if needed please e-mail me at
harton@harton.at
thank you so much!
....................I have uploaded a screenshot of it - clearly you can see, I changed the text yet have to located the original text below of it (?) and write the same text so that it shows up correctly upon mouseover.....
Simple, Simple... Input Field Question
OK, I have two input text fields, one is var x1 and another is var x2
onRelease I`m trying to use this code
score = Math.sqrt (x1+1) - Math.sqrt (x2)
It`s not working, check out attached fla file
Thanks folks
Simple Question *(I Hope) From A Simple Newbie...
Hi All... well, since this is my first post, I'll be cordial by saying hey and how are ya and all that later (sorry) but I'm in a bit of a pickle, or at least a cucumber that's been sweatting his luck for a while. I'm trying to create a news ticker that autoscrolls events accross the bottom of a movie, and allows users to click the text to take them to the appropriate page / site / picture or what ever (just need the link. I'm running into issues with the xml connector loading data dynamicly, I can get the file loaded, but I can't move it accross the screen. Basicaly, I'm looking for a basic news ticker tut or else the appropriate google keywords. Anyone? Anyone? Bueler? Please?
Thanks in advance.
Rick
Simple Questions...mean Simple Answers....right?
I just have a question about the various ways to loop in Flash.
now I know the for, and the while, and the do while,etc. My question is I can never get any of these loops to work unless they are on the main timeline. If I put a for loop inside a movie clip, i get nothing, or errors of the script continually running.
Just wondered if and how to use a loop script inside a movieclip without generating errors, and not having to revert to making the movieclip continually play two frames to get what I want.
curious.........
dduck1934
Simple Question.....any Simple Answers?
Hi...
A simple question...
From a button in a standalone Projector ( Flash) file how do I open an external HTML file....called ...xxx.html??
Can anyone ease my pain??..
THX
Simple Problem Simple Solution?
Can someone who is smarter than me (plenty of you out there ) solve my problem. I have a button on the timeline that has a gotoAndPlay action. I have another action that advances the timeline to the nextframe to execute some actionscript then it returns to the previous frame where the button is. The button works the first time but after going to the nextframe and then coming back it loses its functionality. What can I do to restore functionality in my button. Oh i'm using MX but publishing in 5. Can someone please save the day?
million thanks
Simple Problem, Simple Movie
i have a simple movie (using MX) with one scene and a handful of movie clips on individual layers. i am using this to jump from clip to clip in main timeline
_root.MCmyclip.gotoAndPlay (1);
the movie plays fine the first time through. but when i need to return to the first MC again it plays but then stops and does not move on to the next clip? like this:
in the final MC i have:
_root.MCfirstclip.gotoAndPlay (1);
it goes to first clip and plays but does not moveon when encountering this action for the second time:
_root.MCsecondclip.gotoAndPlay (1);
i don't understand why this is happening. it should just loop continuously...right?
Simple Question - Simple Answer?
I'm looking to do something basic to start off with Flash - and I'm hoping this is the project. Basically, I'm looking to have a movie with an image (or images) that will fade in and out over a set period of time - as seen in this website.
http://www.westonfl.org (The pictures on the left - yes I know, this was done by 2advanced....)
Any help you can give, would be great. The more detailed the better.
Talk to me like I'm 5.
Need A Simple Script For A Simple Button
Hi,
I've got this simple button, that when I roll over it has a clip that fades in to orange, but it won't fade out when I roll off the button. How do I get the "orange" to fade out when I roll off the button?
I've attached the file.
Thanks for your help.
Blastbum
Simple Question With Hopefully A Simple Answer.
Ive only just started making games in flash and im wondering how i can make it so my little birds eye view character can be stopped from running into buildings... in other words i want to make my buildings so you CANT walk on em or under em!..
haha im hella nOOb i probably sound like a loser.. but if you could waste your time on me it would be greatly apreciated!
CHEERZ 1337 Hax0rz.
Simple Problem In Need Of A Simple Solution
I know this is long...grab the FLA and test it, and it will all make perfect sense. Thanks in advance for the help.
I have a vertical menu that has one arrow (A1) that eases to the selected section after you click on it, and another arrow (A2) that eases to each button when you rollover it. So you rollover a button, A2 eases to it, click it, and the A1 eases to that. I have A1 and A2 set to ease to the y value of the button onPress. Here's where I run into the problem...The menu items slide up and down to reveal the content, so when I click on a button that has moved down to the bottom, the button itself eases up back into it's orignial position, as each arrow does the same thing. The way the functions are written to control all the motion only controls movie clips by buttons...so the top item in my menu is a button and works fine, since it never moves down. But I had to creat invisible buttons to control the motion of the other "buttons" in the menu. So pretty much to keep the right actions with each button, after pressing it, the invisible button moves to the new position of the menu item. This is what causes the problem. A2 is set to ease back to the y value of A1 on rollout, pretty much moving it back to the current menu item. So after pressing the buttons, A2 wants to ease right to the y value of A1, not to the y value it was told, which means the arrows don't line up like they're supposed to. This can be fixed by using onPress and holding it down. The clips ease right into position, but obviously this can't be used realistically. In theory all that would need to be done is to have the invisible buttons wait until the arrow was in position to move up there, that way the clip wouldn't react to the OnRollout before the OnPress.
I know this was long and confusing...I appreciate all your help very much, this has been stumping me for a while now!
Simple Or Not So Simple GetURL() Problem
ok basically i am trying to link a button so that when pressed it will bring up a javascript window, i have tested it and it the button works fine when used with regular sites
i.e.
on (release) {
getURL ("http://www.watever.com");
}
but when i try to implement Javascript into the code it just does nothing here is what i am using :-
on (release) {
getURL ("Javascriptopupwindow(1)");
}
<head>
<script language="javascript">
function popupwindow(index)
{
if(index==1)
{
site="http://www.whatever.com"
}
window.open(site,"newwindow","toolbar=0,location=0 ,directories=0,status=0,menubar=1,scrollbars=0,res izeable=1,width=100,height=200")
}
</script>
</head>
any help would be greatly appreciated cause i'm stuck
Rich
SIMPLE Simple Actionscript Question
Hey guys this is an easy one, but I don't know it.
I want to create a dynamic text box that says page 1 (or just 1). And every time I click the next button (which also controls something else), it should add 1. The limit is 4 pages so, if it exceeds 4, it should back to 1.
Thanks for the help
Simple Loadvariables Task Not So Simple... Why?
So I've got a site that I've built (see it here: http://www.artinmusic.com) and it uses a function I've written called 'changer()' to swap out different events using a folder with textfiles inside. So I plug in the name of the folder and the function pulls the info from "folderName/title.txt" , "foldername/description.txt" etc. Nevermind that I probably should have done this (much easier and less painless) with XML, that'll have to wait for the next round.
So- I want to have a variable that selects which event to display first, and I've stored that variable in a text file called featured.txt. It reads: featured=20050916
I figured I could just go :
loadVariables("events/featured.txt",this);
changer(featured);
but not so. I got a string of errors, as changer tried to load 'undefined'. ( Error opening URL "C:/etc/etc/undefined/description.txt")
Here's the code:
function changer(changerVar) {
/* DESCRIPTION BOX */
descriptionVar = "events/"+changerVar+"/description.txt"
getDescription = new LoadVars();
getDescription.load(descriptionVar)
getDescription.onLoad = function (success) {
if (success) {
/*trace("description Loaded")*/
descriptionBox.htmlText = this.description;
descriptionBox.scroll = 0;
} else {
trace("not loaded")
}
}
/* NOW TITLE BOX */
titleVar = "events/"+changerVar+"/title.txt"
getTitle = new LoadVars();
getTitle.load(titleVar)
getTitle.onLoad = function (success) {
if (success) {
/*trace("title Loaded")*/
titleBox.htmlText = this.title;
/*titleBox.scroll = 0;*/
} else {
trace("title not loaded")
}
}
/*now Date box */
dateVar = "events/"+changerVar+"/date.txt"
getDate = new LoadVars();
getDate.load(dateVar)
getDate.onLoad = function (success) {
if (success) {
//trace("date Loaded")
dateBox.htmlText = this.date;
/*titleBox.scroll = 0;*/
} else {
trace("date not loaded")
}
}
arImageVar = "events/"+changerVar+"/arImage.txt"
getarImage = new LoadVars();
getarImage.load(arImageVar)
getarImage.onLoad = function (success) {
if (success) {
arImagebase.loadMovie(this.arImage);
} else {
//trace("not loaded")
}
}
image = "events/" + changerVar + "/" + changerVar + ".jpg"
loadMovie(image, imagebase);
}
loadVariables("events/featured.txt",this);
changer(featured);
A friend of mine said he got it to work by using the code I'm using to load these variables into text files and putting the featured variable into a dynamic text file in the _root level and then calling the function like this:
featVar = "events/featured.txt"
getFeat = new LoadVars();
getFeat.load(featVar)
getFeat.onLoad = function (success) {
if (success) {
trace("featured Loaded");
_root.featured = this.featured;
trace(_root.featured);
/*titleBox.scroll = 0;*/
} else {
trace("featured not loaded")
}
}
changer(_root.featured);
And it does load the variable in the dynamic text box, but it comes back with the same error, except instead of undefined it comes back with "cannot load URL C:/etc/etc/events/_level10.featured/description.txt"
Anybody have any idea? PLEASE somebody help me out...
Simple Questions From A Simple Person
Hi all...
I am new to flash... The only actionscript I have actionally used is "stop ();" Anyway... I'm using flash cs3... It seems a fantastic tool to a newcomer like me!! Firstly, I'll show you what I've managed to do so far...
This is my first movie...
http://www.allnationschessleague.com...tpagewhite.swf
An this is the header I would like to put at the top of the website pages:
http://www.allnationschessleague.com...ANCLHeader.swf
Well, my first question (for I am sure to return to this site for more advice, is how do I link the flags at the top, to the relevant pages. Please check out the following page to see how it should work:
http://www.allnationschessleague.com
So as you can see, the flash needs to link to php pages... for example the British flag needs to link to 'setlanguage.php?lang=en' etc... so how do I set those links for the flags?
Thank you for answering my post )
Jeff
[CS3] Simple Image Loop Not So Simple
I'm relatively new to Flash - I can do some basic animations but very little actionscript.
I'm looking for a tutorial to have a set of images scroll across and repeat themselves.
this is what I'd like... example
I can do a continuous loop of a simple background image with the 'goto' function, but I can't even find a tutorial on how to repeat individual images.
Any suggestions?
Thanks,
JTN
Simple Answer For A Simple Question?
ok what this code does is it rotates my mc (mainclip)(it has 3d objects) as the mouse moves left or right on the x-axis.... and it works:
stage.addEventListener(MouseEvent.MOUSE_MOVE,myFun );
function myFun(event:MouseEvent):void
{
mainclip.rotationY= stage.mouseX;
}
...but what if i wanted to stop it rotating after it has rotated a certain amount to the left or to the right?
at the moment it rotates 360degrees in each direction, and i want it to rotate about 60degrees in each direction........
thanks.
Simple Question...simple Answer
ActionScript Code:
var prslide:slide1 = new slide1;
ok, say i din't want to have it always be slide1. how can i change it at runtime.
for instance make a loop that incremented the value of and did something like
ActionScript Code:
i++
var prslide:("slide"+i.toString()) = new ("slide"+i.toString());
this used to be easy in as2
Simple Mathematics = Apparently Not So Simple
I'm really having problems with the simplest of conversions here. All I want to do is get a number from a text box and convert it.
I have this var at the top: var Speed:String;
(I tried putting number instead of string, but it threw up errors all over me)
Then inside a function I have...
ActionScript Code:
continueButton2.addEventListener(MouseEvent.CLICK,secondStage2);
function secondStage2(Event:MouseEvent):void {
Speed = speedInput.text;
if (speedUnit.value == "Knots"){
var speedConversion1 = (Speed * 1.85);
Speed = String(speedConversion1);
}
}
I've tried a lot of different variations and are yet to have any luck, can someone tell me what I'm doing wrong?
Oh yeah, the error I keep getting is 1067: Implicit coercion of a value of type String to an unrelated type Number.
Cheers
Simple Button Listener Not So Simple
Here is code that works fine without the Listener:
myButton_Zoom = function () {
bt_zoombig_mc._visible = !bt_zoombig_mc._visible;
};
Now when I try to add a listener it will not listen. Here is the code with the Listener:
listener = new Object();
listener.myButton_Zoom = function(objEvt) {
bt_zoombig_mc._visible = !bt_zoombig_mc._visible;
};
myList.addEventListener("myButton_Zoom",listener);
Can anybody please tell me why?
Edited: 12/25/2008 at 11:26:59 PM by W_Bell
Simple? Can Anyone Tell Why This Simple Btn Doesn't Work?
Trying to write my own simple disabling button class (with some help from friend - thanks LuigiL)
So, why does my button not turn off when clicked? it runs the deinitializeBehavior function but the removeEventListeners are not actually being removed...
I don't know why but could this possibly be a graphics issue?
Thanks in advance
Attach Code
package
{
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
[Event(name="newSelection", type="flash.events.Event")];
public class SelectOButton extends MovieClip
{
public static const NEW_SELECTION:String = "newSelection";
public function SelectOButton()
{
super();
initializeBehavior();
}
//------------------------------------------------INITIALIZE
private function initializeBehavior():void
{
buttonMode = true;
addEventListener(MouseEvent.CLICK, onClick);
addEventListener(MouseEvent.MOUSE_OVER, onOver);
addEventListener(MouseEvent.MOUSE_OUT, onOut);
addEventListener(NEW_SELECTION, selectHandler);
trace("INIT RUNS");
}
private function deinitializeBehavior():void
{
removeEventListener(MouseEvent.CLICK, onClick);
removeEventListener(MouseEvent.MOUSE_OVER, onOver);
removeEventListener(MouseEvent.MOUSE_OUT, onOut);
buttonMode = false;
trace("DE-INIT RUNS");
}
//------------------------------------------------PRIVATE
private function onOver(e:MouseEvent):void
{
gotoAndPlay("over");
trace("OVER RUNS");
}
private function onClick(event:MouseEvent):void
{
deinitializeBehavior();
gotoAndPlay("disable");
dispatchEvent(new Event(NEW_SELECTION, true));
trace("onCLICK RUNS");
}
private function onOut(e:MouseEvent):void
{
gotoAndPlay("out");
trace("OUT RUNS");
}
private function selectHandler(event:Event):void
{
if (this != null)
{
unselectCategory();
trace("Handler RUNS");
}
}
private function unselectCategory():void
{
play();
initializeBehavior();
trace("UnSelect RUNS");
}
}
}
Simple Problem, Simple Answer?
I've just successfully completed replicating your tutorial for a simple drop-down menu ( http://www.kirupa.com/developer/mx/dropdownmenu.htm ) which works perfectly... almost.
In my Flash movie, I've created three scenes (...Scene 1, Scene 2, and Scene 3...). In my drop-down menu movie, there are three buttons that corrispond to the three scenes. I've dragged my 'drop-menu' movie onto each scene.
Here's the problem. Inside the movie that creates the drop-down menu, I have attached the following action script to the 'Scene 1' button:
on (release) {
gotoAndPlay("Scene 1", 1);
}
I've attached a "Scene 2" actionscript to the 'Scene 2' button, and a "Scene 3" actionscript to the 'Scene 3' button.
Yet, when I play my primary Flash movie, the drop-down menu buttons don't take me to the corrisponding scenes. What am I doing wrong?
Simple Question Simple Answer
I want my button to go to a particular frame on release, can someone please show me the AS for this? I am using Flash MX for reference.
SIMPLE MATH? Isn't So Simple With Flash?
I was thinking, how do you do a simple math equasion... or not so simple...
say I had 4 imput texts, and I wanted to have them add up and give me the total cost in another imput text... how would I do that, I'm thinking though, If say ordering six muffins cost $12 dollars, and ordering 12 muffins cost $20 dollars, how would you do that, if 6 then $12 if 12 then $20 THEN if 18 then $32? like see my problem, i'd have to work out every variable right?
oh well even if nobody knows what im talking about, could someone direct me to math with flash?
Simple And Simple Array Question
Hi all
Do Flash understand array list items that uses paths?
Example:
Code:
var submenus:Array = new Array( "sub_menu.portfolio" , "sub_menu.contact" , "sub_menu2.about" );
for(var i:Number = 0; i<submenus.length; i++) {
this[submenus[i]].onRollOver = function(){
this.colorTo("0xAAEEFF",0, 0.0);
trace("dfklgödfk")
}
}
Simple Question? Simple Answer
Hi i am creating a navigation menu and has a rectangular border around it. The menu has buttons e.g home, about etc. However the border is not a symbol, if i convert the border to a movie clip say, how do i ensure that the border still becomes underneath the buttons?
Every time i convert it to a symbol, the border is always on top of the buttons.
Thanks
Simple Simple Radio Button [help]
Hi all,
I have an annoying problem that requires a simple solution. I need a radio button to do the following function when clicked;
on(click) {
trace("hello");
NewCharity = "Focus";
}
The trace function works fine but the word "Focus" is not printed into the dynamic text box named "NewCharity". I cannot figure out why and can't find a simple solution to it.
A good example of what I need can be seen working in WebWasp at : "http://www.webwasp.co.uk/tutorials/c04-radio-active/index.php"
Any help would me of much assistance..
|