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




GetMinutes Showing Only Single Digit...



With this code I get a result of "17:1" when I trace the timestamp

Code:
now_time = new Date();
time_str = (now_time.getHours() + ":" + now_time.getMinutes());
trace("TIMESTAMP: " + time_str);
...How do I get it to read "17:01" instead?

Thanks in advance.



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-22-2005, 08:13 PM


View Complete Forum Thread with Replies

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

Two Digit GetMinutes
Hi Guys

I'm working on a project where I recall the date using datapoint.mclabelbubble.timer = ntime.getHours()+" : "+ntime.getMinutes()+" : " + ntime.getSeconds();

this is all cool and it works etc etc. Only problem is if the values are lower than two digits they only show the one digit. How do I get it to display a zero in front of the single digit... I.e. 13:2:45 to display as 13:02:45.

Thanks for your help again guys.

Rich

GetMonth & GetDate - Convert Single Digit To Two Digit?
Is there a way to ensure get Month and getDate add the missing zero when necessary?

For example, August, ie "8" needs to be "08" and the 6th needs to be "06" not "6".


ActionScript Code:
//get current date//
var currentdate:Date = new Date();
var year = currentdate.getFullYear();
var month = currentdate.getMonth()+1;
var dayNo = currentdate.getDate();
var todayDate = month + "" + dayNo + "" + year;

[F8] 0 Not Showing With GetMinutes
Hello,
I am making appear time in a textfield, but somehow, before the tenth minute of the hour, the 0 is not displayed in front of the minute figure.
For instance, I get 4:1 instead of 4:01.
How can I fix this?

Single Digit Numbers To Double Digit Numbers
How do you turn 1 into 01 using actionscript?

SortOn Single Digit Values
hello ;

I have:

Code:
button_instance.onPress = function ()
{ a.sortOn(0);
for ( var i = 0 ; i < a.length ; i++ )
{ trace( a[i][0] );
}
};

var a = [ [1] , [2] , [3] , [10] , [11] , [12] , [20] , [21] , [22] ]
result: 1 , 10 , 11 , 12 , 2 , 20 , 21 , 22 , 3
any thoughts

thanks
Shannon Burnett

Why Does This Array Only Allow Single-digit Values?
I'm having problems with the following. (Note: sectionN takes on the values of 1, 2, 3, etc. during a while loop surrounding the while loop shown below.)


ActionScript Code:
_global.maxStep = new Array();
stepN = 1;
...
while(step != null) {
  stepN = step.attributes.n;
  ...
  if (stepN > _global.maxStep[sectionN] || _global.maxStep[sectionN] == null) {
    _global.maxStep[sectionN] = stepN;
  }
  ...
}
...

If I trace those two variables, this is what I get.


Code:
stepN = 1
_global.maxStep[sectionN] = 1
stepN = 2
_global.maxStep[sectionN] = 2
stepN = 3
_global.maxStep[sectionN] = 3
stepN = 4
_global.maxStep[sectionN] = 4
stepN = 5
_global.maxStep[sectionN] = 5
stepN = 6
_global.maxStep[sectionN] = 6
stepN = 7
_global.maxStep[sectionN] = 7
stepN = 8
_global.maxStep[sectionN] = 8
stepN = 9
_global.maxStep[sectionN] = 9
stepN is 10
stepN is 11
As soon as stepN becomes a two-digit number, _global.maxStep[sectionN] no longer gets updated. What's the deal? Am I missing something obvious?

Thanks for any help!

Mathminded

Display Single Digit Numbers With A Zero Before It
Is there a way to make flash put a 0 in front of the numbers 1-9 when it computes a value equal to 1-9? so it would display 01, 02, 03... instead of 1, 2, 3... ?

thanks in advance : )

Appending A "0" To Single Digit Numbers
I have a dynamic text box which displays a number from another part of my movie. The number is normally two digits but can sometimes be a single digit. I want all numbers dispalyed to be two digits, so '1' would be '01' and 2 would be '02'. How can add '0' to the start of all single digit numbers? Would I use concatenation?

