Flash :: Play It In DirectX Game Scene?

Mar 26, 2011

I'm using DirectX to develop a little game, I'm working for a way to play .swf movie in the scene. AFAIK, DirectX doesn't support flash, so I must convert flash into texture sequences. I have thought of two ways by now:

Using Direct Show. Implement a flash source filter and render to textures. But it's too complex for me to complete it.Using the OLE to draw the flash and copy the buffer to textures. But I don't know whether it can work and where to start.

View 2 Replies


Similar Posts:


ActionScript 1/2 :: Copying Game Score From Scene To Scene?

Dec 31, 2007

I've created a game that involves 10 questions. Each questionis in its own scene. I've been racking my small brain trying tofind a way to copy the user's score from scene to scene and add (ordeduct) points based on whether the user answers the questioncorrectly or incorrectly.

View 1 Replies

Professional :: Can't Play Pogo's New Daily Hot Shots Game But Other Flash Games Play Fine?

Jan 22, 2011

I play games on Pogo and have never had a problem with their Flash Games until released Daily Hot Shots.  It doesn't load fully and I've done EVERYTHING I know to do to get it to play.  No errors show up.  I can play ALL the other flash games but this one.  When I right click, the name of the site's owners do not show up....I have the settings showing though Not all of the game loads and that's the problem.  I've tried uninstalling and reinstalling....tried a different browser and have the same exact problem.  THIS GAME WILL NOT PLAY.

View 2 Replies

ActionScript 2.0 :: Unable To Move To Next Scene In Flash Game

Jan 28, 2012

I've used one of the hangman source code online and i couldn't get it to work. I want to move from hangman 1.2.1 to hangman 1.2 but i can't do that because the button just won't work. By the way, i'm using adobe flash cs5.URl...this is the original source code.URL...i need some reply asap as my project submission is due 3 days later.

View 4 Replies

ActionScript 3.0 :: Tweens Play Too Fast When Jumping From Scene To Scene?

Aug 13, 2009

I have an eventListener on a particular movieClip that triggers the timeline to play when clicked.  This should play through a short tween, then hit another piece of actionscript in the last frame of that scene, which should take you to the next scene.  I also have an audio file loaded into a soundChannel, as well as a few timers that operate a click prompt over the movieClip already mentioned.  My bug is that if you click on said movieClip before the soundChannel is finished playing, all functions properly.  However, if you wait for the sound to finish, this initiates a few timers that cause a prompt to fade in, telling you to click on the movieClip.  If you click on it, still, everything works fine.  But once the timers complete their work, and the click prompt fades back out, the tweens do not operate properly.  If you then click on the movieClip, the timeline seems to play doubletime until coming to a stop() action in the next scene.

[URL]

View 2 Replies

AS3 :: Jumping Form From Scene To Scene Once The Play Head Reaches The End

Dec 10, 2009

jumping from from scene to scene once the play head reaches the end in AS3? Scenes do not play one after another like they used to. Below is some code I found that works with errors, however I'm not using a MC like the code displays "mc1". Not really sure on how the MC fits in? import flash.display.Scene; var scene:Scene = mc1.currentScene;trace(scene.name + ": " + scene.numFrames + " frames");

View 4 Replies

ActionScript 3.0 :: Go To Next Scene After The Video Play And Stop In The First Scene?

Apr 2, 2010

I need the video (scene 1) after play & stop will automaticlly go to scene 2. The scene 2 is a rotate images and will stay all the time to rotate in scene 2.

import fl.video.VideoState; import fl.video.VideoEvent; var foo:ExtendedFLVPlayback = new ExtendedFLVPlayback(); foo.skin = "SkinOverPlayMute.swf"; foo.startMuted = true; //set this to false, or not at all to start it unmuted foo.source = ""; foo.autoPlay = true;

[code]......

View 1 Replies

ActionScript 2.0 :: Can't Get Sound To Play In Any Scene After 1st Scene

May 3, 2010

I'm having trouble getting any sound to play in my second scene. I'm using actionscript in the first scene to fade in the music, then fade it out after they click the button.

Here's the code on layer 1[code]...

Problem: I tried adding a sound to the stage in scene 2 but nothing plays when i test the movie, expect for the music in scene 1. I tried creating another sound object in the first frame of scene 2 but i get the same result.

View 2 Replies

Professional :: .SWF Does Not Render After Load Stage3D And DirectX

