JavaScript :: How To Interact With 3D PDF From Flex

Feb 6, 2012

I'm working on a web application which displays a 3D model (Acrobat 3D PDF file) and allows users to interact with the model. I need to be able to communicate with PDF from the web page:
1) Programmatically highlight a node in the 3D PDF (given the node name) when, say, the user clicks on a list item referencing that node name in the web page
2) The reverse way, know which node the user selected in the 3D PDF so I can highlight that node name in the web page.

My questions:
a) The UI of my page is Flex. Is it possible to do this interaction directly from Flex?
b) If not, is it possible to do this from browser javascript? (which I will in turn call from Flex) I have seen an article on browser-pdf communication [URL] but am not sure if 3D objects can be accessed from external browser javascript.
c) Or does the Acrobat Reader ActiveX control expose methods to perform these operations from browser javascript?
d) Lastly, do folks have any recommendations based on their experience, on which 3D CAD viewer software integrate with browsers and enable this kind of interaction? (Apart from Acrobat 3D, I am evaluating a few such as 3DVIA Composer Player).

View 1 Replies


Similar Posts:


Javascript :: Interact With Facebook, Using The SDK?

Feb 17, 2012

I'm triyng to use the Facebook AS3 API but it's actually inconsistent. Frustrating.I'm thinking to use the Javascript SDK, from an Flash/AS3 based app, using the ExternalInterface object, and the addCallback method...

View 1 Replies

Flash :: Javascript - How Does A Browser Interact With A Player Or A Java Applet

Nov 9, 2010

I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.

These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets

