ActionScript 3.0 :: Publishing In Flash Player 9 Vs Flash Player 10

Apr 27, 2010

I'm building a portfolio site. I have buttons to go to previous/next frames and I have all the buttons on the timeline. Each instance is properly labeled and referenced in the actionscript. I get no errors when I publish in 9, but when published in 10 I get:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

I'm not sure why this is happening because there isn't a null reference in my mind. The button which I reference in the code is on that exact same frame. I think the error is that it's looking for the button from the previous frame, which puzzles me because I've moved on to the next frame and I don't know why it'd be trying to reference that. Anyone know of DisplayObject differences from 9 to 10 that would be causing me these troubles?

View 3 Replies


Similar Posts:


ActionScript 2.0 :: What Are Cons Of Publishing In Flash Player 7

Jan 23, 2010

I've been working on an xml gallery. The website scales according to the browser window. Some of my work is fine lineart and any scaling seems to cause a lot of aliasing. If I publish it with Flash Player 7 the scaling is fine.This may sound like a naive question but what are the cons with publishing a portfolio with an older Flash Player?

View 2 Replies

ActionScript 2.0 :: Create In Flash 8 And Publishing For Player Version 6?

Jun 14, 2006

In order to meet the largest penetration of users with a flash player downloaded onto their machines, I have been tasked to Publish with Version 6 settings. However, I am creating my movies in Flash 8.

Are there any known draw backs to publishing with Version settings later than the Flash you are building in?

I.E. Component failure? Visual Quality? AS 1.0 v AS 2.0?

View 3 Replies

ActionScript 2.0 :: GetUrl With Javascript Breaks When Publishing For Flash Player 8

Sep 28, 2006

I want to use getUrl to display a javascript alert. I've found an example that works perfectly, by using getUrl("javascript:alert('hello world')"); But that example is published for Flash Player 6, and the rest of my movie requires FP8. And if I go to publish settings, and select Flash Player 8 as target, the javascript is no longer executed.

It's not about the getUrl changes in Flash Player 9, I've also tested with Flash Player 8. If you want to try for yourself, the example I'm talking about is from [URL]..

View 9 Replies

Professional :: Publishing A Flash Video: Player Not Visible - Height And Width Referenced 3-times In Html?

Mar 5, 2010

When I publish my FLV video using Flash CS3 and the "SkinUnderAll" option...the player controls are not visible unless I change the height & width in the html file Flash created.But, Flash shows the height & width 3-times in the html.
 
Question-1: Why 3-times? What does each of the 3 Height & Width references do?
 
Question-2: How should I modify the code to be able to see the entire video and the player controls?

It seems if I change all 3 everything just gets bigger and bigger.
 
1 - I import it into Flash CS3 on a PC w/XP Pro using... File | Import | Video take all the defaults and choose "Skin Under All" as the player option.
 
2 - In "Properties" panel at bottom of screen Flash shows the video as 640x480
 
3 - I then click File | Publish to publish the video. Flash creates all my files for me.
 
MyVideo.fla
MyVideo.flv
MyVideo.html
MyVideo.swf
SkinUnderAll.swf
AC_RunActiveContent.js
 
4 - I then put the folder with the files on my website.
 
5 - The video plays but the player controls are not visible.
 
6 - I see the Height & Width referenced 3 times in the html file Flash created for me (and none are 640x480, they are 550x400 !)
 
7 - I try changing the 550x400 to 640x480 in all three places... no good. Even at 1000x1000 the entire player is not visible. Everything just gets larger.
 
What are each of the 3 references to Height and Width in the html file Flash Creates and which should I change to simply show all the player controls?

View 2 Replies

Professional :: Loader Component Works When Publish To Flash Player 7 But Not In Flash Player 8

Jul 5, 2010

My loader component works when I publish to Flash Player 7 but not when I publish to Flash Player 8, why? The publish setting are for ActionScript 2.0 on both.

View 2 Replies

ActionScript 3.0 :: Create A Flash Player To Display Images In Sequence Using Flash Player

Jul 25, 2011