Oct 21, 2011

I have a custom rolled COM component that encapsulates and controls the Shockwave Player, in order to run, and be able to communicate with Flash .SWFs as a UI to my DirectX based game. The component works fine, however my problem is that my flash artist wants to be able to use Stage3D now. After attempting to load a Stage3D .SWF I noticed that the .SWF does not render. I have discovered that this is due to the new hardware acceleration that Stage3D uses, (which due to the HRESULT on my CreateDevice() Call I assume to be DirectX) .

In an attempt to work around this issue I have a few questions, both on Stage3D and the Shockwave Player. The first question is this: Is there any way in flash or through the shockwave control to disable the hardware acceleration in Stage3D? (this would be the least prefered solution as flash finally being based in the video card hardware make everyone happy.) The second question is: Does anyone know if there is an IUnknown GUID, or other way that I can query to get the device/rendering context that the Shockwave Player / Stage3D is using?

View 2 Replies

Flash :: Make A Button Navigate From Scene 1 To Scene 2 Without Displaying Both Scene Content In Scene2?

Jan 27, 2011

ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.

[Code]...

View 1 Replies

ActionScript 3.0 :: Flash Choose A Scene To Play At Random?

Feb 4, 2009

I would like to have Flash choose a scene to play at random,then play the scene, then choose another scene to play at random excluding any scenes already played.

View 1 Replies

ActionScript 1/2 :: Makes Scene To Play When Called For And Not Play Automatically

Nov 7, 2009

So this is my code so far:
 
