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




SWF File Appears To Loop When On The Server



Thanks for checking this post out.

I am designing a relatively complex Flash site. During the development stages, I hosted the files at http://www.russcooper.net. There, everything was working as expected. This morning I uploaded the files to the real URL to be used: http://www.russcooperinc.com.

The exact same swf files and HTML file were uploaded to the new domain and THERE the swf appears to be looping the root timelime indefinitely. Both of these domains are hosted on the same server, however, the problematic one has a dedicated IP. I don't know if that is an issue, but other than that, I can't see any difference in these two domains.

There is nothing in the flash file to cause this loop or it would loop on the test domain as well. I'm lost, and today is the interim presentation to the client. Hope someone has some insight!!!
Thanks again.
Ken Adcock
(843-345-9196 - if you want to call)

ps. The FLA file is 7.9 MB. I can email it to anyone who thinks the problem might be there.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 08-06-2004, 10:41 AM


View Complete Forum Thread with Replies

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

SWF File Appears To Loop When On The Server
Thanks for checking this post out.

I am designing a relatively complex Flash site. During the development stages, I hosted the files at http://www.russcooper.net. There, everything was working as expected. This morning I uploaded the files to the real URL to be used: http://www.russcooperinc.com.

The exact same swf files and HTML file were uploaded to the new domain and THERE the swf appears to be looping the root timelime indefinitely. Both of these domains are hosted on the same server, however, the problematic one has a dedicated IP. I don't know if that is an issue, but other than that, I can't see any difference in these two domains.

There is nothing in the flash file to cause this loop or it would loop on the test domain as well. I'm lost, and today is the interim presentation to the client. Hope someone has some insight!!!
Thanks again.
Ken Adcock
(843-345-9196 - if you want to call)

ps. The FLA file is 7.9 MB. I can email it to anyone who thinks the problem might be there.

String-Object Appears When The Movie Passed First Loop
Hi there.

My flash movie loads a variable from an external text file (in the first frame). In the second frame I made a new String object and give the consructor the variable from the text field (is '9675'). Then I made a text field (dynamic) and linked it to the string object (to display it).

Now the curious:
The text field don't display the string object immediately. But when the movie has played once and start again, it is displayed.

How can I display the string object immediately?? (It has to be a string object because I want to operate with it in future)

Thanks for helping...

OleS.
[Edited by OleS on 03-21-2002 at 11:37 AM]

.txt File Appears Only After Refreshing
For ease of client updating I am using a simple text document for current news headlines on the clients home page. However when they go to the test site the text does not appear, but if they refresh or come back to the page then the headlines appear. The site uses several layers (5) with the txt file set to the same layer as the .swf file asking for the headline .txt file. Also for ease of client use I have put what I am calling the "Blog" section into its own separate folder and again the text file used in that section into a separate folder within. (In hopes that the client won't delete or update any files other than this one by saying it's in the "headlines" folder... I know wishful thinking)

