SEARCH YOUR SOLUTION HERE  

Flash How to load images at runtime on a plane using papervision3d

hello,

my query is that at run time i want to embed different images on to a plane using papervision3d.........pls help me out with appropriate solution

Posted On: Friday 12th of October 2012 04:32:57 AM Total Views:  145
View Complete with Replies




Related Messages:

@ character not showing in flash contact form!   (98 Views)
Hi all, This problem has been posted here before without any replies! I hope somebody can help out! I can not get the @ character to show up in an input textfiled within my flash contact form. Now here's the weird bit, at least to me. This only happens when the flash movie is viewed in Firefox/chrome browsers, Internet explorer works fine and you can use and see the @ character fine. I have searched for similar topics, tried all available embed options including embed all. I have even tried putting a static textfield on the stage to with the @ character in it so that it used in the movie that way too. Still nothing. I can't figure this one out as it has never happened to me before and any solution would be greatly appreciated as I can not use my contact form without it.
need to code a back button for a flash slide show   (96 Views)
Im having difficulty coding two buttons to go back and forth 10 frames in Actionscript 3.0... i cant use movie clips because the animations cross over... I have gotten as far as getting the forward button to work correctly but the back button wont go in reverse... I tried coding it to go back ten frames but then it always goes back to the first frame rather than going in reverse ten frames... all tutorials i have seen on show how to control movieclips CAN ANYONE PLEEEEEEEEEEEEAAAAAASSSSSEEE HELP!!!!!!!
flash chart   (90 Views)
Hi , Is it possible to develop chart in flash (eg. bar chart, pie chart) can any one help me
Question with flash remoting & the Result Object   (101 Views)
, Every where I have looked for flash remoting tutorials and tips is using amfphp and not CFCs. I have everything set up correctly, I just cannot figure out how to get anything out of the result object. I found an article that was saying I could get the number of columns by doing: rs.serverInfo.columnCount; However it produces this error: TypeError: Error #1010: A term is undefined and has no properties. at CustomClasses.roster::roster/::onResult() I tried to access a couple other properties I found in some articles and I get the same error, can anyone tell me why this is happening
flash CS3 video player - flvplayback problems with widescreen   (109 Views)
Hi , This is my first post and I actually joined this site just to talk about this problem. What I want is to load dynamic movies and check for the dimensions of the video. If the video is in widescreen format, I want to move the movie into the center of the flash player. Here's a better example, let's say I create a flash video player from the flvplayback component and lock the dimensions of the player so the movie has to play inside a 400x300 window. The video player toolbar (play button, volume control, etc) is about 45 pixels high, so the actual stage is 400x345. Now when I load a movie dynamically that has an aspect ratio of 4:3 (standard ratio for video) the video gets resized and everything looks fine. However, if I load a widescreen video, the video player toolbar automatically attaches to the bottom of the video. Instead of it being centered vertically with a black border. So let's say we have a widescreen video that is 400x200, I can't seem to figure out how to add a black bar between the video player toolbar and the video itself. I've attached to images to show what I mean. The first shows what I want it to look like, the second image shows what's happening. -- The solution I think is to check the height of the dynamically loaded movie and then compare it to the stage height. What I thought would work would be something like this (forgive syntax errors, just presenting the logic): if (myflvvideo.height < (Stage.height - 45)) // 45 represents the toolbar { myflvvideo._y = ((Stage.height - 45) - myflvvideo.height) / 2; } However, the above doesn't work right... I can't seem to get the dimensions of a dynamically loaded video and I also can't seem to separate the video toolbar from the video itself.
how is it done (flash question)   (117 Views)
apologize if its in a wrong forum, please move it to appropriate place if necessary. just wondering how to make bg color changing on button clicks. like on this website http://www.braingiants.com/v5/welcome.html any ideas please
To restart flash application after certain period of time   (157 Views)
As topic says, may i know how to restart a flash application after a certain period of idle time Currently i am using setInterval to track the idle. But i dont know how to restart the .swf after closing it.
FMS server side code with flash as3 - how to ping?   (121 Views)
Can someone please show me how to use a .asc (server-side script) with a ping function that updates a text component on the client side (.swf). If you can, I request that the explanation is in AS3 and FMS2. Seems simple enough but I'm new to .asc files and how to implement them. This is a functionality that I need and it should serve to help me understand other aspects of FMS server-side code.
flashscript.biz preloader help   (108 Views)
http://flashas3.flashscript.biz/stag...preloader.html The above tutorial does exactly what I want to do, but I do not understand how to implement it. Can anyone give me a blow-by-blow Much appreciated,
Adding as3 flash video gallery to a seperate flash file   (136 Views)
I am new to as3 and am having an issue transferring a Flash Video Gallery into a seperate flash file. Basically I want to add this video player file into a separate flash site I am making but don't know how with as3. Here is the link to download the files and see it's structure. http://www.flashmo.com/preview/flashmo_215_video_player I copy all the library assets from the video gallery FLA into the other movie and upload all the relevant actionscript files, xml data etc included with the original video player file but nothing still shows up when tested live. What I am missing here any help would be greatly appreciated. KJoe
Flash How to center resizable flash content with gallery   (79 Views)
.. I'm trying to center my flash site horizontally to be resizable using actions, but I have a SimpleViewer gallery to load at some point on the timeline inside a movieclip. Everything is working without the gallery on stage.. but when I jump to the frame point where it is loaded.. the center alignment is gone like the gallery is overwriting it or something... The centering action in the first frame: var myStage:Stage = this.stage; myStage.scaleMode = StageScaleMode.NO_SCALE; myStage.align = StageAlign.TOP; function initialDisplay(event:Event):void{ var swfWidth:int = myStage.stageWidth; var swfHeight:int = myStage.stageHeight; var frameYPos:Number = swfHeight - frame.height; var frameXPos:Number = swfWidth - frame.width; var artgalXpos:Number = swfWidth - frame.width; frame.y = frameYPos / 2; frame.x = frameXPos / 2; artgal.x = frameXPos / 2; } addEventListener(Event.ENTER_FRAME, initialDisplay); artgal - stands for the movieclip inctance name and its centering the gallery , but than the background and everything else stays in place :S Inside the artgal movieclip I load the gallery with a simpleviewer.swf like this: Maybe the problem is here :S var svAPI:Object; //svAPI is the object to call API methods on var svLoader:Loader = new Loader(); addChild(svLoader); svLoader.contentLoaderInfo.addEventListener(Event. INIT, onViewerInit); svLoader.load(new URLRequest("simpleviewer.swf")); function onViewerInit(e:Event):void{ var options:Object = Object(svLoader.content).embedOptions; options.galleryURL = "gallery1.xml"; } /** * Fired when gallery has completely loaded. API is now available. */ function onGalleryLoaded(e:Event):void{ svAPI = Object(svLoader.content).api; svAPI.setSize(640,480); } So how can I make the first code to work there too where I have the gallery First Flash site attempt ever, so I'd love some help.. ty
Data between two flash apps   (100 Views)
Let's say I have two flash apps, each being run by a separate user. Is it possible for user A to click a button and have a message pop up on user B's screen Assume I know the IP address of user B and can route the traffic to them. I'm guessing, if this can be done, it would be accomplished using some type of EventListener, but I'm not sure where to start.
Rewrite flash native methods and classes.   (139 Views)
! I'm new to the bbs, and I saw a few questions asking stuff similar to what I'm doing so I was hoping someone could help me . I am trying to do an app that requires me to change the behavior of a few native methods and classes of a an application. I want to override methods such as: ExternalInterface.call, ExternalInterface.addCallback, flash.net.navigateToURL in a loaded movie. There are a few ways to do this for example: 1. Getting the SWF's bytecode and decompile it. Then change the symbols table with my own class. 2. Loading the other movie in my applicationDomain, by doing so, I would be able to rewrite it's own classes. To do (2) what I did was: 1. Turn off the "-strict" flag. 2. Turn on the "-es" flag. in the compiler and then do something like: Code: flash.net.navigateToURL = function(u:URLRequest,window:String):void { throw new Error("yay it works"); } flash.net.navigateToURL(new URLRequest("http://www"), "1"); which throws no errors at compile time, but when I execute it, I receive: Code: ReferenceError: Error #1056: Cannot create property flash.net::navigateToURL on global. at Main/init() at Main() Which I sense means that I can't override anything under "flash". Anybody knows how to do this
flash image with slider   (102 Views)
How can we make this kind of structure. http://news.yahoo.com/s/ap/20100922/...monster_lake_3 Any idea will be really appreciated. akumar
Flash mouse_wheel event doesn't fire on flash player   (134 Views)
I'm using Flash CS5, flash player ver WIN 10.1.53.64 and PC with win7. I pasted code below to new fla file, compile it and it doesn't work. I did some research and found out that there is some issues using mac, or when publish in browser (wmode must be set to window not transparent) but have no clue why code simple as that doesn't work. Just nothing happening. I tried clicked on stage before using mouse_wheel to be sure that it has focus (which is needless in swf as far as I know) - still no result. Did I miss sth Any ideas here is the code: Code: import flash.events.Event; import flash.events.MouseEvent; addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); function mouseWheelHandler(e:MouseEvent){ trace("delta: "+e.delta); }
flash quiz engine   (118 Views)
hi , i am new to flash and now i want to develop flash quiz engine from scratch where the user have to give question and answers and also having additional feature to change the background dynamically when the user is going to develop a quiz game with this engine. after that he has to submit this game by clicking submit button. can anyone of you help me in this task. plss
Dynamically sizing flash object in Safari   (123 Views)
I have a weird problem with Safari 5.0 and Flash player 10.1... When I resize the flash html object via ExternalInterface and JavaScript flash will jump down the page a little bit for a fraction of a second. Here is an example: http://www.benmcmaster.com/test/testSafari/ This may not be a flash question at all. It may be a CSS or JavaScript problem. I just wanted to see if anyone else has seen this. It seems to only be a problem with Safari 5 and Flash 10.1. You can view the source of the html page. Here is the code inside the sample FLA: one.addEventListener(MouseEvent.CLICK, oneClick); one.buttonMode = true; two.addEventListener(MouseEvent.CLICK, twoClick); two.buttonMode = true; this.addEventListener(Event.ADDED_TO_STAGE, addedToStage); function oneClick(e) { ExternalInterface.call("changeDivHeight", 2000); } function twoClick(e) { ExternalInterface.call("changeDivHeight", 2500); } Thank you!!!! _________________ Ben McMaster http://www.benmcmaster.com
XML to flash help   (132 Views)
Could somebody please help me just trace out the data within the "item tag" below. I can trace out the three at the top but can't get into the items. Having it nested like this is giving me problems. I would really like it to loop through the items and display each in a single text field. Code: 8/16/2010 Classic Cinemas Meadowview Theatre Showtimes for 8/16/2010 Inception http://www.classiccinemas.com/movies/movie_id=1326 8/16/2010 8/16/2010: 1:30, 4:40, 7:45 ]]> Other Guys, The http://www.classiccinemas.com/movies/movie_id=1371 8/16/2010 8/16/2010: 12:00, 2:25, 4:50, 7:15, 9:40 ]]> Scott Pilgrim vs. the World http://www.classiccinemas.com/movies/movie_id=1374 8/16/2010 8/16/2010: 12:10, 2:35, 5:00, 7:25, 9:50 ]]>
actionscript preloader in flash develop   (133 Views)
I have been trying to create a preloader for my flash app in pure action script. There is a feature in Flash Develop to create a project 'actionsript 3 with preloader'. Here is Preloader class: Code: package { import flash.display.Bitmap; import flash.display.DisplayObject; import flash.display.MovieClip; import flash.display.Shape; import flash.events.Event; import flash.events.ProgressEvent; import flash.utils.getDefinitionByName; import flash.display.StageScaleMode; /** * ... * @author sasa */ public class Preloader extends MovieClip { [Embed(source = '../slike/loading.png')] private var Slika:Class; private var slika:Bitmap; private var bar:Shape; public function Preloader() { stage.scaleMode = StageScaleMode.NO_SCALE; slika = new Slika(); slika.alpha = 0.8; addEventListener(Event.ENTER_FRAME, checkFrame); loaderInfo.addEventListener(ProgressEvent.PROGRESS, progress); // show loader addChild(slika); slika.y = 250; slika.x = 250 - slika.width / 2; bar = new Shape(); bar.graphics.lineStyle(2, 0xFFFFFF, .75); bar.graphics.drawRect(0, 0, 250, 25); bar.y = 290; bar.x = 250 - bar.width / 2; bar.alpha = 0.3; addChild(bar); } private function progress(e:ProgressEvent):void { trace('bio'); // update loader bar.graphics.clear(); bar.graphics.lineStyle(2, 0xFFFFFF, .75); bar.graphics.drawRect(0, 0, 250, 25); bar.graphics.beginFill(0xFFFFFF, 1); //bar.y += 2; bar.graphics.drawRect(0, 0, (e.bytesLoaded / e.bytesTotal) * 250, 25); /* var i:int; for (i = 0; i < 500; i++) { trace(i); }*/ } private function checkFrame(e:Event):void { if (currentFrame == totalFrames) { removeEventListener(Event.ENTER_FRAME, checkFrame); startup(); } } private function startup():void { /* var i:int; for (i = 0; i < 4000; i++) { trace(i); }*/ // hide loader removeChild(slika); removeChild(bar); slika = null; bar = null; stop(); loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progress); var mainClass:Class = getDefinitionByName("Main") as Class; addChild(new mainClass(this)); //addChild(new Main(this)); } } } when i run my app. the progress function is called a few times while the app isn't visible. and when the loading bar displays it's always full. And then i wait for the app to load and it starts after that. It's like the progress event isn't giving me the progress of the rest of application, it's like it's giving me the progress of itself, so i can always see the bar only full. I've been searching for a solution whole day. Please help out...
Importing my data into flash - Where to start?   (114 Views)
Good Morning, I am cartographer/graphics specialist by trade but am working to apply these skills to flash. I've had great luck so far moving my projects out of Illy and making them interactive through AS3. I am at the point where I'd like to incorporate tables of attribute data specific to my movie clips. For example, tables of demographic info specific to US counties. I'd like to make these data queriable by clicking on a specific county (mc). I've been reading some tutorials and it sounds like I should convert my data to xml (from a CSV or XLS) and then import the XML to my stage and start learning the ins/outs of calling on its values. Am I starting down the right path First off, I've not found a very straightforward way to get my data into XML. It originates in a DBF and i could easily convert it to tab-del text, csv or anything else. Any suggestions Also, should i rethink where I am starting with this and not use XML altogether, maybe using something else