Possibly A Bug From 5 To MX, GetMinutes()
ive musta done this 1 million times in flash 5, using getMinutes() and getSeconds() to return a digit and if its less than 10 add a zero in front of it so the clock looks fine.. for some reason in mx no matter what i try .. the swf offline works and as soon as i upload it to my server the 0 that were added dissapear...anyone know maybe something has changed. ive tried serveral ways already.. anyone bump into thisw problem yet?

GetMinutes & GetMilliseconds
Hi all

I've set up a movie at level 0 to load 6 external movies at level 1. The external movie that loads is dependant on what minute the user loads the page. Im using the getMinutes syntax to load the movies and it works fine.

However, i'd like the external movies to change every 12 seconds. Does anyone know of a way to use the getMinutes and getMilliseconds syntax together to achieve this?

The script im using is below:

onClipEvent (load) {
myDate = new Date();
myMinutes = myDate.getMinutes();
trace(myMinutes);
if (myMinutes == 0 or myMinutes == 6 or myMinutes == 12 or myMinutes == 18 or myMinutes == 24 or myMinutes == 30 or myMinutes == 36 or myMinutes == 42 or myMinutes == 48 or myMinutes == 54) {
trace("0-5");
loadMovieNum("../mm1.swf", 1);
} else if (myMinutes == 1 or myMinutes == 7 or myMinutes == 13 or myMinutes == 19 or myMinutes == 25 or myMinutes == 31 or myMinutes == 37 or myMinutes == 43 or myMinutes == 49 or myMinutes == 55) {
trace("6-11");
loadMovieNum("../matineeoffers.swf", 1);
} else if (myMinutes == 2 or myMinutes == 8 or myMinutes == 14 or myMinutes == 20 or myMinutes == 26 or myMinutes == 32 or myMinutes == 38 or myMinutes == 44 or myMinutes == 50 or myMinutes == 56) {
trace("12-17");
loadMovieNum("../supportwhen.swf", 1);
} else if (myMinutes == 3 or myMinutes == 9 or myMinutes == 15 or myMinutes == 21 or myMinutes == 27 or myMinutes == 33 or myMinutes == 39 or myMinutes == 45 or myMinutes == 51 or myMinutes == 57) {
trace("18-23");
loadMovieNum("../cuttingedge.swf", 1);
} else if (myMinutes == 4 or myMinutes == 10 or myMinutes == 16 or myMinutes == 22 or myMinutes == 28 or myMinutes == 34 or myMinutes == 40 or myMinutes == 46 or myMinutes == 52 or myMinutes == 58) {
trace("24-29");
loadMovieNum("../av_girl.swf", 1);
} else if (myMinutes == 5 or myMinutes == 11 or myMinutes == 17 or myMinutes == 23 or myMinutes == 29 or myMinutes == 35 or myMinutes == 41 or myMinutes == 45 or myMinutes == 53 or myMinutes == 59) {
trace("30-35");
loadMovieNum("../supportwhen3.swf", 1);
}
}



Thanks

GetMinutes() Return 01,02 Not 1,2
I am using getMinutes() to get current time. But it returns 1 when I need it to return 01. Is there any funcntion or parameter I can set to do that or do I just have to write a switch statment to deal with this?

I Couldn't Able To Do Control Sound By Using Single Button In Single Frame....
Hai All,

I've developed file with sound control. But i would like to do in single frame control by using buttons.

Actually i've to place mp3 files in each frame and it should be controled by on/off button. When file loading the audio should start play and button should be in OFF state.

When user click the button to make it sound on then audio should play. Every frame will be in stop action. So user will listen audios by clicking next button to go next frame to listem next frame audio.

So If user stops the audio in frame 1 and it should be globally controlled in rest of frames and if sound on globally for next frame audio.

Right now i developed by using:
frame 1:
var my_sound:Sound = new Sound();
my_sound.attachSound("Audio1");

and placed one movie clip in stage. Inside movieclip two button[on and off] in two frames separately.

Inside movieclip frame1:
this._parent._parent.my_sound.start();
stop();

and for ON button:
on (release){
this._parent._parent.my_sound.start();
gotoAndStop(2);
}

Frame2:
this._parent._parent.my_sound.stop();
stop();

and for OFF button:
on (release){
this._parent._parent.my_sound.stop();
gotoAndStop(1);
}

I hope somewhere i did mistake...

Can you please help me on this and give me an idea to make it.

Thanks
Sathish

Get Always The Last Digit
Hello!
Is it possible somehow to get always the last digit of a number?

X = Ord(Digit)-31;
what does this code do?

Two Digit Numbers?
ok, i'm trying to make a timer counter thing for music playing. i finally got it to count right, but i don't know how to make it display 05 instead of 5. for the first ten seconds of every minute, it displays it like this:
2:8
when i would like to display this:
2:08

thanks,
jason.

Getting Last Digit Of A Number
How do I isolate the last digit in a number.
I.e. I have a variable called 'number' that is 24 and i want the 4
(The number never gets above 99)

Getting Last Digit Of A Number
How do I isolate the last digit in a number.
I.e. I have a variable called 'number' that is 24 and i want the 4
(The number never gets above 99)

Digit Precision
hello

i have a problem

i have a number stored in a variable , the number is lets say : 23.56789 and many other digits

i want to round it up to : 23.57

how do I do that in flash ? i only know how to round it up to an integer

please heeelp

Get More Than To Digit With Xml And Flash
Hello

I have this problem getting the numbers from a xml to flash because I only getting two-digit and hay need to get like 8 digit numbers and I dont know what happen.

Here is a example of the code:

var mybook:Number = 0;
var mymagazine:Number = 0;
var mycolor:Color = new Color(mccolor);

function loadXML(loaded) {
......

mybook=_root.bookonline;
mymagazine=_root.magazineonline;


if(mybook>mymagazine)
{
mycolor.setRGB(0x462254);

} else
{
colosito.setRGB(0x45AF23);
}
......
}

WHats The DIGIT Deal ?
Hi ppl,
can anyone tell me what the deal is with maximum number of digits in a number please ? i seem to be able to produce ( and i want to as well) many digit numbers after 0. , but things go screwy with many digits..( not that many really),,
whats the e+ thing as well ?
any help would be FAB !.
cheers again
Shane

Random 4-digit Numbers?
How can I make actionscrip that randomly picks 4 numbers? example such as: "5321" "3124" "1415".

Instance Name Starts With Digit?
I downloaded a MAC dock program from http://jrgraphix.net/research/flash-dock-mx-2004.php

in the Dock.as there is a function used for creating movie clip:




private function createIcons():Void {
var i:Number;
var id:String;
this.scale = 0;
this.width = (this.items.length - 1) * this.icon_spacing + this.items.length * this.icon_min;
var left:Number = (this.icon_min - this.width) / 2;
for(i = 0; i < this.items.length; i++) {
this.createEmptyMovieClip(String(i), i + 10).attachMovie(this.items[i].id, '_mc', 1);
this[i]._mc._y = -this.icon_size / 2;
this[i]._mc._rotation = -this._rotation;
this[i]._x = this[i].x = left + i * (this.icon_min + this.icon_spacing) + this.icon_spacing / 2;
this[i]._y = -this.icon_spacing;
this[i].onRelease = launchIcon;
this[i].useHandCursor = false;
}
}



For """"this.createEmptyMovieClip(String(i), i + 10).attachMovie(this.items[i].id, '_mc', 1);"""", what is the instance name of the movie clip created?

I'm wondering why "0", "1"... etc can be the instance names as for instance names they never start with a digit (although converted to string).

Am I wrong?

Any Way To Do Multi-digit KeyPresses?
Just to verify, I'm not talking about multiple simultaneous keys, like Ctrl + 2. I have figured out how to do that.

What I need is to press two separate digits to activate a button. For example, 1 THEN 5. So when I press "1" nothing should happen but when it's followed by "5" (essentially typing "15" / fifteen) that would activate it.

Is there any way to do this?

