How Can Use Flash Within Visual Basic Or Visual Basic.net.
Can I use Flash as my interface for applications created in Visual Basic or Visual Basic.net. I would really appreciate help from anybody.
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-09-2002, 08:03 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Visual Basic & Flash
Anyone know why these properties appear to be exposed to Visual Basic, but in reality they aren't?
Trying to get some actual logic for this.
Are these only Flash commands? Are they only available if called from an HTML page. Do you have to use java?
Did someone at Macromedia simply not check some check boxes when compiling the .OCX?
Nothing makes sense on this.
Property AlignMode As Long
Sub Back()
Property BackgroundColor As Long
Property Base As String
Property BGColor As String
Function CurrentFrame() As Long
Property DeviceFont As Boolean
Property EmbedMovie As Boolean
Function FlashVersion() As Long
Sub Forward()
Function FrameLoaded(FrameNum As Long) As Boolean
Property FrameNum As Long
Event FSCommand(command As String, args As String)
Function GetVariable(name As String) As String
Sub GotoFrame(FrameNum As Long)
Function IsPlaying() As Boolean
Sub LoadMovie(layer As Long, url As String)
Property Loop As Boolean
Property Menu As Boolean
Property Movie As String
Event OnProgress(percentDone As Long)
Event OnReadyStateChange(newState As Long)
Event OnReadyStateChange(newState As Long)
Function PercentLoaded() As Long
Sub Play()
Property Playing As Boolean
Property Quality As Long
Property Quality2 As String
Property ReadyState As Long
Sub Rewind()
Property SAlign As String
Property scale As String
Property ScaleMode As Long
Sub SetVariable(name As String, value As String)
Sub SetZoomRect(left As Long, top As Long, right As Long, bottom As Long)
Sub Stop()
Sub StopPlay()
Property SWRemote As String
Sub TCallFrame(target As String, FrameNum As Long)
Sub TCallLabel(target As String, label As String)
Function TCurrentFrame(target As String) As Long
Function TCurrentLabel(target As String) As String
Function TGetProperty(target As String, property As Long) As String
Function TGetPropertyNum(target As String, property As Long) As Double
Sub TGotoFrame(target As String, FrameNum As Long)
Sub TGotoLabel(target As String, label As String)
Property TotalFrames As Long
Sub TPlay(target As String)
Sub TSetProperty(target As String, property As Long, value As String)
Sub TSetPropertyNum(target As String, property As Long, value As Double)
Sub TStopPlay(target As String)
Property WMode As String
Sub Zoom(factor As Long)
Visual Basic And Flash
I have been asked to write a programme that integrates with Flash! The programme has to be written in VB6 and I know how to use the fscommand to get data from flash and into VB6 can anyone explain how to get data from VB6 into flash and I can't use director?
Mark
Visual Basic 6 And Flash
Hello, I am trying to include a flash movie on a vb6 form. I can do it at home but not at work. As soon as I try to use the shockwave flash component from my toolbar, vb crashes. I even compiled a vb/flash exe that works at home, then brought it to work to run it there, but it gives me an error about not being able to read memory. Can anyone help me?
Flash + Visual Basic?
I want to put my swf file into a VB program so I can extend some stuff by activeX controls/FSCommand and the like to do some things I can't natively do in Flash itself. I found a really promising tutorial that looked like it was just what I needed.
Problem was, the tutorial was for visual basic 6.0 and I have Visual Basic as part of Visual Studio.net, which I bought an academic edition of through my school. Deal with this is, the tutorial says to go ahead and add a .swf file to your VB form as a component. You can just do that, apparently, as long as the flash player's installed.
WEEEEEELL, with my version of Visual Basic.Net (or whatever) it doesn't seem to work like that. The interface is a little different from the screenshots, and even though my flash player is MOST DEFINITELY installed (I downloaded the versions for both mozilla, internet explorer, and have Flash MX itself installed on my computer) there seems to be a problem- there's no option anywhere to add a .swf component to my VB form. Does anyone out there in Flash land know how to do this? Or point me to someone who knows the intricacies of Visual Studio.net and what it's malfunction is?
Please let me know. This is driving me nuts.
By the By, I am using Flash MX (not 2004)
Thanks!
Visual Basic ( VB) And Flash
Hello!
I have been asked to create an animations collect data and send to a VB program...
Has anyone communicated between flash and a VB script before? The details are just a var (numeric)to pass.
Anyone?
Use Flash 5 With Visual Basic
Hello admin,
I'm a new member of your forum. I want to learn how to use Flash 5 with VB. And please send me an example in may mail box minhaz_ahmmed@yahoo.com
Thanz.Minhaz
Flash Mx To Visual Basic
do any of you guys uses flash mx for visual basic 6?
do i need to install an ocx for vb6?
where can i download a flash mx ocx?
Use Flash 5 With Visual Basic
Hello admin,
I'm a new member of your forum. I want to learn how to use Flash 5 with VB. And please send me an example in may mail box minhaz_ahmmed@yahoo.com
Thanz.Minhaz
Flash On Visual Basic =/
Im doing some stuff on Visual basic that requires animations, so well I decided to make such animations on flash... I already finished them but then I realised that isnt so easy, at least for me, I couldnt join them til now...
Can someone tell me how to join the animations made on flash 5, with Visual basic 6.0 or Vb whatever.# heh?
To give you an idead about what Im doing:
A system that will help you to administrate a colection of little figures from a game called Mageknigth. The animation will be at the begining, one just with the logo of my team work, and another one in the main menu of the system, there will be the animation at the back and in the front some buttons that will take you to different options in the system.
Thanx a lot for your time. =)
Flash And Visual Basic
I am using a swf in a Vb application. Is there any way i can disable the right click menu of the swf. i don't even need the "about macromedia flash player" thing. i.e. no right click thing.....
please help
Can You Put A Visual Basic Progam Into Flash 5?
I have this problem, I need to know if I can put a Visual Basic program into a Flash 5 movie. Can this be done? I want to put this Concentration game that I made into Flash. If I can't, is there any other way I can do so?
Talking From Flash To Visual Basic
Why i run a flash MX file by shockwave flash control in VB , It's slower than I use Webbrowser control ? . I have to use shockwave flash control because the flash file could talk to VB by FSCommand(I could call a VB function from flash and set value for a flash variable from VB ) . is there any control else instead of using shockwave flash control ?
If Anyone knows , please tell me . Thanks a lot .
Flash And Visual Basic Comunication
Hi every1.
I'm looking for a way to make Flash send variables to VB and vice versa, but with no results .
Thanks for the time.
Oh and I'm using MX.
Visual Basic (completely Nothing To Do With Flash) Lol
i know this has nothing to do with flash but here i go
im using visual basis 2005 express beta 2
i am trying to controll a webbrowser so wehn somthing is clicked(a button would be nice) it goes to a certain page , or the page is edited to include a frame from another site (if theres any difference)
im more of a visual person NO CODE KNOWLAGE lol on VB
so er if not does any know of any VB forum sites?
[F8] Flash Ocx, External API, Visual Basic
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
[CS3] New To Flash, Coming From Visual Basic 6
Hey people,
I am not sure you know the visual basic language, but I am pretty experienced with that.
Now I started programming in Flash CS3 and I discovered this is a language (Actionscript 3.0 + all the other functions of Flash) with which you can do A LOT OF things ...
But Accually most of my codes wouldn't work as I don't know so much about the structure of the language. I would like to know if actionscript as built-in functions like for example cosinus and sinus which in VB I would use it like this:
Code:
Public Function GetCos(CosInput as Integer)
GetCos = Cos(Cosinput)
End Sub
And is it true that when Flash "recognizes" an object, and you type like "Object." a listbox with options would appear, because I do see it when I type "var variable:", then I can choose of String and int for example...
I do know already what all those types of variables do, still from VB, it are just some other names...
And in Visual Basic the programming happens in one big "textbox" pop-up window, like "actions" in flash, but than for every form (the windows you see on your screen) one set of codes. And than every bit of code is in a function of Sub with the structure like this:
Code:
Private Sub examplesub(input as String)
'Your code
End Sub
or
Code:
Private Function Getsomething(input as integer) as String
Getsomething = str(input + 1)
End Function
Here you see I used str(), this built-in function converts a number (the input integer) into a string (for the output)....
I did already discover that Flash doesn't use "End Function" or "End Sub" at the end of functions but just "}".
And in VB every object has some "events" like "textbox_click" as in:
Code:
Private Sub textbox_MouseMove(Button As Integer, Shift As Integer, X as Single, Y As Single)
End Sub
which is automaticly created whenyou create the object.
And furtheremore you can call you own created subs (plain codes) and function (codes which return something) like this:
Code:
Private Sub textbox_MouseMove(Button As Integer, Shift As Integer, X as Single, Y As Single)
Call ChangeLeftAndTop(X, Y)
End Sub
Private Sub ChangeLeftAndTop(X as Single, Y as Single)
textbox.Left = MyOwnFunction(X, Y, True)
textbox.Top = MyOwnFunction(X, Y, False)
End Sub
Private Function MyOwnFunction(X as Single, Y as Single, XTrue as Boolean) as Integer
If XTrue = True then
MyOwnFunction = X + 1
Else
MyOwnFunction = Y + 1
End If
End Function
Here I created the two subs below myself, the upper sub "textbox_MouseMove" gets all his parameters from the application, like when you move your mouse over the object "textbox", textbox_MouseMove is called and the Button, Shift, X and Y are given with it. And you see the data which is returned in MyOwnFunction is an integer, " as Integer"...
So can someone tell me the structure of the programming in flash a bit?
Cheers Jasper
Flash Ocx, Evxternal API And Visual Basic
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
Visual Basic And Flash Communication
HI,
I work with the flash ocx embedded in windows applications.
In the past we have used VB6 and the communication has been pretty simple stuff.
We are completely re-writing our main windows app using VB.net. (VB8)
I am looking for all the most up to date info and tutorials etc I can get for using flash embedded in windows apps.
Hopefully we can do more with the latest player and VB.net???
This info seems awfully hard to track down, and even then pretty thin, listening Adobe?
Anyway please post any links etc to good info on the Adobe site or others here.
PS I moved this here as I got no answers in a month!
Thanks
Mark
Getting Flash To Talk To A Visual Basic Or C++ App
Hey everyone,
I was just wondering if anyone out there has had any luck
trying to get a flash app to talk to either a visual basic or
c++ application?
I need to build a player [flash embeded into the vb or c++
application] that when the user say, pushes a button, calls
a function or action from within the app.
Any Idea How would I go about this?
Thanks in Advance
Aaron.
Visual Basic To Flash Tutorial
Okay I made it put text into flash textbox, but how do i get text out of flash and into a visual basic text box. If you could like write down a really detailed step by step or an example would be really good.
(note im talking about the tutorial http://www.kirupa.com/developer/mx/flashvb.htm).
Thanks
Getting Flash To Talk To A Visual Basic Or C++ App
Hey everyone,
I was just wondering if anyone out there has had any luck
trying to get a flash app to talk to either a visual basic or
c++ application?
I need to build a player [flash embeded into the vb or c++
application] that when the user say, pushes a button, calls
a function or action from within the app.
Any Idea How would I go about this?
Thanks in Advance
Aaron.
Visual Basic To Flash Tutorial
Okay I made it put text into flash textbox, but how do i get text out of flash and into a visual basic text box. If you could like write down a really detailed step by step or an example would be really good.
(note im talking about the tutorial http://www.kirupa.com/developer/mx/flashvb.htm).
Thanks
Flash Ocx, External API, Visual Basic
I was not sure which forum was the righ one for this question, but anyway here it is
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
Flash Movies In Visual Basic
I want using one flash ocx to put some flash movie in one VB application, but I don't know what wright in ocx fields.Anyone can tell me how i do this?
Controlling Visual Basic With Flash
can anybody help me
i'm new at flash mx and want to know if you can control visual basic programs using flash.
any help will be very appreciated
How Do I Combine Flash With Visual Basic?
I am going to make a great game over the www but I need to comine flash and visual basic in one program.
i would be verry happy if someone could send me a ".fla" with shows how to transport a variable from vb to flash and back again.
thanks in advance
Flash And A Visual Basic Socket Server?
Hi guys,
Could someone please explain how i would do this. (im trying to understand socket servers)
Have a flash file (swf) on a website with a textbox.
When somone enters "hello" in the text box, it passes it to my visual basic application, and the VB app displays the enterd text in a listbox.
Did that make sense? lol.
I really dont know how to start this - i just want to see how flash and visual basic can work together.
I know that the flash file needs to be on my own server (which it is), i just carnt understand this part: flash runs client side, as it needs to download, so how can it pass varibles back to the server.
What do xml files do?
Any info would be great. I know about electrosever, and that java is a better socket server etc, i just want to use vb for this project im trying to work on.
Regards.
Visual Basic Flash Vars..I'm Confused
Hello Everyone,
I just want to know, is it possible to get a data from flash and then transfer it to visual basic and save it on a data base of Visual BASIC...
How?
Example.. I created a textbox in flash, to get the name of a user then...
I will load the publish swf file on my VB project. and then get the data from that textbox to save it on VB Dbase..
Thanks and Take care...
Ur1andOnlyJopi --The real Jopeman--
Running A Visual Basic Script From Flash
I need help with said message title and summary. I am producing a flash program that is going to have a folder connected to it to bring up any support documents that are related to the training presented within the flash program.
And we want to incorporate a button that when pressed it will search out any updates of those documents that are residing on the company's server and if needed it would update the same documents residing locally on the users desktop. I hope that I didn't make my inquiry as clear as mud?
Connect The Flash Commands With Visual Basic?
In The Name Of Allah
any one Can help Me in Flash MX
How I can connect Flash commands at formes of visual basic 6?
example:
when I insert Flash Movie (.swf) to form1 in visual basic
this Movie contain 2 commands (a,b)
when you click command (a) then convert you to form 2 in visual basic
&
when you click command (b) then convert you to form 3 in visual basic
Please help Me
: )
Embedding Flash Form In Visual Basic
Hello Everybody:
I am loading a flash form into visual basic then i write the information into a text file. I have combo box in my flash form. But when the flash form opens in VB these combo box don't show any data. They are blank.
Does anybody has idea how to make flash component work in VB?
I will greatly appreciate your help.
Thanks
Beginner
Connect The Flash Commands With Visual Basic?
In The Name Of Allah
any one Can help Me in Flash MX
How I can connect Flash commands at formes of visual basic 6?
example:
when I insert Flash Movie (.swf) to form1 in visual basic
this Movie contain 2 commands (a,b)
when you click command (a) then convert you to form 2 in visual basic
&
when you click command (b) then convert you to form 3 in visual basic
Please help Me
: )
Working With Flash Object Inside Visual Basic
Hi there folks,
I'm back again asking for something a little bit different of the usual: I´ve had some problems when trying to work with flash objects inside Visual Basic.
I want to develop an app in VB6 with something more than Windows buttons and static frames, so I'm trying to make the interface in Flash. The problem is very basic: I can't open my flash movie inside VB. The strings are burning my brain out.
I would be very pleased if somebody could help me on this.
Need a motivation? Imagine the world with no Animated gif, no Flash, no nothing... so.. that's how our applications are today.. all static.. let's animate our Apps.
Shockwave Flash - Visual Basic API (Scaling Problem)
Hi, I have a problem with the Shockwave Flash API in Visual Studio 6. When I place the API on the form you must create it to be the size you want it to be but it's done only once. Let's say you wanted to load different movies into the same API, you could use something like:
Code:
MyFlash.Movie = "C:movie.swf"
Which would switch the movie to be that of C:movie.swf - but let's say this application is more like a flash player and the user of it decides which movie to load and it can be any SWF from anywhere. They all have different stage heights and widths and loading it into the same sized box would either achieve a stretched or compressed flash movie or a piece of the flash (if allowscale is set to false inside the flash movie).
I tried using the following code to automatically adjust the API's height and width to be that of the flash movie's original (which didn't work):
Code:
Dim MovieHeight As Integer
Dim MovieWidth As Integer
MovieHeight = MyFlash.GetVariable("Stage.height")
MovieWidth = MyFlash.GetVariable("Stage.width")
MyFlash.Height = MovieHeight
MyFlash.Width = MovieWidth
(Please ignore the syntax errors if there are any there - my syntax was fine in my original code and I was just retying this from the top of my head.)
This didn't work because Stage.height is not a variable in the flash movie but more like a predefined constant and I don't think that the "GetVariable" function can handle this type of thing.
Does anyone have any suggestions/solutions for this problem? It's been really bugging me for a while and I can't figure out how to fix it.
Thanks in advance
Flash ActiveX - Transparent Background In Visual Basic App
I tick all the transparent boxes before exporting a flash movie - yet alas, the damn thing is not transparent.
Are flash movies only transparent in IE. I would like to create a flash interface OVER a VB app. I get the two to talk through the FS command, but that transparent thang HAS ME.
Flash Movie, Microsoft Visual Basic And Variables?
Hi,
we have been using flash animation running in the flash OCX in applications created in Microsoft Visual Basic for a while.
We set variables in the movie with VB.
Can we read the from the movie with VB?
its kind of urgent, any tips or links to resources greatly appreciated
Using Flash 8 pro, flash8 ocx, VB6
mark
[CS3] [AS2] Flash OCX Inside Visual Basic App- Passing Variables
Hi,
can a variable only be passed by visual basic to the _root timeline of a flash movie playing in the ocx inside it?
This will work in VB
MyFlashMovie.SetVariable " MyVariable" ,"MyValue"
this will not
MyFlashMovie.SetVariable " MyMovieClip/MyVariable" ,"MyValue"
is there a better way I do not know of?
Also can anyone point me to good info on using the ocx inside visual basic applications?
I have been doing this for a while but was hoping some improvements may have been made.
thanks
Mark
Flash 8 And Visual Basic 2008 Express Integration
Hi !
I've been working on a program and need some updated information about working with Flash 8 and Visual Basic Express 2008
From my research it seems that I need to set a script access parameter, probably from VB. So I'm wondering how to do that.
Secondly, some of the intel out there hints that the FSCommand is no longer the suggested way to go, So I need to get confirmation on the correct way to call a an swf file and get it to run again.
I currently have an xml database that, when updated, needs to trigger my flash program to re-display the data.
Everything works fine the first time through, but the updated xml file is not being processed.
I'd like to have Visual Basic just "tell" flash (with a parameter or a call) the xml file has been updated and then get flash to redisplay based on the new information.
Your advice would be appreciated.
Flash OCX Inside Visual Basic App- Passing Variables
Hi,
can a variable only be passed by visual basic to the _root timeline of a flash movie playing in the ocx inside it?
This will work in VB
MyFlashMovie.SetVariable " MyVariable" ,"MyValue"
this will not
MyFlashMovie.SetVariable " MyMovieClip/MyVariable" ,"MyValue"
is there a better way I do not know of?
Also can anyone point me to good info on using the ocx inside visual basic applications?
I have been doing this for a while but was hoping some improvements may have been made.
thanks
Mark
FLASH IN VISUAL BASIC EXPRESS HELP NEEDED QUICKLY
Hi Everyone,
I'm having some huge problems getting some simple things working. I need to embed a flash file in Visual Basic and have the two communicate, pretty much what is already being done in the Flash to Visual Basic example on this site. However, I cannot get this to work on my computer. I only have Microsoft Visual Basic 2005 Express Edition. I followed the example on this site exactly but no matter what I do, I keep getting errors. Would anyone be able to post some simple source files that work? I've been practically pulling my hair out for two days over this so any help would be majorly appreciated.
Thanks!
Visual Basic
Has anyone seen anything anywhere about flash running Visual Basic Script? I just thought it may be possible to load and save variables using VB to create a text file?
Anyone thought about this?
//Gary
Visual Basic 6.0
Hi guys
OK here's what I'm asking for
how do I interact between Visual Basic 6.0 and Action script from a Flash Movie.
Like to pass variables, in both directions.
thanks in advance
Visual Basic 6.0
Hi guys
OK here's what I'm asking for
how do I interact between Visual Basic 6.0 and Action script from a Flash Movie.
Like to pass variables, in both directions.
thanks in advance
Embedding .swf In Visual Basic
First of all, if anyone knows a good resource for using the ShockwaveFlash component (swflash.ocx) in a Visual Basic program, I'd really appreciate that. I've tried using VB's MSDN help library, and found nothing.
I've stumbled along for a few months, using VB's Object Browser and guessing how to use a few of the properties and events. Now, however, I'm stumped.
I'm randomly loading and playing a movie, and matching the VB form background to the movie background (the movie .swf background color was set in Flash 5). There are three possible colors. That part works.
The problem is when another movie is loaded. For some reason, the new movie keeps the background color of the first movie that was loaded, even though in the Flash .swf file, the background color was set differently.
I've tried this (VB code, as I'm playing the movies in a VB program), and it didn't work:
Select Case GroupData(nr).bkgColorG
Case "blue"
frmGroup.BackColor = RGB(0, 0, 153)
swfMyMovie.BGColor = RGB(0, 0, 153)
Case "purple"
frmGroup.BackColor = RGB(153, 0, 153)
swfMyMovie.BGColor = RGB(153, 0, 153)
Case "green"
frmGroup.BackColor = RGB(0, 102, 0)
swfMyMovie.BGColor = RGB(0, 102, 0)
End Select
And this didn't work:
Select Case GroupData(nr).bkgColorG
Case "blue"
frmGroup.BackColor = RGB(0, 0, 153)
swfMyMovie.BackgroundColor = RGB(0, 0, 153)
Case "purple"
frmGroup.BackColor = RGB(153, 0, 153)
swfMyMovie.BackgroundColor = RGB(153, 0, 153)
Case "green"
frmGroup.BackColor = RGB(0, 102, 0)
swfMyMovie.BackgroundColor = RGB(0, 102, 0)
End Select
I tried setting the WMode (whatever that is) to transparent (someone suggested that it will show the form's background color). The movie shows the VB form's background color, but the play speed is greatly increased, which I don't want.
Help!
Visual Basic: Widescreen
I have this problem and wondered if any one could help. I have this swf file which has been made in widescreen proportions. I am loading this in to a flash object in VB. I have to display this on a widescreen tv for work. When I display it on a normal monitor it is letter box, with white spaces top and bottom, and when it is viewed through the widescreen tv the same thing happens, the image is just stretched even wider. I was wondering if any one could help me.
Thanks,
Laura
From Visual Basic To Actionscript
a little background:
I've developed a small program that can calculate the molecular weights of amino acid sequences. I used visual basic.net to develop the program. My layout so far consists of two windows (side-by-side): the left window is for copy pasting a sequence (e.g. ARNW) then the left window outputs the molecular weight of the sequence based on the individual weights of the acids (e.g. A = 71, R = 156, N = 114, W = 186: so, the second window outputs 527, corresponding to A+R+N+W). Basically, ARNW goes in the 1st window and 527 is shown on the second window. It's also set to work for any sequence of letters put in (e.g. maybe the student only puts RW in so, 342 would come out) . I also have two buttons: “Clear” (to clear all fields) and “Calculate” (to perform calculations).
the problem:
I'd like to make a readily accessible flash version of the program to be viewed on the web. Any ideas on how i'd go about accomplishing the above using actionscript? Namely, how would i go about coding the the "clear" button to clear the fields and the "calculate" button to perform the desired calculations? Thanks for your time and help.
Visual Basic Setvariable In Swf
Hello,
I'm working on a project, i have to make a progress bar, wich have to communicate with visual basic.
I made some buttons before, that worked in VB, using the FScommand.
But i can't get the variables from visual basic in my flash file.
I'm using the following script.
balk.stop();
loading = function () {
_root.balk.gotoAndStop(percentage);
}
laden ();
percentage is the variable, wich i can't get it flash.
Hope somebody has a sort of solution, never worked with VB before..
|