Flashcheck Issue
I have created a very basic flash version check. A two frame movie is created in Flash mx and saved out as version 6. It contains two frames. the first one is blank, the second one contains getURL("main.htm"); which contains the main flash movie.
If the browser has Flash6 player, it loads the main movie. If not, there is a meta refresh tag that bounces them into a "you need flash 6" page.
Works fine except in Netscape 4.7 (Mac) with a Flash 4 plugin. It reads the flashcheck and goes to main.htm but can't load the swf there because it doesn't have flash 6.
I am stumped. How is it reading the flashcheck.swf???? I am definately saving it in version 6. Has anyone else encountered this?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[CS3] Still Having Clock Time Zone Issue---and Dynamic Text Box Issue
I'm trying to do a clock that displays another time zone. The problem I'm having is that instead of running on a 12 hour clock, its on a 24hr one.
any insight as to how I can change the time?
Currently the clock is displaying
23:00p-Jul.22
I want it to display 11:00p-Jul.22
var dayText:String;
var dateText:String;
var monthText:String;
var AmPm:String;
_root.onEnterFrame = function() {
var myDateate = new Date();
//var sec:Number = myDate.getSeconds();
var min:Number = myDate.getMinutes();
var hour:Number = myDate.getHours();
var day:Number = myDate.getDay();
var date:Number = myDate.getDate();
var month:Number = myDate.getMonth();
//var year:Number = myDate.getFullYear();
//sec = sec<10 ? "0"+sec : sec;
min = min<10 ? "0"+min : min;
//AM/PM
if (hour>12) {
hour = hour-12;
AmPm = "p";
} else {
AmPm = "a";
}
//day
if(date == 1 || date == 21 || date == 31) {
dateText = date+"";
} else if(date == 2 || date == 22) {
dateText = date+"";
} else if(date == 3 || date == 23) {
dateText = date+"";
} else {
dateText = date+"";
}
//month
if (month == 0) {
monthText = "jan";
} else if (month == 1) {
monthText = "feb";
} else if (month == 2) {
monthText = "mar";
} else if (month == 3) {
monthText = "apr";
} else if (month == 4) {
monthText = "may";
} else if (month == 5) {
monthText = "jun";
} else if (month == 6) {
monthText = "jul";
} else if (month == 7) {
monthText = "aug";
} else if (month == 8) {
monthText = "sep";
} else if (month == 9) {
monthText = "oct";
} else if (month == 10) {
monthText = "nov";
} else if (month == 11) {
monthText = "dec";
}
//display
dateDisplay.text = hour+":"+min+ AmPm + "-" + monthText+"."+ dateText;
};
Complex Audio Issue..or Maybe Just Syntax Issue
what's up peoples. I'm building a new site for my studio and having some audio issues i can't explain very well, so here goes:
I've got an external .swf successfully loading into _level6 of my project with it's own audio. and from reading thse forums, i know that if i want to control the audio independently of other audio, i need to attach the sound object to a seperate movieclip, which i'm doing and I can control the audio just fine. However, when i click to load in a dynamic image into a dynamicly loaded movieClip, the volume button no longer works. Both the soundobject's mc and the dynamic mc's are being loaded into the nextHighestDepth() so i don't think one is kicking out the other. Here's what i've got:
Code to attach the soundObject when the section starts:
Code:
this.createEmptyMovieClip("soundstage6",this.getNextHighestDepth());
work_sound = new Sound(soundstage6);
work_sound.attachSound("myaudiofile");
work_sound.start(0, 999);
Code to control the volume:
Code:
this.testVol.onPress = function () {
this._parent.work_sound.setVolume(0);
}
Code that loads in my dynamic images:
Code:
this.testLoad.onPress = function () {
_root.attachMovie("infoClip", "infoClip", this.getNextHighestDepth(), {_alpha:0, _x:491.1, _y:193.9});
}
that testLoad button does severl other things when clicked, but when i comment out that particular line of code, the volume control button contines to work. I'm sure this has something to do with the fact that all of this is occuring on _level6 but i have no idea why or how to fix it!!!
Anybody have any ideas? Sorry for the long and complex explination!!
Mac Textinput Issue + New Player Fullscreen Issue
Please inform me if I am a total idiot,... but it appears that holding down backspace while in a TextInput on a mac will only delete one character rather than deleting chars as long as the button is held down. I have tried making the simplest project consisting of only a base sprite and a textinput, and it fails (i thought i may have been preventing the event from bubbling or something.) I tested the movie on PC and holding down backspace works fine. Is this a known issue? and so I just have to extend textInput?...
Also, it seems like when coming back from fullscreen in a swf embedded on a page causes some flickering of the swf content upon resizing the browser window, 3 people I know have also encountered this problem.
Thanks for any help,
Chris Laan
Button Issue In Flash - Program Issue
all of a sudden when i create a button and place it on stage i cant click it to drag it, scale or whatever...instead when i hover over it it behaves as in a compiled swf file (cursor changes into a hand,...).
How can i change that to the way it was? Anyone had this problem before? It is becoming really irritating.
Level Issue Or Version Issue?
hi,
wondering if anyone knows why this movie here:
http://www.pixel360.com/dev/zoompan.html
works fine as it is, but when loaded into another movie, into an MC called 'blankmc1' it will drag, but not zoom?
Also when i try exporting it as AS 2 and Flash8 the zoom handle sticks to the top of the screen?
source here:
----------------------------------------------
http://www.pixel360.com/dev/zoompan.fla
weird?
Help With Crash Issue/actionscript Issue
Hello all,
My name is Josh and I want to say thanks for even reading my post, I appreciate any help I can get. I am here at work trying to edit a flash intro I bought from templatemonster (no im not a newbie, but this is the one my boss really liked, so what he wants he gets). Im trying to edit it here and i first opened it in Flash 8 which is what i normally use. So, im editing it and usually after I edit a few things I would like to get a glimpse so i test the movie real quick. Well, everytime the "export movie" dialog box came up, it stops at about a little more than half way and the box goes away and NOTHING comes up. IT doesnt freeze, but my test movie doesnt show like something usually would. So i tried installing/uninstalling it to no avail. Finally my boss went out and purchased flash cs3 and we installed that. So im editing it again, and went to test movie, and this time it gets 3/4 way done and "flash has unexpectedly quit" etc etc. So im starting to think its something with the actionscripting maybe?? i dont know but im really frustrated and need some help here. And also, even if I tried to just plain export the movie to swf, crashes too!
Thanks everyone!
-Josh
Flash 8 Pro Issue Interval Issue
Hey, I've been working on my site for a few weeks trying to get it all just right, and I'm making it import text, to text fields from external documents, I've been using loadVariablesNum() and createTextField() to post the text onto the flash document.
ActionScript Code:
//0x393c39;
this.createTextField("forum_box",this.getNextHighestDepth(),212,3,162,120);
forum_box.wordWrap = true;
forum_box.border = true;
loadVariablesNum ("forum_txt.php", 2);
function ftv() {
if (_level2.forum_txt != undefined) {
trace(_level2.forum_txt);
forum_box.htmlText = _level2.forum_txt;
clearInterval(ftt);
}
}
var ftt:Number = setInterval(ftv, 100);
this function keeps looping, it is in a frame that is only called once, i tested this by placing a trace at the very begining , just to see if it would echo it to the output screen more than once, It seems my interval isn't stopped by clearInterval(). if anyone can see my issue here it would be greatly helpful.
Thanks
Issue With ' ' Not
How would I make this work?
Flash says I need a ' ; ' after the ' ! '
and if I add a '=' it asks for an opperhand.
onClipEvent(load){
Gospeed=0;
Goset=true;}
onClipEvent(enterFrame){
Gotimer+=1;
if(GoSet=true){
Gospeed+=1;
}else{
Gospeed-=1;}
if(Gotimer>=5000){
Goset!;
Gotimer=0;
}
}
Lag Issue...
ok, i have a button that is duplicated and filled in with titles from an xml file. the buttons are actually 20 frame mcs. when you move your mouse over them they play and send the other clips back to the second frame using a funtion. i use loops so it lags a little and i would like to get rid of it. i am new to action script so i may be overlooking a simple solution.
funtion that sends them back to 2:
---------------------------------------------------------
function clearall (except) {
i=0;
while (i < xml1.firstChild.childNodes.length+1)
{
if(xml1.firstChild.childNodes[i].attributes.title != null){
if(xml1.firstChild.childNodes[i].attributes.title != except.text){
text2=_root["button"+i].gotoAndStop(2);
}}
i ++;
}}
--------------------------
on mouse over funtion used on buttons:
on (rollOver) {
_root.clearall(this)
this.gotoAndPlay(3);
}
----------------------------
if it would be easier to download the file is at http://www.helpjoey.com/pasc/page2.fla
thanks in advance,
dave
Fps Issue
I´ve made two .swf files, the problem that I have is that now i whant them to stick together. Why is the problem? because the first one runs at 12fps, and the second at 45fps.
I tried to add/del frames of from the movies, but they are huege files (4 mb each aprox).
Do you know a way to do what I want? any software? anything?
Tx a lot for your time,
Gonzalo.-
Lag Issue
Lets say i created a full flash site and I load every sections(around 5 movie clips) into the timeline. WIll this cause the movie to lag? Or shld i unload the unecessary sections?
Ftp Issue
I was wondering if there is a way to password protect certain folders on my web directory?
Lag Issue Help Me Please
all right.. i see all these really cool flash intros with all this awesome graphics and sound and stuff like that.. i'm trying to do a simple one with music and text that fades in at certain parts of the music, when i try this in flash it works fine, but as soon as i upload it lags like crazy.. how do all the other sites make their intros run so smoothly? any help appreciated, thanks in advance! ^_^
XML Issue
hey all. heres what i got:
i have an external SWF that reads from an XML source datasheet. it is a game type of program that prompts users with a statement, and has them "file" the statement into the appropriate category.
i then have an interface that this SWF game must go into. i have a load movie command in the interface that calls up the SWF that reads the XML. what is happening is the movie is messing up. it loads the XML (ive traced it to verify) but does not work right...the questions wont advance, and the questions are registering as correct whether their wrong or not. anyone know why this is? is it an addressing issue in my XML SWF? please help asap.
thanks in advance
dave
MAC OS X Issue
I am experiencing an odd problem with MAC OS X. We have a navigation system for online courses that uses Flash and XML. The XML file specifies sections and lessons to display in the navigation. For some reason, on MAC OS X, the table of contents in our navigation doesn't display properly. It's easier to see it than explain. Please go to http://dcecf.byu.edu/is/demo.htm. The left side shows a MAC OS X screen shot of the table of contents. The right side shows the PC and Pre-MAC OS X screen shot.
I'm hoping someone has an idea as to why MAC OS X cuts off the text and puts the "...". If more information is needed on how I am loading the text, I will explain more upon request. We are using the latest version of Flash. This has been an issue since Flash 6. We were hoping it would be fixed with Flash 7, but no dice.
Any input would be greatly appreciated
How Can I Fix This Issue?
**Error** Scene=Scene 2, layer=Layer 1, frame=2:Line 1: Clip events are permitted only for movie clip instances
onClipEvent (load) {total = int(_root.getBytesTotal());}
**Error** Scene=Scene 2, layer=Layer 1, frame=2:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {
Total ActionScript Errors: 2 Reported Errors: 2
.exe Issue
I made a CD for a client which had a walkaround gallery on CD. I had it set to autostart the .exe when the CD was inserted. This would play the intro and then would load the seperate galleries on clicking them.
However, i had each gallery to load as a .swf which DOESNT have the flashplayer encoded with them. This meant everytime he went to run the .swf without the flash player installed on other machines they'd fail to load.
I have to do a similar project with another CD now. This time i want seperate .EXE projector files to open from 1 master .EXE file when they are required. At the end of each id tell it to unload itself and then tell it go to another frame on the master which in end would load the next .EXE.
I know Flash has problems running .EXE files for security reasons. Is this therefore possible?
PHP Issue
Hi
I am curently using this
$query = "SELECT * FROM pod ORDER BY posted DESC";
to load a bunch of posts for a newsboard.
Question is how would this look like if I only want to load the latest post (only the latest post wills show up).
Thanks!
Cheers!
PHP Issue
I'm trying to use PHP with my Flash App. All I want to do is give the user an option to submit their email address and I want it to write to a text file. I've done all the coding but I can't seem to get it to work. Can I post my Fla and PHP file for review?
Cheers
3d Fly Through Issue?
I am trying to do a 3d fly through and have it in flash mx. Is it easy to make it in another program and inport it or do it all in flash?
If yes on using another program which is best to use to import the easiest.
Thanks
Pop Up Issue
I have this line on a button:
on (release) {
getURL("Ridge.html", "_blank");
}
But it comes up as a full window and I want to have it as big as the photo on the page no more. How do I do this? The image is 463x400.
Thanks
Pop Up Issue
I have a menu embedded in a movie symbol within a flash movie. Each button opens a pop up to a image gallery. Since I have placed the menu within a movie symbol now Explorer blocks the pop up. Any suggestions?
Basically the client wants the music to stay constant across the site. I used the pop up because I used DMXzone plugin to generate the .swf. Can I use a loadmovie() action script and accomplish the same thing. Does having the buttons within a movie symbol effect that.
Here is the site:
http://www.redletterdaysphotography.com
Thank You -
Andy
XML @ Issue
Has anyone every experienced this problem:
I have data coming from a MySQL database being exported into XML. I am then importing the XML data into Flash and plaing it in a scrollable multiline textbox. I have PHP functions formatting the data for XML and Flash functions formating the data for Flash once inside.
Everything works perfect when I run the Flash in preview mode or even in a browser from my computer. As soon as I upload everything the text being imported into Flash loses all '@'....!?!
Just a note....the font is embedded and all required symbols are embedded.
Any ideas...!?
Swf And IE Issue
Hi,
When i launch my page with flash content the whole swf file has a mouseover action as though it is a big button which it isn't. When i click it once it is fine and you can use the mouseover effects and buttons.
Is this a norton issue because it doesn't do this in firefox.
thanks
Not Sure This Is An AS Issue
Not quite sure how to do this:
I've got a series of pages which are being dynamically written that include multiple instance’s of the same .swf (an mp3 player used for providing music samples).
If this were all in FLASH (each player being a MC), I'd include script to deactivate the players not in use; so if a user has selected an example that is currently active none of the other examples would be able to play until either the initial example has stopped on it's own or by the user.
I'm wondering if there's a way to do this using FLASHVARS or something similar.
Any thoughts?
Btn Issue
Oh my God what am I doing wrong
I have created things so much more complicated than this
I have a MC that acts as a button, I have written this code a million times
why is it not working. Help Please!
Thanks in Advance!
Using flash 8 on mac
Help Issue
Sorry did not mean to upset anyone by saying NO TIMEWASTERS but i have come into contact with people who tend not to really answer your question and include lots of Functions that are copmpletly irrelevant to the problem.
I have been trying to resolve this for a few weeks now and i find it frustrating to have script missing or trace and time functions added together with misleading Names and Punctuations.
I also feel that it is often the people who help others alot who sometimes get fed up with people taking from them all of the time so they end up confusing people instead.Well the answer is simple.Yes it is a voluntary site and noone really has to help if they do not want to but if you do decide to offer help than dont get resentful and do it with a good spirit. Cheers
[F8] FLV Issue
I know this is a really basic problem but can someone help me out on this.
I have 4 buttons. Each button will load a swf that has a FLVPlayback component inside it. When I click on the button, I cant get the FLV to play.
I have looked it the help menu and well... here I am.
This is the action script I have.
on (press) {
unloadMovie(1);
}
on (release) {
loadMovieNum("SRHormone.swf",1);
}
Within the SRHarmone.swf the FLVPlayback component has an absoulte URL to where the flv file is. Actually it is in the same root directory as the swf and my main swf.
The unloadMovie is so I can kill the previous playing movie. Now, everything works great when I am viewing it off of my computer, but when I post it on the net, it does not work. Prior to posting it, I changed the "current path" parameter to the a url address. I noticed that the path was locally on my computer.
P.L.E.A.S.E H.E.L.P.
Little Issue With Css
hi guys...normally, i do well with this... today, i am missing something. I know the text is loading because i can see it in a trace. However, my text box draws a blank....anythoughts?
Code:
var introSrc = "texts/intro.html";
var howToSrc = "texts/howTo.html";
storyLine.autoSize = true;
storyLine.selectable = false;
storyLine.html = true;
css.onLoad = function() {
storyLine.styleSheet=css;
loadText(introSrc);
};
css.load("texts/styles.css");
function loadText(src_var){
var tx:LoadVars = new LoadVars();
tx.onData = function(src) {
storyLine.htmlText = src;
trace(src)
dragger._y=0
};
tx.load(src_var);
}
Swf To Gif Issue
Hello,
Is it possible to convert a .swf-file into a .gif-file without making it look all jolty and unaesthetic? Tried it with Magic Swf2Gif; the problem is that the gif-file just isn't played fast enough to make the animation look acceptable. Is there a programm that'll let me accelerate the play-back speed of a .gif-file?
Thanks for your statements,
itsme.
[f8] Fps Issue
Hi all, i have recently been working on a new game, and decided to show some friends my progress. Anyway, i uploaded it to my website, and noticed that the game was running slow compared to the 40fps offline. So i gutted the game and still couldn't resolve the issue.
I then created a blank document, added about 5 lines of code to show the FPS, and my results were that this document with nothing in it runs at 10fps slower in my browser! If you want to test yourself, here it is: http://xenwars.com/fps_test.swf
The strange thing is, for the first second or so that the flash is loaded, it runs at max FPS, but then drops and stays that way.
I get the same results in IE as Firefox. Does anyone have any idea what the problem might be?
IE Issue
http://dev.brunomilitzer.com
I have a Internet Explorer Issue. When I reload the page with IE the page seems to shift off the screen. When I do with FF, it seems to be fine. I made the stage Align to the Top Left, and did no scaling. Been fiddling around for hours to try to fix this. Has anyone had the same issue.
SFX Issue
I'm having an issue with SFX. Basically the button sfx, seem to be so low, when I downloaded of flashden.net it sounded really high, I tried to make it louder with adobe soundbooth, but I can't hear anything in it. How can I make the sfx be louder.
AS3 With MP3 Issue
I build an mp3 player on my site, but the issue is that the mp3 format won't loop properly, so I tried using a wav format, but the wav format won't play being an external file. So I tried creating an swf for the loop. But I don't know how to control the sound volume with being an swf format. How can I fade in when the sound first's load, and then fade out when I turn of the sound.
Don't Get This AS Issue
ok I create an object, lets call it "Player"
Player contains an array called missilesArray.
missilesArray gets populated by references to other objects. These objects are called Missile.
Missile contains a function called missileControl();
But when I try to reference missileControl like this...
Player.missilesArray[i].missileControl it gives me a compile error..
"The property being referenced does not have the static attribute"
What am I doing wrong?
XML Issue
Hi All,
I have this image gallery that uses xml to load images, titles and links.
The only problem is that when I click on the link button, it gives the "defined" error and the path seems to be pointing to my local drive rather than "http://www.externalurl.com"
I have been over the code over and over again but I can;t seem to pin point the problem
The gallery is called via an external AS file and the code for the link button is
parent._container.urlbtn.onRelease = function()
{
getURL(urlArray[pic]);
}
I have declared an array at the start of the AS file
private var urlArray = new Array();
and filled it up
parent.urlArray.push(gallery.childNodes[i].attributes.link);
I have placed an instance of the button on stage and given it an instance name: urlbtn
In my xml I have:
<image title="nike advertising concept" source="print1.jpg" link="http://www.yahoo.com"/>
Any help would be appreciated.
Note when I replace "getURL(urlArray[pic]);" with "getURL(http://www.yahoo.com"/);" it works.
Thanks in advance.
S.S.
XML Issue
Hi guys,
Im currently having a moment lol i cant seem to work out why i can grab 1 attibute from a XML entry but not the other 2 lol.
Here is an Example:
Quote:
<image titl="Test Image 1" lgimg="1/CustomBlue.JPG" thmb="1/tb_CustomBlue.JPG"/>
it loadsa the XML fine and i can see each bit in the debugging mode except titl and lgimg come up as undefined (a slight bit annouying)
It will grab thmb (a thumbnail image) but wont store the title or lgimg
Here is the code im using
Quote:
this.thumbHolder.titl = picHolder.attributes.titl;
this.thumbHolder.lgimg = picHolder.attributes.lgimg;
this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_i mage", 0);
this.thumbLoader.loadMovie(picHolder.attributes.th mb);
[CS3] [FP9] [AS2] 9,0,124,0 Issue
Hey guys. Hope you can help. I've done some searching about the new update, and its frustrating.
I have an swf using AS2 that is connecting to a .NET WebService. In the 9.0.115.0 Release, it works, but in the new one it does not. It doesn't even catch any of the events for the webservice (ie. onFault for loading or onLoad). Btw, the swf and webservice are on the same server.
I could not find any information about how the new security release effects AS2 code. Because Web Services use XML sockets (right?), do I need to put a socket policy up on my server, if so, anyone got useful information about it?
Hope anyone can help.
Ktu
FLV Issue
Hi! I'm trying to make a game in Flash 8 Pro that involves video. I've converted all my video from avi to flv, and am using a script I got off of a tutorial to play the video. Within the script is a segment that will run when the video ends, sending it to the next frame. However, this section doesn't seem to run on one particular video file (incidentally, it's the longest of the videos, at a whopping TEN SECONDS! ).
I've posted the script below. Please let me know if you can help resolve this issue! Thank you very much!!!!!
Code:
stop();
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);
// Create a NetStream object and define an onStatus() function
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
if (infoObject.code == "NetStream.Play.Stop") {
gotoAndStop(8);
}
};
// Attach the NetStream video feed to the Video object
GAF.attachVideo(netStream);
// Set the buffer time
netStream.setBufferTime(5);
// Begin playing the FLV file
netStream.play("ticket.flv");
XML Issue..
I am trying to figure out how to make flash respond to certain values of xml nodes.
Here a brief bit of the xml:
HTML Code:
<item>
<status>closed</status>
</item>
Here is chopped down version of what is in flash:
ActionScript Code:
if (_global.Status[0].value == closed) {
trace(0+" is closed");
}
How do I tell flash to look for the exact value of that node?
Thanks!!!!!
Nav Issue
Hey there.
Here is my issue. Im making a multi swf movie. The master file calls the nav.swf / layout.swf and splash.swf files into it, onto layer 10/11/12.
no probs there,
but now in the nav.swf file i have my menu (duh) and i need to make it load the summer.swf file over the splash.swf file...
what is the code that i need? because it (nav.swf) needs to tell the master file (master.swf) to run:
myMCL.loadClip("summer.swf", 12);
instead of
myMCL.loadClip("splash.swf", 12);
any pointers? or am i going about this in the wrong way?
-buddha
ps. thanks for any pointers / direction
NaN Issue
NaN Issue
I have the following code which gives the result I require. However, when the MC opens the fields “cfillcost”, “h2fillcost”, “h2range”, “saveweek”, “savemonth”, “saveyear”, all have NaN until data is entered in the other fields. Looking for the correct coding to overcome this so all fields are either blank or have a zero.
The clip is 3 frames.
if (tanksize == "") {
tanksize = 0;
}
if (litrecost == "") {
litrecost = 0;
}
if (cmrange == "") {
cmrange = 0;
}
if (cmkmweek == "") {
cmkmweek = 0;
}
if (percent == "") {
percent = 0;
}
gotoAndPlay(2);
cfillcost = Math.round((((Number(tanksize))*(Number(litrecost) ))*100)/100);
h2fillcost =(Number(cfillcost));
h2range = (1+((Number(percent))/100))*(Number(cmrange));
saveweek = Math.round(((((Number(cfillcost))/(Number(cmrange)))*(Number(cmkmweek)))-
(((Number(cfillcost))/(Number(h2range)))*(Number(cmkmweek))))*100)/100
saveyear = Math.round(((Number(saveweek))*52)*100)/100;
savemonth = Math.round(((Number(saveyear))/12)*100)/100;
XML Issue
I have been lumped with another designers file and trawling through the code, unfortunately for me it is XML heavy and I only have limited experience. It loads an image slideshow, I have found where I think it's loading...
Code:
on (construct, keyPress "") {
_xmlfile = "images.xml";
_loop = true;
}
Is the _xmlfile line enough to load the xml, when I run it currently I get errors but if I remove ", keyPress """ it appears to work... Any ideas? Would there be a call somewhere else telling the xml file exactly what to do? I can't seem to find anything...
Have An Issue.
So I have a flash website I am working on, got a good deal of it done at home where I have Flash CS3 and Flash Player 9, but im trying to get it to work on my school computer, its a really old thing but it has flash MX 2004 and Flash Player 7, is there anyway I can get the .fla and .swf from CS3 to work on my school computer?
Map Issue
I have a US map where I have stored all of my states into a single container. The issue is when I swap children of this container(the states) to create a hover effect, when I swap them back the states become covered up on edges by surrounding states. I guess my question is how can I swap the index of a given state to have it pop up and then swap it back to have it lower down into its original position without having indexc onflicts with surrounding states? Thanks in advance for any help!
AS3 Issue
Hi all,
i have a issue with a class file.
I have a videoplayer class, and i want to make it more dynamic.
ActionScript Code:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.net.NetStream;
import flash.events.NetStatusEvent;
import flash.net.NetConnection;
import flash.media.SoundTransform;
import flash.media.Video;
public class Videoplayer extends MovieClip {
public var nc:NetConnection;
public var ns:NetStream;
public var st:SoundTransform;
public var vid:Video;
static var vstate:Boolean = true;
private var netClient:Object;
public function Videoplayer() {
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
st = new SoundTransform();
var vid:Video = new Video();
this.addChild(vid);
vid.attachNetStream(ns);
//ns.play("../media/space.cowboy.flv");
vid.x = 10;
vid.y = 90;
vid.width = 320;
vid.height = 240;
ns.addEventListener(NetStatusEvent.NET_STATUS, getMeta);
ns.addEventListener(NetStatusEvent.NET_STATUS, isStopped);
}
public function doPlaying(videorequest) {
// dit must be a dynamic function!
ns.play(var videorequest:String);
}
private function getMeta(event:NetStatusEvent):void {
trace(event.info.code);
netClient = new Object();
netClient.onMetaData = function(meta:Object) {
trace(meta.duration);
}
ns.client = netClient;
}
private function isStopped(event:NetStatusEvent) {
//trace(event.info.code);
switch (event.info.code) {
case "NetStream.Buffer.Empty":
trace("Buffer empty");
break;
case "NetStream.Buffer.Full":
trace("Buffer full");
break;
case "NetStream.Play.Start":
trace("Playing");
break;
case "NetStream.Play.Stop":
trace("Stopped");
break;
case "NetStream.Play.Start":
trace("GESTART");
break;
default:
trace("Unlisted event.");
}
}
}
}
This is my main class, wich is connected to the flash document.
ActionScript Code:
package {
import flash.display.MovieClip;
public class Mediaplayer extends MovieClip {
public var videoplayer:Videoplayer;
public var playlist:Playlist;
public function Mediaplayer() {
videoplayer = new Videoplayer();
playlist = new Playlist();
addChild(videoplayer);
addChild(playlist);
// here i want to have a function sort of like this:
// Videoplayer.doPlaying("video.flv");
// is that possible?
}
}
}
but this aint work... how does it goes in AS3?
IE Issue
Hi All,
I just built this pretty intense app. In short, clients have a playlist which contains playlist items.
The XML is basically set up like:
ActionScript Code:
<playlist id="34" title="Awesome Playlist">
<item title="itemTitle" id="113" url="uploads/file.jpg" />
<item title="itemTitle" id="114" url="uploads/file.jpg" />
<item title="itemTitle" id="115" url="uploads/file.jpg" />
etc...
</playlist>
There is an upload MC for them to add new items. When they hit the "close" button in upload MC, it reloads the xml and display's the newly uploaded items. Basically it loads("..../functions/updateXML.php?playlist_id=34")
Works fine in FF, for some reason won't work in IE. Get an "undefined playlist" - In FF, it says "Playlist Name" = like it should.
(When I manually enter the above URL with playlist ID, all comes up in IE correct also.)
Anyone have this prob before or have any suggestions?
Hope that made sense
Thanks!
AOL Issue With Swf
Hi guys..dont know what this issue is...
www.boobypillow.com/testsite.html won't play in AOL.
Published flash 9 works in IE but getting an error message box in 10.
Weird stuff Any help would be appreciated.
Thanks
URL Issue
Sorry...this has nothing to do w/ FLASH but...
Does anyone know why certain sites need the 'www' attach in front and other sites doesn't ?
my school site is www.temple.edu
if I leave the www out (temple.edu) it doesn't work.
Anyone knows why?
|