[F8] AC_FL_RunContent - Remote SWF
I am setting up a flash file in one directory and then need to de-activate the IE7 flash funtion with the following:
<script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js. In Flash, run "Apply Active Content Update" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0', 'width', '900', 'height', '161', 'src', 'menu', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'menu', 'bgcolor', '#ffffff', 'name', 'menu', 'menu', 'true', 'allowScriptAccess','sameDomain', 'movie', 'menu', 'salign', '' ); //end AC code } </script>
However the swf file is on another sit- and when I try to put a url anywhere above, it doesn't work.
When I put the swf in the same directory, works fine.
Does anybody have experience with the swf at another URL?
Thanks!! Shawn
FlashKit > Flash Help > Flash General Help
Posted on: 03-06-2007, 06:09 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can't Get AC_FL_RunContent To Get Swf From Other Directories
Okay i want to put the same swf banner on all of my pages. I have lots of sub directories, which will end up going 2 levels deep from the root. My problem is that I cannot get adobe's active content runner script to pull the swf file that is in the root directory for pages that are 2 levels below it.
This works:
Code:
<script type="text/javascript">
AC_FL_RunContent(
'movie', '../sub_banner',
'width','772',
'height','99',
'wmode','transparent'
);
</script>
This does not work:
Code:
<script type="text/javascript">
AC_FL_RunContent(
'movie', '../../sub_banner',
'width','772',
'height','99',
'wmode','transparent'
);
</script>
Any ideas on how I can get this to work?
AC_FL_RunContent Breaks IE6
I've been trying to debug my Flash CS3 app on IE6 all day. My app loads fine if
* On IE, in Internet Options, under 'Settings', I selected Check for newer versions of stored pages "Every time I visit'
-OR-
* I had to delete temporary files
Otherwise, my app would only load right the first time. No amount of refreshing, forcing reloads, or preventing caching of the page worked would make it load right the second and subsequent times unless I did one of the above. Incidentally, the part it was not doing was a call to an .xml file. Anyway, I fixed it by removing the AC_FL_RunContent Javascript, which I really don't want to do.
Any suggestions?
Thanks,
Kriszti.
I'll post a link to the page if anyone is interested.
ExternalInterface With Adobe AC_FL_RunContent
Hi all,
Hit a wall with ExternalInterface and the Adobe/Macromedia fix for the IE ActiveX activation problem, "AC_FL_RunContent."
So far, I've been using ExternalInterface fine. Example of how it's been set up:
javascript start ************
function thisMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function stopThePlayer() {
thisMovie("SearchPlayer").stopFromExternal();
}
javascript end ***********
html start ***************
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="383" height="214" id="SearchPlayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="SearchPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#017cac" /><embed src="SearchPlayer.swf" quality="high" bgcolor="#017cac" width="383" height="214" name="SearchPlayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
html end *************
So that's fine. I have the ExternalInterface.addCallback in the Flash 8 swf and all's well. Calls the function in the swf very nicely.
Now I've started to use the AC-FL-RunContent method of loading the swf so I don't get the "click here to activate" nonsense on IE browsers. But...
Now the ExternalInterface thing is broken. Here's the replacement html code (javascript remains the same):
html begin ************
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','383','height ','214','id','SearchPlayer','align','middle','src' ,'SearchPlayer','quality','high','bgcolor','#017ca c','name','SearchPlayer','allowscriptaccess','same Domain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','SearchPlayer' ); //end AC code
</script>
html end **************
Fine for the activex problem, but now my function call to the swf isn't recongnized (probably 'cause the swf isn't directly embedded in the html document).
I need to be able to address the swf at any time, not just the beginning, else I'd just pass parameters. Any ideas would be MUCH appreciated.
With thanks in advance, Jeffrey
http://www.lineardesign.net
AC_FL_RunContent & BASE Attribute
I had a flash movie embedded in an asp page and I am trying to make it work with the new logic but it just sits there and does no load.
I think it may be perhpas because I had to use a base tag? There is one main movie that loads several others and none of them are in the same folder as the asp pagn.
Old and new source attached. If anybody sees anything goofy, I would appreciate some info.
Thanks
Mathias
Attach Code
OLD - Start
<param name="allowScriptAccess" value="sameDomain" />
<PARAM NAME="BASE" VALUE="/Genesis/Pictures/baseFlashMovies/">
<param name="movie" value="baseFlashMovies/genesis01_default.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="baseFlashMovies/genesis01_default.swf" quality="high" bgcolor="#ffffff" width="700" height="400" name="GenesisFlashWindow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
OLD - End
NEW - Start
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run "Apply Active Content Update" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '700',
'height', '400',
'base', '/Genesis/Pictures/baseFlashMovies/',
'src', 'baseFlashMovies/genesis01_default',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'genesis01_default',
'bgcolor', '#ffffff',
'name', 'GenesisFlashWindow',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'genesis01_default',
'salign', ''
); //end AC code
}
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'This content requires the current version of Macromedia Flash Player.'
+ 'This content requires the Macromedia Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
// -->
</script>
NEW - End
AC_FL_RunContent Problem With Flash Player 9.0.124.0 In IE
Has anybody noticed problems with version 9.0.124.0 of the flash player and the AC_FL_RunContent script? Specifically, with this version of the player in IE it says you haven't got Flash (I've specified version 8.0.0 as the minimum acceptable). Yesterday it was doing this on my colleague's computer, she updated to the newest version and it was fine. Today it reinstalled 9.0.124 (obviously they rolled back a version). It's fine in Firefox.
Anyone know what's going on?
Flashvars/sending Variables To SWF In AC_FL_RunContent String
Hi,
Does anyone know if it's possble to send variables from the html page from within the AC_FL_RunContent string to the SWF? It's possible to do it in the object / embed tags using FlashVars. It's also possible using SWFObject using so.addVariable("varName", "varValue").
I don't want to use embed or object becuase of the Active X problems, and am having problems getting SWFObject to work in one browser. Thanks for your help...
Flashvars/sending Variables To SWF In AC_FL_RunContent String
Hi,
Does anyone know if it's possble to send variables from the html page from within the AC_FL_RunContent string to the SWF? It's possible to do it in the object / embed tags using FlashVars. It's also possible using SWFObject using so.addVariable("varName", "varValue").
I don't want to use embed or object becuase of the Active X problems, and am having problems getting SWFObject to work in one browser. Thanks for your help...
Problem Passing Flashvars Variables In URL With AC_FL_RunContent
Hello,
I've read the tutorials and posts at Adobe but can't get this to work. My url passes this to the page with my.swf movie:
Code:
http://www.etc/myswf.html?var1=3&var2=A
var1 and var 2 are set depending on the button pressed on the previous page.
This is what I have for the code on the page with my.swf - but it doesn't work. Any suggestions?
script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
html body etc ...
Code:
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run "Apply Active Content Update" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '800',
'height', '600',
'src', 'myswf',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'myswf',
'bgcolor', '#ffcc00',
'name', 'myswf',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'myswf',
'FlashVars', 'var1=var1&var2=var2',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="myswf" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="myswf.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffcc00" />
<param name="FlashVars" value="var1=var1&var2=var2">
<embed src="my.swf" FlashVars="var1=var1&var2=var2" quality="high" bgcolor="#ffcc00" width="800" height="600" name="myswf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
I have "var1=var1&var2=var2" this way because in myswf.fla movie I pick up var1 = var1 from the URL and var2 = var2.
The old method that I used with JavaScript worked but did not contain the AC_FL_RunContent code which is needed now for IE. I tried to combine the two methods but haven't had success yet.
Code:
<script language="JavaScript">
var1 = "some value"; // Set default values in case not set in URL
var2 = "another variable!";
var p=location.search.substring(1).replace(/+/g,' ').split("&");
for(var i=0;i<p.length;i++){
v=p[i].split("=");
window[unescape(v[0]).toLowerCase()]=unescape(v[1]);
}
window.alert("var1=" + var1);
window.alert("var2=" + var2);
</script>
... and in the body
Code:
<script language="JavaScript">
document.write("<object><PARAM NAME=FlashVars VALUE="var1="+var1+"&var2="+var2+"">");
document.write("<EMBED name="movie" src="signSearch.swf" ");
document.write("FlashVars="var1="+var1+"&var2="+var2+"" ");
document.write("width="800" height="600" type="application/x-shockwave-flash" ");
document.write("bgcolor=#ffcc00"); //Add any additional object parameters you may require such as bgColor, etc
document.write(" pluginspage="http://www.macromedia.com/go/getflashplayer"");
document.write("></EMBED></object>");
</script>
Thanks!
Charles
Making The Standard AC_FL_RunContent Script Fallback Friendly
I use the normal "AC-FL_RunContent insert Media Flash" script to show off my flash-ads. But if the reader doesnt have flash they are "forced" to install/upgrade flash. I want the user to be presented with a gif/jpg instead aka fallback.
Do you got some knowledge I can tap into?
Remote Flash Files Much Larger Than Remote
Hi,
I am developing a Flash 8 Pro site
on a Mac OSX Tiger
For some reason, my published Flash movie files
are much larger than I thought
When I look at the files on my hard drive,
it's telling me that my homepage HTML is around 4kb
and my SWF is around 300kb
When I upload these to my ISP and examine these
same files (using Dreamweaver's Site Managing Feature)
these files clock in at
972 kb for the HTML
176402 kb for SWF
There are a lot of Flash Buttons on the homepage
that in turn use the loadMovie function
Why do the local and remote file sizes differ so much?
thanks
Remote Actionscript Issues - Local Vs Remote
i made web banners with the intent that the shell being the initial swf, could pull an external swf file from a remote site.
view here:
http://www.anthonythomas.com/duplicolorespn/
the main .swf file has to be under 30k, which it is. now the other .swf files load when you rollover the buttons. this method fulfills the 30k requirement on the advertisers side - also allows the creative to have higher res images/swf files hosted on our site/side.
in testing it locally, it all works great...
but when i moved the .swf file to
http://www.justinhale.com/test/
to test it -
the files hang up when you mouse over the buttons - is there a chance you could check out my source?
here:
http://www.justinhale.com/duplicolorbanner.fla
i'd really appreciate any help this forum could offer.
i checked out the security settings. security.allowDomain,
not sure if i'm using it correctly?
thank you,
jh.
Remote Control?
Hi everyone
Anyone got an idea how to get one mc to control another, sought of like a remote control, with play, stop, ff, rw etc??????
MadJE
Playing A Remote MP3
Hi all,
i wanna play a background sound on my Web-Site.
In the common way - everything works fine (importing the Sound-File and then export everything in the film)
But now i wanna play a mp3-File on a remote-Webserver.
I only have a url to the mp3-File.
How can i manage it to play this file.
Television Remote
hello once again..
I'm workin on making a television remote that the user can use to view different things about the site..
the remote has a power button, and the digits 0-9
each channel will be reached by pressing two buttons (1 7=channel 17, 0 3=channel 3, ect)
I've been told this can be done possibly by arrays, but I just started into actionscripting so I have NO clue how I'd get started..
but as an overview...
when the user presses the two buttons, it will load a mc in the viewing area..
any clue on how to write an array for this..?
Use Php On Remote Server
I Need help with the following:
I want to run a php script with a .swf file on a remote server.
This is my construction:
file_a.swf (_root) on http://www.server_a.de loads the file:
file_b.swf (_level10) on http://www.server_b.de which again uses loadVariables... to execute a php script that lies next to the file on http://www.server_b.de (same folder).
And that does not work.
It does work, when they are all together on the same server.
My literature (friends of Ed, the THICK one) says, the file must be on the same server as the script for some security reasons. But what is the file?? Is always the _root-file the mother of all files? Cause the executing file and the script are in the same directory...
If the above is so. Where could I find a workaround???
Christian
Remote Access?
How can an external SWF control an action in the movie timeline that it's being placed.
clip1.swf is being placed inside mainmovie.swf now i want to write a code like turning a music off in the mainmovie.swf, but i want the code to be inside the clip1.swf
is this possible?
Remote Server
I have a question. Is there software that can set my computer up to at least act like a remote server so I can test my scripts that I'm learning in actioscript? Is it something you can download for free. If anyone's got an answer, thanks
Ping A Remote PC
Hello, I need to create a map with a lot of button. Once of this button are green if ping is ok, are red if ping is bad.
One button for one remote PC.
ping "ip address" and green if is ok , red if is down. All PC are under the same network
Regards and please help me.
Remote Drag Mc
image_so = SharedObject.getRemote("position", client_nc.uri, false);
// Update image location
image_so.onSync = function(list) {
loader_mc._x = image_so.data.x;
loader_mc._y = image_so.data.y;
};
// Connect
image_so.connect(client_nc);
// Moving the image
loader_mc.onPress = function() {
this.onMouseMove = function() {
image_so.data.x = this._x = _xmouse;
image_so.data.y = this._y = _ymouse;
};
};
loader_mc.onRelease = loader_mc.onReleaseOutside=function () {
delete this.onMouseMove;
};
This moves the image around with the cursor.
The problem is when you press down with the cursor, the image centers itself on the cursor instead of just moving from where ever the cursor is placed on it.
Any Ideas on how I can make this work like startdrag and still keep it onSync with the server? I tried to ask this in the server area but didn't have much luck there.
Thanks
Remote Printing
Has anyone tied remote printing a swf? eg. Send the swf var's to remote hot folder or script. I'd like to remotely make PDF's from client side swf doc's.
Loading .swf, Remote
hello all,
pretty simple question:
My loadmovie works fine locally, but remotely the external swfs are not loading.
The stranger thing is that I currently have a site on the same server and loadmovie works fine there.
Any troubleshooting tips, or maybe just something stupid that I am forgetting?
Thanks
CFM/remote Issues
I am attempting to learn CFM and am trying one of the examples that came with..Flash 4 example employee directory (??). I opend up the flash document in Flash MX 2004 and when i tried to "SAVE AS" i get the prompt to save file in older format ... yadda yadda yadda -- well I did click on SAVE AS -- wtf??? Anyways saved it under a different file name so as to not corrupt the original. Anyways, I tried to publsih this new document eventhough - nothing has been physically changed by myself - just the format of the AS code into MX 2004 format. Ok heres the problem...all of a sudden these two files are not found: #include "NetServices.as" and #include "NetDebug.as", yet when the original example is run it seems to work fine -- WTF???
I downloaded the Flash Remoting Components to see if that would fix the problems and nope notta thing.
What am i missing/overlooking when this conversion took place?
Or better yet What the HELL happened?
Remote Debugging
Hello,
I am trying to get the remote debugger to work.
I read through 'Flash help' but don't see the menu item I need to click on.
I do have all the 'enable debugging' stuff checked in the Publish settings as well as the debugging password selected...
'Flash help' says to open the site with your Flash stuff in your browser & right click on the Flash to bring up the Flash menu; there is supposed to be a menu item right above the 'About Macromedia Flash player 7' which reads 'Debugger', but my menu does not have this item at all.
Any ideas as to how to make the remote debugger work..what am i missing??
Thanks much,
D.
Loading Remote Jpg's
Hey Gang,
Is there a way to load external jpg's from a remote location, so a user can access jpg's on our server from an swf on theirs? Must the jpg's reside in the same dir as the swf?
Best regards...
Lance
BytesTotal = > 0 Only On Remote
I'm doing a bytesTotal on some images i'm loading. Everything shows up nice when i run the code on my own computer, when i access the movie on the website bytesTotal() is always 0.
code looks like this:
loadListen[i].onLoadProgress = function(clip, bytesLoaded, bytesTotal){
var nr = parseInt(clip._name.substr(clip._name.lastIndexOf( "p")+1));
var stats:Object = imgLoad[nr].getProgress(clip);
_root["imgL"+nr].text= "Bytes loaded: " + stats.bytesLoaded +" of "+ stats.bytesTotal;
_root["imgL"+nr].setTextFormat(text_format);
}
Remote MP3 Load
Hello everyone,
I have a problem loading a remote MP3 file into my flash player.
I put the object code below. I am passing the file name via FlashVars below. Basiically the MP3 is on another server (map drive f when the player opens...it just does nothing, seeming to have a problem opening the file on remote server.
If I access locally it works fine...from Internet it bombs...not sure if cross domain/naming issue?
Hope you can help!!
Bryan
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="350" height="125">
<param name="movie" value="sampler.swf">
<param name="quality" value="high">
<param name="FlashVars" value="myVar=f:Example.mp3">
<embed src="sampler.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="125"></embed>
</object>
Remote MP3 Load
Question Title: Flash Player- Loading Remote MP3 file
Author: blenett
Points: 500
Date: 06/05/2004 11:04AM PDT
Hello everyone,
I have a problem loading a remote MP3 file into my flash player.
I put the object code below. I am passing the file name via FlashVars below. Basiically the MP3 is on another server (map drive f when the player opens...it just does nothing, seeming to have a problem opening the file on remote server.
If I access locally it works fine...from Internet it bombs...not sure if cross domain/naming issue?
Hope you can help!!
Bryan
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="350" height="125">
<param name="movie" value="sampler.swf">
<param name="quality" value="high">
<param name="FlashVars" value="myVar=f:Example.mp3">
<embed src="sampler.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="125"></embed>
</object>
Remote Rollover Help...
Hey all... I'm trying to make a movieclip button that does a little animation on a mouseover. In addition however, I'd like another movieclip on the stage to be triggered to play on that mouse over (yes, I could put them in the same movieclip, but for the sake of a fairly intricate layout, I don't want to drag a movieclip containing both onto the stage and guess at the positioning). Any help would be great! Thanks!
Remote Rollovers
Hello!
I am completely new to Flash (Just started learning it today) and I have a couple of questions.
I made a fla with a couple of layers, the bottom layer contains a background picture which doesn't change during the complete animation. In order to do this I added a lot of frames on the layer. Is this the best way to do this or are there other (more ingenious) ways to go about this?
The next question I can best describe as a 'remote rollover' problem. In javascript you can change a picture (or anything else) at position Y when moving over an item at position X. Can this be done in Flash as well? I tried adding a layer that has the action that should be performed when a mouseover occurs. The only problem is that this layer is part of the complete timeline, so it plays with the rest of the layers (even when no mouseover occurs). I did figure out how to add behaviours (a little bit)
Thanks in advance for any help! If I was too vague then I will try to clarify.
p3x
Variable In Name Of Remote Swf?
When looking at the following code, is it possible to have the name of the swf file as a variable that can be changed?
code: on(release){
container.loadMovie("variable.swf");
}
to add some thing like
variable = theVariable
and have a button set the variable?
Remote Log Saving
Ok, I am making a log in flash movie, and I want it to save the user's IP to a Log along with the time and date. (Mostly for security and checking for invalid users). I have 3 problems doing this.
1. I do not know how to save to a log WITHOUT overwriting whats already in there. (Log name: www.lukeflash.com/logs/special_iplog.txt)
2. I do not know how to get an IP Address, Time, or Date from the computer. (I only know System.capabilities).
3. I do not know how to tell it to check if it finished saving it.
Please help!
Remote Linking
anybody know an free hosting sites that allow remote linking for flash animations?
Remote Rollovers
I'm trying to attach an action to the down state of a button symbol which will make something pop up elsewhere on the page. This isn't working because all my actions are grayed out. How to do this?? Please help!
Remote Webcam
Does anyone know how to get an swf to display video from a remote webcam (not connected to the computer, but has an IP address)? Any help would be appreciated.
[F8] Remote Debugging
How to remote debug Flash files in IE . I have enabled remote debugging in debugging window. Also, I have checked debugging permitted in publish settings. I also have debug version of Flash Plaer. BUt when i right click any page in IE, debugging is disabled.
Accesing Remote Php...
I've been developing an app that access a php file on a remote server and gets some data from it. All the time I've been devloping the app it worked fine, I was accesing the PHP from the movie in my PC and everything worked perfectly. Now I have just uploaded the file to the Internet and it doesn't contact the PHP anymore. Why can't it be? Is there a known issue related to this?
Remote Control
Hi. I have a video (AVI file) and a simple remote control which i created using photoshop. I would like to control the video using the remote. Any ideas or suggestions?
Remote Swf Import
how do import a swf into a swf
(i mean when some seeing a swf on the web it has other swfs on there to witch are in in a sfw)
sorry i know im not much sence
Buttons On Remote
I need to do a game that run from a set top DVD players. The game is no problem but how does the key presses from the remote works? How do I know which key does what?
Cheers
Philippe
Remote Debugging
Hey there All!
Is there a way to get errors thrown by Flash when it resides on a remote server? When I test the files locally inside the Flash authoring environment it pops a window stating the error using trace("Error loading/parsing LoadVars.");
Is there a way to do this when ir runs within a page? Does it log these errors somewhere I can access it?
I have a banner that uses loadVars to load some images into the banner that is returned by a php script. If I run the php script on its own, on the server, it returns the correct result. If I run the banner, on the server, in the browser caling the swf directly it works but, when I embed this same banner inside a html or php page it ceases to work.
I have tested in FF and IE. I know IE has a new way of handling ActiveX and that is why I tested in in FF. Both give the same result. Any ideas what is going on here?
The html test page is: www.karenimages.com/index_test.html
and the actual SWF is here:
http://www.karenimages.com/includes/...mod/banner.swf
Any and all help appreciated. Thanks!
Remote Compile
I've been trying to find out if Flash is capable of compiling on a different machine than it is being run on and so far my Google searches have given me few results. An example of what I want would be to have one central computer that 10 or 15 designers/developers all connect to. Whenever someone compiles, all of the compiling work is done on the central computer, rather than on the designers/developers machine. The goal of this would be to enable people to work on another FLA while they wait for the first to compile. We typically will max out the processor for a good chunk of time (on some files up to 10 minutes), locking up our computers while we compile.
Remote Debug Of A Swf
I have a fla file (a very simple one for the test I am doing). I have set permit debugging. The swf and html files are stored in my local host).
If I double click on the swf file within Explorer the Debug Connect dialog appears
If I select the same swf file within Internet Explorer (http://localhost/example.swf) the Debug Connect dialog does not appear and I have to right click and select debugger.
I need the debug to appear automatically to ensure that code that runs at the very beginning works correctly.
Can anyone tell me if this is possible?
Flash Remote
Hi, i want to try Flash Remoting Classes in as2. (mx.remote.* and mx.rpc)
I try to install it on mac on flash cs3 - installer tells me «An error occured that prevented the intallation from completing.»
What should i do to make it work?
Thanks.
Loading Remote XML
Hi,
I have a problem loading remote XML file into SWF file.
Im doing a banner for a client with adds that is supose to load constantly
updated XML file from my clients server and load some images into flash form
it.
Everything works fine when i test the movie (CTRL+ENTER), but when i publish
it and test it from explorer, XML file is just not loading into flash.
Any ideas!??
tnx
Filip
Remote Method HELP
Hi,
I'm obviously missing some basic concept on how to handle response and return values from remote methods...
Lets say i'm using the following on the server:
Client.prototype.GetNumOfMessages = function(uid)
{
_NumOfMessages = _ws.GetNumOfMessages(uid);
_NumOfMessages.onResult = function(res)
{
// HERE IS MY PROBLEM. How can I return the "res" value to the client function that invoked?
}
}
The _ws.GetNumOfMessages(uid); is a call to a webservice, which works fine. If I trace the "res" I get the correct value.
So, how can I return this value?
The client code is:
nc.some_function = function()
{
nc.call("GetNumOfMessages",new retVal(),objUser.uid);
}
function retVal()
{
this.onResult(res)
{
trace(res); // I Get "undefined" here...
}
}
Please advise,
Thanks in advance,
Guy
Remote Web Cam Stream To FMS
Hi,
I've been searching everywhere but I hope someone here can help,
I'm setting up a web cam (Surf cam actually) at a remote location with a network camera, as in it connects directly to the internet and streams mjpeg & mpeg 4 streams, because of the limited uplink bandwidth available (Quality drops considerably with more than 5 simultaneous connections), I need to somehow transcode the footage to FLV and stream it with FMS or Red5 so that up to 50 or so users can view it without affecting the stream quality.
Can anyone give me some insight into how this can be done?
I've tried FFMPEG --> FFSERVER --> FLV but the output FLV stream can't be played because it has no meta data or timecode, and I can't see any way of injecting meta data into a live stream.
Thanks,
Ivan
Remote Rollovers
Hello!
I am completely new to Flash (Just started learning it today) and I have a couple of questions.
I made a fla with a couple of layers, the bottom layer contains a background picture which doesn't change during the complete animation. In order to do this I added a lot of frames on the layer. Is this the best way to do this or are there other (more ingenious) ways to go about this?
The next question I can best describe as a 'remote rollover' problem. In javascript you can change a picture (or anything else) at position Y when moving over an item at position X. Can this be done in Flash as well? I tried adding a layer that has the action that should be performed when a mouseover occurs. The only problem is that this layer is part of the complete timeline, so it plays with the rest of the layers (even when no mouseover occurs). I did figure out how to add behaviours (a little bit)
Thanks in advance for any help! If I was too vague then I will try to clarify.
p3x
|