Question About New Flash Player
I am taking a class on web design. My teacher said that flash 6 movies will not correctly work in a lower player. My question is how does this whole upgrade thing work? Will my MX site work in the MX 2003? I am pretty sure that my teacher is mistaken.
MY SITE IS SO CLOSE TO FINISHED I CAN TASTE IT. I LEARNED SO MUCH MORE HERE THAN I DID IN SCHOOL. THE BEST THING THEY TAUGHT ME THERE WAS HOW TO TYPE FLASHKIT.COM.
FlashKit > Flash Help > Flash MX
Posted on: 09-14-2003, 03:00 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Flash Player Installed, But Every Site Flash Player Required For Asks To Install Not Working At All
- Flash Player 6 Code Doesn't Work In Flash Player 7 Or Grater
- Firefox Recognizes Quicktime As Flash Player Instead Of Flash As Flash Player
- If A Movie Is Made For Flash Player 6, Will It Work On Flash Player 5?
- Old Version Of Flash Player And Location Of Flash Player In The Computer?
- Code Works For Flash Player 6 Settings But Not For Flash Player 8...
- Tsunami Works Fine With Flash 5 Player But Not With Flash 6 Player
- Code Works For Flash Player 6 Settings But Not For Flash Player 8...
- Publishing In Flash Player 6 Works. Flash Player 8 Doesn't.
- [F8] 2 Flash Objects - Audio Player Passes Pause To Video Player
- How Do I *completely* Uninstall Flash Player And Then Install The *full* Player?
- Windows Media Player Or Real Player Through Flash
- Kallok Music Player V.1.0 (stand Alone Flash Mp3 Player)
- FLash Cd Player .cda Files Launching Media Player?
- [MX] Closing Flash Player Or Window Projector Player
- XSPF PLayer, Webjay.org, Flash Player Woes.... What Do You See?
- Detect If Browser Has Flash Player And Get Player Version
- Player In Flash - Open URL In Player Player_.swf?mus=http://URL
- Video Player Component Using Flash Player 6
- Flash Player Vs Windows Media Player
- Flash Player 10 Component Player Skins Gone
- Works In Test Player But Not On Flash Player
- Flash Player 10 Killed My Video Player
- Need Movie To Work In Flash 4 Player As Well As A Flash 5 Player?
- Sound On Off, Works With Flash Player 6 But Not Flash Player 8
- Stompclient Is Not Working For Flash Player 9 (Flash Player 9,0,124,0)
- Flash Player 9 - OK, Flash Player 10 - Type Error
- AS 1 Passing Vars For Flash Player 6 To Flash Player 8
- I Have A Problem/question About Flash Player 6 Vs. Flash Player 4 And "fscommand"
- Flash Player Or Shockwave Player
- Actionscript Flash Player 6 Vs Player 7
- Flash Player 6 To Work In Player 7.0
- AS2 Working In Flash Player 6 But Not Player 7+
- Video Player For Flash Player 7
- How To Make The "Update Player" Dialog Appear In Flash Player?
- How Run This Code In Flash Player 9 Which Is In Flash Player 5
- Works In Flash Player 6 Not Flash Player 8
- Flash Player 8 And Flash Player 9 Difference
- GetURL Working In Flash Player 8 / Not Working In Player 9
- Pass Variable To Custom Function Not Working In Flash MX For Flash 6 Player
- Ie6 Crashes When The Mousepointer Leaves The Flash Movie Area. [Flash Player 8]
- Flash Security Problems Integration Not Done Properly With The Version Above Than Flash Player 6.
- Can I Modify The Icon Of The Flash Projector Made Out Of Macromedia Flash Player?
- Playing Flash .swf Tracks With A Flash Player Without Waiting To Download?
- Is Flash Player 7 Causing Scroll Stick With Flash 5 Code?
- Flash SWFs Rendered Faster In The Flash Player Than In A Browser
- I Would Like To Externally Control Loading Flash Movies In To A Flash Player With Js
- Making A Flash Movie Open In Flash Player, Not A Browser
- Making My Flash Mp3 Player Visable & Playable On Another Flash Scene?
- Flash Working In Flash Player, But Not When Inserted In A Html Page
Flash Player Installed, But Every Site Flash Player Required For Asks To Install Not Working At All
Hi all, wondering if someone would be kind enough to help me, PLEASE lol
Flash player asks to be installed everytime I go onto any site that requires it, I have installed it, it advises it has been sucessfully installed but when I go back to the page it asks again! Have had this problem for ages and have tried eveything I can think of! at witts end and customer service wont help as its a free product.
Any help would be greatfully appreciated.
Sarah ;-)
Flash Player 6 Code Doesn't Work In Flash Player 7 Or Grater
Hi flashers,
I think some of you know this page http://www.levitated.net
There you can download open source scripts that are quite cool. When I publish on of those codes with the flash player 7 or grater, they doesn't work anymore. Does anyone know why?
thanks
-Tukinu
Old Version Of Flash Player And Location Of Flash Player In The Computer?
Hello forum!
I want to test the update process of my site but already have the latest version of flash player. So I have two problems:
-the first one is that I can't find older versions (fp6 or fp7) on the internet
-the other one is that (don't smile) I can't manage to uninstall the latest version of flash player from my computer! I unistalled all flash player programs in the control panel of windows XP, I don't find flash player in the "program files" folder, however flash player is always working!!
Code Works For Flash Player 6 Settings But Not For Flash Player 8...
Hi,
I'm pretty new to Action script and I have a problem here that I can't seem to figure out.
I have this Action Script Code which is attached to a simple movieclip, and it all works IF the general settings are set for Flash Player 6.
It does not work for Flash Player 7 or above, which is probably because this is Actions Script 1 Code...
I attached the .fla file and also here's the code:
Code:
onClipEvent (load) {
accel =0;
rate = 0.05;
trace(_y)
_root.ykoord=0;
}
onClipEvent(enterFrame) {
y=y*accel+(_root.ykoord-_y) * rate;
_y+=y;
if(Math.abs(_root.ykoord-_y)<1) { _y=_root.ykoord; }
}
Do I need to change the code ?
I wanna publish in Action Script 2 for either Flash player 8 or 9.
Thanx for your help in advance !!!
Mike
Code Works For Flash Player 6 Settings But Not For Flash Player 8...
Hi,
I'm pretty new to Action script and I have a problem here that I can't seem to figure out.
I have this Action Script Code which is attached to a simple movieclip, and it all works IF the general settings are set for Flash Player 6.
It does not work for Flash Player 7 or above, which is probably because this is Actions Script 1 Code...
I attached the .fla file and also here's the code:
Code:
onClipEvent (load) {
accel =0;
rate = 0.05;
trace(_y)
_root.ykoord=0;
}
onClipEvent(enterFrame) {
y=y*accel+(_root.ykoord-_y) * rate;
_y+=y;
if(Math.abs(_root.ykoord-_y)<1) { _y=_root.ykoord; }
}
Do I need to change the code ?
I wanna publish in Action Script 2 for either Flash player 8 or 9.
Thanx for your help in advance !!!
Mike
Publishing In Flash Player 6 Works. Flash Player 8 Doesn't.
I'm building a small quiz application in Flash 8. I started out targeting Flash Player 6 but have now decided that I need some of the features only available in Flash 8. When I try publishing to Flash 8 I get some weird behavior.
There aren't any AS errors, but where the application worked fine for Flash 6, now it gets stuck in a loop and never actually loads.
I've tried both Actionscript 1.0 and 2.0 as I'm pretty much just working in 1.0 on this project, and neither works in Flash 8.
Are there any known issues between version 6 and 8 that might cause something like this? I read on another forum that not initializing a numeric value that you're incrementing can cause this issue, but I've checked that and all my variables are being initialized to a value first.
[F8] 2 Flash Objects - Audio Player Passes Pause To Video Player
I have 2 flash objects on my html page.
One is a video player and the other is an audio player.
The video player starts playing by default.
I'd like to somehow set this up so that if someone clicks on the audio player, it automatically pauses the video player.
Please note that these are 2 SEPARATE FLASH OBJECTS on my HTML website. I'm not developing an all Flash driven website.
The audio player was added as an afterthought, originally there was only going to be a video player on the page.
How can I send a pause command from the Audio Player to the Video Player?
FOO
How Do I *completely* Uninstall Flash Player And Then Install The *full* Player?
I lost the ability to to hear the audio on YouTube videos and other (e.g., news feed sites) videos served via Flash Player. Several people who encountered this problem claim to have solved it by reinstalling Flash Player. This has not helped me, though the Adobe sites I download from all serve up either the Flash Player *plugin* or the ActiveX player (I prefer Firefox to IE).
The uninstallers I've downloaded from Adobe run in a few seconds, and I suspect are not doing a complete uninstall. If I search my registry for "Flash" or "Macromed" I find many, many entries. Is there a special utility that will do a complete cleanout of Flash registry items and files?
Is there a site where I can download the *full* player, not just the plugin?
One point of information about my problem, however, that makes me think it is not a problem with the Flash Player itself is that I've also lost all Windows sounds (which I find mostly annoying, so I don't mind that), and there's no Windows sound icon in the system tray.
I *am* able to play (and hear) mp3 and wma files played directly off my hard drive. So I think the sound card and audio device drivers (mine is SoundMAX Digital Audio) are fine.
I've gone through the various "solutions" that fixed this for others--codecs replacements, cookie clearing, regisry repair utilities, I even reinstalled the audio driver from the Gateway disk.
I'm stumped and am almost tempted to buy an external (USB) sound card and try directing Flash to it.
But I'm sure there's another solution.
Oh, this is XP SP3 (upgraded to SP3 *after* the problem manifested).
- Willie
Edited: 08/30/2008 at 11:43:16 AM by WillieGWilliams
Windows Media Player Or Real Player Through Flash
Not sure if this can be answered all that easily, but does anyone know of a way for streaming video to be displayed through a flash movie. My guess is that it has something to do with java script and Active X. If anyone know any possible directions I can go with this, it would be greatly appreciated. Thanks - J
Kallok Music Player V.1.0 (stand Alone Flash Mp3 Player)
Hello! Ive been working on a flash music player that will be able to play music on a website or you can use it as a stand alone player.It is expected to come out late July.It will be a free player,possibly a ultra version for about 5.00 sometime after v.1 comes out.Hopefully people will like this I already got a lot of work into it. If you wanna see a preview of what it loks like (non working) go to http://www.k-player.cjb.net .If anyone is interested in adding or helping out email me at webmaster@sei-inc.com !My webdesign site is being rebuilt but it will be kallok.com.More info about that some other time.
FLash Cd Player .cda Files Launching Media Player?
So I need a solution to this problem. I dont know if it can be solved in flash but any help would be great. I'm making an Enhanced cd. If you pop it in you cd rom it autolaunches a flash movie. There are two options one to goto the website contained on the cd the second to listen to the audio files. Is there a way to launch a media player or open the .cda files with flash so when you click the listen button it starts the cd? help. It needs to play in a cd player otherwise this owuldn't be a problem.
XSPF PLayer, Webjay.org, Flash Player Woes.... What Do You See?
Hi All,
I'm working on making a jukebox, which, to me works in Firefox on Mac, and IE 6 in Windows.... can you guys check it in your browsers and let me know what you see, and if it works? My client says that it isn't working, but I've tried it in all browsers and to me, it seems to work.
Here's the URLs that have the jukebox code on it:
http://donohoemusic.com/index.php?page=projects
http://donohoemusic.com/index.php?pa...-book-of-songs
I'm not really sure what's going on, whether or not he needs to update his flash player, run another browser or what...
To create the jukebox, I logged into Webjay.org, and made the list, hard coding where each MP3 was on the server, as well as the images. then I outputted the code and pasted it into my cms made simple pages.
Could any of those elements be conflicting? For now, I just want to see if it's working for everyone else.
Thanks for the help!
God Bless!
Josh
PS. I'm using Webjay.org, XSPF player and CMS made simple and I'm on Mac/firefox, win/IE 6
Player In Flash - Open URL In Player Player_.swf?mus=http://URL
Good night friends, all right?
I am new in flash and would like a their small help.
I did a player in flash for got her legal. The problem is that the project grew and I now want to open with the database. Tava thinking of something as player_.swf?mus=http://www.link.com/music.mp3
Would anybody know how can do so that my player flash does it open the musics this way?
The project structure is +/- this way:
I have a field input, with the variable "music". Have a button with the name music_btn.
I put the music in this field and pressure the button and the music starts to touch
Action Script:
------------------------------------------------------------------------
This.music_btn.onRelease = function(){
Musica_sound = new Sound(_root);
Musica_sound.loadSound(music,true);
}
------------------------------------------------------------------------
What I wanted to do was to pull for database URL and to put for URL in player. player_.swf?mus=URL
Please, they could help?
Thank you very much at once!
Video Player Component Using Flash Player 6
I'm streaming video using Flash Player 6. The problem I am having is that the video will only play at a super small size, something like 180 x 60 (that's a guess). Is there a way to play the video at the 320 width that I redered it as?
I'm using Flash Player 6 because some code that came with my purchased Flash Template does not work unless it's published to Flash Plaey 6.
Thanks in advance!
Flash Player Vs Windows Media Player
Hi,
I am trying to decide between Flash and Windows Media to stream video content form a web server. I would like to go with Flash but do not want to do so at the expense of reduced video quality. My questions are:
1> Will Flash have an ability to show videos on Full Screen mode? If so, when should we expect that to happen?
2> Does Flash support variable bit rate encoding? If not, when do you think it would? How does Flash encoding compare with Windows Media encoding?
3> Besides the player being available on most browsers, does Flash have any other advantage over Windows Media Player?
Works In Test Player But Not On Flash Player
Does anyone know why a SWF that loads another SWF works great in the test player but not in the Flash player?
The problem I have specifically is any _root references in the loaded SWF (calling mehods in the original Timeline) does not work in the Flash player, but works just fine in the Test Player.
Thanks
Flash Player 10 Killed My Video Player
Hi Everyone,
I am new to this forum, but love all of the very valuable information that is available here on gotoAndLearn. I am hoping to get a solution for a couple of problems that have arisen in an application that I'm developing.
I am the developer for the web site at http://www.quired.com. I have a few different issues going on with my content. I just updated my flash player to version 10.0.12.36 yesterday. The update completely screwed up my application. The site runs off of a CMS that is built with PHP/MySQL. There are 3 Flash components: the Menu, the MediaSelector, and the MediaPlayer.
I will preface this by saying that in the past I had experienced problems with embedding multiple swfs in the same page with swfObject and AC_RunActiveContent. My solution to this was to embed the MediaSelector and MediaPlayer into individual .html or dynamic PHP pages and then use an iFrame and Javascript to load these into the main page as necessary. The idea is that the when the user clicks the menu, a Javascript is called that reloads the MediaSelector with thumbnails for videos, images, and audio clips that are linked to the page. When a user clicks a thumbnail from MediaSelector the MediaPlayer loads in with the clip that was clicked and the group of clips that the item is in. Now the user can continue to browse the site while still viewing or listening to the media in the group.
Before the update, I had experienced issues on a couple of older computers with older browser version and figured that the issue was more with the Javascripts that get called from within the swfs. The problem was basically that when the user clicked a thumb the player didn't update. Originally, we sent the user to a completely different page to view the media. The only changes that I made to the MediaSelector was the URLRequest in a navigateToURL().
My code changed from:
public function loadMedia(Event:MouseEvent):void{
var url:String;
var window:String;
//make sure it is a media item
if(Event.currentTarget.type_id < 4){
//if it isn't an image load the media player otherwise load the image with Javascript
if(Event.currentTarget.type_id != 3){
url = "../../../MediaPlayer/index.php?id="+Event.currentTarget.id+"&pageID="+requestID;
}else{
url = "Javascript: loadImageViewer('"+Event.currentTarget.id+"');";
}
window = "_parent";
}else{
url = "Javascript: loadBookInfo('"+Event.currentTarget.id+"');";
window = "_parent";
}
navigateToURL(new URLRequest(url), window);
}
To:
public function loadMedia(Event:MouseEvent):void{
var url:String;
var window:String;
//make sure it is a media item
if(Event.currentTarget.type_id < 4){
//if it isn't an image load the media player otherwise load the image with Javascript
if(Event.currentTarget.type_id != 3){
url = "Javascript: loadMediaPlayer('"+Event.currentTarget.id+"');";
}else{
url = "Javascript: loadImageViewer('"+Event.currentTarget.id+"');";
}
window = "_parent";
}else{
url = "Javascript: loadBookInfo('"+Event.currentTarget.id+"');";
window = "_parent";
}
navigateToURL(new URLRequest(url), window);
}
So basically only one line changed to call a Javascript instead of a URL. This worked fine in most updated browsers so I didn't think that there was an issue in the swf, but in the Javascript. I started to test the functionality in Safari and when I clicked the MediaSelector the swf disappeared and nothing happened. Also, my MediaPlayer wouldn't load in via the IFrame. I was thinking that this was an IFrame issue with Safari, but couldn't really find any information on it. I next tried to embed the swfs directly into the page using swfObject 2.1 and couldn't get them to work. I could right click in the area where they should be and it would tell me the Flash Object was loaded, but the swfs didn't show up. So, I then thought that possibly my Flash player wasn't up to date in Safari and downloaded and installed the update for Safari and Firefox. This didn't fix any of the issues that I was having with the swfs, but it did cause some new problems:
1) Videos in the MediaPlayer play, but are not visible. The audio is audible and the progress bar updates, but I don't get any image. I used the Video class to build this player. The progress bar autohides unless you hover over where it nests. In IE, it never comes into the screen when watching a video now. It does for audio though.
2)When playing an audio clip, I used the Bitmap Class to draw a waveform and add some filters, but now that I've updated the Flash Player the wave only shows up when the audio is paused or loading.
These issues are consistent in IE, Firefox, and Safari so it must be an issue with the new Flash Player. Somebody please help me figure out what to do about this. We are going to make a launch on the website next week and I can't have it breaking when people start updating their Flash Players.
Is there any way to force the player to run in a Flash 9 compliant mode? Sorry to write a book here, but I think that an understanding of how the app works will help in finding a solution.
Need Movie To Work In Flash 4 Player As Well As A Flash 5 Player?
I have created a movie in flash 5 which works fine in a flash 4 player. All except one scene which uses a particular action script that flash 4 doesn't seem to like.
It's an actionscript to change the visibility of a novie clip using the _visible action.
Is there any way of converting these actions in order for them to work in a flash 4 player as well as a flash 5 player?
Sound On Off, Works With Flash Player 6 But Not Flash Player 8
Hi, I'm a flash newbie and I'm just starting to get my head round flash!
I've been working on some premade templates in flash mx2004, and everything seems fine. When I import these saved flash documents into Flash 8, and then change my publishing settings to version flash player 8, (needed to use filters etc) the on off button to control my audio that plays with the scene doesn't work!
Any ideas, the action script for the on off button that works in flash mx 2004 is as follows;
on (release) {
if (_root.sto == 1) {
Soun.setVolume(100);
_root.sto = 0;
} else {
Soun.setVolume(0);
_root.sto = 1;
}
}
Thanks in advance for any help
regards Jim Curtis.
Stompclient Is Not Working For Flash Player 9 (Flash Player 9,0,124,0)
We are facing issue in STOMP client because of newly implemented restriction on flash player.(http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_update.html).
Because of this, Our STOMP client is not able to get messages from activemq.
We have tried to add socket meta files as discussed in others article but we were not able to get solutions.
We have done below stuffs.
1) Added LoadPolicy code in stompclient for getting policyfile from server running on 80 port.
2) Also set xmlSocket as load policy to get connection from stompclient to Activemq.
1) PolicyFile.xml(loading this also in STOMPClient.swf)
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<!-- Policy file for xmlsocket://socks.example.com -->
<cross-domain-policy>
<!-- This is a master-policy file -->
<site-control permitted-cross-domain-policies="master-only"/>
<!-- Instead of setting to-ports="*",
administrators can use ranges and commas -->
<!-- This will allow access to ports 123, 456, 457, and 458 -->
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>
2) Flash players logs(using debug version of Flash player)
Error: Request for resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf is denied due to lack of policy file permissions.
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/ladyguinn.swf
OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted: http://192.168.1.12/crossdomain.xml
Warning: Timeout on xmlsocket://192.168.1.12:61613 (at 3 seconds) while waiting for socket policy file. This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
Error: Request for resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf is denied due to lack of policy file permissions.
OK: Root-level SWF loaded: http://mail.google.com/a/sigmainfo.net/im/sound.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/ladyguinn.swf
OK: Root-level SWF loaded: http://mail.google.com/a/sigmainfo.net/im/sound.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted: http://192.168.1.12/crossdomain.xml
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted: http://192.168.1.12/crossdomain.xml
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded: http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://192.168.1.12:61613 by requestor from http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted: http://192.168.1.12/crossdomain.xml
Warning: Ignoring <site-control> tag in policy file from http://192.168.1.12:843/policyfile.xml. This tag is only allowed in master policy files.
Warning: Domain 192.168.1.12 does not specify a meta-policy. Applying default meta-policy 'all'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem.
3) Setting below load policy files in stompclient.mxml
flash.system.Security.loadPolicyFile("
Flash Player 9 - OK, Flash Player 10 - Type Error
Hello,
I've got a clip nested in couple of others and this clip has got two frames:
FRAME 1 code:
function handleButtonAdd(event:MouseEvent):void
{
gotoAndPlay(2);
}
bAdd.addEventListener(MouseEvent.MOUSE_DOWN, handleButtonAdd);
stop();
FRAME 2 code:
function handleButtonCancel(event:MouseEvent):void
{
gotoAndPlay(1);
}
bCancel.addEventListener(MouseEvent.MOUSE_DOWN, handleButtonCancel);
stop();
When I use Flash Player 9 everything is perfectely fine, but when I switch to Flash Player 10, I get an error message (just after clicking the first, bAdd button:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at s8tour_fla::CommentsMC_3/frame2()
at flash.display::MovieClip/gotoAndPlay()
at s8tour_fla::CommentsMC_3/handleButtonAdd()
Why is it so? Any ideas?
Thanks in advance.
AS 1 Passing Vars For Flash Player 6 To Flash Player 8
Hello,
I am using a movie published for Flash Player 6 (anything higher does not work) and load an external movie published for Flash Player 8 (anything lower and it will loose its effects)
var langdir:String = "Francais";
_global.langdir = "Francais";
var langdir= ""Francais";
I have tried the above the lines to pass the va "langdir" aka Language Directory to pass a variable define in the loading move to the loaded movie.. none worked.
Does anyone know a way around this?
I Have A Problem/question About Flash Player 6 Vs. Flash Player 4 And "fscommand"
I have an fscommand for an old Flash 4 movie Projector that I used to open an EXE file. This command worked fine in the past when running the projector in Flash Player 4.
The command syntax is: fscommand("exec", "projects/green/launch.exe")
Today I opened the old Flash 4 movie in FlashMX and hit control+Enter to get a SWF file. From this file I recreated the projector using Flash Player 6. However, now the Projector fails to find or open the EXE file. I double checked file paths and syntax and everything is correct.
I haven't changed anything in this old movie other than simply opening the file in MX which automatically converted the syntax. Even just opening the same old, nonconverted Flash 4 SWF file in Player 6 and creating a Projector causes the same problem.
When FlashMX converted the Flash 4 file to correct FlashMX syntax it said everything converted correctly and after going through everything and debugging I received no errors.
I still have Flash 4 on my computer so I opened the same old SWF file up again in Flash Player 4, made a Projector again using Player 4 instead of Player 6 and PRESTO - it works fine again.
So why is this fscommand working when I create a Projector in Player 4 and not working when I create it in Player 6? Does Player 6 not recognize certain fscommand functions anymore such as this one?
Please help, it's nice it still works if I create a projector in Flash Player 4 but I have to add FlashMX created scripts to this now and need it too work again using Flash Player 6.
Flash Player Or Shockwave Player
Hi I reformated my computer so i had to reinstall the flash player. I went to my site and a lot of things that are flash were missing so i downloaded the shockwave player and everything worked. What is the difference in the two players? I really thought that shockwave was more for games and stuff. So i was just wondering if you have to have both players to view my site properly. Thanks
Actionscript Flash Player 6 Vs Player 7
Hi
I have this head numbing problem and was wandering if someone can help me ... I have a flash file which has some XML css which works for some reason only when exported as flash 7 player ...
but then some of my other code wont work under player 7 (works in player 6 actionsript 1 or 2 export settings)
here is the code so if someone can work it out tenx (it's a custom component like a button that moves around on hit)
(paramaters for this components are set to
friction = 0.8;ratio = 0.2; maxDistance = 1.4
onClipEvent (load) {
defaultX = _x;
defaultY = _y;
newXpos = defaultX;
newYpos = defaultY;
_root.cross._x = defaultX;
_root.cross._y = defaultY;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
xDifference = _root._xmouse - defaultX;
yDifference = _root._ymouse - defaultY;
newXpos = (_root._xmouse - (xDifference / maxDistance));
newYpos = (_root._ymouse - (yDifference / maxDistance));
} else {
newXpos = defaultX;
newYpos = defaultY;
}
newX = (newX * friction) + ((newXpos - _x) * ratio);
newY = (newY * friction) + ((newYpos - _y) * ratio);
_x += newX;
_y += newY;
}
Flash Player 6 To Work In Player 7.0
I have a xml menu created in flash mx 2004 'AS 2.0' and while it seems to work fine in flash player 6.0 I need o get it working in flash player 7.0.
The main problem when it plays in Flash player 7.0 is that my positions for my created textfields which act as my buttons are all palced at different _x position, where they should all butt up against each other in a horizontal line placed at dfferent _xpositions depending on the length of each individual text position. as i said it all seems to work fine in flash player 6.0 but not in 7.0. I think its something to do with my TextFormat but not too sure can anyone help me please as this is becoming a nightmare!!
Code:
menu_fmt = new TextFormat("menu_font", 10, 0x000000, false, false, false, "", "", "center", 0, 0, 0, 18);
GenerateMenu = function (container, name, x, y, depth, node_xml) {
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);
for (var i = 0; i<node_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie("menuitem_mc", "item"+(i+1)+"_mc", i);
// item properties assigned from XML
curr_node = node_xml.childNodes[i];
curr_item.action = curr_node.attributes.action;
curr_item.variables = curr_node.attributes.variables;
curr_item.createTextField("name_txt", 2000, curr_menu["item"+(i+1(i-1))+"_mc"].name_txt._width+curr_menu["item"+(i+1(i-1))+"_mc"].name_txt._x, 0, curr_item.name_txt._width=curr_item.name_txt.textWidth+20, 16), curr_item.name_txt.setNewTextFormat(menu_fmt), curr_item.name_txt.selectable=false, curr_item.name_txt.embedFonts = true, curr_item.name_txt.text=curr_node.attributes.name;
curr_menu["item"+(i+1(i-1))+"_mc"].name_txt._x
boxlength = curr_item.name_txt.textWidth+20;
curr_item.name_txt._width = boxlength;
btn_mc = curr_item.attachMovie("background", "bkgd"+(i+1)+"_mc", this.getNextHighestDepth(), {_x:i*50, _y:0});
btn_mc._x = curr_item.name_txt._x;
btn_mc._width = boxlength-1;
curr_item._y = 14;
curr_menu._y = 20;
curr_item._x = 10;
curr_item.trackAsMenu = true;
if (node_xml.childNodes[i].nodeName == "menu") {
// open a submenu
curr_item.node_xml = curr_node;
curr_item.onRollOver = curr_item.onDragOver=function () {
//var x = 10;
//var y = this._y+5;
trace(btn_mc);
GenerateMenu(curr_menu, "submenu_mc", x, y, 1000, this.node_xml);
var col = new Color(this);col.setRGB(0xcc9966);
};
} else {
curr_item.onRollOver = curr_item.onDragOver=function () {
curr_menu.submenu_mc.removeMovieClip();
var col = new Color(this);col.setRGB(0xcc9966);
};
}
curr_item.onRollOut = curr_item.onDragOut=function () {
var col = new Color(this);col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
}
// any item, menu opening or not can have actions
curr_item.onRelease = function() {
Actions[this.action](this.variables);
CloseSubmenus();
};
}
// end for loop
};
// create the main menu, this will be constantly visible
CreateMainMenu = function (x, y, depth, menu_xml) {
// generate a menu list
GenerateMenu(this, "mainmenu_mc", x, y, depth, menu_xml.firstChild);
// close only submenus if visible durring a mouseup
// this main menu (mainmenu_mc) will remain
mainmenu_mc.onMouseUp = function() {
if (mainmenu_mc.submenu_mc && !mainmenu_mc.hitTest(_root._xmouse, _root._ymouse, true)) {
CloseSubmenus();
}
};
};
// closes all submenus by removing the submenu_mc
// in the main menu (if it exists)
CloseSubmenus = function () {
mainmenu_mc.submenu_mc.removeMovieClip();
};
// This actions object handles methods for actions
// defined by the XML called when a menu item is pressed
Actions = Object();
//loads swf specified in xml doc into level1
Actions.loadswf = function(swfFile) {
loadMovieNum(swfFile, "1");
};
// load XML, when done, run CreateMainMenu to interpret it
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(ok) {
// create main menu after successful loading of XML
if (ok) {
CreateMainMenu(0, 0, 0, this);
message_txt.text = "message area";
} else {
message_txt.text = "error: XML not successfully loaded";
}
};
// load first XML menu
menu_xml.load("scripts/menu1.xml");
AS2 Working In Flash Player 6 But Not Player 7+
I downloaded this nice little effect and it was in AS1, and had Flash Player 6 publish settings, so i set the publish settings to AS2, and it still worked fine with Player 6 settings. BUT when i publish in Player 7 or higher, using either AS1 or AS2 settings it will not work. And i need it working in Player 8. (or if you dont have flash 8, then Player 7 would be ok 'cause it should still work in 8)
The coding is a little long and this isn't all of it but i think the problem lies somewhere in the code below, so could someone have a look through it and see if there are any incompatibilities with Flash7/8?...
code: #initclip
// constructor
function WordClass() {
// do nothing to initialize
this.tfw.autoSize=true;
this._alpha=0;
this.onEnterFrame = this.fadeIn;
}
// allow ParticleClass to inherit MovieClip properties
WordClass.prototype = new MovieClip();
// instance methods
WordClass.prototype.fadeIn = function() {
if (this._alpha<100) {
this._alpha+=10;
} else {
delete this.onEnterFrame;
}
}
WordClass.prototype.sizeTo = function(sizeX, sizeY) {
// size self to sizeX and sizeY
};
WordClass.prototype.getWidth = function() {
return Number(this.tfw.textWidth*this._xscale/100);
};
WordClass.prototype.getHeight = function() {
return Number(24*this._yscale/100);
};
WordClass.prototype.reportSize = function() {
trace(this._name+" size: "+this.tfw.textWidth+", "+this.tfw.textHeight);
};
WordClass.prototype.setWord = function(s) {
this.txtWord = s;
};
// function fitInto()
// - fit somewhere into the region and recursively call fillregion on extra spaces
WordClass.prototype.fitInto = function(x0, y0, x1, y1, d) {
// region width and height
var rWidth = x1-x0;
var rHeight = y1-y0;
var rOrientation = rHeight/rWidth;
// word object width and height
var wWidth = this.getWidth();
var wHeight = this.getHeight();
var wOrientation = wHeight/wWidth;
if (rWidth<10) {
var percent = 100;
} else {
var percent = random(40)+10;
}
var dWidth = percent/100*rWidth;
var scale = dWidth/wWidth;
this._xscale *= scale;
this._yscale *= scale;
if (this.getHeight()>rHeight) {
// recalculate width to fit height
scale=rHeight/this.getHeight();
this._xscale*=scale;
this._yscale*=scale;
}
if (random(2)) {
// place left
rx0 = x0+this.getWidth();
rx1 = x1;
this._x = x0;
if (random(2)) {
// place top
this._y = y0;
// fill region to right
this._parent.fillRegionRequest(rx0, y0, rx1, y0+this.getHeight(), d);
this._parent.fillRegionRequest(x0, y0+this.getHeight(), x1, y1, d);
} else {
// place bottom
this._y = y1-this.getHeight();
// fill region to right
this._parent.fillRegionRequest(rx0, y1-this.getHeight(), rx1, y1, d);
this._parent.fillRegionRequest(x0, y0, x1, y1-this.getHeight(), d);
}
} else {
// place right
rx0 = x0;
rx1 = x1-this.getWidth();
this._x = x1-this.getWidth();
if (random(2)) {
// place top
this._y = y0;
// fill region to left
this._parent.fillRegionRequest(x0, y0, rx1, y0+this.getHeight(), d);
this._parent.fillRegionRequest(x0, y0+this.getHeight(), x1, y1, d);
} else {
// place bottom
this._y = y1-this.getHeight();
// fill region to left
this._parent.fillRegionRequest(x0, y1-this.getHeight(), rx1, y1, d);
this._parent.fillRegionRequest(x0, y0, x1, y1-this.getHeight(), d);
}
}
};
// Connect the class with the linkage ID for this movie clip
Object.registerClass("mcWord", WordClass);
#endinitclip
Any help much appreciated!!
Video Player For Flash Player 7
Hello all,
I haven't worked much with video in Flash so any tips appreciated. I created a small swf that streams an flv in Flash 8 and used the FLVPlayback Component. Problem is that Player 8 just isn't very wide yet so I'd like to make this Player 7 compatible. Anyone have pointers to a player component or AS that I can trake apart and make work? Thanks!
How Run This Code In Flash Player 9 Which Is In Flash Player 5
hi.
I have some code. i applied it to my animation.but it runs only in flash player5 and not in fp 9. when when i changes the publish setting to flash player 5 then only it runs.i want to run this file with fp9.is there any problem in code.
i m sending the fp5 setting file, fla file, swf file.
i m using AS2.
and code is as follow but please see the fla file:-
text = "visionar";
i = 1;
max = length(text);
kerning = 13;
size = 12;
setProperty ("char", _visible, 0);
tellTarget ("/char") {
stop ();
}
movie_number_inner = 0;
movie_number = 0;
text_number_inner = 1;
=======================
some more code below:-
duplicateMovieClip("char", "char" add movie_number, i);
set("/char" add movie_number add "/letter:char", substring(text, i, 1));
setProperty("/char" add movie_number, _x, 75+Number(i*kerning));
setProperty("/char" add movie_number, _xscale, 10*size);
setProperty("/char" add movie_number, _yscale, 10*size);
i = Number(i)+1;
movie_number = Number(movie_number)+1;
===================================
please see the fla file nad please help me.
guys i m waiting for ur replys.
Works In Flash Player 6 Not Flash Player 8
I'm new to the forum, and still learning action script, but I had been using this script which was written by Muhammad Yahya to fade music in and out of my site. Works great with flash player 6 but now I want to use flash player 8 and it does not want to work.
It actually works fine until I add the fade in and out function at the end.
Here is the complete code:
music = new Sound();
music.attachSound("LOOP");
music.start(0,999999);
music.setVolume(0);
var vol = 0;
var fade = setInterval(fadeIn, 100);
function fadeIn() {
vol += 3;
music.setVolume(vol);
if (vol>=100) {
clearInterval(fade);
var step = 1;
var Fade = 0;
}
}
_root.onEnterFrame = function() {
if (Fade == 1) {
vol = vol-step;
if (vol<0) {
vol = 0;
}
music.setVolume(vol);
} else {
vol = vol+step;
if (vol>100) {
vol = 100;
}
music.setVolume(vol);
}
};
Flash Player 8 And Flash Player 9 Difference
Hi!
I want to make a movie clip with a symbol which has a 100% width and 90pixels height.
The following script works perfectly in all flash players <8.0 but doesn't work in flash player 9:
lol - symbol, rectangle
Stage.align = "TL";
lol._width = Stage.width
lol._height=90
sizeListener = new Object();
sizeListener.onResize = function()
{
lol._width = Stage.width;
lol._height=90
};
Stage.addListener(sizeListener);
THX!
GetURL Working In Flash Player 8 / Not Working In Player 9
Here I have the portfolio system I'm working at:
http://www.vamapaull.dxwebs.com/portfolio.html
when you click on the big image it should open a URL in a new window
When I test it on my computer is working fine(Flash Player 8), but when I test it in Firefox or IE (Flash Player 9) is now opening any URL... I think is some thing about the Flash Player 8 and Flash Player 9 compatibility... or some thing...
I don't know how to correct this problem... I need my portfolio working on Flash Player 8 and Flash Player 9 because now alot of users have Flash Player 9 on computers. :roll:
Any idea how to fix this issue? :?
Pass Variable To Custom Function Not Working In Flash MX For Flash 6 Player
I have a Flash application that I built in Flash 5 that I want to now output in Flash MX (not 2004, though) for Flash 6 Player. The problem is that part of my code, which works fine if published for Flash 5 Player, breaks if published for Flash 6 Player. I am loading text from an external text file, and then passing the text contents of each variable to a function (to strip line breaks). Following is the code... does anyone know how to rewrite this so that it will work as Flash 6 Player swf? The contents of the variable are not getting passed, and eval does not work on left side of expression... I've tried everything I can think of...
Thanks in advance for help.
-S
PHP Code:
/* content, correct, Q1, Q2, Q3, etc are all variable loaded from external text file. I am trying to pass contents of variables, which is why I need to eval them. This worked in Flash 5, but not in Flash MX if I publish as Flash Player 6 file. */
temp = stripLineBreak("content");
temp = stripLineBreak("correct");
for (i=1; i<=10; i++){
z="Q"+i
temp = stripLineBreak(z);
}
function stripLineBreak(x) {
tempArray = new Array();
tempArray = eval(x).split("
");
eval(x) = tempArray.join("");
tempArray.splice(0,tempArray.length);
tempArray = eval(x).split("
");
eval(x) = tempArray.join("");
tempArray.splice(0,tempArray.length);
}
Ie6 Crashes When The Mousepointer Leaves The Flash Movie Area. [Flash Player 8]
Not sure if this is the right area for this thread, but i'm not sure where it fits in...
I have a draggable map program that uses LoadVars.load to send location messages back to the server.
After a user saves a location, thereby triggering the load() method, and then moves their mouse pointer outside the area of the .swf movie on the html page, the browser crashes.
I haven't been able to replicate it on any other computer except this users', which is using Flash Player 8, and IE6. Of course the only user of this side of the app, is this user, so im forced to find an answer.
Anyone else run into this, or have any wisdom to impart on me?
Flash Security Problems Integration Not Done Properly With The Version Above Than Flash Player 6.
Hi All,
I have my flash files hosted on http://images.xyz.com this is an apache server.
I have my webpages, on http://author.abc.com
I want to call this file & submit them using the send (or suggest any best metod from which i can call it properly) method but i guess due to security reasons its getting blocked can u please suggest solution.
(I am right now using javascript proxy method for sending varables from flash to my required software. the output file is some.aspx)
Can I Modify The Icon Of The Flash Projector Made Out Of Macromedia Flash Player?
i dont know if my question was right. here's what i wanted to do. for instance i have a swf file currently playing in macromedia flash player then i created a projector for that. can i modify the output (the projector...)? like changing the icon. like in vb6 you can choose your desired icon. do i need to download or even purchase a flash projector? is it possible?
Playing Flash .swf Tracks With A Flash Player Without Waiting To Download?
Please Help!
I downloaded a Flash Player off this site. I modified it and I can get my music .swf tracks to play off my hard drive fine.
But when the seperate music data files are on the server, the music .swf tracks do play, but take a really really long time to start.
Question is:
Do I save the data.swf music files as streams or event movies. If I change the layer with the audio to STREAM. It only plays the 1st frame of the timeline, then stops. I saved the music files as seperate individual movie .swf tacks EVENTS and uploaded them. Each one is abaout 4 megs. The Flash Player plays them but not right away.
How can I get the music to play as soon as the track is clicked so there is no delay.
Is Flash Player 7 Causing Scroll Stick With Flash 5 Code?
HI all
I have a scroll menu I created in flash 5 which worked like a dream when viewed with flash player 6.
Unfortunately It looks like flash player 7 makes it stick really bad.
Has anybody else had that problem and resolved it?
Also can flash player 6 play mx 2004 code?
I have a menu in flash 5 code acessing mx2004 swf files and the menu keeps sticking but only since I updated my flash player to 7.
Please anyone can you tell me if this is a flash player issue? and if so can I use flash player 6 to play mx2004 stuff if its the cause of the stickyness?
thx
Shaf
Flash SWFs Rendered Faster In The Flash Player Than In A Browser
I have a movie for which I set 40fps. When I view it in Flash MX itself or the Flash Player it's pretty fast - as I want it. When I view it through a browser - embedded in HTML - it's much slower (looks more like 24fps set in Flash). Has anyone seen this behavior before? Any idea on how to fix it - i.e. make be equally fast in Flash MX/Viewer and the browser? Thanks!
Making A Flash Movie Open In Flash Player, Not A Browser
Hi, i know it sounds like a really obvious question but i can't figure it out. I did a flash movie for this site: -
localeyenewspaper.com
if you go to the sample newspaper and click a page opens with a flash movie in a html page. My boss now wants the user to be able to zoom in and read the paper, so i need it to open in the flash player to do this. all i did in dreamweaver was link the movie to the button and it automatically put it in the html page, how do i get it to open in flash player instead? thanks.
Making My Flash Mp3 Player Visable & Playable On Another Flash Scene?
I need my showreel web-page to look like my other pages but I need it to also have my Flash mp3 player on it to play my music samples.
Now I have the flash page done plus the Flash mp3 player ready and waiting, but I do not know how to incorporate the flash mp3 player into the scene / page etc.
Any ideas are welcome.
Thanks Jim
Flash Working In Flash Player, But Not When Inserted In A Html Page
Hello guys. I have a very strange problem.
I have created a dynamic banner, made up of two simple combo boxes, with 3 parts actionscript.
The ideea is, when first loading the banner, the first combo box receives a lists of artists and it populates itslef with them. After selecting an option, it will send the id and receive a second list of tracks that belong to the selected artist.
After you select a track, you will be redirected to the page where you can listen to it.
MY problem is that while testing it, it works just fine in flash player, but after publishing it, my computer gets frozen up, untill a popup message appears, saying that my computer will become unresponsive do to the script.
This happens when i've uploaded the swf on the server. On my local computer, it only started to work in HTMl after i've modified the settings and set it up as trusted script.
ANy ideea how i can make it work in the browser?
Thank you for your help and here is the code of the banner:
!st code goes int he first frame:
Code:
myData = new LoadVars();
myData.load("http://website.com/banner/banner.php");
myData.onLoad = function() {
total_var=this.variabile;
myComb_cb.addItem({label:["Select an artist"]});
for (var i:Number = 1; i<=total_var; i++) {
myComb_cb.addItem({label:this["variabila"+i] },{data:this["variabila"+i]});
}
};
2nd code goes in the first combo box:
Code:
on(change) {
_root.myComb2_cb.removeAll();
var reply_lv = new LoadVars();
var send_lv = new LoadVars();
send_lv.id = this.selectedIndex;
send_lv.sendAndLoad("http://website.com/banner/banner.php", reply_lv, "POST");
reply_lv.onLoad = function() {
total_var=this.variabile;
_root.myComb2_cb.addItem({label:["Select a track"]});
for (var i:Number = 1; i<=total_var; i++) {_root.myComb2_cb.addItem({label:this["variabila"+i] },{data:this["id"+i]} );
}
}
}
And thirs code goes in the second combo box
Code:
on(change) {
getURL("http://website.com/banner/banner.php?id_piesa="+this.selectedIndex, "_blank");
}
|