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




Flash Working In Computer Not Live On Internet



Hello:

I have a flash slideshow that resizes the photos that works perfect from my computer (via ctrl + enter). However, when I upload the files, sometimes the photos resize correctly, sometimes they don't (they are placed to the lower right corner of my container). Can anyone tell me what I'm doing wrong?

You can see what I'm talking about at the following page. If you click on a thumbnail and it seems to work correctly, click on it again a couple of times and you'll see what I mean.

Here is the link... http://www.caffreytree.com/slideshow.html

A HUGE thank you to anyone that can resolve this for me. I've spend weeks trying to figure it out and I got nothing.

NSM



FlashKit > Flash Help > Flash Newbies
Posted on: 09-21-2007, 09:33 AM


View Complete Forum Thread with Replies

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

(HELP) I Need To Make A Flash(CS3) Video Live On The Internet Using Dreamweaver(CS3)
I need to make a flash video (CS3) that I created live on my website using dreamweaver (CS3), but I am new to flash and dreamweaver and have no idea what I'm doing.

Every site or suggestion I've read or seen I have tried but it doesn't work.

SOMEONE PLEASE HELP!!

-Scott

Flash Communication Server (FCS) - Live Webcam Stream Over The Internet - How?
Hello,

I have spent days and days on the Internet looking for answers with no luck!

I just have a few general questions about FCS...

I am trying to broadcast a live video stream from my USB webcam over the Internet. My idea is to be able to point the webcam out my window and then when I am at work I can log onto my website and view the live video stream at anytime.

I am comfortable with flash, however I am new to FCS...
I just want to find out everything I will need in order to get my live webcam up and running...

I have flash comm server installed and running and flash MX 2004 Professional... I have my webcam hooked up to my computer and I have been able to use the following code to get the cam to play in flash:

---------------------------------------

livecam = new NetConnection();
livecam.connect("rtmp:/video_cast/storefile");

mycam = Camera.get();
mycam.setMode(352, 288, 5);
mycam.setQuality(0, 60);
livedisplay.attachVideo(mycam);

output = new NetStream(livecam);
output.attachVideo(mycam);
output.publish("livevideofile", "record");

------------------------------------------

So the above code seems to work for creating the "broadcast swf file". I can log into Communication App Inspector and I see my stream... and it seems to save out the "livevideofile.flv" in the "Flash CommunicationServerMXapplicationsvideo_caststre amsstorefile"
folder...

The next thing I did was create an swf with a "media playback" component on the stage and the URL set to "rtmp:/video_cast/storefile/livevideofile.flv" which seems to play the live stream...

When I launch the broadcast swf file I see the live video feed, and then I run the swf file with the media playback component and it seems to display the video stream... Now for some reason it seems to stream the first 5-20 sec then it pauses... if I start it over and over again 3-4 times it seems to keep playing... but by this point it is displaying video that is 30sec - 2 min behind the live video feed...

So I seem to have at least got it working to some extent on my local computer..

But the million dollar question that I can't seem to find the answer to is how do I get this to work on the web??

I think the way it works is I start flash comm server on my computer, run my "broadcast swf" file 24/7 and upload the swf file that plays the live stream to my server. And then any time i visit the html page that contains the flash movie that plays the video stream, it will play the video live?? Is this sorta the right idea? or am I way off??


with the code:
livecam.connect("rtmp:/video_cast/storefile");

and then later on:
output.publish("livevideofile", "record");

I am basically telling the flash movie to save the live video out as a streaming flv file right?? (Correct me if I am wrong)

But in order to be able to view the live video steam on the web... do I have to upload the steaming FLV video feed directly to my server?? Is that how it works? or does it somehow get passed through the FCS??

Like this??
livecam.connect("rtmp://mywebsite.com/storefile");

will that work?? Will it upload the video directly to my server??

I seem to think I am missing a lot here... But I dont even know what I am missing!!

I have a basic web hosting plan with a company called www.muchhost.com

Does MuchHost have to "Support" Flash Comm Server
in order for me to get my live web cam up and running? Or will any old hosting company do?

I have come across people talking about hosts like www.mediatemple.net
Do I need a "special" Flash Comm hosting company in order to get my live video on the net??

Also I am running Windows XP Pro... is that ok? Or do I have to be running windows NT or 2000 to get this all to work??

Any help would be greatly appreicated!

Thanks, Andrew T. First

Internet To Computer; Saving A File
Is there any way to create a flash file that when I open on my computer will download an image off the internet every 5 mins and save it to a specific directory?

Thread To Test For Computer Internet Connection
I have been asked to add some code to a flash.exe file that when opened, off a CD, it will check for a web connection and pass back the information to the provider that the file has been accessed. Thats all.
I have suggested that most firewalls will block this connection but if someone knows how to do this I would be interested.
I would also concider this a bit sneaky if it is not telling the user that it is going to send information but hey, I guess the client would not be the first.

My Swf Dont Appears On The Internet, But Works Fine Im My Computer.. HELP ME OUT PLS
Im doing a website that is a .swf with a slideshow inside, in a webpage. When i see the .html file my computer see the web in flash and everything works good.

Then when i upload the files to internet, www.dmitierra.com/coleccion.html
the flash dont appears, check the page source. The code is THERE!