I am trying to create a flash player to display images in sequence using Flash player & ActionScript.  The code below has lots of errors and I can't work them out. I have programmed in other languages and am perfectly aware that something like this.
 
*code*var imageLoader:Loader;imageLoader = new Loader();  // 1120: Access to undefined property imageLoader*/code* 
OR*code*var imageLoader:Loader = new Loader(); // 1046: Type was not found or was not a compile-time: Loder*/code*

[Code]...

View 9 Replies

Media Server :: RTMFP Protrocol In Flash Player 10.x Is Not Compatible With Flash Player 11.x

Feb 11, 2012

I have a swc plugin embedded in my product to stream live video to a group of recipients.The plugin uses the NetStream, NetGroup and NetConnection objects, the server I use to handle the RTMFP session is Influxis.One client creates a group as a publisher, and stream a live video.His Camera is enabled and I can see the video on the screen as well. The others connect to his group and play the video.Peer assisted Networking is enabled for both the publisher and the recipients.The plugin worked well in all 10.x versions (10.1/10.2/10.3)However, when upgrading to flash player 11.x, it stopped working.

-11.x to 11.x isn't working.
-10.x with 11.x isn't working.
-only 10.x to 10.x is working.

The server I use to handle the RTMFP protocol is Influxis.com I sent them the same question as well.The weirdest fact is that I'm using flash builder 4.6 with 4.6 sdk, which is aimed for flash player 11.1, and it is only working with 10.x flash players.

View 2 Replies

ActionScript 3.0 :: Flash Player 11 Performance - The Flash Player Chokes And Skips About 10-20 Frames?

Dec 9, 2011

I'm having a performance problem that seem to be related to Flash Player 11.I noticed this mainly because Chrome auto-updates the flash player. So, it's now up to 11 in Chrome. During a sliding section transition, the flash player chokes and skips about 10-20 frames. In essence the content jumps, not a smooth transitions. You can see this at the following url. Using a browser with 10, plays as intended, a separate browser with 11, chokes and jumps ahead.

firstworldproblems-[url].....I have security sensitive site, that is more elaborate that I can't share here. But, the same issue is happening above.I'm using LoaderMax to load assets. Adding it to the stage and then animating them in from the left or right of the stage, using Tweenmax. The one I can't show is a series of images, 1280x640 pixels, 10 in total.Removing items from the stage when they are not visible, so I can get the CPU usage back. On Flash Player 10, this is working as intended.On 11 it jumps. I don't think it's the removing assets from the stage that's choking the player, because the above link has the same issue.I feel like this is a Flash Player 11 performance issue.

View 2 Replies

ActionScript 2.0 :: Code Works For Flash Player 6 Settings But Not For Flash Player 8?

Jul 1, 2007

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]...

View 2 Replies

ActionScript 2.0 :: Detect What Version Of Flash Player Is Running From Within The Flash Player?

Dec 6, 2004

In some cases, such as what my client wants - Flash 6 and Flash 7 players behave slightly differently... a very annoying thing at times.Now, what I need to be able to do is to detect what version of Flash Player the user has. This will be done while my flash application is playing and then run the appropriate part of the function I am writing.Any way to detect what version of Flash Player is running from within the Flash Player?

View 3 Replies

Actionscript 3 :: Publishing Swf From Air 2.6 Player?

Jan 29, 2012

My game works with no error when i control+enter my fla file in air 2.6 player. my problem occurs when i open my swf file.

My swf file keeps iterating through timeline. i have used stop(); function in every timeframe. this problem is not seen when i control+enter my fla.

View 1 Replies

Asp.net :: Play MP4 Video On Window Webserver In Quick Time And Flash Player(flv Player)?

Aug 3, 2010

I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?

I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.

View 1 Replies

ActionScript 2.0 :: Making The Simple Player Using The Player Component Preinstalled In Flash?

Jun 3, 2010

I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:

Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)

This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:

Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};

But this is not working.

PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.

View 2 Replies

ActionScript 2.0 :: CS3 Flash Player 6 Code To Player 7 Causes Script Not To Work

Apr 29, 2010