The problem that I am having is that on all of my office computers (PC and Mac's) the problem is not happening? The text shows up nice and clear? And on 20% of their computers it's working fine?

Any suggestions?

Preloader File Appears, Then Disappears
Hi all! I just launched this site, and i'm having some serious issues with it. My preloader pops up briefly, then completly disappers, you have to refresh the browser in order to view it.

Here is the code that I am using for that particular section
Code:

MovieClip.prototype.LoadCube = function(targ, swf, func)
{
   targ.loadMovie(swf);
   var trig = function()
   {
      if(targ.getBytesLoaded() == targ.getBytesTotal())
      {
         func(targ);
         clearInterval(targ.inter);
         
      }
   }
   targ.inter = setInterval(trig, 1);
}
var cube1func = function(targ)
{
   var t = _root.cubetainer;
   var trig1 = function()
   {
      targ.gotoAndStop("beginMovie");
      t.targ = _root.cubetainer2;
      clearInterval(trig2);
   }
   var trig2 = setInterval(trig1, 1000);
}
var cube2func = function(targ)
{
   _root.smallloaded = true;
   if(!_root.isplaying) _root.cubetainer.play();
}
_root.LoadCube(_root.cubetainer, "largeCube.swf", cube1func);
_root.LoadCube(_root.cubetainer2, "smallCube.swf", cube2func);

_root.cubetainer2._visible = false;

logo_mc.onRelease = function () {
      
      _root.cubetainer2.loadMovie("smallCube1.swf");
      _root.cubetainer._visible = false;
      
       }



stop();

I think what is causing this is the file size of the rotating cube.swf file which is loaded into a mc on my main stage. I recently purchased flash optimizer to reduce the file size, which worked out kinda ok.

Is there and error in the above code, which might cause the preloader to appear, then disappear?

Also! Is there a better method to reducing file size of animated swf files?

Thank you all,
Mikro

File Size Report Appears Inaccurate?
hi,

i'm trying to reduce the size of my SWF... it's currently 53,470 bytes (53k) when i check the size on my desktop, but it should be a lot smaller according to my size report.

i've attached the size report below.... i totalled everything up and got 38,123 bytes. did i miss something? why is my size report telling me that my movie is smaller than it really is?

Movie Report
-------------
FrameFrame # Frame Bytes Total Bytes Page
------------ ----------- ----------- ---------------
1 56117 56117 Scene 1
2 314 56431 2
3 15 56446 3
4 2 56448 4
5 41819 98267 5

Page Shape Bytes Text Bytes
----------------------- ----------- ----------
Scene 1 0 797

Page Symbol Bytes Text Bytes
----------------------- ------------ ----------
loadhere 0 0
info 0 0
confirmation 0 333
shoppingInfoButton 35 115
viewCartButton 169 47
shoppingCartButton 1439 51
shoppingMenu 37 63
buttonBackground 0 0
invisibleButton 0 0
image 50 0
loader 79 164
GemTransparent4.swft 0 0
confirmationBackground 45 0
Close 36 86
mc,custonButton 0 0
mc,placeholder 0 0
ComboBox 0 0
FScrollSelectList 0 0
ScrollBar 0 0
fsb_DownArrow 0 0
fsb_downArrow 0 0
fsb_downArrow_face 0 0
fsb_downArrow_arrow 46 0
fsb_downArrow_leftIn 0 0
fsb_downArrow_rightIn 0 0
fsb_downArrow_rightOut 0 0
fsb_downArrow_leftOut 0 0
fsb_downArrow_press 0 0
fsb_downArrow_press_leftOut 0 0
fsb_downArrow_press_rightOut 0 0
fsb_downArrow_press_rightIn 0 0
fsb_downArrow_press_leftIn 0 0
fsb_downArrow_press_face 0 0
fsb_downArrow_press_arrow 50 0
fsb_downArrow_disabled 0 0
fsb_downArrow_disabled_leftOut 0 0
fsb_downArrow_disabled_rightOut 0 0
fsb_downArrow_disabled_leftIn 0 0
fsb_downArrow_disabled_rightIn 0 0
fsb_downArrow_disabled_face 0 0
fsb_downArrow_disabled_arrow 47 0
fsb_ScrollThumb 0 0
fsb_thumb_top 0 0
fsb_thumb_top_leftOut 37 0
fsb_thumb_top_rightOut 0 0
fsb_thumb_top_leftIn 0 0
fsb_thumb_top_rightIn 0 0
fsb_thumb_middle 0 0
fsb_thumb_mid_leftOut 0 0
fsb_thumb_mid_rightOut 0 0
fsb_thumb_mid_rightIn 36 0
fsb_thumb_mid_face 0 0
fsb_thumb_mid_leftIn 0 0
fsb_thumb_bottom 0 0
fsb_thumb_bottom_rightIn 0 0
fsb_thumb_bottom_rightOut 38 0
fsb_thumb_bottom_leftOut 30 0
fsb_UpArrow 0 0
fsb_upArrow 0 0
fsb_upArrow_face 0 0
fsb_upArrow_arrow 45 0
fsb_upArrow_leftIn 0 0
fsb_upArrow_rightIn 0 0
fsb_upArrow_rightOut 0 0
fsb_upArrow_leftOut 0 0
fsb_upArrow_press 0 0
fsb_upArrow_press_leftOut 0 0
fsb_upArrow_press_rightOut 0 0
fsb_upArrow_press_rightIn 39 0
fsb_upArrow_press_leftIn 38 0
fsb_upArrow_press_face 34 0
fsb_upArrow_press_arrow 50 0
fsb_upArrow_disabled 0 0
fsb_upArrow_disabled_leftOut 39 0
fsb_upArrow_disabled_rightOut 39 0
fsb_upArrow_disabled_leftIn 38 0
fsb_upArrow_disabled_rightIn 39 0
fsb_upArrow_disabled_face 42 0
fsb_upArrow_disabled_arrow 47 0
FUIComponent 0 0
Component Version 0 0
fsb_ScrollTrack 0 0
scrollTrack 37 0
FSelectableList 0 0
DataProvider 0 0
FSelectableItem 0 0
FHighlight 0 0
Highlight 37 0
FComboBoxItem 0 0
FLabel 0 109
FBoundingBox 39 0
boundingBox 38 0
ComboBox Name 94 0
pill button 0 79
midshadow 321 0
sideshadow 429 0
button - middle 0 0
mid color chip 36 0
mid bottom hilite 54 0
mid top hilite 53 0
button - side 0 0
sidecolorchip 46 0
side bottom hilite 61 0
side top hilite 62 0

Bitmap Compressed Compression
----------------------- ---------- -------- -----------
sc10.jpg 28459 342544 Imported JPEG
Tweened Shapes: 83 bytes


Sound name Bytes Format
----------------------- --------- ----------
_sans 20
FFF Harmony 2821 !$().04569>CEGNPSUYabcdefghiklmnopqrstuvxyz
Kabel Book 1048 .ACDGHILNOPRST
Amiga Forever Pro2 0 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~_ _

Why Is There A White Flash Before .swf File Appears In HTML?
Here is the URL to see the page. http://www.visim.com/ironrealms/imperian/default.htm

Only "main" and "features" in the main tab currently work. When you click on them the area where the .swf menu is turns white for a split second and then shows the menu. The top area which is also in flash doesnt do this. Why is the menu doing this?

Also when you first view the page notice how the main area is sitting. When you click on one of the swf buttons the page shifts a bit, any ideas on this one as well?

Thanks for any help.
Neil

Let The OBJECT Arrives B4 Text Appears. HOW? [file Attachment]
Here the copy of fla file for you to review and hope that one of you can solve two problems. I try to get the object arrive before text appears. I believe it is possible as long as I use "onload..." after loadMovie is completely loaded.

Please let me know what I have missed or show us how you do it.

Thanks

Mel

Scrollbar Tutorial: Html Appears In External File
hiya!

i've used your great "external file with scrollbar UI component" tutorial. text appears and scrolls. thanks alot!

but i want to use the allowed html in the external file: bold, a href, font, etc.

i'm horrified to see that even with the html option selected, when you attach the scrollbar UI to the textfield, the html reverts to code! no bold text but the html code displays! yikes!

any workarounds?

tia,

f

What Dimentions (width X Hight) I Should Use For An Animation File So It Appears Correctly On Tv. Help Please
Hi every1
well i'm just asking a beginner question.
what to prepare for a file wich will be played on tv. ( i knew that there is some things i should do in order to publish it correctly on tv so no errors happen while playing)

I'm making an intro to be shown on tv. i'm using flash and imageready and 3ds max.
but the question is : what are the dimensions i should use so that the animation shows correctly on tv.

I mean the width and the hight of the file. please help coz i really need this info.
and if there is any other things i should do in order that it appears correct on tv, please tell me.

Oh is there any things i should do like 3ds max, i mean while rendering i have to choose pal instead of custom or secam.

so please tell me what i should do in flash and imageready to produce it right.

Note: what i'm doing will be for tv. and not for web !


and i'm so thankfull.
thanks to every1 who will help!

Inserting Pix @ Scrollbar Tutorial: Html Appears In External File
is it possible to include pictures with this scrollbar tutorial: html appears in external file



thanks,

mknewbie

How To Reveal A .swf Server Directory Behind A Host Html Index File To Save A Flash File To HD?
I FIND YOUR FLASH FORMAT EXTREMELY USER-UNFRIENDLY.
I spent two weeks to figure out how to save a complete .swf file to my local drive.
Finding 48 files behind a main html doc hosting those .swf's took 48 hours.
(Now I can't move my arm anymore due to RSI!)

No application to save a Flash file, seems to be able to do that in 1,2,3 convenient steps.
I always get bits and pieces or individual graphics.

I NEVER GET THE ENTIRE MANUAL the way I can browse the Flash file in my browser.
I am seriously thinking of never browsing a Flash file again if there is no solution to download e.g. a manual of my digital camera. I have the right to browse such a file at my convenience either on or offline! Online it's just impossible due to server overload.

Now I only get the desadvantages of the format to deal with (e.g. tons of spamming advertising) whereas I should be able to enjoy the benefits. Eventhough I gave the manufacturer the right to fill up 10 MB on my drive, I never got a file on my PC. And even when I did, I wouldnt know where to find it...
I hope Adobe would listen to the user more often...

WHY DON'T YOU BUILD SOLUTIONS AS EASY AS A RIGHT MOUSE CLICK
ALLOWING FOR SAVING A FLASH FILE!
That can't be rocket science, is it?

Thank you for paying attention to your customers.





























Edited: 10/29/2007 at 11:45:18 AM by VOGAN

HOW TO DISABLE "..press Spacebar To Activate This Button" That Appears On My Swf File
Hi... i don't know which category should i post this, but since im using mx2004 I just posted it here.

Why do my swf files need to be activated by clicking with a mouse or spacebar while i see other pages like yahoo no longer requiring the user to do it?

Please tell me... i know this may seem simple to others but I don't have any idea how to fix it.

Thanks

BUDDY

Local Flash File And File Installations From A Server
Hello all, just a query that I have.

Is there any way for a local Flash file to communicate with a server and download a file, and then install it in a predetermined directory?

For example, if a file package BOOK1 is available on a server, can I get Flash to download it and place it in the current directory that it is in? Will this require network sockets or passing of variables between javascript or the like?

Thanks in advance.

Stream Works From Local Desktop To Server But Not Server To Server
I have flash media server running on linux. If I launch a test application from my desktop that points to the flash media server (rmtp://myserver.com/live) it works beautifully. However, If I launch an application from my server(http://myserver.com/myapp) and have it point to my flash media server (rmtp://myserver.com/live) i get a rejected from server error. Does anyone know why this would behave like that and how it might be fixed? Thank you.

Getting A .exe File To Log Use On A Remote Server
Let me explain,

I currently design a flash promotional card for a client who regularly sends it out to 100 or so of their clients.

The file is simply an .exe attachment on an email.

While they can measure the email side of things, they want to know if there is any way they can see exactly how many people play the .exe

Thus i am wanting to know if anyone is aware of a way to code some sort of function in action script that will enable this.

Ideally it would gather the users ip and log this info on a remote server or something. (reason for the IP info is simply to eliminate repeat viewing counts - they only want unique views)

Anyone know if this is possible (or ethical for that matter)

Cheers

P

Do I Have To Upload The .swf File In My Server?
i ve got a problem uploading my files in my server, my question is do i have to upload the .swf files in my server? or just the .html files only? i need help..urgent!

Saving A TXT File To A Server From An SWF
Is their a way that flash can save to a .txt file on a server????

Sending A Txt File To The Server From F4.swf
Goodday Flashers,

Is there an EASY way to send variables as a .txt file from a (flash4) swf to the host server?

Please help me.

Greetings from Holland
REDNAS

Loading A Txt File From A Server
is there some how i could load a txt file into a dynamic text box off a server i know you can do this with jpgs and swf with scroll pane but i want it to be txt so people with ftp access to the server can modify it easily or possibly load a html file?

and if you made a login area beable to modify the text/html file?

Is It Possible To Access File From Another Server
Hi gurus, Pls clear my doubt

Actually my flash movie accessing message from external file that is text file. Its working fine, but right now i need to host in different server mean domain name. So its possible to access the external file through another website.

i hope u'll clear my doubt

thx
sathish

Link To A File On My Server
I have a button in my flash movie that i want to link to a mp3 file on my server. my current config is this (On Release)(get url http://server.com/folder/file.mp3) when you click the button it starts to play the mp3 file. I want it to give the user the option of downloading the file, or playing it. is there a something special that has to be done to make this happen? I have posted in 2 boards and gotten no response. Help Please.
Thanks.
Sean

Downloading A File From Web Server
Hi there !!
In my Flash website i have put a link for a .ppt file which is on the server.

My customer wants that any user who clicks on the link for this .ppt file, the dialouge box should be having the same location for saving.

This means that the ppt file has to be saved in (c:windows emplates)

How can i control that the user save it in the same folder ?


any one.....

Loading An Mp3 File From A Different Server: Is This Possible
By default flash will not allow you to load a sound from a different server. Can this be done using actionscript?

Currently I have a file:
mySound.loadSound("sound/sound.mp3", true);

this file has been moved to a different server while the flash file is on a different server. I need to do something like this:

mySound.loadSound("//servername/sound/sound.mp3",true);

Thanks.

Php Reading File On Server
ok i was wondering if there is a way to have a php file read what is in a certain folder on your server and then display a link to them using the file name, i am sure there is a way i am just clueless how

Download File From Server
I'm creating a Flash site that is to be the Flash version of a basic html site. On the html site there are links to .doc files and .lsn files (CBT lessons), when the user clicks to open a file a box pops up - do you want to download or open this file?

Is there a way to do this in Flash?

I have tried creating a button with getURL and put in the file name but it opens and then crashes my browser.

Help Saving A File To The Server
we need to be able to save to our server from the program we have on the net. so if someone designs a window they can hit save and it will save it to our server

is there anyway this can be done??

to see what we are trying to do go here

www.middlefieldglass.com

and then click on high speed dsl
then on any of the doors
then on the door that appears on the stage

you will then be able to design that door and what they want to do
is when a person is done designing that door for that image to be saved along with the information provided to a spot on our server only becouse we can not find a way for the user to email us what they have done.

How To Upload A File To The Server
What I have is an application that updates an XML file sends it to a PHP to save thi data to the server. For each entry, there is an associated file that needs to be uploaded to the server also. HOW can I do this? I know PHP will handle uploads, I am not exactly sure how yet( another language to learn and digest ) how may I let the user browse for the file to choose? Maybe a lil java applet or script can do this, I think All I need is the path and then send that info to the php script to grab??? This project NEEDS this upload... ANY IDEAS would be most helpfull on how this can be accomlished. I am using Flash MX as the front end and PHP on the server to write the updated XML file..

Thanx for your time

I see a browse on this post message page... what do I need to do?

Can AS See If There Is A Text File On The Server...
i'm just wondering if it's possible for some AS to check to see if there is a text file on the server... if there is, i'd like a MC to play, which would then load the contents of the text file...?

this is for an events calendar; i'd like to save the text files with a file name that is the date (29.01.06.txt for example), and for the Flash movie to play and load the contents into the calendar if such a file exists.

if anybody's got any better suggestions for making such a calendar... that's very easy to update/add to, that'd be great!

cheers

Txt File Not Opening In The Swf Once On The Server
have made a scrolling text box and a txt file to open inside it. everything works fine on my hard disk but once on the server the swf file doesn't open the txt file??
check out
www.restumping.com.au
click "what are my options" and you'll see the empty scrolling text box. the swf file is called options.swf you can view that on the server at:
www.restumping.com.au/options.swf
and the text file is
www.restumping.com.au/options.txt
its a mystery to me.

Calling A Php File On A Different Server....
I am trying to get a call to a PHP file that is place on a different server.... but I am running into the sandbox security issue. I have tried to deprecate my flash code to Flash 6 thinking the security would be lower.... but I just cant figure it out.

How do I call a PHP file on a different server and not getting security raped?

Read A File From A Server
I'm stuck in reading a text/ASC file from a remote server.

1. I'm able to read the file if write the address as
http://www.somesite.com/file_abc.txt
2. The problem is I know the ftp address as '125.254.745.659'and have used also as
ftp://www.111.256.369.145.com/file_abc.txt
or
http://258.123.789.369/file_abc.txt

but doesn't work.

Store .as File On My Web Server
Hi - can I store .as files on a web server so that our distributed developers can share resources?

Uploading Swf File To A Server
Hello guys,
What would be the best way to upload a swf file to a server and how please?

.swf File Will Not Upload To Server
I'm using Dreamweaver CS3. I'm new to Flash and It seem that every time I take 3 steps forward I have to take one back. I've inserted the .swf into the html page, where it resides inside a cell within a table. It plays there, and in Preview In Browser.

I've uploaded the .html page to the server but the movie (and all the code relating to it) will not go along with the rest of the page contents. There is no trace of any movie coding anywhere on that .html page on the server.

I have three other Flash movies on this site, all on different .html pages. All the elements of all the Flash movies are in their own folders, all of which reside in one single Flash folder. The other three movies play successfully on the server.

And on my computer, in Dreamweaver Code View, the correct path to the .swf file is present. But, only for that one movie, none of the Flash movie code will upload to the server.

Hoping someone can help... Thanks... oslavens

[F8] Creating A File On A Server
How could I use AS to create a file on a server?

Cheers.

Writing To A File Without Going Through Server
I am trying to write to a file without using a php script (or anything server-side), as my swf is intended to be a stand-alone front-end for a Win32 app.

In an ideal world I would like to have the Fscommand functionality of version 5, but that is unavailable in MX2004.

I appreciate that I have posted along these lines before, but I have tried to be more concise, and as clear as possible this time (I shan't be starting another topic of this ilk after this one)

More detail:
I would like Flash to write to a .bat file- passing it the appropriate values- to open .exe files (which could be anywhere on the system - I don't want to move anything into a specific folder).

I am convinced there must be a work-around... even if it involves 3rd party tools like Zinc, JScript... anything that doesn't involve server interaction.

Many, many thanks for your expertise and continued patience.

Loading As File On Server
Hi,

maybe this is a stupid question but it is possible to put a .as file on the server that a .swf on the same server can load?

Thank

Web Cam Capture To Server File
Can I capture video from a web cam directly or indirectly to a server file using an Action Script?

If so where can I find some sample code?

If it is not possible then ... how are these guys doing it? http://www.agriya.com/youtube-clone-...-myspace-clone

How To Read A File From Server
I'm stuck in reading a text/ASC file from a remote server.

1. I'm able to read the file if write the address as
http://www.somesite.com/file_abc.txt
2. The problem is I know the ftp address as '125.254.745.659' and have used also as
ftp://www.111.256.369.145.com/file_abc.txt
or
http://258.123.789.369/file_abc.txt

but doesn't work.

URL Help To Link To MP3's On A File Server
I need help!

All of my mp3's are on a GMail File Server, but I need help in adding the url's to link them so they can stream!

Here is the actionscripting

ActionScript Code:
onClipEvent( Load ){
function playSong () {
    if (playing == "false") {
        s.stop()
        s = new Sound ()
        s.loadSound(songList[i],true)
        songTitle = songDesc[i]
        songNum = i + 1
        playing = "true"
        }
    }
function stopSong () {
    s.stop()
    playing = "false"
    songTime = "00:00"
    songTitle = "No Song Loaded"
    songNum = 0
    }
function nextSong () {
    if (i < songList.length - 1) {
        i++
        } else {
        i = 0
        }
    playing = "false"
    playSong ()
    }
function prevSong () {
    if (i > 0) {
        i--
        } else {
        i = songList.length - 1
        }
    playing = "false"
    playSong ()
    }
artist = "Bruce Faulconer"
album = "The Best Of Dragonball Z Volume I"
songData = new Array ("mp3/01_Dragonball_Z.mp3","mp3/02_Call_Out_The_Dragon.mp3","mp3/03_Future_Trunks.mp3","mp3/04_Gohan_Fights_Frieza.mp3","mp3/05_The_Makyo_Star.mp3","mp3/06_Garlic_Jr._Theme.mp3","mp3/07_King_Cold.mp3","mp3/08_Frieza's_Revival.mp3","mp3/09_Heroic_Trunks.mp3","mp3/10_Android_16.mp3","mp3/11_Perfect_Cell_Runs.mp3","mp3/12_The_Howling.mp3","mp3/13_Android_17_&_18.mp3","mp3/14_Destruction.mp3","mp3/15_Gohan_&_Icarus.mp3","mp3/16_The_Cell_Games.mp3","mp3/17_16_Rips_Off_Cell's_Tail.mp3","mp3/18_Vegeta's_Theme.mp3","mp3/19_Vegeta_Powers_Up.mp3","mp3/20_Vegeta_Super-Saiyan.mp3","mp3/21_The_Dragon_Theme.mp3","mp3/22_Hyperbolic_Time_Chamber.mp3","http://mail.google.com/mail/?view=att&disp=attd&attid=0.1&th=10547fe9a453a118","mp3/24_Super_Namek.mp3","mp3/25_Pikkon's_Theme.mp3")
trackDesc = new Array ("Dragonball Z","Call Out The Dragon","Future Trunks","Gohan Fights Frieza","The Makyo Star","Garlic Jr. Theme","King Cold","Frieza's Revival","Heroic Trunks","Android 16","Perfect Cell Runs","The Howling","Android 17 & 18","Destruction","Gohan And Icarus","The Cell Games","16 Rips Off Cell's Tail","Vegeta's Theme","Vegeta Powers Up","Vegeta-Super Saiyan","The Dragon Theme","Hyperbolic Time Chamber","Goku's Spirit Bomb","Super Namek","Pikkon's Theme")
i = 0
vol = 52
playing = "false"
songTime = "00:00"
songTitle = "Press play to start playback"
songNum = 0
songList = songData
songDesc = trackDesc
}
onClipEvent( EnterFrame ){
_root.vol_clip.gotoAndStop(vol / 4)
if ((volChange == "up") & (vol < 100)) {
    vol = vol + 4
    }
    else if ((volChange == "down") & (vol > 0)) {
        vol = vol - 4
        }
if (playing == "false") {
    _root.play_status.gotoAndStop(1)
    } else {
    _root.play_status.gotoAndStop(2)
    }
if (playing == "true") {
    total_bytes = s.getBytesTotal()
    loaded_bytes = s.getBytesLoaded()
    if (total_bytes > 100) {
        display = Math.Floor(loaded_bytes / total_bytes * 100)
        }
    }
if (playing == "true") {
    songCount = new Date ()
    songCount.setTime(s.duration - s.position)
    songMinutes = songCount.getMinutes()
    songSeconds = songCount.getSeconds()
    if (length(songMinutes) == 1) {
        songMinutes = "0" + songMinutes
        }
    if (length(songSeconds) == 1) {
        songSeconds = "0" + songSeconds
        }
    songTime = songMinutes + ":" + songSeconds
    s.setVolume(vol)
    }
clockTime = new Date ()
clockHours = clockTime.getHours()
clockMinutes = clockTime.getMinutes()
if (clockHours > 12) {
    clockHours = clockHours - 12
    }
if (length(clockMinutes) == 1) {
    clockMinutes = "0" + clockMinutes
    }
clockTime2 = clockHours + ":" + clockMinutes
}

Getting Text From A .txt File On Another Server
Hi - I have a news ticker that pulls text from a .txt file.

Is there a way to make flash pull the text from a .txt file on another server (other than the one where the swf resides)? - I assumed that one would just have to update the path within the Flash movie but that don't seem to work.

Any help or suggestions welcome...

Storing An Xml File On Server
this may sound like a very stupid question, but i have this xml problem :
i just finished eas1 & 2 and now i'm just starting to experiment with all this new knowledge ... So i want to make a simple counter which tracks the number of times that a link has been clicked. I'm convinced that you can't use a flash program to keep track of this number because all the variables are resetted once you leave the program. Or am i wrong here?
So i thought about using an xml file that i store on a server, and everytime someone opens the .swf containing the link that i want to track, this xml file is read. the xml simply has two nodes with the name of the link and the number of times it has been clicked. So whenever the .swf is opened which contains the link to track, it reads the xml, and if you click the link, it adds the amount of clicks by one.

The problem that i'm having now is that i don't know anything about serverside scripts, so i don't know how to save this new value. I thought about 'send' or 'sendAndLoad' but appearantly this isn't enough to get flash to update the .xml file on the server.

I'm expecting a book on php and mysql any day now (amazon is way overdue...) so i guess that i'll find the answer in that book (if it ever arrives) but untill then, i would like to ask if someone knows if there is an easy way to do this? And another thing that i was thinking about : is this approach the right way at all to do this? because i can imagine that if two people simultaniously click the link, the amount of clicks won't be correct because the .swf's on both computers will just read the same values, and each add this by one, while it should be increased by two....

sorry for the long text, i didn't know how to shorten this text and still keep it clear....

Hope someone can help!! thx

Does The FLA File Need To Be On The Remote Server
I can't find the information file now, but I seem to remember something about Flash content needing the FLA file to work. Or I'm imagining things, again. So, does the Flash project FLA file need to be uploaded to the remote server?

Thanks,

TW

.flv File Corruption On Server?
i'm trying to use progressive download to play an .flv file on an html page. i'm using flash and dreamweaver 8, and when i insert the .flv and open the html file locally with a browser, the video plays just fine.

however, when i upload the files (along with the flv_player and skin .swfs) to a server, there is nothing there. any ideas what might be causing this?

i'm using an intel macbook pro and uploading to a linux server. i've also tried it on a unix server.

i've run into cases in the past where i've tried to transfer files from my mac to a server or email a file to someone else, and the file won't work, i guess it gets corrupted in the transfer. in those cases, i just enclosed the files into a .zip folder and transferred that, and then when the user on the other end unzips it, the files are fine.

however, this doesn't seem like a practical solution for this particular problem, assuming that's even the case.

any ideas, or anyone else encounter this out there? i saw another post with a similar problem, but no one seems to have replied to it yet. does that mean nobody knows how to address this?

Read A File From Server
Stuck in read'n text/ASC file from remote serv.Need 2 read file from serv.(prov. ftp add say '101.11.910.44' & pwd as 'abc' )& disp. it'n the swf
works-http://www.site.com/file.txt
doesn't work-ftp://www.111.26.39.15.com/file.txt or http://258.123.789.369/file.txt?please help

RTF File Output On Web Server
Does anyone know if it is possible to get an RTF formatted ile out of flash?

If this cant be done, does anyone have any ideas about middleware technology that could be used to generate an rtf file and the interefaces / steps required.

Regards.

Checking If A File Is On A Server Or Not.
Whats the best way to check if a file is on a server (the same one that the flash file is on). I need to call whatever the function maybe before using LoadMovie.

Thanks.

Flv File Not Playing From Server
http://www.kirupa.com/forum/showthread.php?t=301242

Upload .flv File To Server Via FTP?
Is there a trick to uploading an .flv file to my server?

I keep trying to do so but when it transfers ws_ftp makes the failed to upload sound. Though the file appears to be there after the upload it says that is is 0 in size, even though it is 364 kb in real life.

Any help is appreciated

Thanks

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