Then i try to upload a animation of sticks i made , works fine in my computer to, but when i upload it to the internet www.got-ovn.com/stickwars , DONT WORK .


So is not my error, is something in internet??? Really help me out ppl, because of this i cant upload more .swf to the web!!!!!!!!!!!!!!!!

How To Stream From Live Internet Radio
I have a internet radio station. Right now the stations streams live from an html document. I would like for it to stream live in flash. the Url to my station is http://66.206.30.21/urbanvibe


can someone help me pleeese??????

Live RTMP Streams On The Internet
Hello, i'm looking for internet televisions , live 24 hours a day, and watchable with the Flash Player (so they should be live RTMP streams coming from a flash media server).

Do you know someone?
i tried with google but i found only tvs for WMP, Quicktime or Real Player
thanks

Flash Navigation SWF Is Not Working In Internet Explorer
Hi. Does anyone know why my Flash navigation buttons animate perfectly but they do not link me to the corresponding pages in Internet Explorer (please see attached code)? I have other Flash clips that are working find in Internet Explorer. The navigation buttons are works perfectly in Safari and Foxfire. Do I have to do anything special for Internet Explorer.









Attach Code

function menu_on(num)
{
this["menu" + num].isOpen = true;
this["sub_bar" + num].isOpen = true;
openMenu = num;
if (num != pageNum)
{
_root["menu" + pageNum].isOpen = false;
_root["sub_bar" + pageNum].isOpen = false;
} // end if
} // End of the function
function menu_off(num)
{
this["menu" + num].isOpen = false;
this["sub_bar" + num].isOpen = false;
openMenu = "";
if (pageNum)
{
menu_on(pageNum);
openMenu = pageNum;
} // end if
} // End of the function
mainMenu = [];
mainMenu[0] = "index.html";//Insert button linkage for menu 01 between " "
mainMenu[1] = "vehiculos_en_venta.html";//Insert button linkage for menu 02 between " "
mainMenu[2] = "anunciese.html";//Insert button linkage for menu 03 between " "
mainMenu[3] = "venda_su_vehiculo.html";//Insert button linkage for menu 04 between " "
mainMenu[4] = "contactenos.html";//Insert button linkage for menu 05 between " "
mainMenu[5] = "cool_links.html";//Insert button linkage for menu 06 between " "
len = mainMenu.length;
var i = 0;
while (i < len)
{
this["menu" + i].no = this["sub_bar" + i].no = i;
this["menu" + i].onRollOver = function ()
{
menu_on(this.no);
};
this["menu" + i].onRollOut = function ()
{
menu_off(this.no);
};
this["menu" + i].onRelease = function ()
{
{
getURL(mainMenu[this.no], "_self");//Insert target frame between " "
}
};
this["menu" + i].onEnterFrame = function ()
{
if (this.isOpen == true)
{
this.nextFrame();
}
else
{
this.prevFrame();
} // end else if
};
this["sub_bar" + i].onEnterFrame = function ()
{
if (this.isOpen == true)
{
this.nextFrame();
}
else
{
this.prevFrame();
} // end else if
};
++i;
} // end while
if (pageNum)
{
menuBg.gotoAndStop(Number(pageNum) + 1);
menu_on(pageNum);
openMenu = pageNum;
} // end if

Getting A Flash/php Mail Form Working On The Internet...
hi, can someone help me please?
ive made this mail form in flash that supposed to work with php. ive entered all the correct code, like the e-mail address it is supposed to go to. BUT when it comes to uploading on to my website it doesnt seem to work. i manage to ftp ok as a 'php3' with the .swf file etc. but when it comes to clicking on the link it seems to want to download the file and not open it as a page can someone help me please?

thanks alot
tristan

Flash Working In Firefox, Not Internet Explorer
http://www.geocities.com/makkennzee/GL-RR.html

theres the URL, it should appear with a GTA splash, which it does in Firefox (for me) but not in IE! It's just a white box in the middle.

If anyone could help me (whether it be an HTML or Flash problem) the help would be SO much appreciated!

I'm pretty amateur in both (only 16 :p) so any assistance would be excellent.



Two Javascript (called From Within Flash) Not Working In Internet Explorer.
Hi,

I have several sites that use both the two pieces of code below, and I have just realized that none of my sites work in Internet explorer! Grrrrr. Can anyone offer me any ideas as to why this might be... I am 95% cure that i checked my sites in a bunch of browsers, IE being amongst the top 3 most imprtant. I can't beleive I would have forgotten to check their functionality which leads me to think that they *used* to work...but now don't. Hmmm.... Of cousre maybe they never worked....

THE FOLLOWING IS A TYPE OF JAVASCRIPT THAT DOESN'T NEED ANY CODE IN THE ACTUAL HTML DOCUMENT. IT OPENS A POPUP WINDOW, BUT DOESNT WORK IN IE. I GOT THIS CODE FROM HERE ( http://flash-db.com/PopUp/JavaScriptPopUp.php? ) , AND IT SAYS IT SHOUDL WORK IN IE, BUT IT DOESN'T:


on (release) {
getURL ("javascript:NewWindow=window.open('http://www.monkeylongboards.com/popups/ml0001.html','newWin','width=365,height=580,left=0 ,top=0,toolbar=No,location=No,scrollbars=No,status =No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
}


THE FOLLOWING IS A FUNCTION THAT IS CALLED BY A BUTTON PRESS LATER IN MY MOVIE, WHICH PASSES THE RELEVANT PARAMETERS TO TEH FUNCTION. IT REQUIRES THE CODE POSTED JUST BELOW THE ACTIONASCRIPT IN THE HEAD OF MY HTML PAGE:



function AddToCart(iNumber, iName, amt, iShip, iShip2) {
var tempString:String = "javascript:openNewWindow('https://www.paypal.com/cart/add=1";
tempString += "&business=mick@hisdomain.com";
tempString += "&item_name="+iName.toString();
tempString += "&item_number="+iNumber.toString();
tempString += "&amount="+amt.toString();
tempString += "&handling_cart=5.00";
tempString += "&shipping="+iShip.toString();
tempString += "&shipping2="+iShip2.toString();
tempString += "&return=http://www.paypal.com&cancel_return=http://www.paypal.com','paypal','width=600, height=400,scrollbars,location,resizable,status')" ;
trace(tempString);
getUrl(tempString);
}



CODE REQUIRED FOR HEAD SECTION OF HTML PAGE:


<script language="JavaScript"> function openNewWindow(URLtoOpen, windowName, windowFeatures) {newWindow=window.open(URLtoOpen, windowName, windowFeatures); }</script>





The following sites use these and work fine in Firefox, Opera & Safari, but fail in IE:

1. http://www.DELETED.com (uses both, on add-to-cart button & magnify button)

2. http://www.DELETED.com (uses both, on add-to-cart button & on button to show larger image of boards)


Please help me to fix this if you can.......

thanks :)

Cheska

Flash Javascript Links Not Working In Internet Explorer
Hi,

I've searched through the previous discussion in this forum but couldn't find the answer. I'm sure this is a common problem that can be resolved easily.

i have a site that has a series of thumbnail links that opens custom sized pages via Javascript. Works perfect in Firefox, but only 1 of the 10 links works in IE.
I'm using internet explorer 6 - pretty sure its SP2 (not at computer to check - using works computer to post this message).

With IE, there is an icon on the bottom left that says "Done" with a warning label on it.

How can I resolve this issue so the site works fine with Internet Explorer.

Thanks

Flash XML Photo Gallery Not Working In Internet Explorer
Greetings,

Used the kirupa Flash XML Gallery to implement this online magazine. { www.theblacklistmag.com } Works fine in Safari, Mozilla and IE for Mac. On PC's I've heard and seen that it does work in IE? Just a white box where the swf should load. Is this just an issue of not having the current flash player?

Swf Working On Computer But On Online
I made a media player for my website and i have the player access the media file. I tried using using the full url "http://www.mysite.com/filename.mp3", just the "filename.mp3", and "/filename.mp3". I put the swf in the same folder as the files. When i use the full url and test on my computer it works, either when i export and play it or test movie. But when i upload it to my site it doesnt work. It doesnt work with any of the 3 file names. Any one know why? I can send my fla to anyone that wants to test it.

Live Data Feed Within Live Flash Video?
Is there a way to encode some live data, say from a serial port into a live video stream? Windows media has such a feature within the script window.

Preloader Not Working When Live
Hello everyone,

I've updated my code to use the MovieClipLoader class and everything works wonderfully on my desktop. However, when the gallery.swf is live on the site the preloader does not show up (gallery.swf loaded into the main.swf). Everything loads correctly on the site except the preloader doesn't show when the user rolls over a thumbnail to load the larger image.

Below is my new code...Any suggestions on what I'm doing wrong/missing?

---------
var largeCakeMCL:MovieClipLoader = new MovieClipLoader();
var preLoad = new Object();
largeCakeMCL.addListener(preLoad);

preLoad.onLoadStart = function (target_mc){

cakes_mc._visible = false;
preLoader_txt._visible = true;

}


preLoad.onLoadProgress = function(target_mc, lBytes, tBytes) {

preLoader_txt.text = Math.round((lBytes/tBytes)*100)+ " %";

}

preLoad.onLoadComplete = function(target_mc) {
cakes_mc._visible = true;
preLoader_txt._visible = false;

}

function loadCake(){

largeCakeMCL.loadClip("../cakes/images/" + curCakeNum + ".jpg", this.cakes_mc);

}

myListener1.onLoadComplete = function(target_mc){
thumb1_mc.onRollOver = function(){
curCakeNum = 1;
loadCake();
}
}

Thanks for the help!

H.264 Not Working In Live Stream
Hi,

I have a HD Camera streaming a live feed through FME 2.5 to FMS 3.0 using the VP6 codec and it works fine.

I have now been trying to get the same stream running via H.264 and althogh FME 2.5 connects to the FMS 3.0 server and the stream starts with FMS 3.0 reporting the stream no problem.

The Client application crerated with Captivate 3 using Flash Player 9 for publishing no longer dispays the video.

Switching back to VP6 works again.

Any one have any idea what I should be doing?

Cheers

SetSize() Not Working In Live Preview
Hi,

I have a problem with a component I´m developing. Before when building components I have used Internal SWC:s to get the Live Preview of the components. In this case I can´t do this, however, so I need to use an external swf as live preview. What I do is, I right-click the component in the library and select "Export Flash Movie" to create the live preview swf. Then, in the component definition dialog I select "Live preview in external .swf file" and select the swf I exported.