(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?

View 2 Replies

Flash :: Javascript - Make A Console Plugin To Interact With Facebook Games Or Other Apps

Feb 5, 2011

I'm playing a flash game on facebook. I know I can decompile it to find out all the commands and would like to make scripts to automate the game by calling procedures in the actionscript of the game. So I guess I would like to make a plugin also that would insert this console into any flash app and this would be handy for a lot of things. Then if anyone wants to hack a new game, u just decompile it and make a handbook of methods for people to make scripts with. So how would I go about making this console? I don't know if I could make a swf interact with the game or if it has to be compiled into the game's swf. Or if it is easier with javascript, that is cool too. maybe we can make a javascript library just for this. anyone can tell me more?

View 2 Replies

Flex :: Interact With SWF Loader

Jul 7, 2009

I embedded a swf file in my application [code]now with the help of the flex documentation I wanted to interact with my loaded swf by creating a SystemManager.[code]But when starting the application the error#1034 occurs and says that Main__ embed_ mxml_mod_ VideoModule_ swf_856293516@33f53c1 could not be converted into mx.managers.SystemManager.

View 2 Replies

Flex :: Interact With Content Behind Transparent App?

Feb 23, 2010

I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through.

I tried setting the z-index of the Flash app to something greater than my Flex app, and that worked, but unfortunately that solution doesn't work for my case because the Flex application has components that occasionally overlay in that area, and setting the z-index of the Flash app to be higher means those components are always stuck behind it.

View 1 Replies

Flex Can't Interact With Button In Itemrenderer

May 28, 2010

I have a list with a itemrenderer. When I put a button in the itemrenderer I can not interact with it. If I rollover the button the list item rollover is triggered but not the button's rollover. I can't click on the button either. You can see below I have a click event set in the itemrenderer and it is not called on click when I run app. Must I override rollover and click methods of itemrender? Why is it such a pain to put a button in an itemrenderer?[code]...

View 1 Replies

Flex :: How To Get Embedded SWF To Interact With Project Assets

Jan 13, 2011

I have a Flex project in which I am embedding a Flash SWF containing an image viewer. The SWF file I'm embedding is supplemented by an XML file, which contains a list of images to show, and an images folder containing the images. The problem I'm running into is that the embedded SWF file is unable to load the pictures. I am able to see the forward/backward navigation buttons, but there are no loaded images. When I view the SWF file outside of the Flex project it works fine. Is this because Flex isn't allowing the SWF to reach outside and access other project assets?

Here's my code for embedding the SWF:
<mx:Script>
<![CDATA[
import mx.controls.Image;
import mx.events.CloseEvent;
import mx.managers.PopUpManager;
[Code] .....

View 2 Replies

Flex :: Dynamically Add Image Objects To Display And Then Interact With Them?

Jan 13, 2010

Below is sample code from a Module I have in my Flex app. I want to dynamically create mx.controls.Image objects and add them to the display. I want the user to be able to move them (this works as below) and be able to change their z-index as well as record new X and Y coords after moving back to the database. How do I determine which object in this.getChildren() is the 'selected' item the user is working with? When I add a MOUSE_OVER event, for example, it does not work.[code]

View 1 Replies

Embed SWF File In Flex And Interact With ExternalInterface Functions

Sep 1, 2011

I use a SWF file that exposes functions and events using ExternalInterface. Here is an example of an exposed function:
ExternalInterface.addCallback("myFunction", ExecuteMyFunction);

If I embed the file in an HTML page, I can access those functions using JavaScript. Now, I'm embedding that same SWF file dynamically in a Flex app using the mx:SWFLoader component, something like:
<mx:SWFLoader id="myLoader" source="[URL]" autoLoad="true"/>

I'm trying to access those exposed functions and events, but I can't find how to interact with those from the Flex app. I would like to be able to call a function just like from JavaScript, like:
myLoader.myFunction();
How can I access a function that is exposed by the ExternalInterface within Flex?

View 1 Replies

Flex :: Display Flash Movies Inside Application And Interact With Them?

Feb 11, 2010

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?

The scenario is as follows:

I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.

Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.

View 1 Replies

Javascript :: Unable To Communicate With Javascript From Flex After Dymanically Loading A Swf?

Aug 1, 2009

for some reason, whenever I dynamically load a swf on a $(document).ready() by writing to a div, I am unable to make javascript calls to the browser. Specifically, all calls to the browser return "null". This does not occur when embedding the swf normally on the page load, but I would like to prevent loading of the swf until a specified point in time.

What the heck is going on here? Is there something special about dynamically embedding a swf that prevents the swf from talking to the browser? The methods ARE called (I've proven such by showing alerts), but all return values to any function, regardless of type returned, shows as null when it gets to flash.

View 3 Replies

Javascript :: Best HTML/JavaScript Framework For A Flex Application?

Oct 23, 2009

We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?

View 1 Replies

How Does The Flash Layer Interact With The Flex Layer In A Multiple Layer Design

Aug 26, 2011

Don't know if the flash layer on the view stack contain only the compiled flash swf file

View 1 Replies

How To Interact With An FLV

Jul 27, 2009

I'd like to know how to interacte with an FLV playing in a Flash file?I have an FLV of a person talking and I'd like to make icons pop over her (in the FLV) on a blue screen and make em clickable to go to another page (getURL).

View 3 Replies

Actionscript :: Interact With PHP Via GetURL?

Feb 8, 2010

getURL('http://www.google.com',_blank);

The above can open google.com,but how to fetch data from server side(PHP) on localhost?

View 1 Replies

PHP :: HTTPService - How To Interact With Web Service

Sep 1, 2010

I have an app written in adobe flex (action script 3) that I want to have interact with a web service. Because it appears I can't access the server, I've created a simple app. Source code for the ActionScript

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="[URL]" layout="absolute" viewSourceURL="srcview/index.html">
<mx:HTTPService id="concat" url="concat.php" resultFormat="text" method="POST">
<mx:request xmlns="">
<stringOne>{stringOne.text}</stringOne>
<stringTwo>{stringTwo.text}</stringTwo>
[Code] .....

When I fill in the fields and press the button nothing happens.

View 1 Replies

ActionScript 3.0 :: Interact From Inside A MC To The Outside Of It?

Feb 10, 2010

I need (for a project I'm working on) to act on a MC that is outside of the MC containing the button and the script. but it seems I'm unable to do it.let's say I have two MC, let's call one MC_1 and one MC_2.now, I want to set alpha of MC_1 to 0 via a button included inside MC_2.it simply don't works as inside MC_2 there's nothing with instance name "MC_1". I can act on any MC inside MC_2, and on MC_2 itself (using "this"), but not on something "outside" it.there's a way to interact from inside a MC to the outside of it?

View 4 Replies

ActionScript 3.0 :: Can't Interact With Loaded SWF?

Dec 9, 2010

The following code loads the external SWF just fine and displays it in the correct position. The SWF plays automatically as it should and stops at the first stop statement, as it also should. However, my mouse doesn't recognize any buttons. All text that is TLF read only can be selected. The SWF playes perfectly on its own, but loaded into the main SWF, all user interactions are not working. Here's the code:

[Code]...

View 3 Replies

ActionScript 3.0 :: Using Xml To Interact With Database?

Jul 13, 2010

I have a client who has asked me to interact with the database using xml. The flash app needs to submit only simple data such as name & e-mail.

I would usually POST this using sendAndLoad, but the client seems to think using XML is less vulnerable?.

View 9 Replies

IDE :: Different MovieClips - MouseOver Will Not Interact

Dec 19, 2009

I am set to learn all I can about flash. Here's my first problem:
Code:
stage.addEventListener(Event.ENTER_FRAME,go);
function go(e:Event):void {
bijtje_mc.x=mouseX;
bijtje_mc.rotation=Math.random()*20;
bijtje_mc.y=mouseY;
[Code] .....

I am not sure if the Mouse events are suited.. but the biggest problem is the MC's, I think. I want the mouse to interact with them.. just like a button you know. Made 3 different MC's, one for when its idle, one when MOUSE_OVER, and one when you click it.. they are on frame 1 , 5 and 10. The problem is.. the mouse cursor isn't interacting with anything.. the custom cursor "bijtje_mc" does work though.

View 7 Replies

ActionScript 3.0 :: Interact/communicate With An Embedded SWF?

Nov 13, 2010

I'm programming my game using Flash Builder 4, in an "ActionScript project". I'm not using Flex. I want to build my menus and cutscenes in Flash Professional, then export them as SWF and embed them into my final project.Embedding the SWFs works fine, I do something like this:

Code:
[Embed(source = 'test.swf')] private var SwfClass:Class;
var myMovieClip:MovieClip = new SwfClass();
parent.addChiled( myMovieClip )

My problem is that I can't access the buttons and other elements of the SWF that I need to communicate with and manipulate. For example, the main menu will have a "Play" button. I need to know if that button has been pressed. The level select screen will have a "Best Time" text field, that should show the player's best time on a level - this text needs to be set. But I can't figure out how to access these things.

I don't think that the children of the MovieClip are visible within my Actionscript project - it seems like the SWF is loaded in as one big "chunk" that can't be interacted with (it plays fine though).So what is the best way to interact/communicate with an embedded SWF? I've found a bit of information on the topic, but usually people are talking about using Flex or loading in external SWF (which seems to behave different from embedding). Is there even a way to do this?

View 3 Replies

ActionScript 1/2 :: Combining SWF Files To Interact With Each Other

Apr 13, 2009

I created several SWF files, now i want them to interact with each other So there is main SWF file lets call it: main.swf then within that file(main.swf) I would like to create buttons which will be calling other swf files for instance by pressing one button one.swf will be open by pressing other button two.swf will be open and so on. Then I would like to create buttons within one.swf and two.swf which will allowed to go back to main.swf.

View 3 Replies

ActionScript 3.0 :: Loading SWF Into Container And Interact From There?

May 14, 2010

If a swf file is destined to be loaded into a container file and interacted with from there, is it considered better practice for the code for the interaction to reside in the loaded file or the container file? I am writing on the timeline, rather than creating classes. Also if a movie clip on the stage contains buttons with event listeners attached and I remove the movie clip as a child, do the event listeners disappear with it, or should i remove them separately?

View 4 Replies

Flash :: Interact With Local PC From WebApp

Apr 28, 2010

I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface.

What are my options for doing something like this?

A signed Java applet and Jacob ActiveX and .NET (this will only work in IE, correct?) Flash? (can flash be given permission to the local PC?) Silverlight???

I'm leaning towards trying the java approach (all users will have Java and flash installed) but am wondering what's the path of least resistance.

The application runs from Apache2/Python/modwsgi on Gentoo Linux. All users will be running WinXP or Win7 with Firefox or IE6/7/8.

View 2 Replies

Flash :: Interact Using Python Mechanize?

Jul 9, 2010

I am trying to create an automated program in Python that deals with Flash. Right now I am using Python Mechanize, which is great for filling forms, but when it comes to flash I don't know what to do. Does anyone know how I can interact with flash forms (set and get variables, click buttons, etc.) via Python mechanize or some other python library?

View 1 Replies

Flash :: Can't Interact With Textfields And Movieclips?

Aug 22, 2011

I have a movieclip on stage: I load inside it a form (via addChild). The form is made of textfields and movieclips and it is contained in a library object of MyForm class, extending MovieClip. So I have:

var myForm:MyForm = new MyForm();
myClip.addChild(myForm);

What happens: the MyForm class lets me interact with textfields (if I change a value of a textfield I can see it very clearly). But I can't manually reach the input textfields and the buttons (they don't respont to pressure, and I can't modify their content in the case of textfields). There seems to be something related to the fact that MyForm is contained inside myClip because if I load the form without the myClip container anything works again. I tried to use mouseChildren and mouseEnabled on myClip but it doesn't work.

View 1 Replies

Flash :: Using Microphone To Interact With Webpage?

Dec 8, 2011

I am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.

View 2 Replies

ActionScript 2.0 :: PHP - Getting Forms To Interact Correctly?

Jul 25, 2009

I found two tutorial scripts online and have altered them for my own use and am having trouble getting these to forms to interact correctly.

The flash example of this problem is located at: [url] and click on "Gift Cards"

[Code]...

View 0 Replies

ActionScript 2.0 :: Interact With A RollOver Event?

Oct 12, 2009

I have 4 bars that they interact with a rollOver event. On each bar movieclip I have another movieclip that I want to do some stuff with the onRelease event but it doesn't work. If I don't use any action on the bars, the command this.mc.mc.onRelease... works fine.

[Code]...

View 3 Replies







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