Tif File Instance Creation Problem
I have tif files with resolution 96ppi. After an import to the library, their dimensions were fine, but making an instance on the stage shrank the image to 3/4 the size (happens to be 72/96). This worked in Flash 8. Is there some parameter I need to change in CS3 for this to work?bmp works okay. If I have to change the files to bmp, is there some way I can get them in without blitzing the image symbols and having to reinsert in the timeline?Tnx.
Adobe > Flash General Discussion
Posted on: 05/02/2007 04:18:55 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Instance Creation
Hi,
I'm having trouble when trying to dynamically create new instances.
Somehow flash doesn't compile the required classes unless I directly refer to them at least somewhere in the code.
Here's an example of what i'm trying to do:
Code:
private function explode():Void{
for(var j:Number = 1; j <= 3; j++){
for(var i:Number = 0; i < this["amount_"+j]; i++){
var idp:String = parent.obj_count+"_p";
vars = {id:idp,cx:cx,cy:cy,sx:sx,sy:sy,tm:50,ef:ef,hexcol:this["color_"+j],alt:altitude,ctype:"spark_1"};
var tp:String = this["type_"+j];
/*this is where it goes wrong*/parent.objects[idp] = new [tp](parent, vars);
parent.obj_count++;
}
}
}
The class containing this method has 3 type_x properties(type_1, type_2 and type_3). A new instance of type 'this["type_"+j]' is being created. The problem is that flash doesn't see this because the string is variable, so it doesn't include the required class unless I first create a dummy instance at least somewhere.
So, if this["type_"+j] == "FlashP", then I have to make a direct call to the FlashP class at least somewhere in the code.
Code:
var dummy:Object = new FlashP(null,null);//create a new dummy instance
Placing this line anywhere in the code will make it work, but also eats memory - pointless. So, my question, is there any more elegant way to let the compiler know those classes are needed?
- Thanks!
.MXP File Creation
Hi there ,
i was learning the "Flash Components" from flashcomponents.net , i downloaded the .MXp file which registers in Extension Manager.
Is anyone there who can tell me how to create the .MXP file what is the logic behind using that and how to use it.......etc etc..
Thanks in advance.
Sai
Problem With Swf File After Creation
i have a basic flash file. text fading in and then scaling .. im using alpha coloring to do so.
but when I play back none of the fading text shows .. just solid and then scales when it needs to .. no fade in no fade out.
File Creation Method
cheers mate your a star, you might be able to help me with another problem based on this.
I want flash to create a .txt file for the logged in user if one doesn't exist in the directory...
the idea is the stats directory will contain statistics,
to save the site administrator having to create a stats text file for each new user i want flash use the persons username to search for a text file (of the same name) within the stats directory, if it doesn't return a result then flash creates a new text file with the name being the persons username...
i.e.
jbloggs logs in, as he clicks the login button
flash looks for jbloggs.txt in stats folder, if it doesn't find it flash creates jbloggs.txt and fills it with some default info such as
memberStats=visits,1
i hope this makes sense, can you or anyone else help me with this, cheers:
Alex
Local File Creation From Flash
Hello All.
I need some help in creating an HTML file from flash that i would then be able to show in a web-browser. This is a local operation only... is this possible? All i am looking for is how to create that file dynamically so that it may be shown.
Any suggestion in the right direction will be appreciated.
Alina
.MXP File Creation For Extension Manager
Hi there ,
i was learning the "Flash Components" from flashcomponents.net , i downloaded the .MXp file which registers in Extension Manager.
Is anyone there who can tell me how to create the .MXP file what is the logic behind using that and how to use it.......etc etc..
Thanks in advance.
Sai
How To Mix AS Element Creation And Direct Creation From Flash GUI
Hello,
i'm pretty new to flash but i have a decent level of c++, when i create a flash doc , i put evrything in a separated Main.as file
and i create all elements "programaticly" like:
attachMovie("TextArea", "m_text", 0);
m_text._x = 10;
m_text._y = 100;
m_text.setSize(400,200);
m_text._visible = false;
but this is very slow as i have manualy set all the coordinates of all elements , their size etc .
What i would love is to be able to :
drop a text area in some frame , resize it and make it nice set all its 'visual propreitys'
then when i attach the movie from my Main.as it inherit all visual propreitys.
I'm realy happy of my approch to put evrything in Main.as i want to avoid at any cost going and hiding
ActionScript all over fla frames, so i just need to solve this and my live will be c++ again :)
thanks
sorry if the message is not clear , i'm realy confused with flash "logic" .
Random Size Array Creation And File Load To Memory (Buffer) From It
I want to create 4 arrays with random files (a main file and several lesser files) (first one array and 3 other array which come after it). I want to choose one from the 3 one which will play. How can i do it? Because i only can play the first one but don' play the other files after it.
Instance Names...changing...or Addressing Txt Field Instance Based On Instance Of Mc
i'm creating a mail form, that has a text effect which displays the type of info to be entered in each input box. To create this effect, i had to assign the variable name txt to the input boxes as well as the instance name txtBox. each of these text fields is contained within a movieclip, each with a unique instance name. what i need to do, is somehow assign a value/variable to each text field to pass to PHP to generate an email. I have always used components for contact forms so i'm not sure how to make the switch, AND.. the script i use for my contact form is an EXTERNAL AS file. (i use a customized version of a contact form from www.actionscript-toolbox.com [which apparently is no longer Flash related site])
ok.. this is hard to explain..... so bear with me....
If my original mail form component instance names were: tiName, tiEmail, tiSubject and taMsg (ti for textInput and ta for textArea)
and my current instance names for the mc's which CONTAIN the input boxes (with txtBox textfield instance inside them) are: name_txt, email_txt, subject_txt & comments_txt...
how would i pass/convert the users input text in each movieclip's txtBox, into the original instance name for my mail form so i can continue to use the form/PHP i have been using??
OR....
how do i take the values input by the user in each txtBox (i.e name_txt.txtBox.insertedTextFromUser or name_txt.txt, email_txt.txtBox.insertedTextFromUser or email_txt.txt) and send them to a new PHP script to send mail??
please keep in mind i am PHP retarded... hence why i re-use the same form over and over..
thanks in advance for any help. it's greatly appreciated...
if you're confused about my problem, please let me know... i'm having a difficult time explaining....
Varible From .txt File To Instance
Ok- (this is tough to explain)
I have a .txt file that hold varibles. Now, in Flash 4 for mac, I am tring to show this variable inside a text field. I can get the text field to show the variable when it is in Scene 1. However, I can not get the text field to show the variable when it is enclosed in a movie symbol placed on Scene 1. I am sure the problem is what I call the variable in the text field properties, but I can't figure out the correct syntax.
Here are the test files to make it easier to show what my problem is:
http://kalnin.com/problem/
The file is commented and shows what my problem is exactly better then words!
Any help is greatly appreciated!
Instance Calling Again Fla File
I just posted a msg, but here's the fls file, thanks!
what I've done is created a panoramic viewer that moves using bt's. What I want to do s creat a "pop up video" effect. So I thought the best way of doing this is to have hot spots in the panoramic shot that run through a target window on the main timeline to active a movieclip from the library. So I did this:
if (mainMovie.singleStrip.drag1 == "target1") {
_root.insert.attachMovie("pop_up1", "california", 10);
}
drag1 is the hot spot in the panoramic shot and target1 is the target that it hits to pop up "pop_up1" from the library.
what am I doing wrong. I think I'm calling on drag1 wrong. am I?
Variable As Instance Name From Text File
I am loading a variable(myVariable) from a text file into my time line. Also on the time is an a mc (shy_mc) that I've set to visible = false. I have a button, also on the same time line that on(Press) calls a function (showShy). the function uses the variable to reset the visible property of shy_mc. shy_mc instance name (shyGuy) is the same as the content of the variable in the text file. I've also set up a trace function to make sure the variable is being passed correctly. The trace function shows "shyGuy" but the visibility doesn't change. Any ideas? See code below:
text.txt = myVariable=shyGuy
actionScript =
loadVariables('text.txt', _root);
this.shyGuy._visible = false;
function showShy () {this[_root.myVariable]._visible = true;
trace(_root.myVariable);}
Question : About File Size In INSTANCE.
Hello,
My question is about VECTOR graphics in flash. Does it make any difference if I make a symbol, let's say 10x10 pixel and resize it in my main stage to the actual size of my movie? Or having my vector in the library have the exact size of my movie is any larger?
How about having stretched a BITMAP to the size of the main stage? Does it affect the file size?
How To Size FLVPlayback Instance Larger Than FLV File
I need to resize the VideoPlayer in the FLVPlayback instance to match the size of the FLV file, but still keep the instance's controls at a larger size/place.
The attached code has a function, doLR, which creates the FLVPlayback instance at the correct position & size, assigns the contentPath, and adds the event listener. The listener calls the function doLRResize when the ready status has been reached.
The doLRResize function autosizes the VideoPlayer in the FLVPlayback instance and positions the VideoPlayer correctly in the FLVPlayback instance.
BUT ... the control bar is not positioned correctly in the FLVPlayback instance. Instead of being below the VideoPlayer, it is positioned in the middle on the left. FYI: The minimum width for the skin is 270, while the preferredWidth for the FLV is 176.
Any suggestions?
Thanks for your help.
Attach Code
var listenerObject:Object = new Object();
//Make sure resizing function is called after FLV file has reached 'ready' status:
listenerObject.ready = function(eventObject:Object):Void {
doLRResize();
};
//This function is called when I want to create the FLVPlayback Instance & load the FLV file:
function doLR() {
//create instance:
this.attachMovie("FLVPlayback", "myPL", 10, {width:320, height:240, x:10.5, y:10});
myPL.addEventListener("ready",listenerObject);
myPL.autoSize=false;
myPL.maintainAspectRatio=false;
myPL.visible=false;
myPL.contentPath=cp; //cp is a variable created elsewhere in the code
myPL.skin = "myClearExternalAll.swf"; //this is a custom skin I created.
myPL.autoPlay=false;
}
function doLRResize() {
var thislh:Number=myPL.preferredHeight;
var thislw:Number=myPL.preferredWidth;
//resize & reposition Video Player
myPL.getVideoPlayer(myPL.activeVideoPlayerIndex).autoSize=true;
myPL.getVideoPlayer(myPL.activeVideoPlayerIndex)._x=(_level0.PLwidth-thislw)/2;
myPL.getVideoPlayer(myPL.activeVideoPlayerIndex)._y=thislh/2;
}
Manipulating A MovieClip Instance From A Class File
I have as2 code in a class file that is imported into a fla file. I've been trying to manipulate the movieClip instance that I have on the Stage via just the Class file.
Example:
I have a MovieClip on stage with an instance name of box_mc. I want this movie clip to turn invisble when I click the mouse button on top of it. The key is that I want all mouse press functions to only reside in the Class file and not the fla.
The issue I am having is that when I test the movie in Flash and click on the movieClip nothing happens but the test trace() command is run.
Any help would be most appreciated!
Attach Code
This is the code I have on layer 1, frame 1 of the fla file:
import com.BoxTest;
var initBox:BoxTest = new BoxTest(box_mc);
This is the code that I have in the *.as file:
class com.BoxTest extends MovieClip
{
public var box:MovieClip;
public function BoxTest(box:MovieClip)
{
this.box = box;
invisible();
}
public function invisible():Void
{
this.box.onPress = function()
{
trace('test');
this.box._visible = false;
}
}
}
Edited: 07/18/2008 at 10:53:03 AM by enzoZero
Movie File Links Refer To Instance Names In Root
I know this question has been asked a few hundred thousand times. I am an extreme beginner when it comes to any type of programming, especially actionscript. I have a menu movie that needs to refer to instance names in the root. I have looked at using variables, tell target and a bunch of other crap that I don't understand. I really need to have somone explain how to do this. Please help me! Here is what I am looking at.
Code:
on (release) {
_root.gotoAndStop ("Scene 1", "mbasic");
}
I know this isn't right, but I am soooo lost. Again, remember I am really stupid when it comes to this, so I guess we can give this a try!!
Access Property/function Of Instance From Inside Another Instance
Might be something really obvious, but I'm still trying to get my head round as3...
I need to call up a property and function of another instance of the same class, similar as in as2 (called from within "_root.instance_mc1"):
ActionScript Code:
_root.instance_mc2.someNumber = 0;
_root.instance_mc2.someFunction();
Now in AS3 I can access the object (extending sprite) itself (and inherited properties like x) by using:
ActionScript Code:
this.parent.getChildByName("row2").x
but if i try to access public variables/functions from that object (this.parent.getChildByName("row2").someNumber) I get Error 1119: Access of possibly undefined property someNumber through a reference with static type flash.displayisplayObject.
Anyone know how I can get this to work?
Code In One Instance Is Referencing The Previous Instance
I have the following code in a button symbol:
on (release) {
gotoAndStop (2);
_root["answer" + this._name.substr(1)] = "true";
}
I also have an instance of the button in 2 consecutive keyframes. The first instance is named "Q5" and the second instance is "Q6".
I expected the code: this._name.substr(1)]
to reference "5" and "6" from the instance names (Q5 and Q6), but instead instance "Q6" is referencing "Q5"!
The *really* strange thing, is that when I insert a blank keyframe between the two original keyframes, the code works perfectly!
Does anyone know what's happening?
[MX04] Get Instance Name Of Rolled Over Array Instance
Hi
I am willing to do a rollover image gallery which enlarges image on rollover event and shifts the neighbouring ones aside..
Here is the code so far
Code:
_root.bttn.onRelease = function() {
createGallery();
};
function createGallery() {
var row11:Array = new Array("DSCF5659", "DSCF5807q", "DSCF5773q");
for (i in row11) {
_root.createEmptyMovieClip(row11[i], _root.getNextHighestDepth());
_root[row11[i]].loadMovie("segi/"+row11[i]+"small.jpg", [row11[i]]);
_root[row11[i]]._x = i*150;
}
}
_root.onEnterFrame = function() {
function roll() {
var row11:Array = new Array("DSCF5659", "DSCF5807q", "DSCF5773q");
for (i;i<row11.length;i++) {
_root[row11[i]].onRollOver = function() {
this._xscale += 10;
};
}
}
roll();
};
What I would like to do is to:
ask flash which particular movieclip was rolled over , what is its instance name and than perform string operation to get a number (order) of that clip (I am naming all dynamically with image name + number in order)
Can anyone help me please ???
Thanx in advance
How Do I Copy A Sprite Instance Into A BitmapData Instance?
I apologize if this is covered elsewhere: I just don't even know what terms to search on to find what I'm looking for...
I have a sprite that receives various user-drawn lines on it during runtime. I would like to be able to copy this Sprite into a BitmapData instance, then send the pixels from the BitmapData instance to a PHP script. I think I'll be all right with the PHP end of things, but I just don't know how to copy my Sprite into a BitmapData.
(If there were a way to just use BitmapData and use the moveTo, lineTo, mouseX, mouseY, etc, methods, then I'd do that, but I don't even know if that's possible...Obviously, I'm not as well-versed in AS3 as I'd like to be.)
Thanks in advance for any help!
Instance On Top / Movie Instance Depth
Hi everyone,
I would like to know how, if possible, i can get the depth of a movie instance. Basically I just want to make the movie instance clicked on on top of all the others. I was going to try to do this using the swapdepths action but if anyone knows of a better way please tell me!
thanks a lot
jordan woolley
Returning The Instance Name Of A Class From Within The Instance
Hi,
I'm trying to do some error reporting in my actionscript.
I have a class MyData which can be instantiated several times over in each project e.g.
var myData1:MyData = new MyData();
var myData2:MyData = new MyData();
In the error reporting I have put statements like
trace("MyData.loadData reports error.... message...");
However, I'd really like it to return the instantiated name, not the generic class name so that I can trace errors to the particular instance that is failing. Does anyone know how to do this? I've tried
trace(this.toString() + " reports error.... message...");
but I just get a name of [object object] which isn't that helpful!
Many thanks!
Removing Instance X Inside Instance X
In Flash CS3 in library I have a MovieClip symbol Help (exported for AS).
The function below opens an instance of the symbol when the button is clicked.
ActionScript Code:
function showHelp(e:MouseEvent):void {
var helpwindow:Help = new Help();
helpwindow.x = 50;
helpwindow.y = 50;
addChild(helpwindow);
}
This works and instance "helpwindow" shows on the screen.
Now inside the symbol Help i have another button which will run a function that would close that instance. How do I get rid of that instance? I was trying with removeChild but errors occurr.
ActionScript Code:
function removeHelp(e:MouseEvent):void {
removeChild(MovieClip(parent).helpwindow);
}
Quote:
TypeError: Error #2007: Parameter child must be non-null.
How To Call The Instance Name Inside That Instance?
Ok this is what I want...
I am inside an instance of a movie clip. And I want to access the properties of this movie clip. Now the problem is (if) I don't know the name of the instance of the movie clip (suppose I create the instance of the movie clip on the fly!!!), how do i refer to the name of the instance.
Is there something called this. in actionscript?
Any help would be appriciated!!!
Sushubh
Dynamic Instance Name Vs Manual Instance Name?
Hello,
I would like to access this object (taken from Debug > List Objects of in flash player)
ActionScript Code:
Target="_level0.promotion0.loader_mc.instance87.promo TXT"
This is what I am trying to access it with:
ActionScript Code:
trace( this.getChildByName("promotion0").loader_mc.getChildByName("instance87").promoTXT.text );
Error:
ActionScript Code:
1119: Access of possibly undefined property loader_mc through a reference with static type flash.displayisplayObject.
what is the correct way to do this?
MC Creation
Hi,
I'm on a journey to make a website entirely made inside of one empty frame of actionscript. Very early I have hit a snag, I'm using AS2 by the way. I load info from an xml, inside the xml looks like this.
<xml>
<home></home>
<history></history>
<portfolio></portfolio>
<contact></contact>
</xml>
then my script on the first page looks like this:
var loader = new XML();
loader.ignoreWhite = true;
loader.onLoad = function(success) {
if (success) {
xml = loader.firstChild;
trace("success");
menue();
}
};
loader.load("data.xml");
//Control Variables
menueItemX = 0;
menuePadding = 10;
//Create Menu Container
var menucontain = _root.createEmptyMovieClip("menucontainer",this.ge tNextHighestDepth());
//Create menue
menue = function () {
for (i=0; i<xml.childNodes.length; i++){
//Create item container
var menue = menucontain.createEmptyMovieClip("item"+[i], this.getNextHighestDepth());
//Create textField in container and set properties
menue.createTextField("my_txt", 1, 0, 0, 0, 0);
menue.my_txt.autoSize = "center";
menue.my_txt.multiline = false;
menue.my_txt.wordWrap = true;
menue.my_txt.selectable = false;
//menue.my_txt.embedFonts = true;
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0xFFFFFF;
my_fmt.size = 30;
my_fmt.bold = true;
//my_fmt.font = "Arial";
//Write text from xml into menue item
menue.my_txt.text = xml.childNodes[i].nodeName;
//Apply text formatting
menue.my_txt.setTextFormat(my_fmt);
menue._x = menueItemX;
menueItemX += menue.my_txt.textWidth+menuePadding;
trace(menue.my_txt.textWidth);
menue.my_txt._width = menue.my_txt.textWidth + 5;
menue.my_txt._height = menue.my_txt.textHeight;
//release actions of button
menue.onRelease = function(){
trace(this.my_txt.text);
}
//rollover actions of button
menue.onRollOver = function(){
this._alpha = 50;
}
menue.onRollOut = function(){
this._alpha = 100;
}
//trace
trace(xml.childNodes[i].nodeName);
}
};
It's pretty long and does a lot and worked fine until I wanted to make every created mc go inside a menucontain mc. What happens is only the last item of the xml gets written. if I try this code it works great:
var loader = new XML();
loader.ignoreWhite = true;
loader.onLoad = function(success) {
if (success) {
xml = loader.firstChild;
trace("success");
menue();
}
};
loader.load("data.xml");
//Control Variables
menueItemX = 0;
menuePadding = 10;
//Create menue
menue = function () {
for (i=0; i<xml.childNodes.length; i++){
//Create item container
var menue = this.createEmptyMovieClip("item"+[i], this.getNextHighestDepth());
//Create textField in container and set properties
menue.createTextField("my_txt", 1, 0, 0, 0, 0);
menue.my_txt.autoSize = "center";
menue.my_txt.multiline = false;
menue.my_txt.wordWrap = true;
menue.my_txt.selectable = false;
//menue.my_txt.embedFonts = true;
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0xFFFFFF;
my_fmt.size = 30;
my_fmt.bold = true;
//my_fmt.font = "Arial";
//Write text from xml into menue item
menue.my_txt.text = xml.childNodes[i].nodeName;
//Apply text formatting
menue.my_txt.setTextFormat(my_fmt);
menue._x = menueItemX;
menueItemX += menue.my_txt.textWidth+menuePadding;
trace(menue.my_txt.textWidth);
menue.my_txt._width = menue.my_txt.textWidth + 5;
menue.my_txt._height = menue.my_txt.textHeight;
//release actions of button
menue.onRelease = function(){
trace(this.my_txt.text);
}
//rollover actions of button
menue.onRollOver = function(){
this._alpha = 50;
}
menue.onRollOut = function(){
this._alpha = 100;
}
//trace
trace(xml.childNodes[i].nodeName);
}
};
but then all the menu items created exist on the root, but I want them in another mc, to be able to change the position of the entire menu at any time... Can anyone offer me some guidance as to what I'm doing wrong?
Thanks so much for your help
Hello (I Have A ? On My Map Creation)
URL to the File
www.andrews.edu/~scottt/t_s_Flashmap.fla
I have a file here that I have produced, and while the people i am creating it for want it to be simple I want to see how i can make it more interesting(any advice?) I am going to be putting tooltips in too. The idea is a basic map of different housing locations.
My second issue is:
First I need for the two states to be buttons that go to the frames i specify but those dont work. I like the way it fades in and out (w/ the color) when you roll over it but i know there is an easier way to do this with actionscript instead of making all of these objects to confuse myself. (I am trying to teach myself after a terrible class that I took )
Second, In the beginning of the swf you will notice that the Indiana State blinks when it should be a simple fade in like the Michigan state. I know this is happening because of the actionscript that i have put on it, but i need it to go to the frame specified (which still doesnt work) Any help would be Greatly appretiated.
One more thing. I would like to learn how to start creating dynamic flash sites such as
examples
johnmayer.com
www.worldaccessmarketing.com/homepage.htm
Know of any learning material i can start with?
Thanks for your attn.
Button Creation
Hello everyone,
i have a question about buttons i was hoping someone could help me, so hear goes :
In my web site, the link page, i only have the name of the web sites and there link, for example : i have http://www.billgoldberg.com and that's the link and the way it shows on my web site to Goldberg's official web site, and that's BORING!
so i thought of doing a button for each link that will show up in an Alpha effect in the exact same time line that all the other flash animation in that page appear, you can see them at my web site (www.goldberg--online.com) and just hit the Links Link.
now comes the button part, for each link i have i have taken an Title bar from the web sites and that is the button i want to do, i want it to appear from 0% Alpha Effect, to a 50%, and then when the mouse is over it, i want it to show a 100%, only when the mouse is over it.
everything works well, but the part where on mouse hovers over the button and it's suppose to show 100% of the button, it stays 50%.
but everything else works good.
Movieclip Creation [MX/OOP]
Ok I am going all out OOP.
Lets suppose I have the following code
PHP Code:
_global.haba = new mcTester();
_global.uulala = new mcTester();
function mcTester() {
this.mc = createEmptyMovieClip("dest", ++this.mcdepth);
trace("this: " + this + "this.mc: " + this.mc);
trace("dest: " + dest);
this.mc.mc2 = createEmptyMovieClip("dest2", ++this.mcdepth);
}
After running I only have 2 movieclips, dest and dest2 instead of
4. What I want is haba.dest and haba.dest2 & uulala.dest and
uulala.dest2.
How?
FMX Object Creation?
Ok so after a while of fiddling with FMX I am ready to go all out
object oriented.
However it seems that the way I that I thought would work, doesn't.
I dont know if this is the Flash 5 way or something:
PHP Code:
function DemoObjectConstructor() {
this = new Object();
this.demoState = "Demoing"; //property
//function IOW method definition
this.showDemo = function() {
trace("demoState: " + this.demoState);
}
}
This, however, doesn't seem to be working - depending on the
circumstances the method cannot be called! Any clue why?
(IOW, saying 'myDemoInstance.showDemo()' doesn't do anything at all!)
Ok, for the correct syntax/grammar, should it be done like this?
[no 'this = new Object()' in there]
PHP Code:
function DemoObjectConstructor() {
this.demoState = "Demoing"; //property
//function IOW method definition
this.showDemo = function() {
trace("demoState: " + this.demoState);
}
}
A Flash Creation?
Thank you much for any help, comment.
What program was used to create the top part of this page?
http://onlinecounseling.lbcc.edu/cou...selinghome.cfm
What is used to make the images change and fade in and out?
What program is used to show the upper right-hand mask, with the motion effect in background?
Thank you for your help.
Screensaver Creation
Is it possible to make a full-function screensaver directly from a Flash MX file (Be it FLA, SWF, or EXE) or do I need another program for that? Is there a free one that is good enough?
Banner Ad Creation In Mx
Im fairly new to flash, but have been using it for a bit now. Ive created some banner ads using flash mx, but im not sure how to make that whole movie, as it appears in a browser, a link to another site. Do i use some action scripting to do this. Ive tried using the get url command but as soon as the browser loads it goes to a blank web page. Do i need to put in a mouse release event in, if so what is the scripting to do this?
Any help much appreciated!
Typeface Creation
Hi.
Does anyone out there know of a cheap, but reliable Font Creation applicatin for Mac? I need to make a quick typeface, but don't relly want to spend $500 on macromedias fontographer.
a shareware (or even better freeware) app would be perfect.
Cheers
Website Creation
Howdy all-
New to flash...obviously
Flash 5 version in use here, not enough cash yet for MX
I was wondering if anyone had some pointers on creating a website completely in flash. I've seen some pretty impressive sites from the board, which has inspired me.
Some questions:
- How do you handle links? (should each link be a link to another .swf, or is that all contained in flash, making one huge .swf)
- I don't want to have a huge .swf file obviously for the poor souls that have dial-up, optimization is key, and I'm looking for insight into this.
What are the best files (image-wise) to import into Flash? (png, gif, jpg, etc.)?
Are there any starter tutorials for website creation in general?
Anything you can add aside from my questions is certainly appreciated.
Thanks,
hankhill
Screensaver Creation
Possibly a stupid question, but here goes...
Does anyone know of a free screensaver creation tool to use with Flash MX?
Symbol Creation
If i want to copy a symbol X times from code [somethin' like snow] and configure each property of each symbol individually what should I do? Please include example code or swf
Dynamic Bar Creation
I am trying to create a movie clip (mc_A) that will build a horizontal bar (also a movie clip 1 pixel wide we will call mc_A.mc_B) beginning from where I dropped mc_A (mc_A._x) on the stage to the right end of the stage.
I drop the movie clip mc_A_i (instance) on the stage and use the following code on mc_B.
mc_B._x = _parent.mc_A_i._x;
mc_B._width = Math.abs(1024 - _parent.mc_A_i._x);
A trace shows mc_B._x as being set to it's parent movie clip mc_A._x, but it doesn't place the starting point of the horizontal bar where I would expect it to go when I test the movie.
I also have a problem when I set the _width of a movie clip to a number (1024). I run a trace on the next line of code for the width and it isn't the same.
Any ideas?
Don
Flash CD-Rom Creation
I need to make a simple CD-Rom. I know that this can be done using flash MX. Any suggestions on finding doccumentation on how to do this???
Thanks for your suggestions.
Nav-Bar Creation Question
Is it possible to create a nav bar like the one on http://www.nixonnow.com/za/NNS?PAGE=HOME
?
If so could someone guide me in the right direction?? I've gotten all the buttons made, but cant figure out how to make the sub menus (i.e. mens watches etc) stay without making them part of the hit area for the parent button (i.e. product)
gracias!
Nav-Bar Creation Question
Is it possible to create a nav bar like the one on http://www.nixonnow.com/za/NNS?PAGE=HOME
?
If so could someone guide me in the right direction?? I've gotten all the buttons made, but cant figure out how to make the sub menus (i.e. mens watches etc) stay without making them part of the hit area for the parent button (i.e. product)
gracias!
Site Creation
Hello all i am new to this board and i have a few questions.
I Am pretty decent in template creating and i wanna take it to the next level and add some flash the kind of things i am wondering how to do are flash banners with a menu which i am guessing is added with the banner, kind of like this site http://www.teknicks.com/
I am very interested in how that is done i was wondering if there is a tutorial on this i cannot seem to find any.
I Am guessing its a template created in photoshop etc and the flash is added in with a a HTML editor.
Then having to code the flash buttons to open up in a frame, if someone could help me out that would be great.
Thanks in advanced
Dynamic Creation Of MC's
Alright, as my other post was getting no replies to this issue (as it was buried under my other questions) I have decided to seperate it out for clarity.
This portion of my code is supposed to generate a new movieclip, draw in it, and then repeat.
PHP Code:
_root.createEmptyMovieClip ("line", 1);
["line"+d] = line;
["line"+d].lineStyle (3, 0x000000, 100);
_root["line"+d].onEnterFrame = function ()
{
if (_root.i > 0)
{
if (_root.incrementx <= _root.targetx)
{
["line"+d].moveTo (_root.tempx, _root.tempy);
trace (_root.incrementx);
["line"+d].lineTo (_root.incrementx, _root.incrementy);
_root.incrementx++;
_root.incrementy++;
_root.i--;
}
}
else
{
_root.d++;
_root.tempx = _root.incrementx;
_root.tempy = _root.incrementy;
_root.incrementx = 0;
pickTarget ();
}
};
The issue I'm having is with using the ["line"+d]. Generally this works, but in this instance it is giving me an error. Can anyone help with this? Thank you.
Is .exe Creation Possible In Flash?
Hi there,
What I'm looking to do is a sales presentation with customisable features. The user (salesman) needs to choose certain txt files and jpegs from his local machine, and use these to populate a prebuilt presentation. Ideally this would run as an exe file, and then output another exe file that has all the customisable parameters specified for successful running of the presentation from any machine.
Is this possible from within Flash, either independently or using a third party utility? I am an intermediate actionscript programmer/designer, so any hints or demos would be much appreciated.
I hope this makes sense, and if you have any questions then please post em.
Thanks very much for your time.
Mr P
|