This seems to work fairly well. The component is drawn correctly on stage when i put it there (authoring time). However when resizing the component, the setSize() funtion does not seem to be called. It just resizes the "normal way" scaling the whole movieclip.

Is this problem familiar to anyone. Any ideas would be very appreciated!

Thanks,

Makac

Streaming Live Camera Not Working
I am very new to FMS and need some pointers on where to go now i have the product installed.

Currently i have FMS installled on a server and can access the Flash Media Administration with no problems. I have setup a webcam on a desktop and used the Adobe Flash Media Converter to streram the output to the FMS, giving it the FMS URL as rtmp://<ip address>/live/livestream which connects fine.

Here is where i have the problem. I have run the URL rtmp:localhost/live/livestream on the FMS server but all it says is 'connecting'. I have also tried running the livetest.html from the ../samples/applications/live directory but this again just shows 'loading' at the bottom of the screen.

This setup really is just a test for me to try and get an understanding of the FMS etc, what i will really need to do is take a feed from an IP camera to the FMS and then stream this out to multiple desktops.

Can anyone help with with the above issue and also proivde some pointers for me to progress with the live setup.

Many thanks

[CS3] Gallery Not Working On The Internet
Help!
I have created a gallery using a loader which works wonderful when I publish in flash as well as test in dreamweaver in a html file.
But - it does not pull the photos in once I've uploaded to the Internet.
Test site is http://www.artsandysprings.org/index2.html
If you click on Arts in the Open then Sculpture gallery you can see what I mean.
If my code is wrong then why will it work when I publish to view while in Flash as well as when I test my html page in Dreamweaver?
I've used the same exact thing in Flash 8 and had no problems with galleries.
What am I missing?
Any help - suggestions - would be soooo appreciated. I've tried everything I can think of.

Not Working In Internet Explorer?
http://www.ellipsiswebproductions.8m.com/zoomnspin.html

why is it when i try to view this page in ie the movie just comes up as a blank white space? the source of the file is correct...is there something wrong with my html?

thanks

Pop-up In Internet Explorer Not Working/Please Help
First off I just want to say this seems like a great community and I have already learned from and been impressed by the amount of knowledgeble people here.

I am relatively new to all this so bare with me. What I have done is created a basic flash movie/site which you can see here; http://www.jlauch.com/novapower of course it is not finished yet, but this is the basic layout.

What I am trying to do is create a button that when clicked on pops up into a html window which has information. I followed the excellent tutorial here at kirupa.com to create a button that pops up via javascript, and all seems well when I click on my links in Firefox, but in Internet Explorer the pop-ups don't seem to work.

I am not running a pop-up blocker and I thought maybe the internet explorer security settings were interferring, but that doesn't seem the case. I am trying to use IE 6.2.2900.2180, if that helps.

If anyone can give me a hint about this it would really help me out, because now I am a standstill.

I hate to be one of those people whose first post is a request for help, but I look forward to contributing to the site in the future.

On a smaller note, I am trying to center the flash movie in a borderless pop-up window, but this doesn't seem to work, any other way to do this?

Thanks again
Jonathan

XML Photogallery Working Great Local But Not Live
Hi,

I have read and used the photogallery from Kirupa and have modified it to fit the site I am trying to develop for a friend (he is a musican and artist). Everything works great locally but when I upload the files weird things are happening. It's not related to paths because the images are showing up. I am getting a white background behind some of the thumbnails and sometimes the thumbnails don't show up or load very slow.

Here is the url to the live site: mark stanley's site

From there if you click art you should see the thumbnails on the left. The first few thumbnails have a white bg and I do not know where that is coming from. The other problem is that the first image thumbnail shows up in the large main picture area (only for the first thumbnail). The only two categories under art working are Mixed Media and Acrylics.

I hate to ask and would like to figure this out myself but I am out of ideas and time. If someone knows this code and could look at it I would really appreciate it. I can email the source but could not upload the FLA do to size. I have pasted the art mc script below.

Thanks!
Ed

http://edwardjonesdesign.com/clients/mms/


