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
Similar Posts:
Oct 13, 2011
I've looked at the following website for some information on writing AGAL to render Textures / Bitmaps to the Stage3D object: url...But it seems to cover more about how to create objects in 3D space. Maybe it can't be avoided?What would be the bare-bone necessary AGAL code & AS3 code to write to render multiple sprites to the Stage3D?No Filters, Effects or Shaders required - just position, scale and rotation transformations. Also, I'm not looking for existing 3rd party APIs that do this under the hood. I would like to experiment this low-level language myself.
View 1 Replies
Feb 11, 2010
How does frame rate influence load and/or render time?
View 2 Replies
Jan 23, 2012
Does Stage3D work on mobile devices? If so - then HOW? I have worked through several tutorials, downloaded SDKs, added tweaky complier directives to profiles and wonked XML files till I am REMOVED blue in the face. I have had success making web based SWFs (from the afore mentioned tutorials) in Flash & Flash Builder - but no luck getting Stage3D to run in an Android Air App. Is there any way to use Stage3D (preferably also Starling) in a Mobile APP? It could be from Flash 5.5 or Flash Builder.
View 1 Replies
Oct 28, 2011
I've got Flash CS5.5 and am trying to build a sample Away3D 4 model viewer. I must not have the latest api for fp11, because the compiler comes back with this:
"Type was not found or was not a compile-time constant: TextureBase"
The file "RendererBase.as" from the Away3D library is importing a number of files from the flash.display3D package (including TextureBase), which apparently I don't have.
I downloaded the latest debug version of flash player 11, what else do I have to do?
View 5 Replies
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
Feb 3, 2009
I'm new to Flash authoring, and something seems puzzling. I see that it is possible in Flash to render an animation (project) to AVI or MOV video formats, and it seems to work fine (although you can't choose your AVI codec,
which seems like a trivial feature to put in. Is there a way to render a Flash animation to FLV? I am working on a project that will play FLV video files inside an FLV player object (SWF object). I would like to create FLVs from inside Flash, using the nifty animation tools and whatnot, and have them play in the same manner as the other FLV videos created by other tools (e.g., FinalCut Pro edited video). I realize the FLV is video
View 4 Replies
Feb 11, 2011
What options exist for rendering markup in Actionscript? I am looking for something I can use to write templates for menus, tooltips, and other display/frontend stuff in a Flash application. I want to be able to load a template from a string, and then render it as a display object. The kinds of things that would go inside would include text, with possible font styles, text positioning, and images.
View 3 Replies
May 28, 2010
It seems like I found a bug in Flash Professional CS5. For some reason a bold capital "U" will not render in htmlText. It will render fine in a normal text box and will render as a lowercase u or as a non-bold capital U. I have tried typing two UUs in a row, typing a letter before the U, but it always skips the bold capital U.
View 8 Replies
Dec 9, 2011
I am new to Flash CS5 and I am working on a Flash animation project. I drew everything in Illustrator CS5 and imported these drawings in Flash to do the animation. I have different scenes & exported them all as separate movie clips. I was thinking of using Final Cut Pro to make the final movie, but the video quality is not good & its pixelated.and whats the most suitable render width & height for tv screening ?
View 2 Replies
Mar 1, 2011
I want to draw some combination of bitmaps, flash shapes, vectors, text etc and draw them programmatically into my movie using ActionScript, and then get every "rendered" pixel of my movie (at 100% view) into an array that I send to another program over TCP/IP. The first part of the question is if its possible to render a frame that is a collection of Flash elements as a bitmap? I know that I can iterate through a bitmap and get every pixel using the getPixel method but I'm trying to access the final rendered frame displayed on my screen, including, as I said Flash shapes and text.
The second question is what would be the best way to send this "video frame" over TCP/IP? Would I use an XML socket connection? That is the only way I know how to send data out of Flash over TCP/IP but I don't know if it is the only way - the help page says the data needs to be formatted as XML, which seems unwieldly for this application. I'm doing this now by using Max/MSP/Jitter to do a screen capture the size and location of my Flash movie and then send out the resulting matrix using a "jit.net.send" object (which lets you send frames of video over TCP/IP), but this is too clumsy for the installation I am building.
View 4 Replies
Mar 9, 2012
I'm aware of the fact the iPad doesn't support flash so I'm trying to figure out how I can detect an ipad visiting my site and provide an alternate html header. I'm sure there must be some code snipit I can add to my site but have not been able to find something.
View 2 Replies
Oct 27, 2009
I'm new to Flex and am using TileList bound to an ArrayCollection. The array collection is empty at load time, and then updates with the results from am HTTPService call. The problem is that the item renderers aren't being rendered as expected, I'm guessing because there was no data when they were first rendered at load time. Here's simplified example:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
[code].....
View 2 Replies
Jan 2, 2012
Same setup. Some moving cubes and spheres.
FPS in Adobe air desktop app: 29
FPS in Browser: 58
Any tweaks I should attempt?
View 1 Replies
Apr 12, 2012
So there's a lot of great new features supported by Flash Player 11.2, particularly for game development which is great news for myself.
Some reading here. Highlights:
Right-click is enabled now (finally). Much better rendering performance.
This is all wonderful and magical, however I can't work out how to compile to Flash Player 11.2, and can't find much information about it.
In publish settings, this is all I get:
Using Flash CS5.5 Version 11.5.1.349 (latest).
Do I need to wait for CS6 or am I missing something?
View 1 Replies
Jun 17, 2011
when i add an object to stage (bitmap background) and a sprite containing 3d scene on top of it, the background still shows up on top..
View 7 Replies
Oct 4, 2011
I'm trying to write a 3D game in ActionScript 3.0 using the Stage3D API. I've copied the playerglobal.swc in my frameworks/libs/player/11.0 directory, and modified the frameworks/flex-config.xml file by changing the target-player to 11.0.0 and the swf-version to 13.When I compile my ActionScript 3.0 files using mxmlc I set the options -target-player=11.0.0 and -static-link-runtime-shared-libraries=true. Now, I don't get an error at compile time when importing com.adobe.utils.AGALMiniAssembler or flash.display.Stage3D so I assume that there's no problem with that.
I run the compiled SWF file in Opera, and I'm using the latest Flash Player (version 11.0.1.152) which was publicly released today (cheers ;D). There's seems to be no problem with the player because I can play Zombie Tycoon. However, when I play my SWF file the Stage3D doesn't display; but all the other display objects attached to the stage do display.I believe that there's either some problem with my configuration or my code, but I can't pinpoint it. The code I'm using was simply copied from Labs @ Jam3. I believe that there was some problem with the viewport, so I simply replacedI have been searching for a solution all over the web, but I can't seem to locate it.
View 1 Replies
Dec 21, 2011
I'm testing a few things with the ND2D library (made by NullDesign, engine's source available at github). What I've encountered, is that if I toggle my Flash application to Fullscreen mode, the World2D (or Stage3D / Context3D buried inside it) doesn't auto-stretch to maximize it to the entire screen resolution. Do I need to reinitialize my setup to the new Fullscreen dimensions? What if the stage.scaleMode is set to "NO_SCALE"? Will that affect the dimensions since the stage, although appearing larger, will still retain the same coordinate system and dimensions? How to correctly toggle Fullscreen mode in Stage3D?
View 2 Replies
Jan 6, 2012
From what I found out by a quick google lookup, the Stage3D support for model import is not the best.
Has anyone tried to do something like this and could provide me with some information on how to do it?
I'm interested in an importer capable of COLLADA/FBX or something along those lines.
View 1 Replies
Oct 6, 2011
Is it completely impossible to put movieclips and sprites underneath the 3D layer?Eg, you can't load a swf with 3D content and show it on top?
View 7 Replies
Jan 24, 2012
url...The interesting part is that he didn't use perspectiveFieldOfViewLH and instead he defined his own projection matrix. I'm new to the 3d programming, so after reading this explenation of projection matrix:[code]And i got the black screen. All i did was exchanging the matrix from the tutorial with this matrix. I tried to play with it for some time, but with no results. This is the matrix from the tutorial[code]
View 2 Replies
Jan 18, 2012
I've been doing a little bit of reading about Stage3D, which will be a new API used with Flash Player 11.Will this API improve the performance of 2D rendering (Vector) in any way, or will the library be used primarily for rendering 3D?
View 3 Replies
Oct 7, 2011
There isn't any tutorials on the web on how to use Stage3D on AIR 3.0. How do I enable it in Flash Builder 4?
I have countless trial and error when testing 2D/3D framework:
VerifyError: Error #1014: Class flash.display::Stage3D could not be found.
View 2 Replies
Nov 8, 2010
I have problems in running a projector under win 7. My projector load several SWF and each of them load different external MP3 that plays during the show.Under Win 7 sometimes the sound (Mp3) stops.
View 5 Replies
Aug 26, 2010
Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex.
View 1 Replies
Sep 9, 2009
I got a client that saw this site and NOW wants something like this. I am not certain if this is AS2 or AS3. My vote is for AS3.on how to render this?
View 4 Replies
Jun 8, 2009
Has anyone else had trouble with the Render Text As HTML function in CS4? I want to use two different fonts in the one textfield. Looks fine in Flash but when I export the swf, only the first font is used.
View 16 Replies
Dec 1, 2009
I have a Flash movie embedded as shown below. In Firefox, the movie renders beautifully In IE7, the movie is scaled down, pixelated, and looks bad.There is no HTML aside from what you see here - no CSS or anything.
<html><body><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="500" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"> <param
[code].....
View 5 Replies
Jun 3, 2010
I create a backGround MovieClip object and assign to it a MovieClip from my library.I use addChild to add it to the display list.This is the background for my movie.At some point later on, I want to change that background.If I simply assign a different MovieClip to backGround, nothing changes when I run the movie.I thought there was some method I could invoke that would re-render the backGround MovieClip, but I can't find anything.
I can simply add it again, but that seems like a waste of memory.I've done a removeChild, updated backGround, then addChild'ed it again, but that seems a little klunky.Isn't there some way to update backGround in place without having to remove it and re-add it?
View 2 Replies
Nov 18, 2009
I'm working on a project at the moment where the client uses an off-the-shelf Flash library to display data against a map. It's a SWF that we feed some XML data and it renders it in various ways, such as a map of the UK with each county represented with a different colour depending on the data we feed it.
As it's an off the shelf, we only have the SWF, no means to edit the Flash file.
We need to make the reports universally printable from the browser. The idea was to have a container SWF that used the BitmapData methods on it to effectively do a screengrab of what the map ("child") SWF is showing and render it in the page as the image generated for printing(i.e only showing the image in the print stylesheet).
View 1 Replies