F-IN-BOX - slow motion !?!?

.NET Edition of the F-IN-BOX
superbabicka
Posts: 3
Joined: Sun Nov 22, 2009 8:16 pm
Location: Macedonia

F-IN-BOX - slow motion !?!?

Postby superbabicka » Sun Nov 22, 2009 8:37 pm

Hi, however I try your .NET demo version of F-IN-BOX ... it's really great class for designer who know flash ...

A will buy F-In-BOX soon, but when i test my game with f-in-box, i notice that flash movie work with SLOW MOTION frame rate...

So my flash movie is for offline users and "normally" i put "Allow Smoothing " to all images in flash content and now my flash swf is 5-6 MB. Also I use SQLite database for scores and so on...

The frame rate that i use in my swf game is 35, also I try to publish again with compress and JPG quality 50% but nothing happen - its still slow motion.

When I put my game in AxShockwaveFlashObject class ... the swf works very well...


Any suggestion ?

Thanks!

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Nov 23, 2009 11:05 am

Thank you for your question.

What class you use, f_in_box__control or f_in_box__form ?

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

superbabicka
Posts: 3
Joined: Sun Nov 22, 2009 8:16 pm
Location: Macedonia

Postby superbabicka » Fri Dec 11, 2009 1:55 pm

So i try with :

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)

but how to use on:

Dim FlashPlayerForm As New MyTranslucencyForm -> here (code) is not aceppted

Thanks

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Dec 13, 2009 2:27 pm

superbabicka wrote:So i try with :

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)

but how to use on:

Dim FlashPlayerForm As New MyTranslucencyForm -> here (code) is not aceppted


You mean that you get a compilation error?...

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

superbabicka
Posts: 3
Joined: Sun Nov 22, 2009 8:16 pm
Location: Macedonia

Postby superbabicka » Mon Dec 14, 2009 12:01 am

So, the AxCode works very well with Normal VB Form, (woth no transparency). but AxCode is used like:

Code: Select all

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)
etc...


And with AxCode (Flash10e.ocx) the SWF work in 35 frame rate excellent , but when I want to make translucency form with F-In-box like some king of "widget", (let's say) I must use:

Code: Select all

Dim FlashPlayerForm As New MyTranslucencyForm

because of translucency.

Now, here the SWF works SLOW MOTION with my 35 frame rate.

My question is how to use MyTranslucencyForm with AxCode together ?

Thanks!

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Dec 14, 2009 11:17 am

superbabicka wrote:My question is how to use MyTranslucencyForm with AxCode together ?


I see.

Please use the code below:

Code: Select all

Public Class MyTranslucencyForm
...
    Public Sub New(ByVal axcode As f_in_box__lib.AxCode)

        MyBase.New(axcode)

        InitializeComponent()

    End Sub
...


Usage:

Code: Select all

Dim FlashPlayerForm As New MyTranslucencyForm(YourAxCode)


Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 14 guests