I have a slight problem when publishing to Flash Player 7 but works perfectly in Flash Player 6, below is the code:[code]In short this creates a list where the values are kept in SharedObject.I need to use a WebService so I require Flash Player 7, as I said this works as expected in Flash Player 6, so maybe someone may know a pitfall or two when migrating code form 6 to 7?

View 1 Replies

ActionScript 3.0 :: Flash - Access Player.x And Player.y From External Class?

May 8, 2011

I am trying to put together a simple game and have been doing really well until I decided I am going to have to create a new class to handle enemies.What I have so far is a player walking around on random terrains and I am up to the point where I have placed x amount of enemies on stage at appropriate times. I have written their class which will hopefully eventually handle their behavior and it outputs simple trace("BOO!").

Where I face the problem is that I obviously would like to make these enemies follow the player to attack. But when I try to access the .x or .y attributes of the player, it throws an error: 'call to a possibly undefined property with static type Class'?I have tried accessing the .x using the following ways (where badger is my player instance and Main is my class definition within the properties of the FLA):

Main.badger.x
Main(root).badger.x
Stage.badger.x

I have also tried to access other vars and still nope..My class code is this:

Code:
package
{
import flash.display.MovieClip
import flash.display.Stage

[code]....

View 1 Replies

Flash Player 11 Project Doesn't Run In Standalone Player

Nov 4, 2011

Flash Player 11 project doesn't run in standalone player, is it posible to do this?

View 1 Replies

ActionScript 3.0 :: Download Flash Player 10.1 (not Player, But Library)?

Mar 28, 2010

I can only find how to download the actual PLAYER for 10.1, but which library is used in conjunction with it?Will the latest release of the Flex SDK have the libraries for the multi-touch events etc?Or is the SDK for 10.1 only available to people who work for Adobe? will porting to iPhone supported formats only be available in Flash Professional, or will SDK users also have that option?

View 3 Replies

ActionScript 3.0 :: Flash Debug Player Different Than Normal Flash Player

Dec 17, 2010

Is it possible for Flash debug player to show Flash website online a bit different than what the normal Flash player shows?

By different i mean...the content of the liquid Flash website instead of playing right in the middle it shows a bit off center.,

View 2 Replies

ActionScript 2.0 :: What Version Of Flash Player Is Running From Within Flash Player

Dec 6, 2004

In some cases, such as what my client wants - Flash 6 and Flash 7 players behave slightly differently.Now, what I need to be able to do is to detect what version of Flash Player the user has. This will be done while my flash application is playing and then run the appropriate part of the function I am writing.Any way to detect what version of Flash Player is running from within the Flash Player?

View 3 Replies

ActionScript 2.0 :: Flash Player 6 Code Not Working In Flash Player 10?

Mar 16, 2009

I would like to know how the following ActionScript, that only works in Flash Player 6, can be updated to work in a Flash Player 10 file.[URL]As it says, "On Publish Settings set Flash Player version on Flash Player 6, or this movie will not work."It works fine published as FP6 but not as FP10 as I need it to be. This AS is added to a movie symbol that contains a button for a rotating menu effect.

onClipEvent (load) {
hx = 300/2;
hy = 400/2;
r = 100;

[code]....

View 3 Replies

ActionScript 2.0 :: The Target Flash Player "Flash Player 8"is Not Installed

Dec 22, 2009

on publishing some FLA files on FLASH-8, a warning pops up saying the target Flash Player "Flash Player 8"is not installed. The standard Flash Player will be used instead" Flash Player 8 has been installed together with FLASH-8 and it shows up in Currently installed programmes in Control Panel. It is marked as a rarely used programme though I run SWF every day. Another strange thing is that it used to be marked with that FLASH red icon, now it is marked with the folder icon.

Control Panel also shows Adobe Flash Player 10 ActiveX and Adobe Flash Player 10 Plugin which I do not recall to installed - probably they came as an upgrade - I wonder if they somehow screen off Flash Player 8?

View 0 Replies

Works In Flash Player 6 Not Flash Player 8?

Dec 10, 2007

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);[code]....

View 5 Replies

ActionScript 3.0 :: Send The Number Of Points A Player Is Awarding To Another Player To A MySQL?

Jul 11, 2010

I have a game that needs to send the number of points a player is awarding to another player to a MySQL database on the same server. This game is part of my psych MSc dissertation, and I've gotten a lot of help on this bit from my department techie who knows php and MySQL well. However, he has absolutely no experience with Flash or Actionscript. He's gotten the php bit working so that it does send data to the right table in the database when it's supposed to using dummy variables, but when we try to test it with the actual .swf thats supposed to be doing the sending, nothing happens. We're pretty sure this means theres something wrong with the actionscript, but we don't know where.

[Code]...

View 1 Replies

ActionScript 2.0 :: CS3 Maxscroll Returns Correct In Player 7, Not In Player 8+

Mar 13, 2009

I was re-using some old actionscript in a new fla. For some reason my scrollbar script didn't work correctly. After some debugging I found out the the maxscroll value was being returned as 2. Strange when there is only two lines of text in a 400px high textfield.

I published the same fla for flash player 7 in stead of 9 and the problem was gone??? Tried in 8 and there it was again. So something went wrong between Flash player 7 and 8, but what? Is this a known bug and are there any work arounds?

View 4 Replies

Actionscript 3 :: Dynamically Load .swf Movies In Any Player (in Web) Like Flv Player?

May 3, 2010

I want to dynamically load .swf file in a player(like FLV player of as3) in as3.When I shall click on an image the corresponding video will be played on the player on right side(like you tube). Is there something (like FLV player) for .swf files with play, pause, resume, scrubber options to play in web?

View 3 Replies

ActionScript 3.0 :: Player Mc Not Registering Player.as Vars Or Functions

May 9, 2011

i think i might be missing some information here about how to manage classes and display objects. In the main .fla i have a mc called player; so I made a player.as class and put a linkage on player mc considering it would work as the mcs class. Well, its not working, the mclip is not noticing any of the vars and functions i added in the class. Anyone figures whats going on? How to make it work?

View 2 Replies

ActionScript 3.0 :: GC Inconsistent Behaviour Between SA Player And Web Player

Nov 8, 2010

I've recently implemented in my engine is freeing the RAM for a level.It's something that's pretty essential seeing as I'll have thousands of polygons per level, and a pretty large amount of textures too per level, with an average of around 150 to 200 megs of RAM being used.This obviously needs to be cleared before the next level is loaded.The process is pretty simple really, just nullify all references to everything.On the offline SA player, this works perfectly. After pressing the clear button you see the RAM usage burning down, before it snaps to around 3.7.Online it simply doesn't work. Firefox's RAM usage on the plugin container basically doesn't change, but even Flash's internal reading of the RAM usage only changes a bit. It gets reduced by a couple of megs.URL...Press C to clear the engine. The RAM usage goes down by like a meg, to 10.3, which is hugely different to how much RAM is free'd on the SA player.I've tested it on Firefox and IE, the behaviour is the same on both.

View 14 Replies

ActionScript 3.0 :: How Long Flash Will Survive After The HTML5 And The Discontinuing Of Flash Player For Mobiles?

Nov 14, 2011

I have just been asked to do a project that i can do it in flash cause of its interactivity and graphical comunication and so on... its like an interactive map, VERY interactive. BUT, came the question of how long more will Flash survive after the HTML5 and the discontinuing of flash player for mobiles.Does it worth it doing it on Flash or should i move to something else?

View 8 Replies

Professional :: Flash / Flash Player Will Not Open Link To Web Page When Clicked

Mar 19, 2010

I am testing a FLASH animation ad that has links to a website.When I click on the links, it opens firefox but it doesn't go to the link!I have added the links and the file names in the Adobe Flash Settings Manager, restarted several times, restarted in Safe Mode and it still does not work!I cannot find any information on this. My coworker also tried it and it does not work for him on IE on Windows.HOWEVER, If I have SAFARI open it works fine, and If I drag and drop the .swf file into either browser and then click on the links it goes to the web page.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved