ActionScript 3.0 :: Fp11 - Adding Content Under Stage3d?
Jun 17, 2011when 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 Replieswhen 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 RepliesWhy is there no 'update' available to take the Flash Pro standalone and debuggers to FP11? There don't seem to be any Adobe authored instructions on doing it manually and I can't find an update. Have just upgraded from Flash Pro CS5 to CS5.5 on WIndows, it's telling me my product is now up-to-date, but the installed players are still on 10.
View 13 RepliesI want to build an application to stream h.264 video from the browser, how can I be able to do this? I can't seem to find the playerglobal.swc anywhere, I have Flash CS5.5
View 1 RepliesHas anyone else noticed that useHandCursor = true doesn't work with 11.0.1.152?It works fine with 10.2.Is this a bug?
View 5 RepliesI have created an swf where I can record the webcam picture as H264 video to a FMS 4.5 (I am using the developer version).My code is looking like this:
var h264Settings = new H264VideoStreamSettings();
h264Settings.setProfileLevel("baseline", "1.2");[code]....
I can then replay the video from FMS just fine, but if I try to copy the video from the FMS application directory into a local project and try to play the video with the FLVPlayback component, or with the Adobe Media Player, it is not playing at all.Is this to be expected? Can't I record a webcam video with FMS in H264 and use that video later without FMS?
I am using AIR, and i am creating a new window and then adding a MovieClip there. The problem is that te movie clip appears really oversized. Originally the movie clip is 500x300, so In order to put it into the new window, i set the new window to 500x300, but when i add the MovieClip inside it i have to reduce the movieClip to 100x60 to fit.[code]
View 1 RepliesI have an XML file with a list of photos. I have loaded the XML file into Flash (CS3 / AS 3.0) and I am iterating through the list to load the photos. The problem is only the last photo displays. I would like to
load each photo and then create a movie and "copy" the loaded content into the movie clip. Here is my code:
[Code]...
I've got an application which loads anexternal swf, then needs to add content to a specific depth in it. It does this by finding a named placeholder clip and replacing it with a UIComponent, using addChildAt(); This seems to work fine - I have a trace utility that walks back up the display list and it shows my UIComponent right where I expect it, then the parent movie clip, then all the containers up to the stage. At each level the container is a) visible b) 1.0 alpha and c) the size I expect it to be, and from my trace I can see that I have a structure which looks something like this:[code]
All well and good, but if I draw a rectangle on the graphics of the UIComponent (or add an image to it, or do anything else), nothing is visible. I can trace any parameters of the UIComponent, I can use it to make changes to its parent SWF, I can even note that if I draw a rectangle on the UIComponent which is larger than the Loaded SWF, then the SWF changes size to accommodate the new bounds - but I can't see a thing.I was wondering if some security stopped the parent application adding content to the Loaded SWF, or if there was some other issue.
I am having an issue with adding dynamic content through an interval. The content is being added to the screen, but the X position, as well as the tween, seem to be completely out of sync. The below is a screenshot when the interval is at 100 milliseconds, as it shows it best. The application needs to work at 200 milliseconds (where the error is not as clear, but the lines are still occationally too close, roughly every 4th). As can be seen, there is a clear discrepancy between positioning. It remains fine for a few, then changes, changes again and then finally reverts back to what it was.
Here is my code that controls this section:
function XYZ(){
Score = 90
var timeBefore = Score
if(timeBefore <= 2.4){
timeBefore = 2.5
[Code] .....
Note: It also happens with 200 and 300 milliseconds, although less prominent.
I'm trying to create a dynamic dictionary with Flash AS2 and I've been pretty successful with most of what I'm trying to do. I've created a movie that will read in an XML list of terms, definitions and optional images and/or audio. The XML is being read successfully, the desired loading of information is occurring successfully, but the ability to see an unlimited amount of content is being hampered by the fact that I'm not able to get the scrollpane I'm using to provide "scrollability" when the number of terms exceeds the visible area.
I'll attach the code I'm using in the hopes that it will be clear what's going on, but a few definitions first: "my_SP" is the scrollpane on the stage, created in the authoring environment. "Container" is the name of an empty movie clip symbol in the library that has it's properties set so it will be exported for ActionScript and can serve as the contentPath for the scrollpane.
[Code]...
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 RepliesI have a flash site which reads deep links from the URL, then using c# asp.net we read the url and write the appropriate meta tags for the page being requested. [code]...
View 1 RepliesI 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?
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?
Same setup. Some moving cubes and spheres.
FPS in Adobe air desktop app: 29
FPS in Browser: 58
Any tweaks I should attempt?
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?
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.
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 RepliesFrom 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.
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 Repliesurl...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 Replieshow to disable the right click menu in the "incubator(FlashPlayer 11)"?
As i know, in the old version, we can use set wmod is "opaque" then the right click menu could be disable by a javascript.
But, in the "Incubator" we must set the wmod is "direct" could use the hardware render. So, how to disable the right click menu in the "Incubator"?
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 RepliesI'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 RepliesThere 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.
I'm have made some buttons (movie clip) and when I click on it, I want a file (home.swf) to load in a loader (mx.contents.loader) and I want the other buttons to do the same, all load into the same loader. I have no Idea how to do that. The way I have it set up now, the home.swf will load over the entire screen and that is not what I want. I just want the content to load into the loader and have its content change once I click on the other buttons. Here is a copy and past of that I have at the moment, I'm using Flash 8 to do it all.
[Code]...
How to remove a loader and its content using removeChild or any other way, I had removed the loader but its content still playing in the background i know that from the sound of the content.this is the my code for removing:
removeChild(getChildByName("SampleLoader"));
how it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.
View 2 RepliesI'm loading one SWF into another but the internal one is coming over the main content and that can't happen.here is the part of my code where the external content is being loaded anyone hason what I can do to fix this? here is my code:
Code:
var loadAnimBox:Loader = new Loader();
var vid_mc:MovieClip;
[code].....
I have a menu whee you can choose a picture to lead, works great with first selection, but when you choose a different picture it loads over the last picture,I want to substitute the content of that movie clip not to load all the pictures in the same space. I treid to use clear() and removeChild(), but this only works when I choose pic1 then remove that to load pic2, is there an easy way to substitute the content for the new content?
View 1 Replies