on (press) { // Gives your movie a button functionsgetUrl("http://www.astahost.com");}
on (rollOver) {this._alpha=100;gotoAndPlay("Scene 2"); }

[Code]....

when i play the movie, it plays scene 2, however, scene 2, which is in my flash document, plays automatically. how can i stop this? is there some code which only makes scene 2 play when called for and not play automatically.

View 1 Replies

Flash :: IDE - Sounds - Prevent The Audio From The Prev Scene To Play On The New One?

Nov 23, 2010

I making a presentation with an interface on flash next and prev buttons im using scenes for the different slides on the presentation, all of them have audio on it, my question is how do i prevent that the audio from the prev scene to play on the new one?? i should say that on each scene there is an animation with the sound on it

View 3 Replies

Flash :: Horizontal Scrolling Game/Large Horizontal Scene?

Apr 25, 2010

I'm currently learning Flash (CS4, AS3) and am creating a game. I have currently 1 flv file with 4 scenes, I then move from left to right and then to scene 2 and go from left to right. This is the game where items pop up that need to be clicked on and you get points.

Is there any way I can combine these onto 1 scene? Flash only allows you to have a maximum of 2880px wide.The reason for this is the transition between the scenes is RUBBISH and that my AS is not working correctly in between scenes (it loses values).

View 2 Replies

Flash :: Capture A Video Of My Game While I Play It?

May 28, 2009

I need to capture a video of my flash game while I play it - is there any free software that I can use?

View 2 Replies

Actionscript 3 :: Flash Game Does Not Work Unless You Play The Swf With CS5 Installed

Nov 15, 2010

I'm making a platform game, and the game runs perfectly fine as a swf, as long as Flash CS5 is installed. It won't even work if CS4 is installed. When the swf is played standalone, or embedded in a browser (tested on multiple machines). The collision detection does not work well, and the play simply falls endlessly. Has anyone experienced their code messing up somehow when run in similar situations that could provide some insight?

View 1 Replies

Save Flash Game And Play It Without Being Connected To The Internet?

Jul 9, 2011

Can I play Desktop Tower Defense without being connected to the Internet?

I can load the page and then disconnect from the net but my question is if I can download the game and play any time without connecting to the net.

View 1 Replies

ActionScript 3.0 :: Game When Played / Flashes From Scene 1 And 2 Over And Over Again

Jul 25, 2010

As stated in the title, when played, the game I am creating flashes from Scene 1 to Scene 2 very quickly over and over again. It only has two scenes, and it says that there are no errors. Because it flashes so quickly, it doesn't allow the player to do anything but possibly get a seziure from the constant flashing.

View 11 Replies

ActionScript 2.0 :: Start Button To Go To The Game Scene?

Jan 25, 2005

I have a scene for the title screen and a scene for the game itself. On the title screen i have a start button, that when clicked it is supposed to go to the game scene; but for some reason this wont work. This is the code I have so far,

actions for startclick (start)

on(release){
gotoAndPlay("Game", 1);
}

View 10 Replies

ActionScript 2.0 :: OOP Scripting - Create A Fog Of War Scene For A Game But Not Using Masking

Apr 4, 2005

I'm trying to create a fog of war scene for a game but not using masking, it needs to be done using OOP not OOP AS 2. its for a college project, i was showen code to create fog of war using hittest but that means i have to use a lot of seperate objects to create this? what im looking for is to create a area around the user object like for warcraft if u know what i mean? any tips on how i could achieve this using OPP would be great?

View 3 Replies

ActionScript 2.0 :: Make A Scene In A Game Fadeout By Have A Movieclip?

Feb 20, 2008

I'm trying to make a scene in a game fadeout by have a movieclip. I have the movieclip and want to put inside the movieclip timeline some actionscript to go to the next frame but the simple

gotoAndStop("frame2")

doesn't work.

View 3 Replies

Professional :: Flash Error 1009 Popup On Clicking Play Button Of Game?

Jun 2, 2011

How to solve this error as it will keep popping out whenever I click on the play button of the game I'm creating.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at index_fla::MainTimeline/frame2()
at flash.display::MovieClip/gotoAndStop()
at index_fla::MainTimeline/clickPlay()

View 5 Replies

Server - Create A Flash Game Eviroment Where A Client's Members Can Play Each Other In A Realtime Environment?

Apr 1, 2011

I'm looking to create a flash game eviroment where a client's members can play each other in a realtime environment. Mostly trivia question type things, and maybe some shared animations. I've done this over RTMP before with a host that also provided video streaming, but I only need the Shared Object communications this time. does Shared Object communication take just as much resources as video to support?

View 1 Replies

Professional :: Prevent User Open / Play Flash Game On Multiple Browser Windows At One Time?

Mar 12, 2012

I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server

View 4 Replies

ActionScript 3.0 :: Scene Won't Play Twice?

Feb 26, 2012

I have a scene wich is kind of truth or dare game. This is my timeline:

This is the code of the action on frame 2:
truth.addEventListener(MouseEvent.CLICK, clicked2);
dare.addEventListener(MouseEvent.CLICK, clicked);
function clicked2(event:MouseEvent):void

var oneArray:Array = new Array("What was the most embarrassing thing that happened to you at a grocery store?", "What was the funniest thing that happened to you at a mall?", "Describe three things you like about yourself.", "What is the best thing about your life right now?", "What is your favorite kind of music?", "If you had to choose between being in a choir and being in a play, what would you choose?", "What is one talent most people here don't know that you have?", "Do you play any musical instruments? Which ones?", "What did you want to be when you grew up?", "How do you think you will know who you're going to marry?");

[Code]...

View 2 Replies

IDE :: Button To Play A Mc In A Different Scene?

Jun 5, 2009

I have 2 scenes, the first scene has "mc1" and the second scene has "mc2" and a button inside it. how do i get the button in mc2 to play mc1?

View 5 Replies

Play Frames And Change Scene AS3

May 24, 2010

i made a full site all based in flash and divided the pages in scenes

i need a button to do exact that. when u click the button it must play some frames and then go to other scene.

i can't tell to go to other scene in the last frame because there are a lot of scenes and buttons that have to do the same.

15 buttons - 15 scenes - play 30 frames and then change the button-scene!

View 7 Replies

ActionScript 3.0 :: Play Random Scene?

Feb 22, 2012

I have a project with several banners, each one in a separated scene (banner1, banner2, banner3....).I'd like to play a random banner (scene) when the SWF is loaded.I tried many codes that I've found around the web in the first frame of a bank scene, but nothing worked. I'm using Flash CS5.5 and AS3.

View 2 Replies

Actionscript 2.0 :: Button To Play Next Scene?

Apr 14, 2010

I have a movie clip which is a gallery of images which is within a container. When you click the right arrow it goes to frame 2 and from there onwards. Also same with the left arrow, (-1 frame)

I know the code looks something like: gotoAndPlay(+1);

View 2 Replies

ActionScript 2.0 :: Button To Play An Mc In A Different Scene?

Jun 5, 2009

I have 2 scenes, the first scene has "mc1" and the second scene has "mc2" and a button inside it. how do i get the button in mc2 to play mc1?

View 2 Replies







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