Seems too simple to do on (keyPress "1"+"5") { ....

Find Each Digit In A Number
Well, I haven't touched flash in quite a while, and it's all a bit rusty.

Anyway, I have been constructing a digital clock, but I would like to output each digit individually (so I have two digits for hour, minute and second)

My current script is:


ActionScript Code:
time=new Date(); // time object
seconds = time.getSeconds()
minutes = time.getMinutes()
hours = time.getHours()

if (hours>12) {
    hours = hours-12
}

So, if the time is 11:32:47, then I want to have 6 variables (1, 1, 3, 2, 4, 7), rather than 3 (11, 32, 47)

Force Two Digit Numbers
Is there any way to force a two digit number with actionscript? Say, for instance, that I have a for loop that traces the numbers 1 through 9. In the output panel, I only get one digit numbers: 1, 2, 3,...9. Is there any way to make the trace output be 01, 02, 03,...09?

Obviously I could use an if statement to manually add zeros to all numbers that are less than 10, but is there a cleaner way to do it?

Continuous Infinite Digit Counter
Does anyone know how to program a counter like an odometer in a car, starting at zero(0) and ending at 1 billion? I've got no problem with the graphics, just the programing.

[MX04] Should I Use A Digit At The Start Of A .swf File Name?
I seem to recall at the back of my mind that one should not use digits eg. 1picture.swf as swf file names - is that right as i need to use a similar naming stratergy for a series of movies.

Many thanks

Script Not Picking Up 2 Digit Numbers
Hey people!

Pretty much a newbie. i have this script here and heres whats going on in the flash movie, now i dont know how much information i need to include, id rather, and i guess youd rather me not include too much extra stuff would make it really tediuos.

Sooo, there are 10 buttons, click on a button script calls from an xml file the information to display in a textbox, k, cool. Now, up to the 9th button, everything works perfect, but the 10th gets just "undefined" in the text box.

After reviewing as much info as i can, my assumption is the actionscript supplied to me does not register the second digit of the clip art name;
Ex: button 1-9 are named btn1, btn2, btn3, The clickable area is named clip1, clip2, clip3...etc

so i think the problem is when it reaches clip10, it cuts the zero out or something like that... im not 100% sure.

ANYWAY, heres the script, maybe you guys can help me out, there is very limited amount of info here, but maybe u can spot something right away, otherwise thanks anyway. Here it is:


Code:
//Clickables events
fnExteriorDesignClass.prototype.clickablesEvents = function() {
//var len = objMain.IXML.firstChild.childNodes.length;
for (var i = 0; i<12; i++) {
objMain.links_mc["btn" add (i+1)].onRelease = function() {
//trace(objMain.links_mc["clip"add (i)])
for (var i in objMain.links_mc) {
objMain.links_mc[i].useHandCursor = true;
objMain.links_mc[i].enabled = true;
//objMain.links_mc[i].gotoAndStop(1);
}
this.useHandCursor = false;
this.enabled = false;
objMain.selectedObj = this;
var id = Number(this._name.substring(this._name.length-1, this._name.length))-1;
objMain.selectedObj.id = id;
var frameNum = Number(this._name.substring(this._name.length-1, this._name.length))+1;
trace((objMain.selectedObj.id)+1);
objMain.links_mc["clip" add ((objMain.selectedObj.id)+1)].gotoAndStop(2);
objMain.infoObj_mc._visible = 1;
objMain.infoObj_mc.gotoAndStop(frameNum);
objMain.infoObj_mc.heading_txt.text = objMain.clickableXML.childNodes[id].childNodes[0].firstChild.nodeValue;
objMain.infoObj_mc.heading_txt1.text = objMain.clickableXML.childNodes[id].childNodes[1].firstChild.nodeValue;
objMain.infoObj_mc.infoText_mc.info_txt.autoSize = true;
objMain.infoObj_mc.infoText_mc.info_txt.styleSheet = objMain.myCSSSheet;
//assign value of text box
objRoot.selectedObjTextField = objMain.infoObj_mc.infoText_mc.info_txt;
objMain.infoObj_mc.infoText_mc.info_txt.htmlText = objMain.clickableXML.childNodes[id].childNodes[1].firstChild.nodeValue;
//text of glossary popup
objMain.glossaryText = objMain.clickableXML.childNodes[id].childNodes[1].firstChild.nodeValue;
};
}
objMain.PDFLink_mc.onRollOver = function() {
this.gotoAndStop(2);
};
objMain.PDFLink_mc.onRollOut = objMain.PDFLink_mc.onDragOut=function () {
this.gotoAndStop(1);
};
objMain.PDFLink_mc.onRelease = function() {
url = "module_3/pdfs/3.2.1_Exterior_Design_Details.pdf";
windowname = "PDF1";
windowproperties = "width=700,height=500, resizable=yes";
getURL("javascript:window.open('" add url add "','" add windowname add "','" add windowproperties add "'); void(0)");
};
};

//get data from xml
fnExteriorDesignClass.prototype.fnGetDataFromXML = function() {
objMain.textXML = objMain.IXML.firstChild.childNodes[0];
objMain.clickableXML = objMain.IXML.firstChild.childNodes[1];
objMain.heading_txt.text = objMain.textXML.childNodes[0].childNodes[0].firstChild.nodeValue;
objMain.bodyText_mc.body_txt.autoSize = true;
objMain.bodyText_mc.body_txt.styleSheet = objMain.myCSSSheet1;
objMain.bodyText_mc.body_txt.htmlText = objMain.textXML.childNodes[0].childNodes[1].firstChild.nodeValue;
objMain.inst_txt.text = objMain.textXML.childNodes[1].childNodes[0].firstChild.nodeValue;
objMain.PDFLink_mc.text_txt.autoSize = true;
objMain.PDFLink_mc.text_txt.text = objMain.textXML.childNodes[1].childNodes[1].firstChild.nodeValue;
objMain.PDFLink_mc._visible = true;
this.clickablesEvents();
};

Round Number To Specific Digit Num After Zero
hi,
i got an easy question that i couldn't find the answer to.
what line of code do i need to use to change 123.456789 to 123.45.
code
oldNum = 123.456789;
newNum = ???

thx

How Can I Require Input Text Box Only Contain 7 Digit Number?
I need to capture some input text from a user filling out a form, and for one of these fields, the input text has to be a 7 digit number. Can't be less, can only be numerals. And I want to have a dialog come up if they put in something else, telling them what they need to enter.

Any thoughts on how to do this?

[help] Single Key Press, Single Action
Hi again: i looked this up in the search before asking but with no results, but maybe it's been asked before, don't know. The following code

code:
tecla= new Object();
tecla.onKeyDown = function(){
if (Key.isDown(90) && acc != true) {
prota.gotoAndStop("izq");
acc = true;
}
}
Key.addListener(tecla);


triggers the action animation for a character, in whose last frame of movement resets the check with "_root.acc=false". But if you keep the key pressed, it will constantly perform the action (like if it had turbo or rapid fire activated), and i want the user to press the key each time. How can this be done?

Thanks in advance

Sir Patroclo

[help] Single Key Press, Single Action
Hi again: i looked this up in the search before asking but with no results, but maybe it's been asked before, don't know. The following code


ActionScript Code:
tecla= new Object();
tecla.onKeyDown = function(){
    if (Key.isDown(90) && acc != true) {
        prota.gotoAndStop("izq");
        acc = true;
    }
}
Key.addListener(tecla);

triggers the action animation for a character, in whose last frame of movement resets the check with "_root.acc=false". But if you keep the key pressed, it will constantly perform the action (like if it had turbo or rapid fire activated), and i want the user to press the key each time. How can this be done?

Thanks in advance

Sir Patroclo

Are Strings Arrays? 4 Digit Date To 4 Element Array?
Getting my feet wet in actionscript and see that it sure resembles javascript, which, if I remember correctly lets you access each individual characters in a string as an element in an array. Can this be done in actionscript?

what I'm trying to do is turn the .getFullYear (2001) into some sort of form where I can access each individual number, be the 2 the zeros or the 1.

Displaying Empty Digit Fields In Dynamic Text Field
Hi guys,

Here's a teaser for ya.

I have a dynamically counting down text box which cycles from 999999 to 0. However, I would like all six character spaces to be filled, regardless of the number (e.g. 0XXXXX, 000XXX, 00000X etc).

I've tried using 0.999999 and then masking over the digits AFTER the '.', but Flash MX doesn't seem to like masking dynamic text boxes (nothing at all displayed).

Any ideas, lateral thinkers?

Lewis

Controls Not Showing Up On Page, But Showing Local And Via Direct URL. Why?
Hi everyone,

I'm new here, but a Flash guru I work with said this was the best site for Flash questions and answers.

My understanding of how FLA, FLV and SWF files communicate with each other is somewhat limited, but I get the general concept.

I turned an 11 minute video clip into a FLV file and it looks great (320x240, 30 frames, good audio settings). I then brought it into Flash 8 and chose the clear control overlay and then saved the FLA, the main SWF and the control SWF. I have all four files. All in the same folder. Locally, and on my web server.

Here's the catch. If I double click the SWF file locally, or enter the URL directly, I see the control bar. If I access the page where the SWF is both Object and Embedded, there is no bar. Because I can see the bar locally in Flash Player, and with three browsers (Firefox, Safari and Opera) with a direct URL to the main .SWF video file, I know the coding from Flash 8 was solid and the files are communicating properly. Therefore, my hunch is that I need to add a line of HTML or swap out some parameters in the page source. I see no settings in GoLive (which I know pretty well at this point) that reference controllers or secondary SWF files; i.e., the control bar SWF.

The file is both "embedded" and an "object" when I put it into the HTML layout in GoLive.

Any idea what I did wrong? I know it's one of those simple settings somewhere, but after eight hours of going back and forth, saving and resaving, I'm pretty frustrated. My web software is Flash 8, Flash Player 8 and GoLive CS2.

Any guidance is appreciated. This one stumped my Flash buddy too.

Thanks to all, and I hope I gave enough info. I usually tend to type WAY too much stuff!

Gary

Setting Variable Score = Score + 1 Justs Adds Another Digit With 1
I am trying to work on how to add 1 each time to a text. I used the variable name score and a button has this command :
(on pressing the button) score = score + 1

It changes the text of score but each time you click it, it adds a new digit. this is the example of the first four times.

0 01 011 0111

Can anyone help me? My goal is to make it become

0 1 2 3 and so on.

Thank you

Tween Not Showing, Only Key Frames Showing
I have a tween of a panel that comes into view on rollover of a button. The panel is of course masked, nothing out of the ordinary, and indeed all worked fine up until about 10 minutes ago.

Now i cant see the tween, i only see the panel when it is fully extended - rolloff the button andthe panel does not slide away as it used to with a tween but instead just disappears.

Does anyone know why this would happen.

I have been working with Flash5 for the past 9 months so am not a novice, but i have never encountered this before.

It is really weird, if i view the movieclip within the library window, everything plays fine, however out on the stage i only get the key frames of the animation.

Any views?>......

Single Keypress
i have done this before but i cannot rememebr how the hell to do it.

basically how do i make a keypress that will only work once? like if i press it it will perform an action but if i HOLD it down it will NOT perform the action. so if you hold the button down the action will only run once and not over and over. how do you do this?
many thanks

Help Making Single Mc's....
i am making a game. the cursure is a movieclip with a picture of a knife. when you click on the stick man it goes to the next frame and also goes to the next frame in the movie clip that is the cursure so the knife chops down on him. i repeated this by making several frames in the main timeline and every frame after the last the body would be more butcherized. I need to know how to make single body parts to do the same thing when you click on them
-thankyou!
-
-
-
here is the link to the game
http://www.newgrounds.com/portal/view.php?id=134874single

No Timeline...just Single Dot For All
Hi folks....

This one may be a simple click away in solving but i've spent all today on it with no luck !

Basically, the timeline information has all disappeared, bar a single dot (like a Keyframe) denoting a couple of grouped titles.



For example:
Say the movie had the following layers plus associated timeline events:
------------
button1
button2
button3
gun picture
sound of gun
------------


Well now it will just show as something like

----------
the movie
background
----------


with just 1 dot instead of the events !
The movies still work but i can't edit anything !

Please help

Trying To Get Even A Single Response...
Hello-
I posted this in the site check forum, trying to get some comments, criticism, or suggestions on my first flash animation. Unfortunately, no one was interested enough to give me any feedback on my project. Maybe I'll do better on this forum.

Fuzzy Math is sort of a music video, using the real voice of President Bush, rapping the straight truth. After seeing Jibjab's "This Land," I got inspired to attempt something along the same lines for this song. If anyone has any response to this thing, I'd love to hear it. Fuzzy Math is here:

http://www.thebots.net/FuzzyTest.htm

thanks
bc

Help Single Loader
Hi I have a problem I made my hole page on flash. Then I made some little movies swf. and their are all linked to mi index flash.

the problem is. Everytime someone hits the button, it takes to long to load movie, they are really big about 300 kb each. How can i put apreloader, or a loading animation, sincronized, everytime they hit the button and flash try to load_movie.

Thnks

ramon@produccionesir.com

Single Scene
can someone please tell me how to export a single scene?? or how to open an external swf. at a diffrent scene??????

Single Scene
can some one tell me how to export a single scene or to load an external swf. at a certain scene???

Single SWF Global Nav?
I'm using SWFObject 2.0 to embed Flash. It's working well.

Now I want to use a single SWF file to control global navigation, while still being able to use highlighted tabs, etc.

I know I can use SWFObject to call upon different options in the SWF, but I'm not sure how to set those options up (named keyframes?) and how to call them out in SWFObject.

You can see the site at www.cubpack54.org.

Thanks!

[F8] LocalConnection Within A Single SWF
First off, I know this isn't standard practice. Basically, I have a flash app that I want the user to be able to open only one running copy at a time. If they load it and then open the same page again in another window they will obviously be able to do so. By using LocalConnection I would hope to stop the app loading any further if it is found already to be running.

So I was wondering whether I could set up a LocalConnection that would basically send and receive within this single SWF.

I could make a workaround by creating a loader for the app and using a LocalConnection between the loader and the main app. But if two windows are loaded simultaneously, both loaders would detect no main app and run as though they were the only app loaded.

Thanks for any thoughts on this.

Put .swf And Resources Into Single .swf
Hi all,

I decided to try out Articutlate's excellent Quizmaker '09 which has a very generous 30 day trial, I created my content and then went to publish but got a .swf file and a separate folder with a bunch of resources in it. Normally when I create my animations or static graphics in Flash I save it out as a single .swf file which is then imported into an e learning software. I have looked high and low for a solution but the Articulate software only saves Flash files using this method, sadly no .fla support! There reasoning is because of the size limitations within Flash but the file I am trying to create is very small and doesn't need to connect to a database, so I just wondered if anyone knew of a method of taking all the resources and recompiling into a single .swf file?

Thanks in advance for any reply

Fps In A Single-frame App
Hi guys.

I'm developing an app in flash, and it only has a single frame in the timeline, everything is scripted.
Since it's my very first flash work when i started it i left the "fps" settings in my main fla in the default 12fps that Flash8 has. Now i have a few dragable components into my stage and they are working great but if i wonder if increasing the fps would do the drag looks more smoothly... because i've read that fps determines the "refreshing" of everything, Is that true?

If it is..are there any cons on increasing fps?
In the other hand those dragable elements are imported to library from other fla's...is there any difference changing those fla's fps?

Thanks!

Compiling .Exe As Single App
Hi All,

I got a project coming up which will require me to compile all my swf & path as a single exe application for use on the desktop, Any Ideas How?

Any help will be greatly appreciated, Thanks!





























Edited: 03/30/2007 at 01:23:32 AM by Non-nelson

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