Code:
stop();
xmlData.unload;
tsa_up.useHandCursor = false;
tsa_down.useHandCursor = false;
//////////////////////////////////////////
var newcategory:String;
if (newcategory == undefined) {
newcategory = "mixedmedia";
category_txt.text = "Mixed Media";
callxmlfile();
}
function set_newcategory() {
xmlData.unload;
p=0;
newcategory = newcategory;
if (newcategory == "mixedmedia") {
category_txt.text = "Mixed Media";
}
if (newcategory == "acrylics") {
category_txt.text = "Acrylics";
}
if (newcategory == "drawings") {
category_txt.text = "Drawings";
}
if (newcategory == "oils") {
category_txt.text = "Oils";
}
callxmlfile();
}
////////////////////////////////
function callxmlfile() {
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
imagename = [];
imagedescription = [];
thumbnails = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
imagename[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
imagedescription[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;
thumbnails_fn(i);
}
firstImage();

} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("xml/mark_stanley_art_"+newcategory+".xml");
}
// ///////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
// ///////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
image_percent_loaded = Math.round((loaded/filesize)*100);
preloader.preoad_bar_txt.text = "loading art: "+image_percent_loaded+"%";
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = imagedescription[p];
imagename_txt.text = imagename[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = imagedescription[p];
imagename_txt.text = imagename[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = imagedescription[0];
imagename_txt.text = imagename[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 15;
tscroller.onEnterFrame = function() {
//trace(_root._ymouse);
if ((_root._xmouse>=thumbnail_mc._x) && (_root._xmouse<=thumbnail_mc._x+thumbnail_mc._width)) {
//if ((_root._ymouse>=(hit_right._y-20)) && (thumbnail_mc.hitTest(hit_right))) {
if (hit_right.hitTest(_root._xmouse, _root._ymouse, true) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._y -= scroll_speed;
//trace("scroll minus");
//} else if ((_root._ymouse<=(hit_left._y-20)) && (thumbnail_mc.hitTest(hit_left))) {
} else if (hit_left.hitTest(_root._xmouse, _root._ymouse, true) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._y += scroll_speed;
//trace("scroll plus");
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadStart = function(target:MovieClip):Void {
//trace("started");
};
tlistener.onLoadInit = function(target_mc) {
target_mc._y = 10+(target_mc._height+5)*k;
//trace("target y = "+target_mc._y);
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
//// make sure you can remove these
//trace("k = "+k);
_global.remove_number = k+1;
//trace("remove number = "+remove_number);
}
///// remove these thumbnails before running new xml file
function removethumbnails() {
for (r=0; r<_global.remove_number; r++) {
unloadMovie("thumbnail_mc.t"+r);
p = 0;
set_newcategory();
}
}
And the buttons for the different categories...

Code:
on (press) {
newcategory = "mixedmedia"
removethumbnails();
}
And

Code:
on (press) {
newcategory = "acrylics"
removethumbnails();
}

Shared Object Not Working On Live Server
Hello all,

I'm trying to use shared object on my header banner on my index page. The idea is to play the intro swf once in it, and then when someone comes back tot he page play a different swf that loops. It works fine locally and on IIS.

Here is my AS.

Quote:
var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);
video_display.attachVideo(ns);

var my_so:SharedObject = SharedObject.getLocal("visited");

//my_so.clear();

if (my_so.data.newVisitor == true) {
ns.play("IntroLoop.flv")
ns.onStatus = function(info) {
if (info.code == "NetStream.Play.Stop") {
ns.seek(0);
}
};
trace("saw it");
} else {
my_so.data.newVisitor = true;
trace("first time");
my_so.flush;
ns.play("intro1.flv")
ns.onStatus = function(info) {
if (info.code == "NetStream.Play.Stop") {
ns.seek(9);
}
};

}

I know the links to the flvs work fine because I turned off the shared object and tried playing just one flv.

Does anyone have any suggestions?

Thanks

External Swfs Not Working Over The Internet
Hey,
I have posted this question 3 times now this week, No one seems to know why this is happening. My problem is this. I can veiw the external swf files in my movie with flash 5 and flash 6 players. I cannot veiw them over the net with my Tripod account. BINARY mode is on when i ftp and my external swfs are in the same directory in my tripod account as my main flash swf. My actions code is this
loadMovie("masked hor line.swf", placehorder);
loadMovie("masked lines.swf", placeholdertop);
How im doing this is the location on both of my loadmovie commands is on target. Placehorder is the instance name of the first blank movie clip and placeholdertop is the instance name of the second blank movie clip. I have tried putting the exact url path for my movies in my tripod account for the loadmove command above and that didnt work either. I also tried placing each of my external swfs in a different level as the location for my loadmovie command and that didnt work either. Keep in mind that everything works FINE outside of the web! Is there some other way that one has to use the loadmovie command to make it work over the web?

Thx hope someone can help me on this,

-RedEnergy

Switch (num) Not Working In Internet Explorer
Hi,

I'm using Flash MX and I want to randomly pick a spot in my movie to start playing from. There are 20 different spots I want to randomly select from. I used the following code

Math.getRandom = function(lowNumber,highNumber){
var thisNumber = highNumber - lowNumber;
var randomUnrounded = Math.random() * thisNumber;
var randomNumber = Math.round(randomUnrounded);
randomNumber += lowNumber;
return randomNumber;
}
num = Math.getRandom(1, 1000);
switch (num % 20 ) {
case 0:
gotoAndPlay("nat1");
break;
case 1:
gotoAndPlay("nat2");
break;
case 2:
gotoAndPlay("nat3");
break;

It goes down to case 19, then ends with

default:
;;
}

The code works find in FireFox but when I test it in Internet Explorer it always starts at the beginning. I tried to publish it in Flash 5 and 6.
Any suggestions?

Thanks.

Lauren

GetURL Not Working In Internet Explorer
In Firefox and Safari the getURL actionscript command seems to be working fine, but as we all know there are many people still using IE, and that's where it needs to work too.

Ah yes-- this is only a problem when I have "_self" or "_parent" chosen as the target for the new page. When I have "_blank" specified everything seems to work fine even in IE.

Link to my IE nonworking page:
http://www.ant-hive.com/dirtypictures

It's supposed to lead to this page:
http://www.ant-hive.com/dirtypicture...ypictures.html
(as you can see by clicking on the Store button on that page, getURL works when a new, blank window is targeted).

As you can tell, I'm among the greenest of the green. But I need for this stuff to work. Any help would be appreciated.

_parent Is Not Working In Internet Explorer
Now Internet explorer is not opening URL from buttons who have "_parent" inside them.

How can I fix this bug? dont tell me I have to generete several new windows just because Internet Explorer say so. IE Sux!

LocalConnection() Not Working With Internet Explorers
Hi
I have a webpage with two flash components on it. one swf file communicates with the other, or that is the idea. This works fine with mozilla firefox, but when I open the page with Internet explorer, the two swf files do not communicate with each other.
Does anyone know why?
Many Thanks

Leo

AC_RunActiveContent.js Not Working In Internet Explorer
AC_RunActiveContent.js not working in Internet Explorer

I included AC_RunActiveContent.js with html, swf, and fla, but I see "get flash" instead of seeing the site

What is missing?

AC_RunActiveContent.js Not Working In Internet Explorer
I included AC_RunActiveContent.js with html, swf, and fla, but I see "get flash" instead of seeing the site

What is missing?

Sized Pop Up NOT WORKING In Internet Explorer
hey all,
here's the link to the page i'm having issues with internet explorer,

http://www.rminebridal.com/DnMlist.htm

if you click on REEM ACRA is should open a sized pop-up.  it does work in FIREFOX on both mac and windows, as well as Safari.  but not in IE on either mac or windows.

here is the code i have put in the AS.
on (release) {
getURL ("javascript:reemacra=window.open('reemacra.htm','REEM ACRA 2006','width=340,height=435,left=400,top=350,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  reemacra.focus();      void(0);");
}

any help advice would be appreciated.
thanks!

GetURL Not Working In Internet Explorer?
I am having a problem opening a getURL link to a zipfile in internet explorer

Code:

on (release) {
   this.getURL ("http://www.site.com/compressedfile.zip", "_blank");
}

in firefox the download shows up
but in internet explorer a window opens quick and closes without prompting anything, nothing happens.

I Create A Song Player, But Its Not Working On Live Site.
Hi!
I have created a song player, It is working fine on local machine but its not working on live site. Here is the code.
// Playlist Arrays...
var songFile:Array = new Array();
var songArtist:Array = new Array();
var songName:Array = new Array();
var currentSong:Number = 0;
var songCount:Number = 0;
var songMuted:Boolean = true;
var songVolume:Number = 100;
// Song Object...
var songObject:Sound = new Sound();
// Playlist XML Import...
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlFile = "_ambiance.xml";
xmlData.load(xmlFile);
xmlData.onLoad = function(xmlSuccess:Boolean) {
if (xmlSuccess) {
topNode = this.firstChild;
songCount = topNode.childNodes.length;
for (i=0; i<songCount; i++) {
songFile[i] = topNode.childNodes[i].childNodes[0].firstChild.nodeValue;
songArtist[i] = topNode.childNodes[i].childNodes[1].firstChild.nodeValue;
songName[i] = topNode.childNodes[i].childNodes[2].firstChild.nodeValue;
if (i == 0) {
loadSong(i);
}
}
}
};
function loadSong(inTrack) {
songObject.stop();
songObject = new Sound();
songObject.loadSound(songFile[inTrack], true);
txtArtist.text = songArtist[inTrack];
txtName.text = songName[inTrack];
songVolume = 0;
}
back_btn.onPress = function() {
currentSong>0 ? currentSong-- : currentSong=songCount-1;
loadSong(currentSong);
};
next_btn.onPress = function() {
currentSong<songCount-1 ? currentSong++ : currentSong=0;
loadSong(currentSong);
};
toggle_btn.onPress = function() {
songMuted ? songMuted=false : songMuted=true;
};
onEnterFrame = function () {
// Fade Effect...
if (songMuted) {
headphones_mc.nextFrame();
songVolume>0 ? songVolume -= 10 : songVolume=0;
} else {
headphones_mc.prevFrame();
songVolume<100 ? songVolume += 10 : songVolume=100;
}
// Set Volume...
songObject.setVolume(songVolume);
// Loader Bar...
progress_mc._xscale = (100/songObject.getBytesTotal())*songObject.getBytesLoa ded();
// Playlist Looping...
if (songObject.position == songObject.duration && songObject.getBytesTotal() == songObject.getBytesLoaded() && songObject.getBytesTotal()>10) {
currentSong<songCount-1 ? currentSong++ : currentSong=0;
loadSong(currentSong);
}
};

Any body please help me.

Keys Arent Working In Internet Explorer
I went through a tutorial on controlling a movie clip in the flash player. Works fine until I publish the movie thenthe keys arent being recognized. Is there a publisher setting I can change? Or is there some way to make IE open a player window to play the clip?

I am unable to search the forums so if this answer is posted feel free to just reply with the link thanks.

Heres the tutorial...
http://www.flashkit.com/tutorials/Ma...-857/index.php

I made the clip with Flash MX

I attached the file so you can see what I mean.

Load Movie Not Working In Internet Explorer
Strange, the movie works fine in flash but when I test it in the html page made in dreamweaver the load movie button doesn't work at all

Xml Based Music Player Not Working On Internet
hi;

this xml based music player works perfectly when i publish it on computer
but when i see it at internet explorer nothing happens... no sound, nothing ....

can anyone please tell me what s going on

i attached the player

Scroll Pane Not Working In Internet Explorer
hi all,

I have used 'scroll pane' component in flash8 to load external swf files into the website. Its working fine in firefox but completely fails in Internet Explorer ! Could anyone help me to solve this please?

here is the link http://www.talkingpebbles.com/development/virgincomics/index.html click here to see the website under construction

thanks

TP

SendAndLoad() Stopped Working Internet Explorer
Has anyone else suddenly had their sendAndLoad() function stop working in Internet Explorer (V6.0.2)? The following code exists in my site and worked about 3 days ago. I have made no changes but now the sendAndLoad function wont work in Internet Explorer but it will still work fine in Firefox (I have checked to make sure neither is cached).

Add.onPress = function()
{
if(name_field.text == "")
{
Alert.show("Please complete all required (*) fields","Incomplete Fields",Alert.OK,_root);
return;
}

if(comment_field.text == "")
{
Alert.show("Please complete all required (*) fields","Incomplete Fields",Alert.OK,_root);
return;
}

var s:LoadVars = new LoadVars();
var l:LoadVars = new LoadVars();

l.onLoad = function(success:Boolean)
{
if(success)
{
_root.ph.attachMovie("lyrics","lyr1",100);

_parent.deletePopUp();

}
else
{

//THIS IS THE WARNING I GET THEREFORE success IS FALSE
Alert.show("Oops it seems there was a problem adding your entry to the guestbook, please contact me if this problem persists","Failed to add to Guestbook",Alert.OK,_root);
}
}

s.name = name_field.text;
s.email = email_field.text;
s.comment = comment_field.text;

//THIS WORKS FINE
//s.send("add_to_guestbook.php","_blank","POST");

//THIS FAILS
s.sendAndLoad("www.robfearn.com/add_to_guestbook.php",l,"POST");
}

[CS3] AS 2.0 Percent Jpeg Loader Working Only In Internet Explorer
Hey there community, i've been building this simple slideshow for a friend that sequentially loads jpegs from a folder when clicking next/previous. Thing is that JPEG preloading (0-100% text) is working only in Internet Explorer and because it doesn't in other browsers, -"Nan" (Not a number) output in my percent_loaded.text- it spoils the hole code (image appears completely off-centre).Stage preloading (in frame one) works OK in all browsers with the same code!!

my script setup (when clicking or entering a category) frames 39-52:

39. photo_holder.loadMovie(FilePath+foldername+'/'+foldername+'_'+photonumber+'.jpg');

40. stop();
//mask_mc._yscale = 0;
this.onEnterFrame = function():Void {
var loadedData:Number = photo_holder.getBytesLoaded();
var allData:Number = photo_holder.getBytesTotal();
var percent:Number = Math.round(loadedData / allData * 100);
percent_loaded.text = "_" + ((isNaN(percent) || allData < 2) ? "0" : percent) + "%";
// mask_mc._yscale = percent;
if (loadedData >= allData) {
delete this.onEnterFrame;
gotoAndPlay(42);
}
};

//have also tried this in frame 40 with same results (b):

photoLoaded = _root.photo_holder.getBytesLoaded(); //have tried without _root. as well
photoTotal = _root.photo_holder.getBytesTotal(); //have tried without _root. as well
percentage = Math.floor(photoLoaded/photoTotal*100);
percent_loaded.text = "_" + percentage + " %";
if (percentage >= 100) {
gotoAndPlay(42);
}

//have also tried this in frame 40 with same results (c):

loading = Math.round(photo_holder.getBytesLoaded());
total = Math.round(photo_holder.getBytesTotal());
percent = Math.round(loading/total*100);
percent_loaded.text = "_"+percent+" %";
if (percent >= 100) {
this.gotoAndPlay(42);

41. gotoAndPlay(40);

42-44. setProperty("photo_holder", _alpha, "0"); //goes up to "100" for fade in
in frame 42 also
photo_holder._x = ((1020-(photo_holder._width))/2);
photo_holder._y = ((720-(photo_holder._height))/2);
// to center each photo on the stage



45. stop ();

46-51 //fade out like in 42-44

52. gotoAndPlay(39);

in next previous buttons i have a code that changes photonumber var +-1 accordingly and then gotoAndPlay(46)


what exactly goes wrong? is it firefox that gives a form of "percent" that flash does not understand> NaN?

The whole code is written in AS 2.0 and needs to be kept like this, unfortunately i am not familiar with AS 3.0 yet!!

Thank you all in advance

Image Loading Working On Local Machines, Not On Internet
Here is a very tricky problem to diagnose....

Basicly, I had a bunch of arrays that contain the names of images to load. A bit of code checks what section it is in, and loads the correct array to pass on. The images load correctly on my local mac, but will not work when uploaded to the internet!

So, I've coded a website that uses a bunch of arrays internally to have its location for the pictures to load. Some specs:

- Some people may appear in different pages, so they need an entry for each section with their own order.

An example of the arrays
// Fencing, corporate identity
_global.subCIDFencing = new Array();
subCIDFencing[0] = "This Number of the array is never used! to keep sync";
subCIDFencing[1] = "CIDfencing1.jpg";
subCIDFencing[2] = "CIDfencing2.jpg";
subCIDFencing[3] = "CIDfencing3.jpg";

So for a different section, I replace the initials CID with the name of another section, and have that as a different array too.

To load these, I have this code on the little thumbnail buttons:

// Fencing in the Corp. ID
if ((_global.CurrentSubsection == "Fencing") && (_global.folioSection == "BRO")) {
_level1.loadbigPic( [_global.subBROFulda[ this.choice ]])
}

So, the CurrentSubsection is set by the section, same for folioSection.
When both of those variables match, it invokes the load picture command to pring up the right one. this.choice is just the number of the thumbnail to load. I repeat the above bunch of code for each section

So, having explained that tricky part, heres the problem - All of the images load, except when it exists in two sections (as in has a part in say, corporate id, and brochures). I can't figure out the problem any further, because this all works fine when I run it on my mac, but when its on the internet - it won't load people that are in more than one category! I've double checked the file structure is exactly the same on the remote ftp and locally, incase it couldn't find the file. No dice there

The only thing I can think of drawing at straws, is the code to invoke loadbigPic will get confused when there are two sections that have at least one part evaluate to be true.

http://www.cressaid.com.au/clients/us is the link to the online version. For an example of a page which loads fine locally, but will not work on the internet. Try going to Folio -> Corporate id -> goldacres (green with yellow dots in the middle). The thumbnail images will not load, hanging as if it can't find the file (or array?). This works properly when running locally :/

I'm stumped! any thoughts on what I could look into further to diagnose this would be greatly appreciated.

Internet Explorer Referesh (F5) Makes Buttons Stop Working
Hi All,

I've seen other people have the same issue with this on here but haven't found any solutions. Does anyone know why when an IE user refreshes the page that some of the buttons will cancel out.



it works fine the first time, then the "down" and "reset" (middle inner arrows) buttons will stop functioning. The other buttons still function correctly.

Thanks in advance

Why Trouble With Layout From Computer To Computer?
Hi All,

Thank you very much for any advice, suggetions, or instructions you might have for fixing this problem.

We are creating flash files on one pc using Flash 8. We are saving them as Flash MX version - because on another pc, I have Flash MX installed.

When I open the files on the second PC using Flash MX, the layout of the files is wacked: all of the button fields have shifted about one-half-centimeter from where they were when created on the previous machine.

I downloaded a free trial of Flash 8 Pro to see if that would fix these layout issues, but no. Same thing. (wtf)

NOTE: I've recently found out that the version of Windows running on this machine (XP Pro) isn't "authentic," rather, part of a Volume Licensing Package that has sense been "blocked." Could that be what is causing these troubles with Flash? Still, would bootlegged windows (if that's what it is) cause these layout problems in flash?

Is there anything i can do to preserve the layout from machine to machine?
All help is much appreciated.
Thank you!
Ryan

_x Coordinate Changed From Computer To Computer
This may be weird, but i am in the middle of a project ,and I took it home from my offfice and now all of the _x coords for a movie clip that I am controlling with a script are compltetly different?? doe sthis have to do with screen resolution , i s that possible?? and also is there any one out there who also has un ending problemsd with mac and actionscripting.


derek

Live Webcamp,live Chat And Sms Related Question.
Hi there,
My company had got a huge project there demand to
Show there company "live on there website, live chat and the worse part is send SMS from the mobile to the website. … and believe me I have no idea about any of these… please help. What we need and where to get it from if possible …. Please..

Embed Live Cue Data In Live Stream?
I am currently using the new FME to encode live to a FMS. Both applicatioins are running on the same machine. Is there a way to embed live cue and metadata into the live stream? Once embedded we want to record the stream AND send it on to viewers. Is there a way to process this on the server. The live cue and metadata is coming in the serial port.

Computer Vs. Flash
I have a flash movie that is loading external movies into it when buttons are pressed. I figured this way it will load faster.

However, I've noticed that on some computers the external movies run rather slow and on other computers they run normal speed.


My question: is this something that has to do with individual computers and there is really nothing I can do about it? I've messed with the frame rate and such but it doesn't do a whole lot.

Old Flash/New Computer
Hi everyone. I haven't posted in a long time. I bought a copy of Flash back in late 2001/early 2002 and installed it on my computer and used it often. Five years later my computer got very old and slow and it was time to get a new computer. I was able to get a computer from somebody who had hardly used it at all but had lost my Flash disc and the envelope it was in. Anyways, I had Flash on my C drive and moved all that stuff over to the new computer but now when I try to open Flash it asks for my name and serial number of my purchase. What do I do though if that information is lost? If anybody thinks I am talking about a bootleg copy, I am not. I have the receipt for my purchase and it shows up in my Amazon order history. Is there any way to still be able to use my copy?

Flash On A Different Computer
Hey everyone,

Recently I've been messing around with some visual basic and I just found out you can embed a flash file inside of it and then compile it to create and application. So I decided to create and little flash app that uses flash communication server (it uses the video conference component). Well the problem is when I put the application with the flash file onto another computer without flash communication server it doesn't work. So i was wondering if its possible to tell each flash file to look on a certain IP address for the application directory.
ex.
192.168.0.5/rtmp:/sample_videoconference


Thanks a bunch
Matt


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